flx:提交视频监控

This commit is contained in:
Rain_ 2025-09-30 18:38:56 +08:00
parent d76495b8b5
commit f8cecd6096
3 changed files with 19 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 89 KiB

View File

@ -34,7 +34,7 @@
label: 'typeName'
}"
></el-cascader>
<el-input v-model="workTicketInfo.numberOrContent" placeholder="施工场站或工作票编号"></el-input>
<el-input v-model="workTicketInfo.numberOrContent" placeholder="施工区域或工作票编号"></el-input>
<el-date-picker
v-model="workTicketInfo.constructionTime"
type="daterange"
@ -123,7 +123,7 @@
<div>{{ workTicketDetail.workTicketNumber }}</div>
</div>
<div class="box1">
<div>施工场站</div>
<div>施工区域</div>
<div>{{ workTicketDetail.constructionAreaNames }}</div>
</div>
<div class="box1">

View File

@ -306,10 +306,14 @@ const initPlayer = () => {
}
}
if (controls) {
if (iWndIndex > videoInfo.devH5List.length - 1) return;
// if (iWndIndex > videoInfo.devH5List.length - 1) return;
// controls.classList.add("video-controls_flex");
const player_playVideo = wnd.querySelector(`#player_playVideo${iWndIndex}`);
if (player_playVideo.src) {
controls.classList.add("video-controls_flex");
}
}
}
},
windowEventOut: function (iWndIndex) {
//
@ -380,7 +384,7 @@ const getPreviewUrl = row => {
* 播放
*/
const play = (row, index) => {
stopPlay(index + 1, 'delete');
stopPlay(index + 1, "delete");
getPreviewUrl({
...row
}).then(res => {
@ -440,6 +444,16 @@ const play = (row, index) => {
im.style.marginTop = positionNum + "px";
}
);
videoInfo.player.JS_SetConnectTimeOut(index, 60).then(
() => {
console.info("JS_SetConnectTimeOut success");
// do you want...
},
err => {
console.info("JS_SetConnectTimeOut failed", err);
// do you want...
}
);
});
};
/**