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" />