NEZ-473 fix: 修复图表导入后新panel不显示的问题

This commit is contained in:
陈劲松
2021-01-18 11:57:12 +08:00
committed by chenjinsong
parent af9329ad64
commit 10d3a7a12a

View File

@@ -390,11 +390,12 @@
/*时间条件查询--start*/
// 选择日期变化
dateChange(val) {
let nowTimeType=this.$refs.pickTime.$refs.timePicker.nowTimeType;
let nowTimeType = this.$refs.pickTime.$refs.timePicker.nowTimeType;
this.setSearchTime(nowTimeType.type,nowTimeType.value);
this.filter.start_time = bus.timeFormate(this.searchTime[0], 'yyyy-MM-dd hh:mm:ss');
this.filter.end_time = bus.timeFormate(this.searchTime[1], 'yyyy-MM-dd hh:mm:ss');
this.filter.panelId = this.showPanel.id;
this.getTableData();
this.getData(this.filter);
},
setSearchTime(type,val){//设置searchTime