From e2bc0343a744a7e36efb4ce78279737ec4555587 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Fri, 26 Nov 2021 10:57:38 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-1338=20fix=EF=BC=9A=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=85=A8=E5=B1=8F=E6=97=B6=E9=97=B4=E6=9F=A5=E8=AF=A2=E5=90=8E?= =?UTF-8?q?=20=E5=BD=B1=E5=93=8Dpanel=E6=97=B6=E9=97=B4=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/charts/chart-list.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nezha-fronted/src/components/charts/chart-list.vue b/nezha-fronted/src/components/charts/chart-list.vue index 6041106f7..32b4d8a0f 100644 --- a/nezha-fronted/src/components/charts/chart-list.vue +++ b/nezha-fronted/src/components/charts/chart-list.vue @@ -983,8 +983,8 @@ export default { endTime = this.filter.end_time } } else if (filterType === 'showFullScreen') { // 全屏时间查询 - startTime = this.filter.start_time - endTime = this.filter.end_time + startTime = this.filter.showFullScreenStart_time + endTime = this.filter.showFullScreenEnd_time // this.$parent.refreshTime(startTime,endTime);全屏查询,不更新panel列表的时间条件 } else { startTime = this.filter.start_time @@ -1824,8 +1824,8 @@ export default { }, searchData (chartId, searchTime) { if (searchTime) { // 全屏时间查询 - this.filter.start_time = bus.timeFormate(searchTime[0], 'yyyy-MM-dd hh:mm:ss') - this.filter.end_time = bus.timeFormate(searchTime[1], 'yyyy-MM-dd hh:mm:ss') + this.filter.showFullScreenStart_time = bus.timeFormate(searchTime[0], 'yyyy-MM-dd hh:mm:ss') + this.filter.showFullScreenEnd_time = bus.timeFormate(searchTime[1], 'yyyy-MM-dd hh:mm:ss') } this.dataList.forEach((item, index) => { if (item.id === chartId) {