|
@@ -31,6 +31,9 @@
|
|
|
<MonitorHK v-if="HKbigCamaraShow"
|
|
|
@change-window="handleChangeWindow"
|
|
|
:num="selectedScreen"
|
|
|
+ :bofang="issbofang"
|
|
|
+ :chooseWindow="selectWindow"
|
|
|
+ :chooseData="bofangyuan"
|
|
|
:companyVideoData="this.bigData.data"
|
|
|
@init="HKbigCamaraInit"
|
|
|
ref="hkbigCamara" />
|
|
@@ -159,7 +162,20 @@ export default {
|
|
|
label: '25'
|
|
|
}],
|
|
|
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',
|
|
|
playerList:[],
|
|
|
isShow: false,
|
|
@@ -239,7 +255,8 @@ export default {
|
|
|
methods:{
|
|
|
async handleChangeWindow(value) {
|
|
|
console.log("当前更新的窗口",value)
|
|
|
- // this.num = value;
|
|
|
+ this.selectWindow=value
|
|
|
+ console.log("this.selectWindow",this.selectWindow)
|
|
|
},
|
|
|
|
|
|
updateSelectedButton(button) {
|
|
@@ -259,12 +276,45 @@ export default {
|
|
|
this.bigData=this.bigcamaraData
|
|
|
},
|
|
|
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) {
|
|
|
- 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)
|
|
|
},
|
|
|
/**
|
|
|
* 表格排序字段变化
|