Commit 4c7c1cac by wangzhihui

获取管理员账号接口切换

1 parent 4aace73c
...@@ -21,15 +21,15 @@ const getChannelTree = params => { ...@@ -21,15 +21,15 @@ const getChannelTree = params => {
}) })
} }
// 获分提现获取管理员信息 // 获分提现获取管理员信息
const getAdmin = params => { // const getAdmin = params => {
params.method = `scrm.api.shopmall.integral.transfer.out.getAdmin` // params.method = `scrm.api.shopmall.integral.transfer.out.getAdmin`
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
}) // })
} // }
// 积分提现列表-导出 // 积分提现列表-导出
const orderExport = params => { const orderExport = params => {
...@@ -351,4 +351,13 @@ const getListPayLevy = (params={}) => { ...@@ -351,4 +351,13 @@ const getListPayLevy = (params={}) => {
sign: true sign: true
}) })
} }
const getAdmin = (params={}) => {
params.method = `scrm.api.shopmall.integral.transfer.channel.config.get`
return http({
url: 'rop-scrm-shopmall/router',
method: 'POST',
data: params,
sign: true
})
}
export default {getListPayLevy,getListPaymentEntity,getChannelList,getChannelTree,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} export default {getListPayLevy,getListPaymentEntity,getChannelList,getChannelTree,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}
...@@ -1276,10 +1276,10 @@ export default { ...@@ -1276,10 +1276,10 @@ export default {
if (res) { if (res) {
this.baseData.adminList = res.map(item => { this.baseData.adminList = res.map(item => {
return { return {
adminId: `${item.phone}`, adminId: `${item.adminPhone}`,
adminName: `${item.name} ${item.phone}`, adminName: `${item.adminName} ${item.adminPhone}`,
name: item.name, name: item.adminName,
phone: item.phone phone: item.adminPhone
} }
}) })
this.$utils.getOptionsList(this, 'payFormData', false, 'admin') this.$utils.getOptionsList(this, 'payFormData', false, 'admin')
......
...@@ -291,10 +291,10 @@ export default { ...@@ -291,10 +291,10 @@ export default {
if (res && res.length > 0) { if (res && res.length > 0) {
this.baseData.adminList = res.map(item => { this.baseData.adminList = res.map(item => {
return { return {
adminId: `${item.phone}`, adminId: `${item.adminPhone}`,
adminName: `${item.name} ${item.phone}`, adminName: `${item.adminName} ${item.adminPhone}`,
name: item.name, name: item.adminName,
phone: item.phone phone: item.adminPhone
} }
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!