shuishen
2021-09-03 9d792bbd1fa6ef7136dcca1cc2bd907dba9e6f57
src/views/map/carGps.vue
@@ -2,7 +2,7 @@
 * @Author: Morpheus
 * @Date: 2021-07-05 16:31:54
 * @Last Modified by: Morpheus
 * @Last Modified time: 2021-08-14 10:57:44
 * @Last Modified time: 2021-09-03 16:20:17
 * menu-name 押运人员定位
 */
<template>
@@ -126,8 +126,10 @@
                       :modal='false'
                       :visible.sync="dialogVisible"
                       :before-close="dialogBeforeClose"
                       :close-on-click-modal='false'
                       class="car-video-box">
                <iframe src="/carVideo/parent.html"
                        ref="videoIframe"
                        frameborder="0"></iframe>
            </el-dialog>
        </el-col>
@@ -303,9 +305,18 @@
                if (cont != undefined) {
                    that.dialogVisible = true
                    that.$refs.videoIframe.contentWindow.startVideo()
                }
            })
        },
        dialogBeforeClose() {
          this.dialogVisible = false
          this.$refs.videoIframe.contentWindow.closeVideo()
        }
    },