|
@@ -8,6 +8,7 @@ import (
|
|
|
"eta/eta_chart_lib/models/data_manage/excel"
|
|
|
"eta/eta_chart_lib/services/data"
|
|
|
"eta/eta_chart_lib/services/data/cross_variety"
|
|
|
+ "eta/eta_chart_lib/services/data/range_analysis"
|
|
|
dwmini "eta/eta_chart_lib/services/dw_mini"
|
|
|
"eta/eta_chart_lib/utils"
|
|
|
"fmt"
|
|
@@ -228,6 +229,13 @@ func (this *ChartController) ChartInfoRefresh() {
|
|
|
br.ErrMsg = "刷新失败,Err:" + err.Error()
|
|
|
return
|
|
|
}
|
|
|
+ case utils.CHART_SOURCE_RANGE_ANALYSIS:
|
|
|
+ //// 刷新相关性图表
|
|
|
+ if _, e := range_analysis.ChartInfoRefresh(chartInfo.ChartInfoId, ""); e != nil {
|
|
|
+ br.Msg = "刷新失败"
|
|
|
+ br.ErrMsg = "刷新相关性图表失败, Err:" + e.Error()
|
|
|
+ return
|
|
|
+ }
|
|
|
default:
|
|
|
err = data.ChartInfoRefreshV2(chartInfo.ChartInfoId)
|
|
|
}
|