feat: 用户联调

This commit is contained in:
xuziqiang
2024-06-04 10:54:02 +08:00
parent 31479608c0
commit e1b0d817fe
12 changed files with 373 additions and 250 deletions

View File

@@ -1,4 +1,19 @@
export const origanizemanage = {
userList: '/carbon-smart/api/user/queryUserByPage',
addUser: '/carbon-smart/api/user/save',
};
const BASE_URL = '/carbon-smart';
export enum origanizemanage {
userList = '/carbon-smart/api/user/queryUserByPage',
addUser = '/carbon-smart/api/user/save',
frozen = '/carbon-smart/api/user/frozen',
resetPwd = '/carbon-smart/api/user/resetPwd',
del = '/carbon-smart/api/user/del',
batchDel = '/carbon-smart/api/user/batchDel',
queryOrgTree = '/carbon-smart/api/user/queryOrgTree',
queryDeptTree = '/carbon-smart/api/user/queryDeptTree',
queryUserPerList = '/carbon-smart/api/user/queryUserPerList',
}
export enum department {
dartList = `${BASE_URL}/api/user/queryDeptTree`,
deptSave = `${BASE_URL}/api/dept/save`,
deptEdit = `${BASE_URL}/api/dept/edit`,
}