fix:首页修改,交安事件联调,

This commit is contained in:
2024-10-29 09:45:49 +08:00
parent 0a840663d9
commit c92e37c192
13 changed files with 692 additions and 466 deletions
+19
View File
@@ -10,3 +10,22 @@ export function selectTypeList(query) {
}
// 获取地图打点数据接口
export function mapPointList(query) {
return request({
url: "/bigscreen/getMapPoint",
method: "get",
params: query,
});
}
// 获取地图绘制线段数据接口
export function mapPciList(query) {
return request({
url: "/bigscreen/roadPci",
method: "get",
params: query,
});
}
+47
View File
@@ -0,0 +1,47 @@
import request from "@/utils/request";
// 交安事件接口
export function safetyData(query) {
return request({
url: "/bigscreen/getEventInfo",
method: "get",
params: query,
});
}
// 交安事件趋势接口
export function eventLog(query) {
return request({
url: "/bigscreen/getEventLog",
method: "get",
params: query,
});
}
// 交安事件统计接口
export function statisticData(query) {
return request({
url: "/bigscreen/eventStatus",
method: "get",
params: query,
});
}
// 交安事件排名接口
export function rankCount(query) {
return request({
url: "/bigscreen/getEventCountRanking",
method: "get",
params: query,
});
}
// 交安突发事件
export function emergencyData(query) {
return request({
url: "/bigscreen/getEmergencyEvent",
method: "get",
params: query,
});
}