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 e75322d8
authored
Mar 15, 2023
by
徐忆琳
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'xuyl_dev_v3.6.0' into 'v3.6.0'
修复任务中心bug See merge request
!96
2 parents
a44b7f8b
bce441a6
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 @
e75322d
...
@@ -92,7 +92,7 @@
...
@@ -92,7 +92,7 @@
<template
v-if=
"tipsType == 'succeed'"
>
<template
v-if=
"tipsType == 'succeed'"
>
<p>
导入成功
</p>
<p>
导入成功
</p>
<p>
总共导入{
resultImportRecord
}条记录
</p>
<p>
总共导入
{
{
resultImportRecord
}
}
条记录
</p>
</
template
>
</
template
>
<
template
v-if=
"tipsType == 'beDefeated'"
>
<
template
v-if=
"tipsType == 'beDefeated'"
>
<p>
导入失败
</p>
<p>
导入失败
</p>
...
@@ -183,7 +183,7 @@ export default {
...
@@ -183,7 +183,7 @@ export default {
},
},
confirmationResultImport
:
debounce
(
function
()
{
confirmationResultImport
:
debounce
(
async
function
()
{
if
(
!
this
.
exportTemplate
||
!
this
.
fileBaseUrl
)
{
if
(
!
this
.
exportTemplate
||
!
this
.
fileBaseUrl
)
{
return
this
.
$message
({
return
this
.
$message
({
type
:
'error'
,
type
:
'error'
,
...
@@ -194,28 +194,26 @@ export default {
...
@@ -194,28 +194,26 @@ export default {
fileUrl
:
this
.
fileBaseUrl
,
fileUrl
:
this
.
fileBaseUrl
,
fileType
:
this
.
exportTemplate
fileType
:
this
.
exportTemplate
}
}
bankCardApi
.
importBankWithdrawal
({
...
parmas
}).
then
(
res
=>
{
await
bankCardApi
.
importBankWithdrawal
({
...
parmas
}).
then
(
res
=>
{
this
.
bankCardVisible
=
false
this
.
bankCardVisible
=
false
this
.
$message
({
this
.
tipsVisible
=
true
type
:
res
.
data
?
'success'
:
'error'
,
if
(
res
.
data
)
{
message
:
res
.
data
?
'导入成功!'
:
'导入失败!'
if
(
res
.
data
.
flag
)
{
})
this
.
resultImportRecord
=
res
.
data
.
successNum
this
.
fileBaseUrl
=
''
this
.
tipsType
=
'succeed'
this
.
fileName
=
''
this
.
fileBaseUrl
=
''
this
.
$refs
.
file
.
value
=
''
this
.
fileName
=
''
this
.
$emit
(
'sendResetTable'
,
'reset'
)
this
.
$refs
.
file
.
value
=
''
// this.bankCardVisible = false
}
else
{
// this.tipsVisible = true
this
.
tipsType
=
'beDefeated'
this
.
importFailedTemplate
=
res
.
data
.
failFileUrl
// if (res.data) {
}
// this.resultImportRecord = ''
}
// } else {
}).
catch
(
err
=>
{
// }
}).
catch
(
err
=>
{
this
.
bankCardVisible
=
false
this
.
bankCardVisible
=
false
this
.
$message
({
this
.
$message
({
type
:
'error'
,
type
:
'error'
,
message
:
'导入失败!'
message
:
'导入失败!'
})
})
})
})
...
@@ -308,6 +306,8 @@ export default {
...
@@ -308,6 +306,8 @@ export default {
this
.
tipsVisible
=
!
this
.
tipsVisible
this
.
tipsVisible
=
!
this
.
tipsVisible
if
(
type
==
'beDefeated'
)
{
if
(
type
==
'beDefeated'
)
{
this
.
$Utils
.
exportFn
(
this
.
importFailedTemplate
)
this
.
$Utils
.
exportFn
(
this
.
importFailedTemplate
)
}
else
{
this
.
$emit
(
'sendResetTable'
,
'reset'
)
}
}
},
},
...
...
src/views/bankCardWithdrawal/bankCardList/cpns/bankCardSearch.vue
View file @
e75322d
...
@@ -71,8 +71,8 @@
...
@@ -71,8 +71,8 @@
placeholder=
'请选择导出状态'
placeholder=
'请选择导出状态'
>
>
<el-option
label=
'全部'
value=
''
></el-option>
<el-option
label=
'全部'
value=
''
></el-option>
<el-option
label=
'
已
导出'
value=
'0'
></el-option>
<el-option
label=
'
未
导出'
value=
'0'
></el-option>
<el-option
label=
'
未
导出'
value=
'1'
></el-option>
<el-option
label=
'
已
导出'
value=
'1'
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
...
@@ -97,6 +97,9 @@ export default {
...
@@ -97,6 +97,9 @@ export default {
}
}
}
}
},
},
mounted
()
{
this
.
handleSearch
()
},
methods
:
{
methods
:
{
handleSearch
()
{
handleSearch
()
{
this
.
$emit
(
'sendSearchForm'
,
this
.
bankCardSearchForm
)
this
.
$emit
(
'sendSearchForm'
,
this
.
bankCardSearchForm
)
...
...
src/views/bankCardWithdrawal/bankCardList/index.vue
View file @
e75322d
...
@@ -34,6 +34,13 @@
...
@@ -34,6 +34,13 @@
<span
v-if=
"scope.scope.status == '3'"
>
已核销
</span>
<span
v-if=
"scope.scope.status == '3'"
>
已核销
</span>
<span
v-if=
"scope.scope.status == '4'"
>
到账失败
</span>
<span
v-if=
"scope.scope.status == '4'"
>
到账失败
</span>
</div>
</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>
</d2-table>
<BankCardDialog
ref=
'bankCardDialog'
@
sendResetTable=
'reset'
:bankCardSearchForm=
'bankCardSearchForm'
<BankCardDialog
ref=
'bankCardDialog'
@
sendResetTable=
'reset'
:bankCardSearchForm=
'bankCardSearchForm'
:choiceData=
'choiceData'
:choiceData=
'choiceData'
...
@@ -97,11 +104,13 @@ export default {
...
@@ -97,11 +104,13 @@ export default {
},
},
{
{
label
:
'积分值'
,
label
:
'积分值'
,
prop
:
'withdrawalScore'
prop
:
'withdrawalScore'
,
addHtml
:
'withdrawalScore'
},
},
{
{
label
:
'提现金额(元)'
,
label
:
'提现金额(元)'
,
prop
:
'withdrawalAmount'
prop
:
'withdrawalAmount'
,
addHtml
:
'withdrawalAmount'
},
},
{
{
label
:
'提现时间'
,
label
:
'提现时间'
,
...
@@ -117,7 +126,7 @@ export default {
...
@@ -117,7 +126,7 @@ export default {
},
},
{
{
label
:
'持卡人姓名'
,
label
:
'持卡人姓名'
,
prop
:
'bank
u
serName'
prop
:
'bank
U
serName'
},
},
{
{
label
:
'银行预留手机号'
,
label
:
'银行预留手机号'
,
...
@@ -165,7 +174,7 @@ export default {
...
@@ -165,7 +174,7 @@ export default {
})))
{
})))
{
this
.
$message
({
this
.
$message
({
type
:
'error'
,
type
:
'error'
,
message
:
'请勾选需要核销的
积分
记录!'
message
:
'请勾选需要核销的
提现
记录!'
})
})
return
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