Ver código fonte

传感器实时数据

王通 2 anos atrás
pai
commit
cfb666bc9b
1 arquivos alterados com 5 adições e 2 exclusões
  1. 5 2
      src/views/monitor.vue

+ 5 - 2
src/views/monitor.vue

@@ -210,10 +210,10 @@
     data() {
       return {
         //摄像头名称
-        cgqData: [],
         rightDeptName: undefined,
         visuForestCloudCameraBOListSearch: [],
         // 部门名称
+        cgqData:[],
         deptName: undefined,
         deptId: '',
         // 部门树选项
@@ -549,6 +549,9 @@
         getSensorListByDeptId(that.deptId).then(function(res) {
             that.sensorNum = res.data.length
 
+          taht.onLa = false
+          this.onShe = false
+          this.onChuan = true
           })
           .catch(function(error) {
             console.error(error);
@@ -1102,4 +1105,4 @@
     height: 600px;
     border: 1px solid red;
   }
-</style>
+</style>