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