作者 yangfu

模板修改

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