diff --git a/ruoyi-ui/src/api/commandDispatch/index.js b/ruoyi-ui/src/api/commandDispatch/index.js index ca7af949..4016b54c 100644 --- a/ruoyi-ui/src/api/commandDispatch/index.js +++ b/ruoyi-ui/src/api/commandDispatch/index.js @@ -1,7 +1,7 @@ import request from "@/utils/request"; // 查询事件气象 -export function WeatherForecast(lng, lat) { +export function getWeatherForecast(lng, lat) { return request({ url: "/weatherForecast/queryTheSpecifiedLatitudeAndLongitudeWeather/" + @@ -13,10 +13,53 @@ export function WeatherForecast(lng, lat) { } // 查询调度联络 -export function commandDispatch(data) { +export function postCommandDispatch(data) { return request({ url: "/business/warning/commandAndDispatch", method: "post", data, }); } + +// 处置过程节点 +export function getProcessNode(eventId) { + return request({ + url: "/dc/system/event/getProcessNode/" + eventId, + method: "get", + }); +} + +// 处置过程记录 +export function getProcessList(eventId) { + return request({ + url: "/system/process/list/?eventId=" + eventId, + method: "get", + }); +} + +// 处置过程发送 +export function postProcess(data) { + return request({ + url: "/system/process", + method: "post", + data, + }); +} + +// 解除事件 +export function postCompleteEvent(data) { + return request({ + url: "/dc/system/event/completeEvent", + method: "post", + data, + }); +} + +// 无需清障 +export function postNoSkipClear(data) { + return request({ + url: "/dc/system/event/skipClear", + method: "post", + data, + }); +} diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/TimeLine/LineClick/index.vue b/ruoyi-ui/src/views/JiHeExpressway/components/TimeLine/LineClick/index.vue index 5a571264..b4c5603d 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/TimeLine/LineClick/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/TimeLine/LineClick/index.vue @@ -1,5 +1,5 @@ - diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DisposalProcess/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DisposalProcess/index.vue index d8bf221d..712972aa 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DisposalProcess/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DisposalProcess/index.vue @@ -1,9 +1,13 @@