Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
glsx-oss-task
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 bce441a6
authored
Mar 15, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复任务中心bug
1 parent
22ba087e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
27 deletions
src/views/bankCardWithdrawal/bankCardList/cpns/BankCardDialog.vue
src/views/bankCardWithdrawal/bankCardList/cpns/bankCardSearch.vue
src/views/bankCardWithdrawal/bankCardList/index.vue
src/views/bankCardWithdrawal/bankCardList/cpns/BankCardDialog.vue
View file @
bce441a
...
...
@@ -92,7 +92,7 @@
<template
v-if=
"tipsType == 'succeed'"
>
<p>
导入成功
</p>
<p>
总共导入{
resultImportRecord
}条记录
</p>
<p>
总共导入
{
{
resultImportRecord
}
}
条记录
</p>
</
template
>
<
template
v-if=
"tipsType == 'beDefeated'"
>
<p>
导入失败
</p>
...
...
@@ -183,7 +183,7 @@ export default {
},
confirmationResultImport
:
debounce
(
function
()
{
confirmationResultImport
:
debounce
(
async
function
()
{
if
(
!
this
.
exportTemplate
||
!
this
.
fileBaseUrl
)
{
return
this
.
$message
({
type
:
'error'
,
...
...
@@ -194,28 +194,26 @@ export default {
fileUrl
:
this
.
fileBaseUrl
,
fileType
:
this
.
exportTemplate
}
bankCardApi
.
importBankWithdrawal
({
...
parmas
}).
then
(
res
=>
{
await
bankCardApi
.
importBankWithdrawal
({
...
parmas
}).
then
(
res
=>
{
this
.
bankCardVisible
=
false
this
.
$message
({
type
:
res
.
data
?
'success'
:
'error'
,
message
:
res
.
data
?
'导入成功!'
:
'导入失败!'
})
this
.
fileBaseUrl
=
''
this
.
fileName
=
''
this
.
$refs
.
file
.
value
=
''
this
.
$emit
(
'sendResetTable'
,
'reset'
)
// this.bankCardVisible = false
// this.tipsVisible = true
// if (res.data) {
// this.resultImportRecord = ''
// } else {
// }
}).
catch
(
err
=>
{
this
.
tipsVisible
=
true
if
(
res
.
data
)
{
if
(
res
.
data
.
flag
)
{
this
.
resultImportRecord
=
res
.
data
.
successNum
this
.
tipsType
=
'succeed'
this
.
fileBaseUrl
=
''
this
.
fileName
=
''
this
.
$refs
.
file
.
value
=
''
}
else
{
this
.
tipsType
=
'beDefeated'
this
.
importFailedTemplate
=
res
.
data
.
failFileUrl
}
}
}).
catch
(
err
=>
{
this
.
bankCardVisible
=
false
this
.
$message
({
type
:
'error'
,
message
:
'导入失败!'
type
:
'error'
,
message
:
'导入失败!'
})
})
...
...
@@ -308,6 +306,8 @@ export default {
this
.
tipsVisible
=
!
this
.
tipsVisible
if
(
type
==
'beDefeated'
)
{
this
.
$Utils
.
exportFn
(
this
.
importFailedTemplate
)
}
else
{
this
.
$emit
(
'sendResetTable'
,
'reset'
)
}
},
...
...
src/views/bankCardWithdrawal/bankCardList/cpns/bankCardSearch.vue
View file @
bce441a
...
...
@@ -71,8 +71,8 @@
placeholder=
'请选择导出状态'
>
<el-option
label=
'全部'
value=
''
></el-option>
<el-option
label=
'
已
导出'
value=
'0'
></el-option>
<el-option
label=
'
未
导出'
value=
'1'
></el-option>
<el-option
label=
'
未
导出'
value=
'0'
></el-option>
<el-option
label=
'
已
导出'
value=
'1'
></el-option>
</el-select>
</el-form-item>
<el-form-item>
...
...
@@ -97,6 +97,9 @@ export default {
}
}
},
mounted
()
{
this
.
handleSearch
()
},
methods
:
{
handleSearch
()
{
this
.
$emit
(
'sendSearchForm'
,
this
.
bankCardSearchForm
)
...
...
src/views/bankCardWithdrawal/bankCardList/index.vue
View file @
bce441a
...
...
@@ -34,6 +34,13 @@
<span
v-if=
"scope.scope.status == '3'"
>
已核销
</span>
<span
v-if=
"scope.scope.status == '4'"
>
到账失败
</span>
</div>
<div
slot=
'withdrawalScore'
slot-scope=
'scope'
>
{{
scope
.
scope
.
withdrawalScore
.
toFixed
(
2
)
}}
</div>
<div
slot=
'withdrawalAmount'
slot-scope=
'scope'
>
{{
scope
.
scope
.
withdrawalAmount
.
toFixed
(
2
)
}}
</div>
</d2-table>
<BankCardDialog
ref=
'bankCardDialog'
@
sendResetTable=
'reset'
:bankCardSearchForm=
'bankCardSearchForm'
:choiceData=
'choiceData'
...
...
@@ -97,11 +104,13 @@ export default {
},
{
label
:
'积分值'
,
prop
:
'withdrawalScore'
prop
:
'withdrawalScore'
,
addHtml
:
'withdrawalScore'
},
{
label
:
'提现金额(元)'
,
prop
:
'withdrawalAmount'
prop
:
'withdrawalAmount'
,
addHtml
:
'withdrawalAmount'
},
{
label
:
'提现时间'
,
...
...
@@ -117,7 +126,7 @@ export default {
},
{
label
:
'持卡人姓名'
,
prop
:
'bank
u
serName'
prop
:
'bank
U
serName'
},
{
label
:
'银行预留手机号'
,
...
...
@@ -165,7 +174,7 @@ export default {
})))
{
this
.
$message
({
type
:
'error'
,
message
:
'请勾选需要核销的
积分
记录!'
message
:
'请勾选需要核销的
提现
记录!'
})
return
}
...
...
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