|
@@ -866,13 +866,11 @@ export default {
|
|
}
|
|
}
|
|
this.season_year = [dateStart, dateEnd];
|
|
this.season_year = [dateStart, dateEnd];
|
|
}
|
|
}
|
|
- // this.saveNowOptions();
|
|
|
|
this.getPreviewChartInfo();
|
|
this.getPreviewChartInfo();
|
|
},
|
|
},
|
|
|
|
|
|
/* 季节图切换年份 保持当前配置 */
|
|
/* 季节图切换年份 保持当前配置 */
|
|
seasonYearChange() {
|
|
seasonYearChange() {
|
|
- // this.saveNowOptions();
|
|
|
|
this.getPreviewChartInfo();
|
|
this.getPreviewChartInfo();
|
|
},
|
|
},
|
|
|
|
|
|
@@ -882,22 +880,9 @@ export default {
|
|
this.select_date = '';
|
|
this.select_date = '';
|
|
this.dateTip = '请选择时间段';
|
|
this.dateTip = '请选择时间段';
|
|
|
|
|
|
- //保存表格配置和上下限 曲线图需要保存表格配置
|
|
|
|
- // this.saveNowOptions();
|
|
|
|
this.getPreviewChartInfo();
|
|
this.getPreviewChartInfo();
|
|
},
|
|
},
|
|
|
|
|
|
- /* 保存图表当前配置项 上下限 */
|
|
|
|
- saveNowOptions() {
|
|
|
|
- // const dataArr = _.cloneDeep(this.tableData);
|
|
|
|
- // dataArr.forEach((item) => {
|
|
|
|
- // item.MaxData = Number(item.MaxData);
|
|
|
|
- // item.MinData = Number(item.MinData);
|
|
|
|
- // delete item.DataList;
|
|
|
|
- // });
|
|
|
|
- // sessionStorage.setItem('myChartbeforeOptions', JSON.stringify(dataArr));
|
|
|
|
- },
|
|
|
|
-
|
|
|
|
/* 一键刷新 超长等待..*/
|
|
/* 一键刷新 超长等待..*/
|
|
async refreshHandle() {
|
|
async refreshHandle() {
|
|
// 清除缓存配置项
|
|
// 清除缓存配置项
|