|
@@ -31,6 +31,9 @@
|
|
<MonitorHK v-if="HKbigCamaraShow"
|
|
<MonitorHK v-if="HKbigCamaraShow"
|
|
@change-window="handleChangeWindow"
|
|
@change-window="handleChangeWindow"
|
|
:num="selectedScreen"
|
|
:num="selectedScreen"
|
|
|
|
+ :bofang="issbofang"
|
|
|
|
+ :chooseWindow="selectWindow"
|
|
|
|
+ :chooseData="bofangyuan"
|
|
:companyVideoData="this.bigData.data"
|
|
:companyVideoData="this.bigData.data"
|
|
@init="HKbigCamaraInit"
|
|
@init="HKbigCamaraInit"
|
|
ref="hkbigCamara" />
|
|
ref="hkbigCamara" />
|
|
@@ -159,7 +162,20 @@ export default {
|
|
label: '25'
|
|
label: '25'
|
|
}],
|
|
}],
|
|
selectedScreen: 1,
|
|
selectedScreen: 1,
|
|
-
|
|
|
|
|
|
+ selectWindow:0,
|
|
|
|
+
|
|
|
|
+ bofangyuan:{
|
|
|
|
+ window:0,
|
|
|
|
+ data:[],
|
|
|
|
+ Password: "sgw123456",
|
|
|
|
+ Port: "80",
|
|
|
|
+ Username: "admin",
|
|
|
|
+ channelName: "test1",
|
|
|
|
+ ip: "172.3.11.115",
|
|
|
|
+ name: "11",
|
|
|
|
+ isbofang:0,
|
|
|
|
+ },
|
|
|
|
+ issbofang:0,
|
|
dataSrc:'https://cctvwbndbd.a.bdydns.com/cctvwbnd/cctv1_2/index.m3u8?BR=single',
|
|
dataSrc:'https://cctvwbndbd.a.bdydns.com/cctvwbnd/cctv1_2/index.m3u8?BR=single',
|
|
playerList:[],
|
|
playerList:[],
|
|
isShow: false,
|
|
isShow: false,
|
|
@@ -239,7 +255,8 @@ export default {
|
|
methods:{
|
|
methods:{
|
|
async handleChangeWindow(value) {
|
|
async handleChangeWindow(value) {
|
|
console.log("当前更新的窗口",value)
|
|
console.log("当前更新的窗口",value)
|
|
- // this.num = value;
|
|
|
|
|
|
+ this.selectWindow=value
|
|
|
|
+ console.log("this.selectWindow",this.selectWindow)
|
|
},
|
|
},
|
|
|
|
|
|
updateSelectedButton(button) {
|
|
updateSelectedButton(button) {
|
|
@@ -259,12 +276,45 @@ export default {
|
|
this.bigData=this.bigcamaraData
|
|
this.bigData=this.bigcamaraData
|
|
},
|
|
},
|
|
onTiaozhuan_bigcamaraData (a) {
|
|
onTiaozhuan_bigcamaraData (a) {
|
|
- console.log("a",a)
|
|
|
|
-
|
|
|
|
|
|
+ // console.log("a",a)
|
|
|
|
+
|
|
|
|
+ this.bofangyuan.Password= a.Password
|
|
|
|
+ this.bofangyuan.Port=a.Port
|
|
|
|
+ this.bofangyuan.Username=a.Username
|
|
|
|
+ this.bofangyuan.channelName=a.channelName
|
|
|
|
+ this.bofangyuan.ip=a.ip
|
|
|
|
+ this.bofangyuan.name=a.name
|
|
|
|
+
|
|
|
|
+ this.bofangyuan.window=this.selectWindow
|
|
|
|
+ this.bofangyuan.isbofang=1
|
|
|
|
+ this.issbofang=1
|
|
|
|
+ console.log("this.bofangyuan",this.bofangyuan)
|
|
|
|
+ // 定义一个空数组对象
|
|
|
|
+ let myArray = [];
|
|
|
|
+ // 将对象添加到数组中
|
|
|
|
+ myArray.push(this.bofangyuan);
|
|
|
|
+ console.log(myArray);
|
|
|
|
+ this.$refs.hkbigCamara.login(myArray)
|
|
},
|
|
},
|
|
onTiaozhuan_bigcardData (a) {
|
|
onTiaozhuan_bigcardData (a) {
|
|
- console.log("a",a)
|
|
|
|
-
|
|
|
|
|
|
+ // console.log("a",a)
|
|
|
|
+
|
|
|
|
+ this.bofangyuan.Password= a.Password
|
|
|
|
+ this.bofangyuan.Port=a.Port
|
|
|
|
+ this.bofangyuan.Username=a.Username
|
|
|
|
+ this.bofangyuan.channelName=a.channelName
|
|
|
|
+ this.bofangyuan.ip=a.ip
|
|
|
|
+ this.bofangyuan.name=a.name
|
|
|
|
+ this.bofangyuan.window=this.selectWindow
|
|
|
|
+ this.bofangyuan.isbofang=1
|
|
|
|
+ this.issbofang=1
|
|
|
|
+ console.log("this.bofangyuan",this.bofangyuan)
|
|
|
|
+ // 定义一个空数组对象
|
|
|
|
+ let myArray = [];
|
|
|
|
+ // 将对象添加到数组中
|
|
|
|
+ myArray.push(this.bofangyuan);
|
|
|
|
+ console.log(myArray);
|
|
|
|
+ this.$refs.hkbigCamara.login(myArray)
|
|
},
|
|
},
|
|
/**
|
|
/**
|
|
* 表格排序字段变化
|
|
* 表格排序字段变化
|