diff --git a/package.json b/package.json index 848c688..540b5da 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,8 @@ "vue-router": "^3.0.1", "vue2-scale-box": "^0.1.4", "vuedraggable": "2.24.3", - "vuex": "3.0.1" + "vuex": "3.0.1", + "moment": "^2.29.4" }, "devDependencies": { "autoprefixer": "^7.1.2", diff --git a/src/api/api.js b/src/api/api.js index fa544e5..9dcf31d 100644 --- a/src/api/api.js +++ b/src/api/api.js @@ -88,3 +88,33 @@ export const getCompleteMonthStatus = (params) => { {params}, ) }; +//视频监控 +export const getIsImportant = (params) => { + return axios.get('api/ems-third-party-service/camera/isImportant', + {params}, + ) +}; +//获取所有监控接口 +export const getAllCamera = (params) => { + return axios.get('api/ems-third-party-service/camera/all/get', + {params}, + ) +}; +//获取所有监控接口列表 +export const getAllCameraList = (params) => { + return axios.get('api/ems-third-party-service/camera/all/get', + {params}, + ) +}; +//获取摄像头数量接口 +export const getCameraCount = (params) => { + return axios.get('api/ems-third-party-service/camera/count', + {params}, + ) +}; +//获取摄像头历史监控 +export const getCameraHistory = (params) => { + return axios.get('api/ems-third-party-service/camera/history', + {params}, + ) +}; diff --git a/src/api/personnel.js b/src/api/personnel.js index ec19b9c..14bffac 100644 --- a/src/api/personnel.js +++ b/src/api/personnel.js @@ -38,4 +38,15 @@ export const getAttend = (params) => { {params}, ) }; - +//站班会记录 +export const getRecentMeeting = (params) => { + return axios.get('api/ems-third-party-service/project/recentMeeting', + {params}, + ) +}; +//站班会统计 +export const getMonthCensus = (params) => { + return axios.get('api/ems-third-party-service/project/monthCensus', + {params}, + ) +}; diff --git a/src/components/common/RadarChart.vue b/src/components/common/RadarChart.vue index 9bac692..b66505a 100644 --- a/src/components/common/RadarChart.vue +++ b/src/components/common/RadarChart.vue @@ -8,7 +8,7 @@ height="100%" :extensionFun="extensionFun" > -
+ diff --git a/src/views/videoViewingComponents.vue b/src/views/videoViewingComponents.vue index f9ab566..0130382 100644 --- a/src/views/videoViewingComponents.vue +++ b/src/views/videoViewingComponents.vue @@ -1,7 +1,7 @@