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`,