已申请列表预览视频

This commit is contained in:
chenchenzai 2022-11-22 16:31:39 +08:00
parent adb32a06c2
commit 3c21b119b4
1 changed files with 2 additions and 3 deletions

View File

@ -118,7 +118,7 @@
<div class="waterMark waterMark-right-bottom"> <div class="waterMark waterMark-right-bottom">
{{ userInfo.realNameShow }} {{ userInfo.realNameShow }}
</div> </div>
<h5-player :video-url="videoUrl" :stop-flag="selectedFlag"></h5-player> <h5-player :video-url="videoUrl"></h5-player>
</div> </div>
</div> </div>
</a-modal> </a-modal>
@ -247,7 +247,6 @@
if (item.approveStatus == '通过') { if (item.approveStatus == '通过') {
dataList.selectItem = item dataList.selectItem = item
getVideoUrl(item.cameraInfo); getVideoUrl(item.cameraInfo);
showVisible.value = true
} else { } else {
dataList.selectItem = {} dataList.selectItem = {}
showVisible.value = false showVisible.value = false
@ -302,7 +301,6 @@
init() init()
initApply() initApply()
const videoUrl = ref('') const videoUrl = ref('')
const selectedFalg = ref(true)
// //
const getVideoUrl = (data) =>{ const getVideoUrl = (data) =>{
let param = data; let param = data;
@ -311,6 +309,7 @@
if(res.data.data){ if(res.data.data){
videoUrl.value = res.data.data.url; videoUrl.value = res.data.data.url;
} }
showVisible.value = true
}) })
} }
mybus.on('selectCamera', (obj) => { mybus.on('selectCamera', (obj) => {