flx:提交视频监控
This commit is contained in:
parent
d76495b8b5
commit
f8cecd6096
Binary file not shown.
|
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 89 KiB |
@ -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">
|
||||
|
||||
@ -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...
|
||||
}
|
||||
);
|
||||
});
|
||||
};
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user