From 0786f6aae9df397c9e128c7f677a2e87e7575e47 Mon Sep 17 00:00:00 2001 From: wanglei Date: Mon, 19 May 2025 15:15:44 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E7=AE=A1=E7=90=86=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/api/system/user.js | 5 +- ruoyi-ui/src/views/system/user/index.vue | 517 +++++++++++++---------- 2 files changed, 306 insertions(+), 216 deletions(-) diff --git a/ruoyi-ui/src/api/system/user.js b/ruoyi-ui/src/api/system/user.js index 9f10002..4342b7d 100644 --- a/ruoyi-ui/src/api/system/user.js +++ b/ruoyi-ui/src/api/system/user.js @@ -136,9 +136,10 @@ export function updateAuthRole(data) { } // 查询部门下拉树结构 -export function deptTreeSelect() { +export function deptTreeSelect(data) { return request({ url: '/system/user/deptTree', - method: 'get' + method: 'get', + params: data }) } diff --git a/ruoyi-ui/src/views/system/user/index.vue b/ruoyi-ui/src/views/system/user/index.vue index feecc02..635fc68 100644 --- a/ruoyi-ui/src/views/system/user/index.vue +++ b/ruoyi-ui/src/views/system/user/index.vue @@ -1,207 +1,224 @@