| | |
| | | * @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> |
| | |
| | | :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> |
| | |
| | | |
| | | if (cont != undefined) { |
| | | that.dialogVisible = true |
| | | |
| | | that.$refs.videoIframe.contentWindow.startVideo() |
| | | } |
| | | }) |
| | | |
| | | }, |
| | | |
| | | dialogBeforeClose() { |
| | | this.dialogVisible = false |
| | | |
| | | this.$refs.videoIframe.contentWindow.closeVideo() |
| | | |
| | | } |
| | | |
| | | }, |