|
@@ -1153,6 +1153,15 @@ func (this *ChartInfoController) ChartInfoDetailV2() {
|
|
|
br.ErrMsg = "获取图表信息失败,Err:" + err.Error()
|
|
|
return
|
|
|
}
|
|
|
+
|
|
|
+ // 获取主题样式
|
|
|
+ chartTheme, err := data.GetChartThemeConfig(chartInfo.ChartThemeId, chartInfo.Source, chartInfo.ChartType)
|
|
|
+ if err != nil {
|
|
|
+ br.Msg = "获取失败"
|
|
|
+ br.ErrMsg = "获取主题信息失败,Err:" + err.Error()
|
|
|
+ return
|
|
|
+ }
|
|
|
+ chartInfo.ChartThemeStyle = chartTheme.Config
|
|
|
|
|
|
dateType := chartInfo.DateType
|
|
|
fmt.Println("dateType:", dateType)
|
|
@@ -2025,7 +2034,7 @@ func GetChartInfoDetailFromUniqueCode(chartInfo *data_manage.ChartInfoView, isCa
|
|
|
errMsg = "获取主题信息失败,Err:" + err.Error()
|
|
|
return
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
chartInfo.ChartThemeStyle = chartTheme.Config
|
|
|
|
|
|
chartInfoId := chartInfo.ChartInfoId
|