lilei 1 anno fa
parent
commit
c742dcc557
2 ha cambiato i file con 21 aggiunte e 6 eliminazioni
  1. 1 1
      public/version.json
  2. 20 5
      src/api/data.js

+ 1 - 1
public/version.json

@@ -1,5 +1,5 @@
 {
   "message": "发现有新版本发布,确定更新系统?",
   "vendorJsVersion": "",
-  "version": 1708908954778
+  "version": 1708909123892
 }

+ 20 - 5
src/api/data.js

@@ -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('商户信息')
+    }
   })
 }