From 74bbfdcef7ca95c565e00443a7383b08c9212c10 Mon Sep 17 00:00:00 2001 From: hxr <1490493387@qq.com> Date: Fri, 6 Oct 2023 00:01:16 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20:recycle:=20=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E4=BB=A3=E7=A0=81=E9=87=8D=E6=9E=84=EF=BC=8C?= =?UTF-8?q?=E5=B0=81=E8=A3=85=E9=83=A8=E9=97=A8=E6=A0=91=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: 6021909320b038a0f9d76dd711f9c551e0863ac8 --- .../system/user/components/dept-tree.vue | 69 ++++ src/views/system/user/index.vue | 374 ++++++++---------- 2 files changed, 230 insertions(+), 213 deletions(-) create mode 100644 src/views/system/user/components/dept-tree.vue diff --git a/src/views/system/user/components/dept-tree.vue b/src/views/system/user/components/dept-tree.vue new file mode 100644 index 00000000..6394b328 --- /dev/null +++ b/src/views/system/user/components/dept-tree.vue @@ -0,0 +1,69 @@ + + + + diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 48914fff..0ea49911 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -1,8 +1,9 @@ @@ -368,26 +340,10 @@ onMounted(() => { - - - - - - - + +
@@ -432,7 +388,7 @@ onMounted(() => { 新增 { 下载模板 - + 导入数据 @@ -541,7 +497,7 @@ onMounted(() => { type="primary" link size="small" - @click="openDialog(scope.row.id)" + @click="openDialog('user-form', scope.row.id)" >编辑 { - + { - - - - - + { /> - + @@ -688,15 +635,16 @@ onMounted(() => { 点击上传
+