diff --git a/klp-ui/src/api/system/dept.js b/klp-ui/src/api/system/dept.js index 1905bb07..1430a71f 100644 --- a/klp-ui/src/api/system/dept.js +++ b/klp-ui/src/api/system/dept.js @@ -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' + }) +} \ No newline at end of file diff --git a/klp-ui/src/views/wms/hrm/apply/goout.vue b/klp-ui/src/views/wms/hrm/apply/goout.vue index 6f2f9949..9dd763fc 100644 --- a/klp-ui/src/views/wms/hrm/apply/goout.vue +++ b/klp-ui/src/views/wms/hrm/apply/goout.vue @@ -119,7 +119,7 @@