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

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

@ -25,22 +25,6 @@ export function getDept(deptId) {
})
}
// 查询部门下拉树结构
export function treeselect() {
return request({
url: '/system/dept/treeselect',
method: 'get'
})
}
// 根据角色ID查询部门树结构
export function roleDeptTreeselect(roleId) {
return request({
url: '/system/dept/roleDeptTreeselect/' + roleId,
method: 'get'
})
}
// 新增部门
export function addDept(data) {
return request({