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.
143 lines
2.8 KiB
143 lines
2.8 KiB
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,
|
|
});
|
|
}
|
|
|
|
// 修改事件侧重要素
|
|
export function editEventImportant(data) {
|
|
return request({
|
|
url: "/business/eventImportant",
|
|
method: "put",
|
|
data,
|
|
});
|
|
}
|
|
|
|
// 根据事件id查询侧重要素信息
|
|
export function getEventImportant(eventId) {
|
|
return request({
|
|
url: "/business/eventImportant/" + eventId,
|
|
method: "get",
|
|
});
|
|
}
|
|
|
|
// 新增重要事件文件内容
|
|
export function addEventImportantFile(data) {
|
|
return request({
|
|
url: "/business/eventImportantFile",
|
|
method: "post",
|
|
data,
|
|
});
|
|
}
|
|
|
|
// 修改重要事件文件内容
|
|
export function editEventImportantFile(data) {
|
|
return request({
|
|
url: "/business/eventImportantFile",
|
|
method: "put",
|
|
data,
|
|
});
|
|
}
|
|
|
|
// 下载重要事件
|
|
export function downloadEventImportantFile(data) {
|
|
return request({
|
|
url: "/business/eventImportantFile/download",
|
|
method: "post",
|
|
data,
|
|
});
|
|
}
|
|
|
|
// 无分页查询事件列表
|
|
export function deventImportantFileList(eventId, type) {
|
|
return request({
|
|
url: `/business/eventImportantFile/list/?eventId=${eventId}&type=${type}`,
|
|
method: "get",
|
|
});
|
|
}
|
|
|
|
// 生成重要事件文件内容
|
|
export function getEventImportantFile(data) {
|
|
return request({
|
|
url: `/business/eventImportantFile/generate`,
|
|
method: "post",
|
|
data,
|
|
});
|
|
}
|
|
|
|
// 生成重要事件文件内容
|
|
export function importantFileStatus(eventId) {
|
|
return request({
|
|
url: `/business/eventImportantFile/getImportantFileStatus/${eventId}`,
|
|
method: "get",
|
|
});
|
|
}
|
|
|