forked from ruoyi/RuoYi-Vue
优化多角色数据权限匹配规则
This commit is contained in:
@@ -108,4 +108,12 @@ export function authUserSelectAll(data) {
|
||||
method: 'put',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
// 根据角色ID查询部门树结构
|
||||
export function deptTreeSelect(roleId) {
|
||||
return request({
|
||||
url: '/system/role/deptTree/' + roleId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user