From ddeac22beddd0b1fd6d5b70041c846cc4d0b7c24 Mon Sep 17 00:00:00 2001 From: xlsea Date: Thu, 20 Jun 2024 10:56:55 +0800 Subject: [PATCH] =?UTF-8?q?fix(sj=5Fmap=5Freduce):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E6=B5=81=E8=A1=A8=E5=8D=95=E8=B5=8B=E5=80=BC?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../workflow/modules/drawer/start-drawer.vue | 9 ++- src/components/workflow/workflow.vue | 42 +++++++++++- src/constants/business.ts | 20 +++--- src/views/workflow/task/index.vue | 64 ++++++++++--------- 4 files changed, 91 insertions(+), 44 deletions(-) diff --git a/src/components/workflow/modules/drawer/start-drawer.vue b/src/components/workflow/modules/drawer/start-drawer.vue index 8e9a1cc..7e463da 100644 --- a/src/components/workflow/modules/drawer/start-drawer.vue +++ b/src/components/workflow/modules/drawer/start-drawer.vue @@ -2,7 +2,11 @@ import { ref, watch } from 'vue'; import CronInput from '@sa/cron-input'; import { type FormInst, type FormItemRule } from 'naive-ui'; -import { blockStrategyRecordOptions, triggerTypeOptions, workFlowNodeStatusOptions } from '@/constants/business'; +import { + blockStrategyRecordOptions, + workflowTriggerTypeOptions as triggerTypeOptions, + workFlowNodeStatusOptions +} from '@/constants/business'; import { $t } from '@/locales'; import { fetchGetAllGroupNameList } from '@/service/api'; import { isNotNull } from '@/utils/common'; @@ -165,6 +169,7 @@ const rules: Record = { @@ -176,7 +181,7 @@ const rules: Record = { - + diff --git a/src/components/workflow/workflow.vue b/src/components/workflow/workflow.vue index 063176a..50e33cf 100644 --- a/src/components/workflow/workflow.vue +++ b/src/components/workflow/workflow.vue @@ -1,5 +1,5 @@ - -