From 53e6d6aa6179c6f667b5850c7bc3dcc37490a304 Mon Sep 17 00:00:00 2001 From: Lesan <1960681385@qq.com> Date: Wed, 8 Jan 2025 10:16:11 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=8D=A2=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SimpleProcessDesignerV2/src/consts.ts | 4 +- .../src/nodes-config/RouteNodeConfig.vue | 231 +---------------- .../src/nodes-config/components/Condition.vue | 242 ++++++++++++++++++ 3 files changed, 249 insertions(+), 228 deletions(-) create mode 100644 src/components/SimpleProcessDesignerV2/src/nodes-config/components/Condition.vue diff --git a/src/components/SimpleProcessDesignerV2/src/consts.ts b/src/components/SimpleProcessDesignerV2/src/consts.ts index dab96080c..4c8c67d41 100644 --- a/src/components/SimpleProcessDesignerV2/src/consts.ts +++ b/src/components/SimpleProcessDesignerV2/src/consts.ts @@ -510,8 +510,8 @@ export const APPROVE_METHODS: DictDataVO[] = [ ] export const CONDITION_CONFIG_TYPES: DictDataVO[] = [ - { label: '条件表达式', value: ConditionType.EXPRESSION }, - { label: '条件规则', value: ConditionType.RULE } + { label: '条件规则', value: ConditionType.RULE }, + { label: '条件表达式', value: ConditionType.EXPRESSION } ] // 时间单位类型 diff --git a/src/components/SimpleProcessDesignerV2/src/nodes-config/RouteNodeConfig.vue b/src/components/SimpleProcessDesignerV2/src/nodes-config/RouteNodeConfig.vue index 389754f50..79ad364e2 100644 --- a/src/components/SimpleProcessDesignerV2/src/nodes-config/RouteNodeConfig.vue +++ b/src/components/SimpleProcessDesignerV2/src/nodes-config/RouteNodeConfig.vue @@ -42,123 +42,7 @@ > - - - - {{ dict.label }} - - - - - - - - -
-
-
条件组关系
- -
-
- - -
- -
- - -
-
- - - -
-
- - - -
-
- -
-
- -
-
- -
-
-
-
-
- -
-
+ @@ -177,18 +61,9 @@ - - diff --git a/src/components/SimpleProcessDesignerV2/src/nodes-config/components/Condition.vue b/src/components/SimpleProcessDesignerV2/src/nodes-config/components/Condition.vue new file mode 100644 index 000000000..ca4b9a395 --- /dev/null +++ b/src/components/SimpleProcessDesignerV2/src/nodes-config/components/Condition.vue @@ -0,0 +1,242 @@ + + + + +