正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
@@ -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 { |
-
请 注册 或 登录 后发表评论