Commit c5352860 by 前端

Merge branch 'v3.23.2' into 'master'

V3.23.2

See merge request !7
2 parents d344e2d0 68732d5e
...@@ -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 getAllpayAmount = params => { const getPayAmount = 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 }
...@@ -54,6 +54,11 @@ ...@@ -54,6 +54,11 @@
<script> <script>
const tableStatus = ['待审核', '已审核', '第三方处理', '成功', '失败', '驳回'] const tableStatus = ['待审核', '已审核', '第三方处理', '成功', '失败', '驳回']
const colors = ['#FDB757', '#2CCA74', '#5850FF', '#2CCA74', '#999999', '#EB4E4E'] const colors = ['#FDB757', '#2CCA74', '#5850FF', '#2CCA74', '#999999', '#EB4E4E']
const channelObj={
'TXIAT':'熠轩',
// 'XYJ':'薪遇见',
'YUNHUO':'云获'
}
export default { export default {
name: 'DetailDialog', name: 'DetailDialog',
data() { data() {
...@@ -160,7 +165,7 @@ export default { ...@@ -160,7 +165,7 @@ export default {
label: '付款渠道', label: '付款渠道',
name: 'channel', name: 'channel',
addHtml: obj => { addHtml: obj => {
return obj.channel == 'TXIAT' ? '熠轩' : '--' return channelObj[obj.channel] ? channelObj[obj.channel] : '--'
} }
}, },
{ {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!