作者 yangfu

模板修改

... ... @@ -451,9 +451,10 @@ func TemplateGet(uid, companyId int64, request *protocol.TemplateGetRequest) (rs
rsp.Template.InputList = append(rsp.Template.InputList, &protocol.InputElement{
Id: input.Id,
Sort: input.SortNum,
Label: input.InputType,
Label: input.Label,
Required: int(input.Required),
SectionType: input.Section,
InputType: input.InputType,
})
}
if configs, err = models.GetAuditFlowConfig(template.Id); err != nil {
... ...