This commit is contained in:
2023-05-17 10:06:43 +08:00
parent e9764b6eb3
commit 2c5a2d51c2
2 changed files with 5 additions and 2 deletions

View File

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

View File

@ -130,6 +130,9 @@ export function updateAuthRole(data) {
export function deptTreeSelect() {
return request({
url: '/system/dept/deptTree',
method: 'get'
method: 'get',
params: {
status: '1'
}
})
}