浏览代码

报告章节新增布局比例

hsun 1 周之前
父节点
当前提交
3f6f60a3ff
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      controllers/report_chapter.go
  2. 1 0
      models/report_chapter.go

+ 1 - 0
controllers/report_chapter.go

@@ -924,6 +924,7 @@ func (this *ReportController) GetDayWeekChapter() {
 		ReportChapterItem:      *chapterItem,
 		GrandAdminIdList:       chapterGrantIdList,
 		PermissionIdList:       chapterPermissionIdList,
+		FreeReportRatio:        reportInfo.FreeReportRatio,
 	}
 
 	// 获取当前编辑状态

+ 1 - 0
models/report_chapter.go

@@ -145,6 +145,7 @@ type ReportChapterItemResp struct {
 	EndImg                 string `description:"报告尾图地址"`
 	HeadStyle              string `description:"版头样式"`
 	EndStyle               string `description:"版尾样式"`
+	FreeReportRatio        string `description:"自由布局页面比例:A4; 16:9; 4:3; 10:7"`
 }
 
 type ReportChapterResp struct {