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 @@
-
@@ -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
// 闸机名称
|