diff --git a/src/api/workflow/spel/types.ts b/src/api/workflow/spel/types.ts index e0a694c3c2a2da851ea6930159fb9b0bd65aaa6b..93b8316f0326991a9a9764ab2c5bb9199078b7ea 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 155b9910375fc89b90e7c6df7afa2b7719dadc26..ea4faeadc5eb58bcd17efceba0c630e7c654d236 100644 --- a/src/views/workflow/spel/index.vue +++ b/src/views/workflow/spel/index.vue @@ -4,11 +4,23 @@
- - + + - - + + + + + + + + + + + + + + 搜索 @@ -23,16 +35,16 @@