From 262ec2866e55363f3654b51971498d2260ce0cdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9C002001lixiaobang=E2=80=9D?= <2547956374@qq.com> Date: Fri, 24 Mar 2023 16:50:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 3 +- src/api/api.js | 30 + src/api/personnel.js | 13 +- src/components/common/RadarChart.vue | 32 +- src/components/common/mdScreenPie.vue | 4 + src/components/common/pieChart.vue | 4 + src/components/common/pieChartUnImg.vue | 4 + src/components/common/pieDateChart.vue | 271 ++-- src/main.js | 8 + src/views/index.vue | 30 +- src/views/modelScreenComponents.vue | 43 +- src/views/personnelComponents.vue | 186 ++- src/views/videoSurveillanceComponents.vue | 1529 +++++++++--------- src/views/videoViewingComponents.vue | 1725 +++++++++++---------- 14 files changed, 2149 insertions(+), 1733 deletions(-) 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 @@ - -