|
@@ -36,10 +36,35 @@ type BusinessCatalogsInfoWithWorkflowTemplate struct {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
type PrepareInfo struct {
|
|
type PrepareInfo struct {
|
|
|
- Flag int `json:"flag"` // 1-选择部门 2-选择审批人
|
|
|
|
|
- WorkflowFieldLabel string `json:"workflowFieldLabel"`
|
|
|
|
|
- ChooseData []CustomStructureInfo `json:"chooseData"`
|
|
|
|
|
- WorkflowFieldName string `json:"workflowFieldName"`
|
|
|
|
|
|
|
+ //Flag int `json:"flag"` // 1-选择部门 2-选择审批人
|
|
|
|
|
+ //WorkflowFieldLabel string `json:"workflowFieldLabel"`
|
|
|
|
|
+ //ChooseData []CustomStructureInfo `json:"chooseData"`
|
|
|
|
|
+ //WorkflowFieldName string `json:"workflowFieldName"`
|
|
|
|
|
+ ID string `json:"id"`
|
|
|
|
|
+ Label string `json:"label"`
|
|
|
|
|
+ Placeholder string `json:"placeholder"`
|
|
|
|
|
+ Value string `json:"value"`
|
|
|
|
|
+ Name string `json:"name"`
|
|
|
|
|
+ Type string `json:"type"`
|
|
|
|
|
+ Rules []Rule `json:"rules"`
|
|
|
|
|
+ Options []Option `json:"options"`
|
|
|
|
|
+ Props Props `json:"props"`
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+type Option struct {
|
|
|
|
|
+ Label string `json:"label"`
|
|
|
|
|
+ Value string `json:"value"`
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+type Props struct {
|
|
|
|
|
+ Multiple bool `json:"multiple"`
|
|
|
|
|
+ Filterable bool `json:"filterable"`
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+type Rule struct {
|
|
|
|
|
+ Required bool `json:"required"`
|
|
|
|
|
+ Message string `json:"message"`
|
|
|
|
|
+ Trigger []string `json:"trigger"`
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
type CustomStructureInfo struct {
|
|
type CustomStructureInfo struct {
|