From d844e709dbf4cb32b68e303e9af8b0f77f0551d9 Mon Sep 17 00:00:00 2001 From: a0049873 <79py69t9wb@privaterelay.appleid.com> Date: Tue, 22 Nov 2022 17:42:54 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E8=A5=BF=E6=B5=B7=E5=B2=B8=E9=9C=80?= =?UTF-8?q?=E6=B1=82=E5=BC=80=E5=8F=91=20=E7=82=B9=E4=BD=8D=E6=89=93?= =?UTF-8?q?=E5=BC=80=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/views/home/videoSurveillance/index.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/front/src/views/home/videoSurveillance/index.vue b/front/src/views/home/videoSurveillance/index.vue index 8776a9fe..48d14181 100644 --- a/front/src/views/home/videoSurveillance/index.vue +++ b/front/src/views/home/videoSurveillance/index.vue @@ -314,6 +314,9 @@ import { ElMessage } from 'element-plus' lng: item.location.x, } this.hiMapFun.mapFlyTo(latLng) + if(this.addressType=='2'){ + mybus.emit('openOperationPopup', [item]); + } }, //框选 areaSelectResource(){ @@ -443,7 +446,7 @@ import { ElMessage } from 'element-plus' this.pointAllData = res.data.data; if(this.mapSearchParam.type!=0) this.addResourceTomap('videoMap', res.data.data) - + else this.addResourceTomap('videoMap', []) //查询全部时不打点} From 3aed6a86acf4ac3d4e025ecc413b4e26f61c0850 Mon Sep 17 00:00:00 2001 From: chenchenzai Date: Tue, 22 Nov 2022 18:27:03 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E5=B7=A6=E4=BE=A7=E6=A0=91=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E4=B8=8A=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/views/home/videoSurveillance/index.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/front/src/views/home/videoSurveillance/index.vue b/front/src/views/home/videoSurveillance/index.vue index 8776a9fe..217a2065 100644 --- a/front/src/views/home/videoSurveillance/index.vue +++ b/front/src/views/home/videoSurveillance/index.vue @@ -193,10 +193,11 @@ import { ElMessage } from 'element-plus' // 点击左侧根据parentId查询摄像头列表 mybus.off('getCameraByParentId') mybus.on('getCameraByParentId', (parentId) => { + debugger this.mapSearchParam.parentId = parentId this.mapSearchParam.type = "1" this.mapSearchParam.pageSize = 10000 - this.getCameraByParentId() + this.getCameraByParentId('','department') }) //表格勾选 mybus.off('selectTablePoint') @@ -395,7 +396,7 @@ import { ElMessage } from 'element-plus' } }) }, - getCameraByParentId(type) { + getCameraByParentId(type,dataName) { if (!this.whoShow1.itShowXiHaiAn) { getCameraByParentId(this.mapSearchParam).then((res) => { console.log('根据parent查询摄像头', res.data.data) @@ -431,7 +432,9 @@ import { ElMessage } from 'element-plus' } } } - //params.type='0'; + if(dataName){ + params.type='0'; + } getCameraByCondition(params).then((res) => { //console.log('根据parent查询摄像头44444', res.data.data) if(type=='map'){ From 66827462549d6b613267eef2fb6918b0c2c45eaa Mon Sep 17 00:00:00 2001 From: a0049873 <79py69t9wb@privaterelay.appleid.com> Date: Tue, 22 Nov 2022 19:16:10 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E8=A5=BF=E6=B5=B7=E5=B2=B8=E9=9C=80?= =?UTF-8?q?=E6=B1=82=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/home/infrastructureApplication.vue | 136 ++++++++++-------- 1 file changed, 73 insertions(+), 63 deletions(-) diff --git a/front/src/views/home/infrastructureApplication.vue b/front/src/views/home/infrastructureApplication.vue index df2129bb..0ae5567b 100644 --- a/front/src/views/home/infrastructureApplication.vue +++ b/front/src/views/home/infrastructureApplication.vue @@ -2,7 +2,7 @@ * @Author: Light * @Date: 2022-11-18 11:53:43 * @LastEditors: Light - * @LastEditTime: 2022-11-22 14:50:32 + * @LastEditTime: 2022-11-22 19:13:02 * @Description: 告诉大家这是什么 --> @@ -103,24 +106,23 @@ :footer="null" @cancel="clear" > -
-
-
- {{ userInfo.usernameShow }} -
-
- {{ userInfo.realNameShow }} -
-
- {{ userInfo.usernameShow }} -
-
- {{ userInfo.realNameShow }} -
- -
+
+
+
+ {{ userInfo.usernameShow }}
+
+ {{ userInfo.realNameShow }} +
+
+ {{ userInfo.usernameShow }} +
+
+ {{ userInfo.realNameShow }} +
+ +
+