修改看板

IOT
夜笙歌 2 months ago
parent ebb18eda2c
commit a49b76be2e

@ -6238,7 +6238,7 @@
g = w[S].szId
}
var u = '<div class="parent-wnd" style="overflow:hidden;width:100%; height:100%; position: relative;">';
for (var f = 0; f < w[_]; f++) {
for (var f = 0; f < 1; f++) {
e = r + (f % l === l - 1 ? i : 0);
t = o + (f + l >= Math.pow(l, 2) ? n : 0);
var h = a + (f % l === l - 1 ? i : 0);

@ -113,9 +113,11 @@
:style="`top: ${i.top}%;left: ${i.left}%;background-color: ${k === 4 ?'#2979e8':'#234271'}`"></div>
<div class="video1">
<Monitor/>
<Monitor :iChannelID="1" monitorId="monitor1"/>
</div>
<div class="video2">
<Monitor :iChannelID="2" monitorId="monitor2"/>
</div>
<div class="video2"></div>
<!-- <div class="safe">已安全运行 <span style="color: #4667d0;font-size: 1.2vw;padding: 0 0.3vw"> 382 </span> </div>-->
<div class="time">{{ parseTime(new Date(), '{y}.{m}.{d} {h}:{i}:{s} 周{a}') }}</div>

@ -1,6 +1,6 @@
<template>
<div>
<div id="monitor" class="plugin"></div>
<div :id="monitorId" class="plugin"></div>
</div>
</template>
@ -11,6 +11,7 @@ export default {
data() {
return {}
},
props:['iChannelID','monitorId'],
mounted() {
var g_iWndIndex = 0;
$(function () {
@ -39,7 +40,7 @@ export default {
console.log("关闭远程配置库!");
},
cbInitPluginComplete: function () {
WebVideoCtrl.I_InsertOBJECTPlugin("monitor");
WebVideoCtrl.I_InsertOBJECTPlugin(this.monitorId);
//
if (-1 == WebVideoCtrl.I_CheckPluginVersion()) {
alert("检测到新的插件版本");
@ -162,7 +163,7 @@ export default {
var oWndInfo = WebVideoCtrl.I_GetWindowStatus(g_iWndIndex),
szDeviceIdentify = '192.168.2.64',
iRtspPort = 554,
iChannelID = 2,
iChannelID = this.iChannelID || 1,
bZeroChannel = false,
szInfo = "";

Loading…
Cancel
Save