Browse Source

添加滚动条

chuwu 5 years ago
parent
commit
ea7e729ec5

+ 16 - 0
src/views/data_admin/buildData/index.vue

@@ -1790,6 +1790,22 @@
                 }
                 return out;
             }
+        },
+        watch: {
+            projectId(){
+                //默认时间赋值
+                this.checkTimeArr = [
+                    this.getNowFormatDate(new Date().setHours(0, 0, 0, 0)),
+                    this.getNowFormatDate(new Date())
+                ];
+                this.tabAvtive = "table0"
+                this.labelChecked = "请选择点位标签!"
+                // 获取建筑信息
+                this.getBuilding();
+                //获取所有所有的设备族
+                this.getAllFamily();
+                this.checked = 0
+            }
         }
     };
 </script>

+ 4 - 0
src/views/project_setting/collection_setting/index.vue

@@ -839,6 +839,10 @@
     #page-main .el-scrollbar .el-scrollbar__wrap .el-scrollbar__view {
         height: 100%;
     }
+    #page-main .el-tabs__content{
+        height: 100%;
+        overflow-y: auto;
+    }
 </style>