|
@@ -764,7 +764,7 @@ export default {
|
|
|
},
|
|
|
|
|
|
/* 曲线图筛选项发生变化时 非配置项 获取新的图表数据 */
|
|
|
- async getPreviewChartInfo() {
|
|
|
+ async getPreviewChartInfo() {
|
|
|
let dateArray=this.chartInfo.ChartType==2?this.season_year:this.select_date
|
|
|
let params = {
|
|
|
ChartSource:this.chartInfo.Source,
|
|
@@ -815,8 +815,17 @@ export default {
|
|
|
}
|
|
|
const { EdbInfoList } = res.Data;
|
|
|
|
|
|
- //更新表格数据
|
|
|
- this.tableData = _.cloneDeep(EdbInfoList);
|
|
|
+ this.tableData.forEach((item) => {
|
|
|
+ //只更新数据和显性字段
|
|
|
+ let edbData = EdbInfoList.find(_ => _.EdbInfoId===item.EdbInfoId);
|
|
|
+ item.DataList = edbData.DataList;
|
|
|
+
|
|
|
+ item.StartDate = edbData.StartDate;
|
|
|
+ item.ModifyTime = edbData.ModifyTime;
|
|
|
+ item.MoveLatestDate = edbData.MoveLatestDate;
|
|
|
+ item.LatestDate = edbData.LatestDate;
|
|
|
+ item.LatestValue = edbData.LatestValue;
|
|
|
+ });
|
|
|
},
|
|
|
|
|
|
/* 打开时间段弹窗 */
|