Browse Source

员工数据

ZaiZai 2 years ago
parent
commit
4ea621d0c1
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/api/modules/other.js

+ 5 - 1
src/api/modules/other.js

@@ -1,4 +1,5 @@
 import {httpApi} from "../request/httpApi";
+import website from "~src/config/index";
 
 //用户配置保存
 export const userConfigSave = (form, msg = true) => httpApi({
@@ -48,7 +49,10 @@ export const getdepartmentList = (form, msg = true) => httpApi({
 export const getuserList = (form= {}, msg = true) => httpApi({
     url: '/api/blade-user/user-list',
     method: 'get',
-    params: form
+    params: {
+        ...form,
+        sysId: website.sysId
+    }
 }, msg);
 //获取审批人列表
 export const getApprovesList = (form, msg = true) => httpApi({