Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
7ea99431
Commit
7ea99431
authored
May 13, 2022
by
季圣华
Browse files
优化excel导入提示的样式
parent
f5ec0c47
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/mixins/JeecgListMixin.js
View file @
7ea99431
...
...
@@ -311,6 +311,7 @@ export const JeecgListMixin = {
},
/* 导入 */
handleImportExcel
(
info
){
this
.
loading
=
true
if
(
info
.
file
.
status
!==
'
uploading
'
)
{
console
.
log
(
info
.
file
,
info
.
fileList
);
}
...
...
@@ -323,11 +324,14 @@ export const JeecgListMixin = {
this
.
$message
.
warning
(
info
.
file
.
response
.
data
)
}
this
.
loadData
()
this
.
loading
=
false
}
else
{
this
.
$message
.
error
(
`
${
info
.
file
.
name
}
${
info
.
file
.
response
.
data
}
.`
);
this
.
loading
=
false
}
}
else
if
(
info
.
file
.
status
===
'
error
'
)
{
this
.
$message
.
error
(
`文件上传失败:
${
info
.
file
.
msg
}
`
);
this
.
$message
.
error
(
`文件上传失败:
${
info
.
file
.
msg
}
`
)
this
.
loading
=
false
}
},
/* 图片预览 */
...
...
Write
Preview
Supports
Markdown
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