From cb4f0a4680733cf30df86f02d0339c5db017dec3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=AF=BA?= <1253070437@qq.com> Date: Sun, 12 Mar 2023 02:39:59 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=8D=87=E7=BA=A7=E3=80=91=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E3=80=81=E8=A7=92=E8=89=B2=E3=80=81=E5=AD=97=E5=85=B8?= =?UTF-8?q?=E3=80=81=E6=9C=BA=E6=9E=84=E3=80=81=E5=B2=97=E4=BD=8D=E8=BF=99?= =?UTF-8?q?=E4=BA=9B=E5=B7=A6=E6=A0=91=E5=8F=B3=E8=A1=A8=E5=BE=97=E5=88=B0?= =?UTF-8?q?=E5=A2=9E=E5=BC=BA=EF=BC=8C=E6=96=B0=E5=A2=9E=E6=97=B6=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E6=A0=91=E5=90=8E=E5=AF=B9=E5=BA=94=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E7=9A=84=E8=A1=A8=E5=8D=95=E8=B7=9F=E7=9D=80=E9=80=89=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- snowy-admin-web/src/views/biz/org/form.vue | 5 ++- snowy-admin-web/src/views/biz/org/index.vue | 4 +- .../src/views/biz/position/form.vue | 5 ++- .../src/views/biz/position/index.vue | 4 +- snowy-admin-web/src/views/biz/user/form.vue | 45 +++++++++++-------- snowy-admin-web/src/views/biz/user/index.vue | 2 +- .../src/views/dev/dict/category/bizIndex.vue | 2 +- .../src/views/dev/dict/category/form.vue | 7 ++- .../src/views/dev/dict/category/frmIndex.vue | 2 +- snowy-admin-web/src/views/sys/org/form.vue | 7 ++- snowy-admin-web/src/views/sys/org/index.vue | 5 +-- .../src/views/sys/position/form.vue | 5 ++- .../src/views/sys/position/index.vue | 4 +- snowy-admin-web/src/views/sys/role/form.vue | 10 ++++- snowy-admin-web/src/views/sys/role/index.vue | 2 +- snowy-admin-web/src/views/sys/user/form.vue | 45 +++++++++++-------- snowy-admin-web/src/views/sys/user/index.vue | 2 +- 17 files changed, 98 insertions(+), 58 deletions(-) diff --git a/snowy-admin-web/src/views/biz/org/form.vue b/snowy-admin-web/src/views/biz/org/form.vue index add91905..29c849aa 100644 --- a/snowy-admin-web/src/views/biz/org/form.vue +++ b/snowy-admin-web/src/views/biz/org/form.vue @@ -84,12 +84,15 @@ const submitLoading = ref(false) // 打开抽屉 - const onOpen = (record) => { + const onOpen = (record, parentId) => { visible = true extJson.value = ref([]) formData.value = { sortCode: 99 } + if (parentId) { + formData.value.parentId = parentId + } if (record) { const param = { id: record.id diff --git a/snowy-admin-web/src/views/biz/org/index.vue b/snowy-admin-web/src/views/biz/org/index.vue index 99c815ad..d7faea0f 100644 --- a/snowy-admin-web/src/views/biz/org/index.vue +++ b/snowy-admin-web/src/views/biz/org/index.vue @@ -19,7 +19,7 @@ - + @@ -48,7 +48,7 @@ >