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 2f2745ec
authored
Dec 07, 2023
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
23af8b8e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
15 deletions
src/views/withdraw/index.vue
src/views/withdraw/index.vue
View file @
2f2745e
...
@@ -668,6 +668,7 @@ export default {
...
@@ -668,6 +668,7 @@ export default {
},
},
//提现导入
//提现导入
handleImport
()
{
handleImport
()
{
this
.
clearFile
()
this
.
isImport
=
true
this
.
isImport
=
true
},
},
clearFile
()
{
clearFile
()
{
...
@@ -703,28 +704,29 @@ export default {
...
@@ -703,28 +704,29 @@ export default {
this
.
importForm
.
isLoading
=
1
this
.
importForm
.
isLoading
=
1
this
.
$apis
.
withdraw
.
uploadXlsx
({
file
:
this
.
importForm
.
fileUrl
}).
then
(
res
=>
{
this
.
$apis
.
withdraw
.
uploadXlsx
({
file
:
this
.
importForm
.
fileUrl
}).
then
(
res
=>
{
if
(
res
.
code
==
0
)
{
if
(
this
.
isImport
)
{
this
.
importForm
.
isLoading
=
2
if
(
res
.
code
==
0
)
{
if
(
res
.
data
.
importStatue
==
0
)
{
this
.
importForm
.
isLoading
=
2
this
.
importForm
.
successCount
=
res
.
data
.
successCount
if
(
res
.
data
.
importStatue
==
0
)
{
this
.
importForm
.
isSuccess
=
1
//处理成功
this
.
importForm
.
successCount
=
res
.
data
.
successCount
this
.
importForm
.
batchNo
=
res
.
data
.
batchNo
this
.
importForm
.
isSuccess
=
1
//处理成功
this
.
importForm
.
batchNo
=
res
.
data
.
batchNo
}
else
{
this
.
importForm
.
errorUrl
=
res
.
data
.
errorUrl
this
.
importForm
.
isSuccess
=
2
//处理失败
}
}
else
{
}
else
{
this
.
importForm
.
errorUrl
=
res
.
data
.
errorUrl
this
.
importForm
.
isLoading
=
0
this
.
importForm
.
isSuccess
=
2
//处理失败
this
.
$message
({
message
:
res
.
message
,
type
:
'error'
})
}
}
}
else
{
this
.
importForm
.
isLoading
=
0
this
.
$message
({
message
:
res
.
message
,
type
:
'error'
})
}
}
})
})
},
},
cancelImport
()
{
cancelImport
()
{
this
.
isImport
=
false
this
.
isImport
=
false
this
.
clearFile
()
},
},
//获取复选table数据
//获取复选table数据
selectionTable
(
val
)
{
selectionTable
(
val
)
{
...
...
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