From 95f8c1c28dc8644aca2d75d0aa1a0e764487b3d8 Mon Sep 17 00:00:00 2001 From: zhoule Date: Fri, 26 Apr 2024 11:35:34 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=84=9F=E7=9F=A5=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../RoadAndEvents/utils/httpList.js | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/httpList.js b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/httpList.js index 68a48f72..209fa293 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/httpList.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/httpList.js @@ -371,24 +371,24 @@ export function getEventTopicList(eventType, options = {}) { */ export function getPerceiveEventList(data = {}, options = {}) { return new Promise((resolve, reject) => { - const completeTime = moment().add(1, "d").format("YYYY-MM-DD"); - const startTime = moment().add(-7, "d").format("YYYY-MM-DD"); - data.startTime = startTime; - data.completeTime = completeTime; - - const { endStakeMark, startStakeMark } = options; - if (endStakeMark) { - let formatEndStakeMark = `K${padZero(endStakeMark[0])}+${padZero( - endStakeMark[1] - )}`; - data.endStakeMark = formatEndStakeMark; - } - if (startStakeMark) { - let formatStartStakeMark = `K${padZero(startStakeMark[0])}+${padZero( - startStakeMark[1] - )}`; - data.startStakeMark = formatStartStakeMark; - } + // const completeTime = moment().add(1, "d").format("YYYY-MM-DD"); + // const startTime = moment().add(-7, "d").format("YYYY-MM-DD"); + // data.startTime = startTime; + // data.completeTime = completeTime; + + // const { endStakeMark, startStakeMark } = options; + // if (endStakeMark) { + // let formatEndStakeMark = `K${padZero(endStakeMark[0])}+${padZero( + // endStakeMark[1] + // )}`; + // data.endStakeMark = formatEndStakeMark; + // } + // if (startStakeMark) { + // let formatStartStakeMark = `K${padZero(startStakeMark[0])}+${padZero( + // startStakeMark[1] + // )}`; + // data.startStakeMark = formatStartStakeMark; + // } request({ url: `/perceivedEvents/warning/warningList`,