diff --git a/src/api/system/user.js b/src/api/system/user.js index fa78c0e3..cc4374cf 100644 --- a/src/api/system/user.js +++ b/src/api/system/user.js @@ -164,6 +164,13 @@ export function confirmPassword(password) { data:data }) } +// 根据组织ID获取部门列表(树形结构) +export function listDeptByOrgId(orgId) { + return request({ + url: `/system/newDept/dept/list/${orgId}`, + method: 'get' + }) +} diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 839092c3..0ab1d7a5 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -216,18 +216,18 @@ - - + - +