|
@@ -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);
|
|
|
//获取审批人列表
|