【问题修复】 修复:新增支持通过“历史”进行恢复功能时 少了formConf和formFields字段导致流程表单无法回显

This commit is contained in:
wlf 2025-03-09 21:47:14 +08:00
parent 40b3c49495
commit b9edde95eb
1 changed files with 4 additions and 0 deletions

View File

@ -44,6 +44,10 @@ public class BpmModelMetaInfoVO {
private Integer formType; private Integer formType;
@Schema(description = "表单编号", example = "1024") @Schema(description = "表单编号", example = "1024")
private Long formId; // formType NORMAL 使用必须非空 private Long formId; // formType NORMAL 使用必须非空
@Schema(description = "表单的配置-JSON 字符串。在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空", requiredMode = Schema.RequiredMode.REQUIRED)
private String formConf;
@Schema(description = "表单项的数组-JSON 字符串的数组。在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空", requiredMode = Schema.RequiredMode.REQUIRED)
private List<String> formFields;
@Schema(description = "自定义表单的提交路径,使用 Vue 的路由地址", example = "/bpm/oa/leave/create") @Schema(description = "自定义表单的提交路径,使用 Vue 的路由地址", example = "/bpm/oa/leave/create")
private String formCustomCreatePath; // 表单类型为 CUSTOM 必须非空 private String formCustomCreatePath; // 表单类型为 CUSTOM 必须非空
@Schema(description = "自定义表单的查看路径,使用 Vue 的路由地址", example = "/bpm/oa/leave/view") @Schema(description = "自定义表单的查看路径,使用 Vue 的路由地址", example = "/bpm/oa/leave/view")