优化多角色数据权限匹配规则

This commit is contained in:
RuoYi
2022-08-21 22:54:25 +08:00
parent 1d2f37bfe1
commit 2952cb2c4f
5 changed files with 25 additions and 38 deletions

View File

@ -109,3 +109,11 @@ export function authUserSelectAll(data) {
params: data
})
}
// 根据角色ID查询部门树结构
export function deptTreeSelect(roleId) {
return request({
url: '/system/role/deptTree/' + roleId,
method: 'get'
})
}