Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TOSTUMI
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Maple
TOSTUMI
Commits
b32b2ffc
Commit
b32b2ffc
authored
Jan 25, 2021
by
cellee
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'final' of
http://120.77.240.215:9701/Maple/tostumi.git
into final
parents
55a80bad
46a718d6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
ResultPageFailed.tsx
...es/UserManagement/LIFEUserManagement/ResultPageFailed.tsx
+4
-2
Users.tsx
src/pages/UserManagement/LIFEUserManagement/Users.tsx
+1
-1
No files found.
src/pages/UserManagement/LIFEUserManagement/ResultPageFailed.tsx
View file @
b32b2ffc
...
...
@@ -29,8 +29,10 @@ const ResultPageFailed = () => {
<
div
style=
{
{
width
:
'100%'
,
minWidth
:
1020
,
padding
:
34
,
backgroundColor
:
'#ffffff'
}
}
>
<
Result
status=
"error"
title=
"Error submit the file!"
subTitle=
{
<
p
>
server has been handled it ,please try again or back.
</
p
>
}
title=
"Errors occur during uploading!"
subTitle=
{
<
p
>
Please download the file to review user information
&
try to upload again!
</
p
>
}
extra=
{
[
<
Button
type=
"primary"
key=
"ok"
onClick=
{
handleDownload
}
>
{
flag
?
(
...
...
src/pages/UserManagement/LIFEUserManagement/Users.tsx
View file @
b32b2ffc
...
...
@@ -102,7 +102,7 @@ const Users = (props: any) => {
return
false
;
}
if
(
file
.
type
!==
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
||
file
.
type
!==
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
&&
file
.
type
!==
'application/vnd.ms-excel'
)
{
message
.
error
(
`
${
file
.
name
}
file format is incorrect!`
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment