From 9f4918cc14064ea625f75dc616c7a1dc07815b42 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Sat, 16 May 2020 18:39:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=8A=E7=BA=A7=E9=83=A8?= =?UTF-8?q?=E9=97=A8=EF=BC=88=E9=80=89=E6=8B=A9=E9=A1=B9=E6=8E=92=E9=99=A4?= =?UTF-8?q?=E6=9C=AC=E8=BA=AB=E5=92=8C=E4=B8=8B=E7=BA=A7=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/api/system/dept.js | 8 +++++++ ruoyi-ui/src/views/system/dept/index.vue | 16 ++++++------- .../system/controller/SysDeptController.java | 23 +++++++++++++++++++ 3 files changed, 38 insertions(+), 9 deletions(-) diff --git a/ruoyi-ui/src/api/system/dept.js b/ruoyi-ui/src/api/system/dept.js index 2debf5ac..0535e8a6 100644 --- a/ruoyi-ui/src/api/system/dept.js +++ b/ruoyi-ui/src/api/system/dept.js @@ -9,6 +9,14 @@ export function listDept(query) { }) } +// 查询部门列表(排除节点) +export function listDeptExcludeChild(deptId) { + return request({ + url: '/system/dept/list/exclude/' + deptId, + method: 'get' + }) +} + // 查询部门详细 export function getDept(deptId) { return request({ diff --git a/ruoyi-ui/src/views/system/dept/index.vue b/ruoyi-ui/src/views/system/dept/index.vue index ad6b9717..ac6d6631 100644 --- a/ruoyi-ui/src/views/system/dept/index.vue +++ b/ruoyi-ui/src/views/system/dept/index.vue @@ -138,7 +138,7 @@