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 d0ff89b8
authored
Sep 17, 2025
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
f19f4fea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
11 deletions
src/api/modules/withdraw.js
src/views/withdraw/approveDetail.vue
src/api/modules/withdraw.js
View file @
d0ff89b
...
@@ -301,5 +301,16 @@ const getChannelAccount = (params={}) => {
...
@@ -301,5 +301,16 @@ const getChannelAccount = (params={}) => {
sign
:
true
sign
:
true
})
})
}
}
// 积分提现记录再次打款
const
payApprovalAgain
=
(
params
=
{})
=>
{
params
.
method
=
`scrm.api.shopmall.integral.transfer.out.approval.pay.again`
return
http
({
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
,
returnAll
:
true
})
}
export
default
{
getChannelAccount
,
approvalDetail
,
removeApproval
,
getPaymentEntityList
,
applyApprovalOA
,
getApprovalLog
,
getApprovalPage
,
generateBatchCount
,
integralorderBatch
,
getPayAmount
,
getAllPayAmount
,
integralAllOut
,
integralAllpay
,
getList
,
getAdmin
,
orderExport
,
integralpay
,
integralApprove
,
integralOut
,
getSms
,
getMerchantList
,
getDetails
,
uploadXlsx
,
handleSaveImport
,
getBalance
,
getSettleAmount
,
getChannel
,
checkRecordsTransferType
}
export
default
{
payApprovalAgain
,
getChannelAccount
,
approvalDetail
,
removeApproval
,
getPaymentEntityList
,
applyApprovalOA
,
getApprovalLog
,
getApprovalPage
,
generateBatchCount
,
integralorderBatch
,
getPayAmount
,
getAllPayAmount
,
integralAllOut
,
integralAllpay
,
getList
,
getAdmin
,
orderExport
,
integralpay
,
integralApprove
,
integralOut
,
getSms
,
getMerchantList
,
getDetails
,
uploadXlsx
,
handleSaveImport
,
getBalance
,
getSettleAmount
,
getChannel
,
checkRecordsTransferType
}
src/views/withdraw/approveDetail.vue
View file @
d0ff89b
...
@@ -10,11 +10,12 @@
...
@@ -10,11 +10,12 @@
<!-- 表格区域 开始 -->
<!-- 表格区域 开始 -->
<GLTable
ref=
"withdrawRef"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
@
selectionTable=
"selectionTable"
>
<GLTable
ref=
"withdrawRef"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
@
selectionTable=
"selectionTable"
>
<div
class=
"flex_sc"
slot=
"colorStatus"
slot-scope=
"scope"
>
<div
class=
"flex_sc"
slot=
"colorStatus"
slot-scope=
"scope"
>
<div
class=
"table_point"
:style=
"
{ background: colors[scope.scope.status] }">
</div>
<div
class=
"table_point"
:style=
"
{ background: colors[scope.scope.status] }">
</div>
<span>
{{
tableStatus
[
scope
.
scope
.
status
]
}}
</span>
<span>
{{
tableStatus
[
scope
.
scope
.
status
]
}}
</span>
</div>
</GLTable>
<el-button
v-if=
"scope.scope.status == 6"
type=
"primary"
plain
size=
"mini"
class=
"btn"
round
@
click=
"makePayment(scope.scope)"
>
再次打款
</el-button>
</div>
</GLTable>
<!-- 表格区域 end -->
<!-- 表格区域 end -->
</div>
</div>
</div>
</div>
...
@@ -22,7 +23,7 @@
...
@@ -22,7 +23,7 @@
<
script
>
<
script
>
import
url
from
'@/assets/empty.png'
import
url
from
'@/assets/empty.png'
import
{
modeTypeList
}
from
'@/utils/constants.js'
import
{
modeTypeList
}
from
'@/utils/constants.js'
const
tableStatus
=
[
'待审核'
,
'已审核'
,
'第三方处理'
,
'成功'
,
'失败'
,
'驳回'
,
'受理失败'
]
const
tableStatus
=
[
'待审核'
,
'已审核'
,
'第三方处理'
,
'成功'
,
'失败'
,
'驳回'
,
'受理失败'
]
const
colors
=
[
'#FDB757'
,
'#2CCA74'
,
'#5850FF'
,
'#2CCA74'
,
'#999999'
,
'#EB4E4E'
,
'#2CCA74'
]
const
colors
=
[
'#FDB757'
,
'#2CCA74'
,
'#5850FF'
,
'#2CCA74'
,
'#999999'
,
'#EB4E4E'
,
'#2CCA74'
]
export
default
{
export
default
{
...
@@ -138,7 +139,7 @@ export default {
...
@@ -138,7 +139,7 @@ export default {
label
:
'到账时间'
,
label
:
'到账时间'
,
prop
:
'receiptDate'
,
prop
:
'receiptDate'
,
width
:
180
width
:
180
}
,
}
]
]
},
},
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'currentPage'
,
totalCount
:
'total'
},
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'currentPage'
,
totalCount
:
'total'
},
...
@@ -150,9 +151,24 @@ export default {
...
@@ -150,9 +151,24 @@ export default {
},
},
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
makePayment
(
row
)
{
let
params
=
{
id
:
row
.
id
}
this
.
$apis
.
withdraw
.
payApprovalAgain
(
params
)
.
then
(
res
=>
{
this
.
$message
({
message
:
res
.
code
==
'0'
?
'再次打款成功'
:
res
.
message
,
type
:
res
.
code
==
'0'
?
'success'
:
'error'
})
})
.
finally
(()
=>
{
this
.
handleReset
()
})
},
getParams
()
{
getParams
()
{
var
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
searchForm
))
var
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
searchForm
))
params
.
approvalId
=
this
.
id
params
.
approvalId
=
this
.
id
return
params
return
params
},
},
beforeSearchFn
()
{
beforeSearchFn
()
{
...
@@ -193,11 +209,14 @@ export default {
...
@@ -193,11 +209,14 @@ export default {
}
}
}
}
.table_point
{
.table_point
{
width
:
6px
;
width
:
6px
;
height
:
6px
;
height
:
6px
;
border-radius
:
50%
;
border-radius
:
50%
;
margin-right
:
8px
;
margin-right
:
8px
;
}
}
.btn
{
margin-left
:
8px
;
}
}
}
</
style
>
</
style
>
...
...
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