| 
														
															@@ -361,7 +361,7 @@ import customHeader from '/@/components/vent/customHeader.vue'; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import dayjs from 'dayjs'; 
														 | 
														
														 | 
														
															 import dayjs from 'dayjs'; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 let activeKey = ref('device'); 
														 | 
														
														 | 
														
															 let activeKey = ref('device'); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-let cardList = ref<any[]>(); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+let cardList = ref<any[]>([]); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 let activeIndex = ref(null); 
														 | 
														
														 | 
														
															 let activeIndex = ref(null); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 let isShow = ref(false); 
														 | 
														
														 | 
														
															 let isShow = ref(false); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 let stationName = ref(''); 
														 | 
														
														 | 
														
															 let stationName = ref(''); 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -460,20 +460,20 @@ let stationId = ref(''); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 const scroll = reactive({ 
														 | 
														
														 | 
														
															 const scroll = reactive({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   y: 680, 
														 | 
														
														 | 
														
															   y: 680, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 }); 
														 | 
														
														 | 
														
															 }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-// //读取分站设备下拉选项数据 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-// let timer: null | NodeJS.Timeout = null; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-// function getMonitor(flag = false) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-//   timer = setTimeout( 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-//     async () => { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-//       await getDeviceList(); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-//       // if (timer) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-//       //   timer = null; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-//       // } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-//       getMonitor(); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-//     }, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-//     flag ? 0 : 3000 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-//   ); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-// } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+//定时刷新左侧分站数据 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+let timer: null | NodeJS.Timeout = null; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+function getMonitor(flag = false) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  timer = setTimeout( 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    async () => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      await getSubStationList(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      if (timer) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        timer = null; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      getMonitor(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    flag ? 0 : 3000 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  ); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 let timer1: null | NodeJS.Timeout = null; 
														 | 
														
														 | 
														
															 let timer1: null | NodeJS.Timeout = null; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 function getMonitor1(flag = false) { 
														 | 
														
														 | 
														
															 function getMonitor1(flag = false) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   timer1 = setTimeout( 
														 | 
														
														 | 
														
															   timer1 = setTimeout( 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -509,11 +509,14 @@ async function getDeviceList() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 function onChangeTab(tab) { 
														 | 
														
														 | 
														
															 function onChangeTab(tab) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   activeKey.value = tab; 
														 | 
														
														 | 
														
															   activeKey.value = tab; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   stationId.value = '' 
														 | 
														
														 | 
														
															   stationId.value = '' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  clearTimeout(timer1); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  clearTimeout(timer); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   if (activeKey.value == 'device') { 
														 | 
														
														 | 
														
															   if (activeKey.value == 'device') { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    // clearTimeout(timer1); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     getSubStationList(); 
														 | 
														
														 | 
														
															     getSubStationList(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    getMonitor() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   } else if (activeKey.value == 'history') { 
														 | 
														
														 | 
														
															   } else if (activeKey.value == 'history') { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     getSubStationList(); 
														 | 
														
														 | 
														
															     getSubStationList(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    getMonitor() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   } else { 
														 | 
														
														 | 
														
															   } else { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     getStationList(); 
														 | 
														
														 | 
														
															     getStationList(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     getMonitor1(); 
														 | 
														
														 | 
														
															     getMonitor1(); 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -712,7 +715,6 @@ async function getSubStationList() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       getStationList1(); 
														 | 
														
														 | 
														
															       getStationList1(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } else if (activeKey.value == 'history') { 
														 | 
														
														 | 
														
															     } else if (activeKey.value == 'history') { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       getStationList(); 
														 | 
														
														 | 
														
															       getStationList(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      getMonitor1(); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   } else { 
														 | 
														
														 | 
														
															   } else { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     cardList.value = []; 
														 | 
														
														 | 
														
															     cardList.value = []; 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -982,6 +984,7 @@ async function handleDelStation() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 function handleCancelDelStation() { } 
														 | 
														
														 | 
														
															 function handleCancelDelStation() { } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 onMounted(() => { 
														 | 
														
														 | 
														
															 onMounted(() => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   getSubStationList(); 
														 | 
														
														 | 
														
															   getSubStationList(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  getMonitor() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 }); 
														 | 
														
														 | 
														
															 }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 onUnmounted(() => { 
														 | 
														
														 | 
														
															 onUnmounted(() => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   if (timer) { 
														 | 
														
														 | 
														
															   if (timer) { 
														 |