Compare commits

...

2 Commits

Author SHA1 Message Date
60d8d3c95d 1 2023-05-17 10:51:46 +08:00
2c5a2d51c2 update 2023-05-17 10:06:43 +08:00
2 changed files with 9 additions and 6 deletions

View File

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

View File

@ -129,7 +129,10 @@ export function updateAuthRole(data) {
// 查询部门下拉树结构
export function deptTreeSelect() {
return request({
url: "/system/dept/deptTree",
method: "get",
});
url: '/system/dept/dept-tree',
method: 'get',
params: {
status: '1'
}
})
}