From 10d3a7a12a6f8963d8a5c3107e018b5a581b5e82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=8A=B2=E6=9D=BE?= Date: Mon, 18 Jan 2021 11:57:12 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-473=20fix:=20=E4=BF=AE=E5=A4=8D=E5=9B=BE?= =?UTF-8?q?=E8=A1=A8=E5=AF=BC=E5=85=A5=E5=90=8E=E6=96=B0panel=E4=B8=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/page/dashboard/panel.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nezha-fronted/src/components/page/dashboard/panel.vue b/nezha-fronted/src/components/page/dashboard/panel.vue index 387118229..43d2dda69 100644 --- a/nezha-fronted/src/components/page/dashboard/panel.vue +++ b/nezha-fronted/src/components/page/dashboard/panel.vue @@ -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