Преглед на файлове

日期选择框样式调整

bobo04052021@163.com преди 6 месеца
родител
ревизия
a2f8c2b6cc

+ 7 - 0
src/views/vent/deviceManager/comment/HistoryTable.vue

@@ -340,3 +340,10 @@ defineExpose({ setLoading });
   }
 }
 </style>
+<style lang="less" scoped>
+:deep(.zxm-picker-dropdown) {
+  top: 50px !important;
+  left: 5px !important;
+}
+</style>
+

+ 6 - 0
src/views/vent/safetyList/common/HistoryTable.vue

@@ -318,3 +318,9 @@ defineExpose({ setLoading });
   }
 }
 </style>
+<style lang="less" scoped>
+:deep(.zxm-picker-dropdown) {
+  top: 50px !important;
+  left: 5px !important;
+}
+</style>

+ 4 - 4
src/views/vent/safetyList/common/detail.vue

@@ -469,9 +469,9 @@ function getMonitor(flag = false) {
   timer = setTimeout(
     async () => {
       await getDeviceList();
-      if (timer) {
-        timer = null;
-      }
+      // if (timer) {
+      //   timer = null;
+      // }
       getMonitor();
     },
     flag ? 0 : 3000
@@ -512,7 +512,7 @@ async function getDeviceList() {
 function onChangeTab(tab) {
   activeKey.value = tab;
   if (activeKey.value == 'device') {
-    clearTimeout(timer1);
+    // clearTimeout(timer1);
     getSubStationList();
     getStationList1();
   } else {