From 0aea72fb1286ffc9e45a67ce4253e376423d7b61 Mon Sep 17 00:00:00 2001 From: xiangheng <11675084@qq.com> Date: Fri, 5 Jul 2024 23:44:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=BA=E5=8C=96ts=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/src/api/perms/admin.ts | 4 + admin/src/components/flow/Approver.vue | 5 +- .../flow/flowEdit/PropertyPanel/Gateway.vue | 40 ++++------ .../flow/flowEdit/PropertyPanel/UserTask.vue | 60 +++++++-------- .../{PropertyPanel.vue => index.vue} | 76 +++++++++---------- .../flowEdit/PropertyPanel/property.type.ts | 52 +++++++++++++ admin/src/components/flow/flowEdit/index.vue | 6 +- .../views/setting/permission/menu/index.vue | 2 + server/admin/system/admin/admin.go | 12 +++ server/admin/system/admin/service.go | 38 ++++++++++ server/admin/system/enter.go | 1 + 11 files changed, 196 insertions(+), 100 deletions(-) rename admin/src/components/flow/flowEdit/PropertyPanel/{PropertyPanel.vue => index.vue} (53%) create mode 100644 admin/src/components/flow/flowEdit/PropertyPanel/property.type.ts diff --git a/admin/src/api/perms/admin.ts b/admin/src/api/perms/admin.ts index 6c7766e..43700f6 100644 --- a/admin/src/api/perms/admin.ts +++ b/admin/src/api/perms/admin.ts @@ -6,6 +6,10 @@ import config from '@/config' export function adminLists(params: any) { return request.get({ url: '/system/admin/list', params }) } +// 管理员列表 +export function adminListAll(params: any) { + return request.get({ url: '/system/admin/listAll', params }) +} // 管理员详情 export function adminDetail(params: any) { return request.get({ url: '/system/admin/detail', params }) diff --git a/admin/src/components/flow/Approver.vue b/admin/src/components/flow/Approver.vue index 24f5784..ea967f2 100644 --- a/admin/src/components/flow/Approver.vue +++ b/admin/src/components/flow/Approver.vue @@ -141,9 +141,8 @@ function open(data) { dialogVisible.value = true } function changeSteps(item) { - const fieldList = formDesign.value.getFieldWidgets() - - fieldList.value = fieldList + fieldList.value = formDesign.value.getFieldWidgets() + console.log('fieldList', fieldList.value) activeStep.value = item.key } diff --git a/admin/src/components/flow/flowEdit/PropertyPanel/Gateway.vue b/admin/src/components/flow/flowEdit/PropertyPanel/Gateway.vue index ee42507..c29ac7d 100644 --- a/admin/src/components/flow/flowEdit/PropertyPanel/Gateway.vue +++ b/admin/src/components/flow/flowEdit/PropertyPanel/Gateway.vue @@ -1,11 +1,10 @@