Browse Source

更新 感知事件接口替换

wangqin
qingzhengli 9 months ago
parent
commit
425588eb8d
  1. 6
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/httpList.js

6
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/httpList.js

@ -267,13 +267,13 @@ export function getProduct(productId) {
* 交通事件 列表 根据类型获取
* @param {number} eventType
*/
export function getEventTopicList(eventType) {
export function getEventTopicList(eventType, options) {
return new Promise((resolve, reject) => {
if (!eventType) {
Message.error(`事件加载失败!`);
return reject();
}
// console.log(options, "options xxxx");
request({
url: `/business/trafficIncidents/getEventList?eventType=${eventType}`,
method: "post",
@ -300,7 +300,7 @@ export function getEventTopicList(eventType) {
export function getPerceiveEventList(data = {}) {
return new Promise((resolve, reject) => {
request({
url: `/perceivedEvents/warning/perceivedEventsList`,
url: `/perceivedEvents/warning/warningList`,
method: "POST",
data: { ...data },
})

Loading…
Cancel
Save