|
@@ -95,6 +95,7 @@ type Report struct {
|
|
|
RaiReportId int `description:"RAI报告ID"`
|
|
|
FreeLayoutConfig string `description:"'自由布局配置"`
|
|
|
MiniShow int `description:"是否在C端展示:0-否;1-是"`
|
|
|
+ FreeReportRatio string `description:"自由布局页面比例:A4; 16:9; 4:3; 10:7"`
|
|
|
}
|
|
|
|
|
|
func (m *Report) AfterFind(db *gorm.DB) (err error) {
|
|
@@ -175,6 +176,7 @@ type ReportList struct {
|
|
|
ClassifyEnabled bool `description:"分类是否禁用"`
|
|
|
RaiReportId int `description:"RAI报告ID"`
|
|
|
MiniShow int `description:"是否在C端展示:0-否;1-是"`
|
|
|
+ FreeReportRatio string `description:"自由布局页面比例:A4; 16:9; 4:3; 10:7"`
|
|
|
}
|
|
|
|
|
|
func (m *ReportList) AfterFind(db *gorm.DB) (err error) {
|
|
@@ -456,6 +458,7 @@ type ReportDetail struct {
|
|
|
ClassifyEnabled bool `description:"分类是否禁用"`
|
|
|
FreeLayoutConfig string `description:"'自由布局配置"`
|
|
|
MiniShow int `description:"是否在C端展示:0-否;1-是"`
|
|
|
+ FreeReportRatio string `description:"自由布局页面比例:A4; 16:9; 4:3; 10:7"`
|
|
|
}
|
|
|
|
|
|
func (m *ReportDetail) AfterFind(db *gorm.DB) (err error) {
|
|
@@ -629,6 +632,7 @@ type AddReq struct {
|
|
|
InheritReportId int `description:"待继承的报告ID"`
|
|
|
GrantAdminIdList []int `description:"授权用户id列表"`
|
|
|
MiniShow int `description:"是否在C端展示:0-否;1-是"`
|
|
|
+ FreeReportRatio string `description:"自由布局页面比例:A4; 16:9; 4:3; 10:7"`
|
|
|
}
|
|
|
|
|
|
type PrePublishReq struct {
|
|
@@ -677,9 +681,10 @@ type EditReq struct {
|
|
|
EndResourceId int `description:"版尾资源ID"`
|
|
|
//CollaborateType int8 `description:"协作方式,1:个人,2:多人协作。默认:1"`
|
|
|
//ReportLayout int8 `description:"报告布局,1:常规布局,2:智能布局,3:自由布局。默认:1"`
|
|
|
- IsPublicPublish int8 `description:"是否公开发布,1:是,2:否"`
|
|
|
- GrantAdminIdList []int `description:"授权用户id列表"`
|
|
|
- MiniShow int `description:"是否在C端展示:0-否;1-是"`
|
|
|
+ IsPublicPublish int8 `description:"是否公开发布,1:是,2:否"`
|
|
|
+ GrantAdminIdList []int `description:"授权用户id列表"`
|
|
|
+ MiniShow int `description:"是否在C端展示:0-否;1-是"`
|
|
|
+ FreeReportRatio string `description:"自由布局页面比例:A4; 16:9; 4:3; 10:7"`
|
|
|
}
|
|
|
|
|
|
type EditResp struct {
|