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.
|
|
|
import request from "@/utils/request";
|
|
|
|
|
|
|
|
// 查询事件气象
|
|
|
|
export function getWeatherForecast(lng, lat) {
|
|
|
|
return request({
|
|
|
|
url:
|
|
|
|
"/weatherForecast/queryTheSpecifiedLatitudeAndLongitudeWeather/" +
|
|
|
|
lng +
|
|
|
|
"/" +
|
|
|
|
lat,
|
|
|
|
method: "get",
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
// 查询调度联络
|
|
|
|
export function postCommandDispatch(data) {
|
|
|
|
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,
|
|
|
|
});
|
|
|
|
}
|