|
@@ -4,7 +4,10 @@ export function login (parameter) {
|
|
|
return axios({
|
|
|
url: '/auth/login',
|
|
|
method: 'post',
|
|
|
- data: parameter
|
|
|
+ data: parameter,
|
|
|
+ headers:{
|
|
|
+ 'module': encodeURIComponent('登录')
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
|
|
@@ -24,7 +27,10 @@ export const getLookUpData = (params) => {
|
|
|
return axios({
|
|
|
url: url,
|
|
|
data: params,
|
|
|
- method: 'post'
|
|
|
+ method: 'post',
|
|
|
+ headers:{
|
|
|
+ 'module': encodeURIComponent('数据字典('+params.lookupCode+')项查询')
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
|
|
@@ -131,7 +137,10 @@ export const bizStateCount = (params) => {
|
|
|
return axios({
|
|
|
url: `/home/queryBizStateCount`,
|
|
|
data: params,
|
|
|
- method: 'post'
|
|
|
+ method: 'post',
|
|
|
+ headers:{
|
|
|
+ 'module': encodeURIComponent('待处理数据')
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
// 首页 数据看板信息
|
|
@@ -139,7 +148,10 @@ export const bizData = (params) => {
|
|
|
return axios({
|
|
|
url: `/home/queryBizData`,
|
|
|
data: params,
|
|
|
- method: 'post'
|
|
|
+ method: 'post',
|
|
|
+ headers:{
|
|
|
+ 'module': encodeURIComponent('数据看板信息')
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
// 首页 商户信息
|
|
@@ -147,6 +159,9 @@ export const dealerData = (params) => {
|
|
|
return axios({
|
|
|
url: `/dealer/findCurrentDealer`,
|
|
|
data: params,
|
|
|
- method: 'get'
|
|
|
+ method: 'get',
|
|
|
+ headers:{
|
|
|
+ 'module': encodeURIComponent('商户信息')
|
|
|
+ }
|
|
|
})
|
|
|
}
|