From 3df21e1960fe03918d00192e025715d77e8c0004 Mon Sep 17 00:00:00 2001 From: zhoule Date: Mon, 19 Feb 2024 09:25:33 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E4=BC=A0=E5=8F=82=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../eventDetection/components/eventQuery/index.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/index.vue index 500073ad..77ce8d43 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/index.vue @@ -147,6 +147,7 @@ export default { }, searchQuery() { let startTime = ""; + let qType = this.type == 'date' ? 'day' : this.type; if (this.type == "quarter") { let year = moment().year(); if (this.quarter == 1) { @@ -166,7 +167,7 @@ export default { //感知事件趋势 getWarningTrend({ - "type": this.type, + "type": qType, "sectionId": this.selectId, "createTime": startTime, "direction": this.direction, @@ -233,7 +234,7 @@ export default { //类型占比 getWarningSectionType({ - "type": this.type, + "type": qType, "sectionId": this.selectId, "createTime": startTime, "direction": this.direction, @@ -324,7 +325,7 @@ export default { }) //路段范围内桩号分布 getSectionMarkNumber({ - "type": this.type, + "type": qType, "sectionId": this.selectId, "createTime": startTime, "direction": this.direction,