Compare commits
2 Commits
26d259e8f0
...
60d8d3c95d
| Author | SHA1 | Date | |
|---|---|---|---|
| 60d8d3c95d | |||
| 2c5a2d51c2 |
@ -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'
|
||||
})
|
||||
}
|
||||
|
||||
@ -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'
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user