Quellcode durchsuchen

更多设备 classstructureid 字段放到请求主体中

yunxing vor 4 Jahren
Ursprung
Commit
4e5719a485
1 geänderte Dateien mit 9 neuen und 3 gelöschten Zeilen
  1. 9 3
      src/views/equipmentFacilities/MoreEquipmentList.vue

+ 9 - 3
src/views/equipmentFacilities/MoreEquipmentList.vue

@@ -215,9 +215,8 @@ export default {
             if (!this.system_code || this.system_code === '全部') {
                 delete postParams.system_code
             }
-            //  筛选后, 使用classstructureid字段
-            if (this.sbss_code) {
-                data.classstructureid = this.sbss_code
+            if (this.sbss_code && this.sbss_code !== '全部') {
+                postParams.classstructureid = this.sbss_code
             }
             // keyword
             if (this.keyword) {
@@ -604,6 +603,13 @@ export default {
             }
         }
     }
+    .one-list {
+        height: calc(100% - 100px) !important;
+        .switch-room {
+            max-height: 100% !important;
+            height: 100% !important;
+        }
+    }
     // 空状态
     .m-empty {
         // position: fixed;