Files
SaaS-lib/hx-ai-intelligent/src/api/origanizemanage.ts

23 lines
756 B
TypeScript
Raw Normal View History

2024-06-04 10:54:02 +08:00
const BASE_URL = '/carbon-smart';
2024-06-04 11:40:32 +08:00
export enum permission {
add = `${BASE_URL}/admin/permission/save`,
}
2024-06-04 10:54:02 +08:00
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`,
}