|
@@ -611,9 +611,15 @@ export default {
|
|
|
select_id(newval) {
|
|
|
this.detail_show_chart = true;
|
|
|
this.$nextTick(()=>{
|
|
|
- //切换为曲线图
|
|
|
- this.$refs.detailComponentRef&&
|
|
|
- (this.$refs.detailComponentRef.$refs.chartInfo.chartInfo.ChartType=1)
|
|
|
+ //切换为曲线图 重置选择状态
|
|
|
+ if(this.$refs.detailComponentRef){
|
|
|
+ this.$refs.detailComponentRef.$refs.chartInfo.chartInfo.ChartType=1;
|
|
|
+ this.$refs.detailComponentRef.$refs.chartInfo.year_select=10;
|
|
|
+ this.$refs.detailComponentRef.$refs.chartInfo.select_date=[];
|
|
|
+ this.$refs.detailComponentRef.$refs.chartInfo.season_year=[];
|
|
|
+ this.$refs.detailComponentRef.$refs.chartInfo.dateTip='请选择时间段';
|
|
|
+
|
|
|
+ }
|
|
|
})
|
|
|
|
|
|
},
|