From 4f24141689739daddd2dd07d4a3395e218e66dad Mon Sep 17 00:00:00 2001 From: jason <2667446@qq.com> Date: Mon, 13 May 2024 20:54:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=BF=E9=92=89=E9=92=89=E6=B5=81=E7=A8=8B?= =?UTF-8?q?=E8=AE=BE=E8=AE=A1=E5=99=A8-=20=E6=9D=A1=E4=BB=B6=E8=A7=84?= =?UTF-8?q?=E5=88=99=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SimpleProcessDesignerV2/src/consts.ts | 33 +++++++++---------- .../src/nodes-config/ConditionNodeConfig.vue | 27 ++++++++------- 2 files changed, 32 insertions(+), 28 deletions(-) diff --git a/src/components/SimpleProcessDesignerV2/src/consts.ts b/src/components/SimpleProcessDesignerV2/src/consts.ts index e257f726..db8cca28 100644 --- a/src/components/SimpleProcessDesignerV2/src/consts.ts +++ b/src/components/SimpleProcessDesignerV2/src/consts.ts @@ -167,22 +167,21 @@ export const COMPARISON_OPERATORS : DictDataVO = [ { value: '!=', label: '不等于', + }, + { + value: '>', + label: '大于', + }, + { + value: '>=', + label: '大于等于', + }, + { + value: '<', + label: '小于', + }, + { + value: '<=', + label: '小于等于', } - // 待完善 - // { - // value: '>', - // label: '大于', - // }, - // { - // value: '>=', - // label: '大于等于', - // }, - // { - // value: '<', - // label: '小于', - // }, - // { - // value: '<=', - // label: '小于等于', - // } ] diff --git a/src/components/SimpleProcessDesignerV2/src/nodes-config/ConditionNodeConfig.vue b/src/components/SimpleProcessDesignerV2/src/nodes-config/ConditionNodeConfig.vue index 6cc5482e..679fdbfe 100644 --- a/src/components/SimpleProcessDesignerV2/src/nodes-config/ConditionNodeConfig.vue +++ b/src/components/SimpleProcessDesignerV2/src/nodes-config/ConditionNodeConfig.vue @@ -4,7 +4,7 @@ v-model="settingVisible" :show-close="false" :size="588" - :before-close="handleClose" + :before-close=" handleClose" >