Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-points
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit bf4b2e2b
authored
Dec 08, 2023
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
09b2cc52
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
src/views/withdraw/index.vue
src/views/withdraw/index.vue
View file @
bf4b2e2
...
@@ -688,6 +688,7 @@ export default {
...
@@ -688,6 +688,7 @@ export default {
importForm
:
{
isSuccess
,
fileName
,
isLoading
},
importForm
:
{
isSuccess
,
fileName
,
isLoading
},
isImport
isImport
}
=
this
}
=
this
if
(
fileName
==
''
&&
isLoading
==
0
)
{
if
(
fileName
==
''
&&
isLoading
==
0
)
{
this
.
$message
({
this
.
$message
({
message
:
'请先选择文件'
,
message
:
'请先选择文件'
,
...
@@ -695,15 +696,9 @@ export default {
...
@@ -695,15 +696,9 @@ export default {
})
})
return
return
}
}
if
(
isImport
&&
isSuccess
==
2
)
{
if
(
isLoading
==
1
)
return
//加载中禁止后续操作
this
.
isImport
=
false
if
(
isImport
&&
isSuccess
!=
0
)
{
this
.
clearFile
()
return
}
console
.
log
(
this
.
importForm
)
if
(
isImport
&&
isSuccess
==
1
)
{
this
.
isImport
=
false
this
.
isImport
=
false
this
.
handleSaveImport
()
this
.
clearFile
()
this
.
clearFile
()
return
return
}
}
...
@@ -717,6 +712,7 @@ export default {
...
@@ -717,6 +712,7 @@ export default {
this
.
importForm
.
successCount
=
res
.
data
.
successCount
this
.
importForm
.
successCount
=
res
.
data
.
successCount
this
.
importForm
.
isSuccess
=
1
//处理成功
this
.
importForm
.
isSuccess
=
1
//处理成功
this
.
importForm
.
batchNo
=
res
.
data
.
batchNo
this
.
importForm
.
batchNo
=
res
.
data
.
batchNo
this
.
handleSaveImport
()
}
else
{
}
else
{
this
.
importForm
.
errorUrl
=
res
.
data
.
errorUrl
this
.
importForm
.
errorUrl
=
res
.
data
.
errorUrl
this
.
importForm
.
isSuccess
=
2
//处理失败
this
.
importForm
.
isSuccess
=
2
//处理失败
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment