dedsudiyu 3 kuukautta sitten
vanhempi
commit
51f86bf6db

+ 2 - 2
src/views/emergencyManagement/pageComponent/videoListComponent.vue

@@ -93,6 +93,7 @@
                 width: this.width, //(宽度:非必传-默认600)
                 height: this.height, //(高度:非必传-默认338)
                 url: response.data.records[i].streamUrl,
+                cameraIndexCode: response.data.records[i].deviceNo,
               }
             )
           }
@@ -107,8 +108,7 @@
       },
       //全屏开启-关闭轮播
       stopTime(cameraIndexCode){
-        // this.$set(this,'fullVideoProps',{cameraIndexCode:cameraIndexCode});
-        this.$set(this,'fullVideoProps',{cameraIndexCode:'f0192a7ffd014509a8f2e8f3bc0936cf'});
+        this.$set(this,'fullVideoProps',{cameraIndexCode:cameraIndexCode});
         this.$set(this,'fullVideoType',true);
         window.clearInterval(this.eChartsTimer)
       },

+ 1 - 2
src/views/safetyOverview/pageComponent/monitoringComponents.vue

@@ -140,8 +140,7 @@
       },
       //全屏开启-关闭轮播
       stopTime(cameraIndexCode){
-        // this.$set(this,'fullVideoProps',{cameraIndexCode:cameraIndexCode});
-        this.$set(this,'fullVideoProps',{cameraIndexCode:'f0192a7ffd014509a8f2e8f3bc0936cf'});
+        this.$set(this,'fullVideoProps',{cameraIndexCode:cameraIndexCode});
         this.$set(this,'fullVideoType',true);
         window.clearInterval(this.eChartsTimer)
       },

+ 2 - 2
src/views/videoSurveillance/pageComponent/videoComponent.vue

@@ -129,6 +129,7 @@
                 width: this.width, //(宽度:非必传-默认600)
                 height: this.height, //(高度:非必传-默认338)
                 url: response.data.records[i].streamUrl,
+                cameraIndexCode: response.data.records[i].deviceNo,
               }
             )
           }
@@ -143,8 +144,7 @@
       },
       //全屏开启-关闭轮播
       stopTime(cameraIndexCode){
-        // this.$set(this,'fullVideoProps',{cameraIndexCode:cameraIndexCode});
-        this.$set(this,'fullVideoProps',{cameraIndexCode:'f0192a7ffd014509a8f2e8f3bc0936cf'});
+        this.$set(this,'fullVideoProps',{cameraIndexCode:cameraIndexCode});
         this.$set(this,'fullVideoType',true);
         window.clearInterval(this.eChartsTimer)
       },