Commit 4c7c1cac by wangzhihui

获取管理员账号接口切换

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