|
@@ -126,73 +126,73 @@
|
|
|
let self = this;
|
|
|
self.$set(self, 'videoType', false);
|
|
|
self.$set(self, 'videoList', []);
|
|
|
- // iotCameraFindByCondition(this.videoQueryParams).then(response => {
|
|
|
- // let list = [];
|
|
|
- // for(let i=0;i<response.data.records.length;i++){
|
|
|
- // list.push(
|
|
|
- // {
|
|
|
- // width: this.width, //(宽度:非必传-默认600)
|
|
|
- // height: this.height, //(高度:非必传-默认338)
|
|
|
- // url: response.data.records[i].streamUrl,
|
|
|
- // cameraIndexCode: response.data.records[i].deviceNo,
|
|
|
- // }
|
|
|
- // )
|
|
|
- // }
|
|
|
- // this.$set(this,'videoList',list)
|
|
|
- // this.$set(this,'videoTotal',response.data.total);
|
|
|
- // this.$nextTick(()=>{
|
|
|
- // setTimeout(function(){
|
|
|
- // self.$set(self, 'videoType', true);
|
|
|
- // },1000);
|
|
|
- // })
|
|
|
- // });
|
|
|
+ iotCameraFindByCondition(this.videoQueryParams).then(response => {
|
|
|
+ let list = [];
|
|
|
+ for(let i=0;i<response.data.records.length;i++){
|
|
|
+ list.push(
|
|
|
+ {
|
|
|
+ width: this.width, //(宽度:非必传-默认600)
|
|
|
+ height: this.height, //(高度:非必传-默认338)
|
|
|
+ url: response.data.records[i].streamUrl,
|
|
|
+ cameraIndexCode: response.data.records[i].deviceNo,
|
|
|
+ }
|
|
|
+ )
|
|
|
+ }
|
|
|
+ this.$set(this,'videoList',list)
|
|
|
+ this.$set(this,'videoTotal',response.data.total);
|
|
|
+ this.$nextTick(()=>{
|
|
|
+ setTimeout(function(){
|
|
|
+ self.$set(self, 'videoType', true);
|
|
|
+ },1000);
|
|
|
+ })
|
|
|
+ });
|
|
|
|
|
|
|
|
|
- let list = [
|
|
|
- {
|
|
|
- width:this.width,
|
|
|
- height:this.height,
|
|
|
- url:'wss://labcontrol.nwafu.edu.cn/proxy/172.16.0.68:559/openUrl/luk8N32',
|
|
|
- cameraIndexCode:'c451e9f079874b6ea6ddb1eb4f55d410',
|
|
|
- },
|
|
|
- {
|
|
|
- width:this.width,
|
|
|
- height:this.height,
|
|
|
- url:'wss://labcontrol.nwafu.edu.cn/proxy/172.16.0.68:559/openUrl/luk8N32',
|
|
|
- cameraIndexCode:'555848cb4ef64234817778ef48e07108',
|
|
|
- },
|
|
|
- {
|
|
|
- width:this.width,
|
|
|
- height:this.height,
|
|
|
- url:'wss://labcontrol.nwafu.edu.cn/proxy/172.16.0.68:559/openUrl/luk8N32',
|
|
|
- cameraIndexCode:'87acbd68f5304e62b054de724d6a73c0',
|
|
|
- },
|
|
|
- {
|
|
|
- width:this.width,
|
|
|
- height:this.height,
|
|
|
- url:'wss://labcontrol.nwafu.edu.cn/proxy/172.16.0.68:559/openUrl/luk8N32',
|
|
|
- cameraIndexCode:'c451e9f079874b6ea6ddb1eb4f55d411',
|
|
|
- },
|
|
|
- {
|
|
|
- width:this.width,
|
|
|
- height:this.height,
|
|
|
- url:'wss://labcontrol.nwafu.edu.cn/proxy/172.16.0.68:559/openUrl/luk8N32',
|
|
|
- cameraIndexCode:'555848cb4ef64234817778ef48e07102',
|
|
|
- },
|
|
|
- {
|
|
|
- width:this.width,
|
|
|
- height:this.height,
|
|
|
- url:'wss://labcontrol.nwafu.edu.cn/proxy/172.16.0.68:559/openUrl/luk8N32',
|
|
|
- cameraIndexCode:'87acbd68f5304e62b054de724d6a73c3',
|
|
|
- },
|
|
|
- ];
|
|
|
- this.$set(this,'videoList',list)
|
|
|
- // this.$set(this,'videoTotal',response.data.total);
|
|
|
- this.$nextTick(()=>{
|
|
|
- setTimeout(function(){
|
|
|
- self.$set(self, 'videoType', true);
|
|
|
- },1000);
|
|
|
- })
|
|
|
+ // let list = [
|
|
|
+ // {
|
|
|
+ // width:this.width,
|
|
|
+ // height:this.height,
|
|
|
+ // url:'wss://labcontrol.nwafu.edu.cn/proxy/172.16.0.68:559/openUrl/luk8N32',
|
|
|
+ // cameraIndexCode:'c451e9f079874b6ea6ddb1eb4f55d410',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // width:this.width,
|
|
|
+ // height:this.height,
|
|
|
+ // url:'wss://labcontrol.nwafu.edu.cn/proxy/172.16.0.68:559/openUrl/luk8N32',
|
|
|
+ // cameraIndexCode:'555848cb4ef64234817778ef48e07108',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // width:this.width,
|
|
|
+ // height:this.height,
|
|
|
+ // url:'wss://labcontrol.nwafu.edu.cn/proxy/172.16.0.68:559/openUrl/luk8N32',
|
|
|
+ // cameraIndexCode:'87acbd68f5304e62b054de724d6a73c0',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // width:this.width,
|
|
|
+ // height:this.height,
|
|
|
+ // url:'wss://labcontrol.nwafu.edu.cn/proxy/172.16.0.68:559/openUrl/luk8N32',
|
|
|
+ // cameraIndexCode:'c451e9f079874b6ea6ddb1eb4f55d411',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // width:this.width,
|
|
|
+ // height:this.height,
|
|
|
+ // url:'wss://labcontrol.nwafu.edu.cn/proxy/172.16.0.68:559/openUrl/luk8N32',
|
|
|
+ // cameraIndexCode:'555848cb4ef64234817778ef48e07102',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // width:this.width,
|
|
|
+ // height:this.height,
|
|
|
+ // url:'wss://labcontrol.nwafu.edu.cn/proxy/172.16.0.68:559/openUrl/luk8N32',
|
|
|
+ // cameraIndexCode:'87acbd68f5304e62b054de724d6a73c3',
|
|
|
+ // },
|
|
|
+ // ];
|
|
|
+ // this.$set(this,'videoList',list)
|
|
|
+ // // this.$set(this,'videoTotal',response.data.total);
|
|
|
+ // this.$nextTick(()=>{
|
|
|
+ // setTimeout(function(){
|
|
|
+ // self.$set(self, 'videoType', true);
|
|
|
+ // },1000);
|
|
|
+ // })
|
|
|
},
|
|
|
//全屏开启-关闭轮播
|
|
|
stopTime(cameraIndexCode){
|