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'
|
label: 'typeName'
|
||||||
}"
|
}"
|
||||||
></el-cascader>
|
></el-cascader>
|
||||||
<el-input v-model="workTicketInfo.numberOrContent" placeholder="施工场站或工作票编号"></el-input>
|
<el-input v-model="workTicketInfo.numberOrContent" placeholder="施工区域或工作票编号"></el-input>
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model="workTicketInfo.constructionTime"
|
v-model="workTicketInfo.constructionTime"
|
||||||
type="daterange"
|
type="daterange"
|
||||||
@ -123,7 +123,7 @@
|
|||||||
<div>{{ workTicketDetail.workTicketNumber }}</div>
|
<div>{{ workTicketDetail.workTicketNumber }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="box1">
|
<div class="box1">
|
||||||
<div>施工场站</div>
|
<div>施工区域</div>
|
||||||
<div>{{ workTicketDetail.constructionAreaNames }}</div>
|
<div>{{ workTicketDetail.constructionAreaNames }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="box1">
|
<div class="box1">
|
||||||
|
|||||||
@ -306,8 +306,12 @@ const initPlayer = () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (controls) {
|
if (controls) {
|
||||||
if (iWndIndex > videoInfo.devH5List.length - 1) return;
|
// if (iWndIndex > videoInfo.devH5List.length - 1) return;
|
||||||
controls.classList.add("video-controls_flex");
|
// controls.classList.add("video-controls_flex");
|
||||||
|
const player_playVideo = wnd.querySelector(`#player_playVideo${iWndIndex}`);
|
||||||
|
if (player_playVideo.src) {
|
||||||
|
controls.classList.add("video-controls_flex");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -380,7 +384,7 @@ const getPreviewUrl = row => {
|
|||||||
* 播放
|
* 播放
|
||||||
*/
|
*/
|
||||||
const play = (row, index) => {
|
const play = (row, index) => {
|
||||||
stopPlay(index + 1, 'delete');
|
stopPlay(index + 1, "delete");
|
||||||
getPreviewUrl({
|
getPreviewUrl({
|
||||||
...row
|
...row
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
@ -440,6 +444,16 @@ const play = (row, index) => {
|
|||||||
im.style.marginTop = positionNum + "px";
|
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