【问题修复】BPM:formConf、formFields 在 BpmProcessDefinitionRespVO 缺少的问题,导致无法发起流程
This commit is contained in:
parent
44083c96c3
commit
9ae18fe53d
|
@ -45,10 +45,6 @@ public class BpmModelMetaInfoVO {
|
||||||
@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")
|
||||||
|
|
|
@ -21,9 +21,6 @@ public class BpmModelSaveReqVO extends BpmModelMetaInfoVO {
|
||||||
@NotEmpty(message = "流程名称不能为空")
|
@NotEmpty(message = "流程名称不能为空")
|
||||||
private String name;
|
private String name;
|
||||||
|
|
||||||
@Schema(description = "表单名字", example = "请假表单")
|
|
||||||
private String formName;
|
|
||||||
|
|
||||||
@Schema(description = "流程分类", example = "1")
|
@Schema(description = "流程分类", example = "1")
|
||||||
private String category;
|
private String category;
|
||||||
|
|
||||||
|
|
|
@ -20,9 +20,6 @@ public class BpmProcessDefinitionRespVO extends BpmModelMetaInfoVO {
|
||||||
@Schema(description = "流程名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道")
|
@Schema(description = "流程名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道")
|
||||||
private String name;
|
private String name;
|
||||||
|
|
||||||
@Schema(description = "表单名字", example = "请假表单")
|
|
||||||
private String formName;
|
|
||||||
|
|
||||||
@Schema(description = "流程标识", requiredMode = Schema.RequiredMode.REQUIRED, example = "youdao")
|
@Schema(description = "流程标识", requiredMode = Schema.RequiredMode.REQUIRED, example = "youdao")
|
||||||
private String key;
|
private String key;
|
||||||
|
|
||||||
|
@ -37,6 +34,13 @@ public class BpmProcessDefinitionRespVO extends BpmModelMetaInfoVO {
|
||||||
@Schema(description = "流程模型的编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "ABC")
|
@Schema(description = "流程模型的编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "ABC")
|
||||||
private String modelId;
|
private String modelId;
|
||||||
|
|
||||||
|
@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 = "表单名字", example = "请假表单")
|
||||||
|
private String formName;
|
||||||
|
|
||||||
@Schema(description = "中断状态-参见 SuspensionState 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
@Schema(description = "中断状态-参见 SuspensionState 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
||||||
private Integer suspensionState; // 参见 SuspensionState 枚举
|
private Integer suspensionState; // 参见 SuspensionState 枚举
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue