From 10ab6a46af767c69c290e9baf07079910e282a4e Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期一, 16 十二月 2024 17:31:44 +0800 Subject: [PATCH] 发布、调整输入框大小 --- src/components/vue-flow/vueFlowEnum.ts | 28 +++++++++++++++++++--------- 1 files changed, 19 insertions(+), 9 deletions(-) diff --git a/src/components/vue-flow/vueFlowEnum.ts b/src/components/vue-flow/vueFlowEnum.ts index 1367a14..ce460e7 100644 --- a/src/components/vue-flow/vueFlowEnum.ts +++ b/src/components/vue-flow/vueFlowEnum.ts @@ -5,9 +5,9 @@ } export const parameterTypeMap = { - [ParameterType.String]: 'string', - [ParameterType.Number]: 'number', - [ParameterType.Boolean]: 'boolean', + [ParameterType.String]: '瀛楃涓�', + [ParameterType.Number]: '鏁板瓧', + [ParameterType.Boolean]: '甯冨皵鍊�', }; export const enum NodeType { @@ -16,8 +16,10 @@ End = 'end', Condition = 'condition', Knowledge = 'knowledge', - Output = 'output', - Agent='agent' + Output = 'output_msg', + Agent = 'agent', + Func = 'func', + Code = 'code', } export const nodeTypeMap = { @@ -26,9 +28,10 @@ [NodeType.End]: '缁撴潫', [NodeType.Condition]: '鏉′欢鍒ゆ柇', [NodeType.Knowledge]: '鐭ヨ瘑搴�', - [NodeType.Output]: '杈撳嚭', + [NodeType.Output]: '瀵硅瘽', [NodeType.Agent]: '浠g悊', - + [NodeType.Func]: '鎵ц鍔熻兘', + [NodeType.Code]: '浠g爜', }; export const enum CompareOperation { @@ -44,6 +47,11 @@ startWith = 'startWith', /** @description 缁撴潫涓� */ endWith = 'endWith', + + /** @description 闈炲紑濮嬩负 */ + notStartWith = 'notStartWith', + /** @description 闈炵粨鏉熶负 */ + notEndWith = 'notEndWith', /** @description 绛変簬 */ eq = 'eq', @@ -67,10 +75,12 @@ [CompareOperation.neq]: '涓嶇瓑浜�', [CompareOperation.include]: '鍖呭惈', [CompareOperation.notInclude]: '涓嶅寘鍚�', - // [CompareOperation.empty]: '涓虹┖', - // [CompareOperation.notEmpty]: '涓嶄负绌�', + [CompareOperation.empty]: '涓虹┖', + [CompareOperation.notEmpty]: '涓嶄负绌�', [CompareOperation.startWith]: '寮�濮嬩负', [CompareOperation.endWith]: '缁撴潫涓�', + [CompareOperation.notStartWith]: '闈炲紑濮嬩负', + [CompareOperation.notEndWith]: '闈炵粨鏉熶负', }; export const enum VarType { -- Gitblit v1.9.3