From 95d447013e5d715aefe1e3cda5051f0450090b66 Mon Sep 17 00:00:00 2001 From: water_xu Date: Wed, 19 Jun 2024 09:36:41 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=A8=E5=8F=A3=E9=97=A8=E7=A6=81-=E5=9C=B0?= =?UTF-8?q?=E5=9B=BE-=E6=91=84=E5=83=8F=E5=A4=B4=E7=82=B9=E4=BD=8D?= =?UTF-8?q?=E6=92=AD=E6=94=BE=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/map/dialog/mkGateMachine.vue | 12 +++- src/views/map/dialog/video_play_gate.vue | 88 ++++++++++++++++++++++++ src/views/map/index.vue | 2 +- 3 files changed, 98 insertions(+), 4 deletions(-) create mode 100644 src/views/map/dialog/video_play_gate.vue diff --git a/src/views/map/dialog/mkGateMachine.vue b/src/views/map/dialog/mkGateMachine.vue index 8e8e1e7..f8f04ae 100644 --- a/src/views/map/dialog/mkGateMachine.vue +++ b/src/views/map/dialog/mkGateMachine.vue @@ -73,7 +73,7 @@ {{ item.CAR_IN - item.CAR_OUT}} - +
@@ -126,7 +126,7 @@
- +
@@ -135,8 +135,9 @@ import { requestFN } from '@/utils/request' import moment from 'moment' import videoPlay from './video_play.vue' +import videoPlayGate from './video_play_gate.vue' export default { - components: { videoPlay }, + components: { videoPlay, videoPlayGate }, props: { id: { type: String, @@ -221,6 +222,11 @@ export default { } } } + if (this.type == 'CAMERA') { + Object.assign(this.info, data.pd.info) + this.info.CODE = data.pd.video.EXTERNALINDEXCODE + this.info.VIDEONAME = data.pd.video.NAME + } this.$forceUpdate() }).catch((e) => { diff --git a/src/views/map/dialog/video_play_gate.vue b/src/views/map/dialog/video_play_gate.vue new file mode 100644 index 0000000..8a2efd1 --- /dev/null +++ b/src/views/map/dialog/video_play_gate.vue @@ -0,0 +1,88 @@ + + + + + diff --git a/src/views/map/index.vue b/src/views/map/index.vue index 97e887d..8edbe73 100644 --- a/src/views/map/index.vue +++ b/src/views/map/index.vue @@ -2132,7 +2132,7 @@ export default { point.position.y = +varList[i].LATITUDE point.dialog_width = dialog_width point.MAP_POINT_NAME = varList[i].MAP_POINT_NAME - point.GATE_VIDEO_ID = varList[i].VIDEO_RESOURCE_ID + point.GATE_VIDEO_ID = varList[i].GATE_VIDEO_ID // 曹妃甸使用 point.gangkou = this.gangkouActive // 闸机名称