diff --git a/src/request/bi/mapApi.js b/src/request/bi/mapApi.js new file mode 100644 index 0000000..2753d4b --- /dev/null +++ b/src/request/bi/mapApi.js @@ -0,0 +1,33 @@ +import { post } from "@/request/axios.js"; + +export const getPersonnelTypeCount = (params) => + post("/map/getPersonnelTypeCount", params); // 人员类型统计 +export const getAlarmTypeCount = (params) => + post("/map/getAlarmTypeCount", params); // 告警类型统计 +export const getPersonnelPositioningCount = (params) => + post("/map/getPersonnelPositioningCount", params); // 人员定位情况 +// 八项作业 +export const getEightWorkEcharts = (params) => + post("/map/Eight/getEcharts", params); // 安全作业情况统计 +export const getSafetyStatusStatistics = (params) => + post("/map/Eight/findFormCount", params); // 安全作业状态统计 +// 摄像头 +export const getCameraAlarmCount = (params) => + post("/map/getCameraAlarmCount", params); // 摄像头告警数 +export const getCameraAlarmTypeCount = (params) => + post("/map/getCameraAlarmTypeCount", params); // 报警类型 + +export const getCameraAlarmTimeCount = (params) => + post("/map/getCameraAlarmTimeCount", params); // 告警时间趋势 +export const getCameraAlarmSourceCount = (params) => + post("/map/getCameraAlarmSourceCount", params); // 告警来源 +export const getAiWarningList = (params) => + post( + "/aiwarning/list?currentPage=" + + params.currentPage + + "&showCount=" + + params.showCount, + params + ); // ai报警列表 +export const getCameraTopToShow = (params) => + post("/map/getCameraTopToShow", params); // bi页播放摄像头信息 diff --git a/src/request/video_manager.js b/src/request/video_manager.js index 50e3cf5..4856b7d 100644 --- a/src/request/video_manager.js +++ b/src/request/video_manager.js @@ -9,5 +9,7 @@ export const getVideoManagerView = (params) => post("/videomanager/goEdit", params); // 台账添加 export const setVideoManagerDelete = (params) => post("/videomanager/delete", params); // 删除 +export const setUpToBi = (params) => + post("/videomanager/editZhiding", params); // 删除 export const setVideoManagerEdit = (params) => post("/videomanager/edit", params); diff --git a/src/views/BI/components/personnel.vue b/src/views/BI/components/personnel.vue index 84afa4e..9f46315 100644 --- a/src/views/BI/components/personnel.vue +++ b/src/views/BI/components/personnel.vue @@ -5,7 +5,7 @@
@@ -21,12 +21,12 @@
{{ item.label }}
- +
@@ -34,27 +34,16 @@
-
-
- {{ item }} -
-
姓名
-
职务
+
卡号
电量
-
+
{{ item.name }}
-
{{ item.Office }}
-
{{ item.electricity }}
+
{{ item.cardNo }}
+
{{ item.stset + "%" }}
@@ -64,107 +53,134 @@