Commit d17ca447 by 张立顺

employee.getByMerchantId 加场景筛选项

1 parent 0e6422ef
...@@ -44,6 +44,8 @@ module.exports = { ...@@ -44,6 +44,8 @@ module.exports = {
}, },
/** 根据商户号获取员工列表信息(转化人员) */ /** 根据商户号获取员工列表信息(转化人员) */
getConversionEmployeeList(data) { getConversionEmployeeList(data) {
// 0->2.0 1->1.1 2->1.2 3->1.3 场景对应
data.sceneList = [1]
return api.post('dj.api.smartcarlife.employee.getByMerchantId', data) return api.post('dj.api.smartcarlife.employee.getByMerchantId', data)
}, },
/** 根据园区店商户号获取绑定4S店列表 */ /** 根据园区店商户号获取绑定4S店列表 */
......
import api from '~/utils/request/request.js' import api from '~/utils/request/request.js'
export default { export default {
getCarBrandList(data = {}) { getCarBrandList(data = {}) {
...@@ -25,6 +24,7 @@ export default { ...@@ -25,6 +24,7 @@ export default {
/** 根据商户号获取员工列表信息 */ /** 根据商户号获取员工列表信息 */
getEmployeeList(data) { getEmployeeList(data) {
let params = data || {} let params = data || {}
params.sceneList = [0]
return api.post('dj.api.smartcarlife.employee.getByMerchantId', params) return api.post('dj.api.smartcarlife.employee.getByMerchantId', params)
}, },
/** 查询权益订单详情 */ /** 查询权益订单详情 */
...@@ -52,5 +52,4 @@ export default { ...@@ -52,5 +52,4 @@ export default {
let params = data || {} let params = data || {}
return api.post('dj.api.smartcarlife.vehicle.damage.upgrade.equityOrder.print', params) return api.post('dj.api.smartcarlife.vehicle.damage.upgrade.equityOrder.print', params)
} }
}
\ No newline at end of file \ No newline at end of file
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!