Merge remote-tracking branch 'gitee/0.8.X' into 0.8.X
This commit is contained in:
@@ -58,3 +58,13 @@ export function treeselect() {
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
export function listDeptWithChildren(deptId) {
|
||||
if (!deptId) {
|
||||
return Promise.reject(new Error('deptId is required'))
|
||||
}
|
||||
return request({
|
||||
url: '/system/dept/list/' + deptId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user