|
@@ -193,18 +193,6 @@ func (this *ChartInfoController) ChartInfoDetail() {
|
|
|
if len(warnEdbList) > 0 {
|
|
|
chartInfo.WarnMsg = `图表引用指标异常,异常指标:` + strings.Join(warnEdbList, ",")
|
|
|
}
|
|
|
- if chartInfoId > 0 && chartInfo != nil {
|
|
|
- if chartInfo.ChartType == 2 {
|
|
|
- if chartInfo.SeasonStartDate != "" {
|
|
|
- chartInfo.StartDate = chartInfo.SeasonStartDate
|
|
|
- chartInfo.EndDate = chartInfo.SeasonEndDate
|
|
|
- if chartInfo.DateType == 3 {
|
|
|
- chartInfo.DateType = 5
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
// 图表的指标来源
|
|
|
sourceNameList, sourceNameEnList := services.GetEdbSourceByEdbInfoIdList(edbList)
|
|
|
chartInfo.ChartSource = strings.Join(sourceNameList, ",")
|