|
@@ -8,7 +8,10 @@ export const queryUserList = (params) => {
|
|
|
return axios({
|
|
|
url: url,
|
|
|
data: params,
|
|
|
- method: 'post'
|
|
|
+ method: 'post',
|
|
|
+ headers:{
|
|
|
+ 'module': encodeURIComponent('人员列表查询')
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
// 业务负责人配置列表 分页
|
|
@@ -19,7 +22,10 @@ export const queryPage = (params) => {
|
|
|
return axios({
|
|
|
url: url,
|
|
|
data: params,
|
|
|
- method: 'post'
|
|
|
+ method: 'post',
|
|
|
+ headers:{
|
|
|
+ 'module': encodeURIComponent('列表查询')
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
|
|
@@ -28,7 +34,10 @@ export const bizuserSave = params => {
|
|
|
return axios({
|
|
|
url: '/bizuser/save',
|
|
|
data: params,
|
|
|
- method: 'post'
|
|
|
+ method: 'post',
|
|
|
+ headers:{
|
|
|
+ 'module': encodeURIComponent('新增/编辑')
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
|
|
@@ -37,7 +46,10 @@ export const bizuserDelete = params => {
|
|
|
return axios({
|
|
|
url: `/bizuser/delete/${params.id}`,
|
|
|
data: {},
|
|
|
- method: 'get'
|
|
|
+ method: 'get',
|
|
|
+ headers:{
|
|
|
+ 'module': encodeURIComponent('删除')
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
|
|
@@ -50,7 +62,10 @@ export const getNewScopeSn = params => {
|
|
|
return axios({
|
|
|
url: '/bizuser/scope/getNewScopeSn',
|
|
|
data: {},
|
|
|
- method: 'get'
|
|
|
+ method: 'get',
|
|
|
+ headers:{
|
|
|
+ 'module': encodeURIComponent('新增管辖品类')
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
|
|
@@ -59,7 +74,10 @@ export const saveProductBrandList = params => {
|
|
|
return axios({
|
|
|
url: '/bizuser/scope/saveProductBrandList',
|
|
|
data: params,
|
|
|
- method: 'post'
|
|
|
+ method: 'post',
|
|
|
+ headers:{
|
|
|
+ 'module': encodeURIComponent('新增品牌标签')
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
|
|
@@ -68,7 +86,10 @@ export const saveProductTypeList = params => {
|
|
|
return axios({
|
|
|
url: '/bizuser/scope/saveProductTypeList',
|
|
|
data: params,
|
|
|
- method: 'post'
|
|
|
+ method: 'post',
|
|
|
+ headers:{
|
|
|
+ 'module': encodeURIComponent('新增分类标签')
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
// 设置管辖区域
|
|
@@ -79,7 +100,10 @@ export const queryDealerScopePage = params => {
|
|
|
return axios({
|
|
|
url: url,
|
|
|
data: params,
|
|
|
- method: 'post'
|
|
|
+ method: 'post',
|
|
|
+ headers:{
|
|
|
+ 'module': encodeURIComponent('管辖区域明细列表')
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
// 设置管辖品类
|
|
@@ -90,7 +114,10 @@ export const queryProductScopePage = params => {
|
|
|
return axios({
|
|
|
url: url,
|
|
|
data: params,
|
|
|
- method: 'post'
|
|
|
+ method: 'post',
|
|
|
+ headers:{
|
|
|
+ 'module': encodeURIComponent('管辖品类列表')
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
|
|
@@ -99,7 +126,10 @@ export const bizuserScopeDelete = params => {
|
|
|
return axios({
|
|
|
url: `/bizuser/scope/delete/${params.id}`,
|
|
|
data: {},
|
|
|
- method: 'get'
|
|
|
+ method: 'get',
|
|
|
+ headers:{
|
|
|
+ 'module': encodeURIComponent('删除')
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
// 设置管辖品类 删除产品品牌
|
|
@@ -107,7 +137,10 @@ export const deleteProductBrand = params => {
|
|
|
return axios({
|
|
|
url: `/bizuser/scope/detail/deleteProductBrand/${params.id}`,
|
|
|
data: {},
|
|
|
- method: 'get'
|
|
|
+ method: 'get',
|
|
|
+ headers:{
|
|
|
+ 'module': encodeURIComponent('删除产品品牌标签')
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
// 设置管辖品类 删除产品分类
|
|
@@ -115,7 +148,10 @@ export const deleteProductType = params => {
|
|
|
return axios({
|
|
|
url: `/bizuser/scope/detail/deleteProductType/${params.id}`,
|
|
|
data: {},
|
|
|
- method: 'get'
|
|
|
+ method: 'get',
|
|
|
+ headers:{
|
|
|
+ 'module': encodeURIComponent('删除分类标签')
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
|
|
@@ -124,7 +160,10 @@ export const findById = params => {
|
|
|
return axios({
|
|
|
url: `/bizuser/findById/${params.id}`,
|
|
|
data: {},
|
|
|
- method: 'get'
|
|
|
+ method: 'get',
|
|
|
+ headers:{
|
|
|
+ 'module': encodeURIComponent('查询用户信息')
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
|
|
@@ -133,7 +172,10 @@ export const queryAreaScope = params => {
|
|
|
return axios({
|
|
|
url: '/bizuser/scope/queryAreaScopeList',
|
|
|
data: params,
|
|
|
- method: 'post'
|
|
|
+ method: 'post',
|
|
|
+ headers:{
|
|
|
+ 'module': encodeURIComponent('查询区域列表')
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
|
|
@@ -142,7 +184,10 @@ export const saveAreaScope = params => {
|
|
|
return axios({
|
|
|
url: '/bizuser/scope/saveAreaScope',
|
|
|
data: params,
|
|
|
- method: 'post'
|
|
|
+ method: 'post',
|
|
|
+ headers:{
|
|
|
+ 'module': encodeURIComponent('添加区域')
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
|
|
@@ -151,7 +196,10 @@ export const queryDealerScope = params => {
|
|
|
return axios({
|
|
|
url: '/bizuser/scope/queryDealerScopeList',
|
|
|
data: params,
|
|
|
- method: 'post'
|
|
|
+ method: 'post',
|
|
|
+ headers:{
|
|
|
+ 'module': encodeURIComponent('经销商查询')
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
// 保存经销商
|
|
@@ -159,7 +207,10 @@ export const saveDealerScope = params => {
|
|
|
return axios({
|
|
|
url: '/bizuser/scope/saveDealerScope',
|
|
|
data: params,
|
|
|
- method: 'post'
|
|
|
+ method: 'post',
|
|
|
+ headers:{
|
|
|
+ 'module': encodeURIComponent('添加经销商')
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
|
|
@@ -171,7 +222,10 @@ export const bizuserScopeQueryDealer = (params) => {
|
|
|
return axios({
|
|
|
url: url,
|
|
|
data: params,
|
|
|
- method: 'post'
|
|
|
+ method: 'post',
|
|
|
+ headers:{
|
|
|
+ 'module': encodeURIComponent('经销商列表(选择过的优先显示)')
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
|
|
@@ -184,7 +238,10 @@ export const querySupplierScopePage = (params) => {
|
|
|
return axios({
|
|
|
url: url,
|
|
|
data: params,
|
|
|
- method: 'post'
|
|
|
+ method: 'post',
|
|
|
+ headers:{
|
|
|
+ 'module': encodeURIComponent('已选供应商列表')
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
// 供应商列表 (选择过的优先显示)
|
|
@@ -195,7 +252,10 @@ export const querySupplierPage = (params) => {
|
|
|
return axios({
|
|
|
url: url,
|
|
|
data: params,
|
|
|
- method: 'post'
|
|
|
+ method: 'post',
|
|
|
+ headers:{
|
|
|
+ 'module': encodeURIComponent('供应商列表(选择过的优先显示)')
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
// 保存供应商
|
|
@@ -203,7 +263,10 @@ export const saveSupplierList = params => {
|
|
|
return axios({
|
|
|
url: '/bizuser/scope/saveSupplierList',
|
|
|
data: params,
|
|
|
- method: 'post'
|
|
|
+ method: 'post',
|
|
|
+ headers:{
|
|
|
+ 'module': encodeURIComponent('添加供应商')
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
|
|
@@ -211,15 +274,21 @@ export const querySupplierScope = params => {
|
|
|
return axios({
|
|
|
url: '/bizuser/scope/querySupplierScopeList',
|
|
|
data: params,
|
|
|
- method: 'post'
|
|
|
+ method: 'post',
|
|
|
+ headers:{
|
|
|
+ 'module': encodeURIComponent('供应商列表查询')
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
|
|
|
-// 已启用状态下的客户列表
|
|
|
+// 已启用状态下的客服列表查询
|
|
|
export const queryUnderlingKf = params => {
|
|
|
return axios({
|
|
|
url: '/bizuser/queryUnderlingKf',
|
|
|
data: params,
|
|
|
- method: 'post'
|
|
|
+ method: 'post',
|
|
|
+ headers:{
|
|
|
+ 'module': encodeURIComponent('客服列表查询')
|
|
|
+ }
|
|
|
})
|
|
|
}
|