| | |
| | | :key="index" |
| | | :src="item" |
| | | :preview-src-list="srcList" |
| | | v-show="imgSrc.length > 0" |
| | | ></el-image> |
| | | <span v-show="imgSrc.length == 0">暂无现场图片</span> |
| | | </el-card> |
| | | </div> |
| | | <div class="block"> |
| | |
| | | :src="feedbackVideo" |
| | | style="width: 100%; height: 100%; object-fit: fill" |
| | | controls |
| | | v-show="feedbackVideo != ''" |
| | | ></video> |
| | | <span v-show="feedbackVideo == ''">暂无现场视频</span> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | :visible.sync="oldVideoSatart" |
| | | :close-on-press-escape="false" |
| | | :close-on-click-modal="false" |
| | | @opened="oldOpenVideo" |
| | | @close="vaddress = ''" |
| | | append-to-body |
| | | > |
| | |
| | | id="old_video" |
| | | style="width: 100%; height: 100%; object-fit: fill" |
| | | controls |
| | | v-show="vaddress != ''" |
| | | ></video> |
| | | <span v-show="vaddress == ''">暂无历史视频</span> |
| | | </el-dialog> |
| | | </el-col> |
| | | </el-row> |
| | |
| | | this.getList(); |
| | | this.getAudios(); |
| | | this.getImgAndVideo(); |
| | | this.getVideo(); |
| | | this.$refs.mapDiv.onload = () => { |
| | | window.frames[0].init("AlertSecurity", { |
| | | x: this.form.jd, |
| | |
| | | }); |
| | | }, |
| | | |
| | | getVideo() { |
| | | oldOpenVideo() { |
| | | getclient(this.form.id).then((res) => { |
| | | if (res.data.data.vaddress == "") { |
| | | this.getVideo(); |
| | | } else { |
| | | this.vaddress = res.data.data.vaddress; |
| | | if (res.data.data.vaddress != "") { |
| | | this.vaddress = res.data.data.vaddress; |
| | | } |
| | | }); |
| | | }, |
| | | } |
| | | |
| | | }, |
| | | }; |
| | | </script> |