From 4cea212271984f63b5fc444ee30b3c4cba2d6b6e Mon Sep 17 00:00:00 2001 From: water_xu Date: Fri, 14 Jun 2024 17:34:19 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=A8=E5=8F=A3=E9=97=A8=E7=A6=81-=E6=91=84?= =?UTF-8?q?=E5=83=8F=E5=A4=B4=E6=A0=87=E7=82=B9=E5=88=9D=E6=AD=A5=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gatebaseinfo/components/camera.vue | 13 +++++++------ src/views/map/dialog/index.vue | 8 ++++++-- src/views/map/index.vue | 1 + 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/src/views/gatemachine/primarygatemanager/gatebaseinfo/components/camera.vue b/src/views/gatemachine/primarygatemanager/gatebaseinfo/components/camera.vue index 171eb7f..b470b44 100644 --- a/src/views/gatemachine/primarygatemanager/gatebaseinfo/components/camera.vue +++ b/src/views/gatemachine/primarygatemanager/gatebaseinfo/components/camera.vue @@ -352,11 +352,12 @@ export default { }, handleMap(row) { this.dialogFormMap = true - this.VIDEO_RESOURCE_ID = row.VIDEO_RESOURCE_ID + this.GATE_VIDEO_ID = row.GATE_VIDEO_ID this.form = { ...this.form, LATITUDE: row.LATITUDE, - LONGITUDE: row.LONGITUDE + LONGITUDE: row.LONGITUDE, + GATE_VIDEO_ID: row.GATE_VIDEO_ID } this.$nextTick(() => { if (!this.map) this.initMap(this.form.LONGITUDE, this.form.LATITUDE, 16) @@ -417,7 +418,7 @@ export default { requestFN( 'mkmjGateVideo/getVideo', { - VIDEO_RESOURCE_ID: this.VIDEO_RESOURCE_ID + GATE_VIDEO_ID: this.GATE_VIDEO_ID } ).then((data) => { requestFN( @@ -426,7 +427,7 @@ export default { ...data.pd, LATITUDE: this.form.LATITUDE, LONGITUDE: this.form.LONGITUDE, - VIDEO_RESOURCE_ID: this.VIDEO_RESOURCE_ID + GATE_VIDEO_ID: this.GATE_VIDEO_ID } ).then(() => { this.listLoading = false @@ -574,8 +575,8 @@ export default { requestFN( 'mkmjGateVideo/getVideo', { - AREA_GATE_ID: row.AREA_GATE_ID , - AREA_ID: row.AREA_ID + GATE_VIDEO_ID: row.GATE_VIDEO_ID, + } ).then((data) => { Object.assign(this.form, data.pd) diff --git a/src/views/map/dialog/index.vue b/src/views/map/dialog/index.vue index cc8d173..d867323 100644 --- a/src/views/map/dialog/index.vue +++ b/src/views/map/dialog/index.vue @@ -11,7 +11,7 @@ - + @@ -193,7 +193,11 @@ export default { name: { type: String, default: '' - } + }, + GATE_VIDEO_ID: { + type: String, + default: '' + }, }, methods: { closeDialog() { diff --git a/src/views/map/index.vue b/src/views/map/index.vue index 8c138e9..bf975b4 100644 --- a/src/views/map/index.vue +++ b/src/views/map/index.vue @@ -239,6 +239,7 @@ :gangkou="gangkouActive" :infoname="dialog.infoname" :name="dialog.name" + :GATE_VIDEO_ID="dialog.GATE_VIDEO_ID" />