From bb04fb852c5cd7419f6d19ca44dcddf9db305943 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Tue, 16 Nov 2021 10:23:35 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-1248=20=20fix=EF=BC=9A=20=E5=88=87=E6=8D=A2?= =?UTF-8?q?=20Panel=20=E5=90=8E=EF=BC=8C=E6=97=B6=E9=97=B4=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E6=9C=AA=E5=88=B7=E6=96=B0=EF=BC=8C=E9=80=A0=E6=88=90?= =?UTF-8?q?=20chart=20=E8=AF=B7=E6=B1=82=E6=97=B6=E9=97=B4=E4=B8=BA?= =?UTF-8?q?=E4=B9=8B=E5=89=8D=E6=97=B6=E9=97=B4=E8=8C=83=E5=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/page/dashboard/panel.vue | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/nezha-fronted/src/components/page/dashboard/panel.vue b/nezha-fronted/src/components/page/dashboard/panel.vue index 8771ac079..245e44eeb 100644 --- a/nezha-fronted/src/components/page/dashboard/panel.vue +++ b/nezha-fronted/src/components/page/dashboard/panel.vue @@ -246,13 +246,14 @@ export default { this.showPanel = val this.showPanel.type = 'dashboard' this.filter.panelId = this.showPanel.id + this.dateChange() // let curTime = this.$refs.calendarPanel.getCurrentTime(); - const curTime = this.searchTime - this.filter.start_time = bus.timeFormate(curTime[0], 'yyyy-MM-dd hh:mm:ss') - this.filter.end_time = bus.timeFormate(curTime[1], 'yyyy-MM-dd hh:mm:ss') - // this.$refs.chartList.initCurrentRecordNum(); + // const curTime = this.searchTime + // this.filter.start_time = bus.timeFormate(curTime[0], 'yyyy-MM-dd hh:mm:ss') + // this.filter.end_time = bus.timeFormate(curTime[1], 'yyyy-MM-dd hh:mm:ss') + // // this.$refs.chartList.initCurrentRecordNum(); + // this.getData(this.filter) this.$refs.chartList.cleanData() - this.getData(this.filter) }, del (u) {