diff --git a/src/request/aggregation_management.js b/src/request/aggregation_management.js new file mode 100644 index 0000000..c6d5611 --- /dev/null +++ b/src/request/aggregation_management.js @@ -0,0 +1,10 @@ +import { post } from "@/request/axios.js"; + +export const getGatheringAlarmRecordsList = (params) => + post("/positAlarm/getAlarmRecordList", params); // 聚集告警记录列表 +export const getAggregationAlarmTrend = (params) => + post("/positAlarm/aggregateAlarmTrends", params); // 聚集报警趋势 +export const getAggregatedDataStatistics = (params) => + post("/positAlarm/aggregateDataStatistics", params); // 聚集区域统计 +export const getAggregationAreaStatistics = (params) => + post("/positAlarm/aggregateDataStatisticsByGroup", params); // 聚集数据统计 diff --git a/src/request/map_settings.js b/src/request/map_settings.js index 7349c7a..eb33b12 100644 --- a/src/request/map_settings.js +++ b/src/request/map_settings.js @@ -25,8 +25,7 @@ export const setAssignmentTicketAreaSettingsDelete = (params) => post("/positAlarm/otherRegion/regionDelete", params); // 作业票区域设置删除 export const setPosition = (params) => post("/positAlarm/otherRegion/redrawTheArea", params); // 区域选点 -// TODO 接口不对 export const getPathPlanningList = (params) => - post("/positAlarm/coordinateLine/addCoordinateLine", params); // 路径规划列表 + post("/positAlarm/coordinateLine/tree", params); // 路径规划列表 export const setPathPlanningDelete = (params) => post("/positAlarm/coordinateLine/batchDelete", params); // 路径规划删除 diff --git a/src/views/aggregation_management/gathering_alarm_records/index.vue b/src/views/aggregation_management/gathering_alarm_records/index.vue new file mode 100644 index 0000000..e8a1061 --- /dev/null +++ b/src/views/aggregation_management/gathering_alarm_records/index.vue @@ -0,0 +1,63 @@ + + + + + diff --git a/src/views/aggregation_management/gathering_overview/index.vue b/src/views/aggregation_management/gathering_overview/index.vue new file mode 100644 index 0000000..693862c --- /dev/null +++ b/src/views/aggregation_management/gathering_overview/index.vue @@ -0,0 +1,452 @@ + + + + + diff --git a/src/views/map_settings/path_planning/index.vue b/src/views/map_settings/path_planning/index.vue index bf4c839..fa4bfe4 100644 --- a/src/views/map_settings/path_planning/index.vue +++ b/src/views/map_settings/path_planning/index.vue @@ -86,7 +86,10 @@ import { reactive } from "vue"; import Add from "./components/add.vue"; const { list, searchForm, tableRef, pagination, fnGetData, fnResetPagination } = - useListData(getPathPlanningList); + useListData(getPathPlanningList, { + defaultSearchForm: { str: "" }, + key: "rows", + }); const data = reactive({ addDialogVisible: false, });