From 2e591e7a545ca9600e7977934c6938101c205d54 Mon Sep 17 00:00:00 2001 From: chenxing Date: Thu, 17 Sep 2026 11:09:53 +0800 Subject: [PATCH] =?UTF-8?q?feat(admin):=20=E9=80=89=E4=BA=BA=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E6=8E=A5=E5=85=A5=E2=80=94=E2=80=94UserCheckModal=20?= =?UTF-8?q?=E5=8A=A0=E5=8D=95=E9=80=89=E6=A8=A1=E5=BC=8F+UserSelectInput?= =?UTF-8?q?=20=E5=8D=95=E9=80=89=E5=B0=81=E8=A3=85=EF=BC=9B=E6=98=A0?= =?UTF-8?q?=E5=B0=84=E5=8A=9E=E7=90=86=E4=BA=BA/=E5=AE=A1=E6=89=B9?= =?UTF-8?q?=E8=8A=82=E7=82=B9=E6=8C=87=E5=AE=9A=E7=94=A8=E6=88=B7=E5=BC=83?= =?UTF-8?q?=E6=89=8B=E8=BE=93=20ID=20=E6=94=B9=E5=BC=B9=E7=AA=97=E9=80=89?= =?UTF-8?q?=E4=BA=BA=20(/admin/user/tree)=EF=BC=9B=E5=88=A0=E4=BC=91?= =?UTF-8?q?=E7=9C=A0=20UserCheckInput=20=E6=AD=BB=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/module/flow.ts | 4 + src/components/UserCheckInput.vue | 165 ------------------ src/components/UserCheckModal.vue | 121 ++++++++++--- src/components/UserSelectInput.vue | 95 ++++++++++ src/views/flow/admin/Maps.vue | 38 ++-- .../def-editor/components/ApprovalDrawer.vue | 51 +++--- 6 files changed, 237 insertions(+), 237 deletions(-) delete mode 100644 src/components/UserCheckInput.vue create mode 100644 src/components/UserSelectInput.vue diff --git a/src/api/module/flow.ts b/src/api/module/flow.ts index 3f2c05e..be01d7a 100644 --- a/src/api/module/flow.ts +++ b/src/api/module/flow.ts @@ -124,6 +124,10 @@ class FlowApi { mapLookupUser(userId: number) { return get(`${ROOT}/admin/map/lookupUser`, { userId }); } + /** 选人组件数据源:学校组树(组→组内用户叶子) */ + adminUserTree() { + return get(`${ROOT}/admin/user/tree`); + } /** 一键拉取教师组·预览(学校子树教师组容器 → 科室+组内成员) */ mapGroupPreview() { return get(`${ROOT}/admin/map/groupPreview`); diff --git a/src/components/UserCheckInput.vue b/src/components/UserCheckInput.vue deleted file mode 100644 index 2ec7f83..0000000 --- a/src/components/UserCheckInput.vue +++ /dev/null @@ -1,165 +0,0 @@ - - - - - diff --git a/src/components/UserCheckModal.vue b/src/components/UserCheckModal.vue index 49e6a31..448c71a 100644 --- a/src/components/UserCheckModal.vue +++ b/src/components/UserCheckModal.vue @@ -51,27 +51,37 @@
-
- 全选 -
{{ tempUserList.length }}
- 删除选中 -
- + +