济菏高速业务端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

84 lines
1.5 KiB

1 year ago
import request from "@/utils/request";
// 查询事件气象
export function getWeatherForecast(lng, lat) {
1 year ago
return request({
url:
"/weatherForecast/queryTheSpecifiedLatitudeAndLongitudeWeather/" +
lng +
"/" +
lat,
method: "get",
});
}
1 year ago
// 查询调度联络
export function postCommandDispatch(data) {
1 year ago
return request({
url: "/business/warning/commandAndDispatch",
method: "post",
data,
});
}
// 提交智能调度
export function postUpdateSource(data) {
return request({
url: "/business/warning/updateSource",
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,
});
}
1 year ago
// 新增事件侧重要素
// export function postNoSkipClear(data) {
// return request({
// url: "/dc/system/event/skipClear",
// method: "post",
// data,
// });
// }