角色管理新增部门列表

This commit is contained in:
Teo
2025-09-22 17:50:22 +08:00
parent 31cf862392
commit 84b2a05e3c
6 changed files with 177 additions and 101 deletions

View File

@ -147,10 +147,11 @@ export const authUserSelectAll = (data: any) => {
});
};
// 根据角色ID查询部门树结构
export const deptTreeSelect = (roleId: string | number): AxiosPromise<RoleDeptTree> => {
export const deptTreeSelect = (roleId: string | number, params?) => {
return request({
url: '/system/role/deptTree/' + roleId,
method: 'get'
method: 'get',
params
});
};