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 75cb871b
authored
Jan 02, 2024
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
积分管理3.23.2需求开发
1 parent
d344e2d0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
6 deletions
src/api/modules/withdraw.js
src/views/withdraw/index.vue
src/api/modules/withdraw.js
View file @
75cb871
...
@@ -56,7 +56,7 @@ const integralApprove = params => {
...
@@ -56,7 +56,7 @@ const integralApprove = params => {
returnAll
:
true
returnAll
:
true
})
})
}
}
// 用户积分提现
审核/
驳回
// 用户积分提现驳回
const
integralOut
=
params
=>
{
const
integralOut
=
params
=>
{
params
.
method
=
`scrm.api.shopmall.integral.transfer.out.approve`
params
.
method
=
`scrm.api.shopmall.integral.transfer.out.approve`
return
http
({
return
http
({
...
@@ -67,6 +67,28 @@ const integralOut = params => {
...
@@ -67,6 +67,28 @@ const integralOut = params => {
returnAll
:
true
returnAll
:
true
})
})
}
}
// 积分提现一键审核
const
integralAllOut
=
params
=>
{
params
.
method
=
`scrm.api.shopmall.integral.transfer.out.all.approve`
return
http
({
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
,
returnAll
:
true
})
}
// 积分提现一键支付
const
integralAllpay
=
params
=>
{
params
.
method
=
`scrm.api.shopmall.integral.transfer.out.all.pay`
return
http
({
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
,
returnAll
:
true
})
}
// 积分提现向管理员发送验证码
// 积分提现向管理员发送验证码
const
getSms
=
params
=>
{
const
getSms
=
params
=>
{
params
.
method
=
`scrm.api.shopmall.integral.transfer.out.admin.sms`
params
.
method
=
`scrm.api.shopmall.integral.transfer.out.admin.sms`
...
@@ -91,7 +113,7 @@ const getMerchantList = params => {
...
@@ -91,7 +113,7 @@ const getMerchantList = params => {
}
}
// 根据id列表获取提现金额(分)合计
// 根据id列表获取提现金额(分)合计
const
get
Allp
ayAmount
=
params
=>
{
const
get
P
ayAmount
=
params
=>
{
params
.
method
=
`scrm.api.shopmall.integral.transfer.out.pay.amount`
params
.
method
=
`scrm.api.shopmall.integral.transfer.out.pay.amount`
return
http
({
return
http
({
url
:
'rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
...
@@ -120,19 +142,19 @@ const uploadXlsx = params => {
...
@@ -120,19 +142,19 @@ const uploadXlsx = params => {
data
:
params
,
data
:
params
,
sign
:
true
,
sign
:
true
,
noSignAttr
:
[
'file'
],
noSignAttr
:
[
'file'
],
returnAll
:
true
returnAll
:
true
})
})
}
}
// 根据批次号更新普通提现导入为成功状态
// 根据批次号更新普通提现导入为成功状态
const
handleSaveImport
=
params
=>
{
const
handleSaveImport
=
params
=>
{
params
.
method
=
`scrm.api.shopmall.integral.transfer.out.import.confirm`
params
.
method
=
`scrm.api.shopmall.integral.transfer.out.import.confirm`
return
http
({
return
http
({
url
:
'rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
,
sign
:
true
,
returnAll
:
true
returnAll
:
true
})
})
}
}
/*第三方余额查询 */
/*第三方余额查询 */
...
@@ -151,4 +173,12 @@ const getSettleAmount = params => {
...
@@ -151,4 +173,12 @@ const getSettleAmount = params => {
data
:
params
data
:
params
})
})
}
}
export
default
{
getList
,
getAdmin
,
orderExport
,
integralpay
,
integralApprove
,
integralOut
,
getSms
,
getMerchantList
,
getAllpayAmount
,
getDetails
,
uploadXlsx
,
handleSaveImport
,
getBalance
,
getSettleAmount
}
const
getAllPayAmount
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.integral.transfer.out.all.pay.amount'
return
http
({
url
:
'rop-scrm-shopmall/router'
,
data
:
params
})
}
export
default
{
getPayAmount
,
getAllPayAmount
,
integralAllOut
,
integralAllpay
,
getList
,
getAdmin
,
orderExport
,
integralpay
,
integralApprove
,
integralOut
,
getSms
,
getMerchantList
,
getDetails
,
uploadXlsx
,
handleSaveImport
,
getBalance
,
getSettleAmount
}
src/views/withdraw/index.vue
View file @
75cb871
This diff is collapsed.
Click to expand it.
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