From 582cd2d1be0de45eb99be8d2fc13e8caaf59f9e9 Mon Sep 17 00:00:00 2001 From: AprilWind <2100166581@qq.com> Date: Mon, 7 Jul 2025 14:48:39 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BC=98=E5=8C=96=E6=B5=81=E7=A8=8B?= =?UTF-8?q?=E8=A1=A8=E8=BE=BE=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/workflow/spel/types.ts | 71 ++++++++++---- src/views/workflow/spel/index.vue | 149 +++++++++++++++++++----------- 2 files changed, 148 insertions(+), 72 deletions(-) diff --git a/src/api/workflow/spel/types.ts b/src/api/workflow/spel/types.ts index e0a694c..93b8316 100644 --- a/src/api/workflow/spel/types.ts +++ b/src/api/workflow/spel/types.ts @@ -5,7 +5,22 @@ export interface SpelVO { id: string | number; /** - * 组件名称 + * 表达式类型(1默认办理人变量策略 2SpEL办理人变量策略) + */ + spelType: string; + + /** + * 所属分组 + */ + spelGroup: string; + + /** + * 表达式名称(业务描述) + */ + spelName: string; + + /** + * 组件名称(类名) */ componentName: string; @@ -15,12 +30,12 @@ export interface SpelVO { methodName: string; /** - * 参数 + * 方法参数(名称) */ methodParams: string; /** - * 预览spel值 + * SpEL表达式(预览) */ viewSpel: string; @@ -29,10 +44,15 @@ export interface SpelVO { */ status: string; + /** + * 显示顺序 + */ + orderNum: number; + /** * 备注 */ - remark?: string; + remark: string; } @@ -43,7 +63,22 @@ export interface SpelForm extends BaseEntity { id?: string | number; /** - * 组件名称 + * 表达式类型(1默认办理人变量策略 2SpEL办理人变量策略) + */ + spelType?: string; + + /** + * 所属分组 + */ + spelGroup?: string; + + /** + * 表达式名称(业务描述) + */ + spelName?: string; + + /** + * 组件名称(类名) */ componentName?: string; @@ -53,12 +88,12 @@ export interface SpelForm extends BaseEntity { methodName?: string; /** - * 参数 + * 方法参数(名称) */ methodParams?: string; /** - * 预览spel值 + * SpEL表达式(预览) */ viewSpel?: string; @@ -67,6 +102,11 @@ export interface SpelForm extends BaseEntity { */ status?: string; + /** + * 显示顺序 + */ + orderNum?: number; + /** * 备注 */ @@ -77,24 +117,19 @@ export interface SpelForm extends BaseEntity { export interface SpelQuery extends PageQuery { /** - * 组件名称 + * 表达式类型(1默认办理人变量策略 2SpEL办理人变量策略) */ - componentName?: string; - - /** - * 方法名 - */ - methodName?: string; + spelType?: string; /** - * 参数 + * 所属分组 */ - methodParams?: string; + spelGroup?: string; /** - * 预览spel值 + * 表达式名称(业务描述) */ - viewSpel?: string; + spelName?: string; /** * 状态(0正常 1停用) diff --git a/src/views/workflow/spel/index.vue b/src/views/workflow/spel/index.vue index 155b991..ea4faea 100644 --- a/src/views/workflow/spel/index.vue +++ b/src/views/workflow/spel/index.vue @@ -4,11 +4,23 @@
- - + + - - + + + + + + + + + + + + + + 搜索 @@ -23,16 +35,16 @@