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查询部门树结构 // 根据角色ID查询部门树结构
export function deptTreeSelect(roleId) { export function deptTreeSelect(roleId) {
return request({ return request({
url: "/system/role/deptTree/" + roleId, url: '/system/dept/dept-tree/' + roleId,
method: "get", method: 'get'
}); })
} }

View File

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