Browse Source

员工数据

ZaiZai 2 years ago
parent
commit
4c11d5ebba
2 changed files with 4 additions and 3 deletions
  1. 1 1
      public/version.json
  2. 3 2
      src/api/modules/other.js

+ 1 - 1
public/version.json

@@ -1,3 +1,3 @@
 {
-  "value": "20230707182023"
+  "value": "20230710111313"
 }

+ 3 - 2
src/api/modules/other.js

@@ -1,5 +1,6 @@
 import {httpApi} from "../request/httpApi";
-import website from "~src/config/index";
+import {useAppStore} from "~src/store";
+const useAppState = useAppStore();
 
 //用户配置保存
 export const userConfigSave = (form, msg = true) => httpApi({
@@ -51,7 +52,7 @@ export const getuserList = (form= {}, msg = true) => httpApi({
     method: 'get',
     params: {
         ...form,
-        sysId: website.sysId
+        tenantId: useAppState.tenantId
     }
 }, msg);
 //获取审批人列表