Commit 489b35c2 by chenwq

人员配置-联调

1 parent 64688db3
...@@ -82,4 +82,41 @@ const getGroupList = params => { ...@@ -82,4 +82,41 @@ const getGroupList = params => {
}) })
} }
export default { getStaffList, getMerchantList, getlistDepartmentTree, getYqReportlist, updateYqConfig, insertStaff, getGroupList } // 分页查询驻店员工群聊配置
const getStaffCofList = params => {
params.method = `scrm.api.boutiquecoupon.rop.router`
params.routerMethod = 'dj.api.smarcarlife.MerchantActionReportConfig.listStaffWithPage'
return http({
url: 'rop-scrm-boutiquecoupon/router',
method: 'post',
data: params,
sign: true
})
}
// 查询广联数科商户下角色列表
const getGlskMerchantRole = params => {
params.method = `scrm.api.boutiquecoupon.rop.router`
params.routerMethod = 'dj.api.smarcarlife.MerchantActionReportConfig.getGlskMerchantRole'
return http({
url: 'rop-scrm-boutiquecoupon/router',
method: 'post',
data: params,
sign: true
})
}
// 更新驻店员工群聊配置
const updateStaffConfig = params => {
params.method = `scrm.api.boutiquecoupon.rop.router`
params.routerMethod = 'dj.api.smarcarlife.MerchantActionReportConfig.updateStaffConfig'
return http({
url: 'rop-scrm-boutiquecoupon/router',
method: 'post',
data: params,
sign: true,
returnAll: true
})
}
export default { getStaffList, getMerchantList, getlistDepartmentTree, getYqReportlist, updateYqConfig, insertStaff, getGroupList, getStaffCofList, getGlskMerchantRole, updateStaffConfig }
...@@ -9,13 +9,15 @@ import battle from './components/battle/index.vue' ...@@ -9,13 +9,15 @@ import battle from './components/battle/index.vue'
import saasOrder from './components/saasOrder/index.vue' import saasOrder from './components/saasOrder/index.vue'
import vehicleDamageOrder from './components/vehicleDamageOrder/index.vue' import vehicleDamageOrder from './components/vehicleDamageOrder/index.vue'
import clewOrder from './components/clewOrder/index.vue' import clewOrder from './components/clewOrder/index.vue'
import staffConfig from './components/staffConfig/index.vue'
export default { export default {
components: { components: {
battle, battle,
saasOrder, saasOrder,
vehicleDamageOrder, vehicleDamageOrder,
clewOrder clewOrder,
staffConfig
}, },
data() { data() {
return { return {
...@@ -37,6 +39,10 @@ export default { ...@@ -37,6 +39,10 @@ export default {
{ {
label: '2.1', label: '2.1',
name: '4' name: '4'
},
{
label: '人员配置',
name: '5'
} }
] ]
} }
...@@ -51,7 +57,8 @@ export default { ...@@ -51,7 +57,8 @@ export default {
1: 'saasOrder', 1: 'saasOrder',
2: 'battle', 2: 'battle',
3: 'clewOrder', 3: 'clewOrder',
4: 'vehicleDamageOrder' 4: 'vehicleDamageOrder',
5: 'staffConfig'
} }
this.currentComponent = componetObj[this.activeName] this.currentComponent = componetObj[this.activeName]
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!