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

31 lines
1.1 KiB
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',
2024-06-04 19:22:11 +08:00
editUser = '/carbon-smart/api/user/edit',
2024-06-04 10:54:02 +08:00
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`,
2024-06-04 19:22:11 +08:00
deptDel = `${BASE_URL}/api/dept/del`,
addPermission = `${BASE_URL}/api/dept/addPermission`,
addRolePermission = `${BASE_URL}/api/dept/addRolePermission`,
delRole = `${BASE_URL}/api/dept/delRole`,
addRole = `${BASE_URL}/api/dept/addRole`,
editRole = `${BASE_URL}/api/dept/editRole`,
queryRoleTree = `${BASE_URL}/api/dept/queryRoleTree`,
2024-06-04 10:54:02 +08:00
}