完成访客搭建,完善之前审核界面

This commit is contained in:
Zy
2026-04-13 18:10:23 +08:00
parent d957d1a039
commit 7f152c45f5
34 changed files with 1732 additions and 1208 deletions

View File

@@ -209,6 +209,16 @@ export const deptTreeSelect = (): AxiosPromise<DeptTreeVO[]> => {
});
};
/**
* 查询用户 根据不同的角色key
*/
export const getUserByRoleKey = (roleKey: string = 'repair'): AxiosPromise<any> => {
return request({
url: '/system/user/list/byRoleKey?roleKey=' + roleKey,
method: 'get'
});
};
export default {
listUser,
getUser,
@@ -225,5 +235,7 @@ export default {
getAuthRole,
updateAuthRole,
deptTreeSelect,
listUserByDeptId
listUserByDeptId,
getUserByRoleKey
};