| 
														
															@@ -518,16 +518,17 @@ async function getDeviceList() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   } 
														 | 
														
														 | 
														
															   } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 //tab选项切换 
														 | 
														
														 | 
														
															 //tab选项切换 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-function onChangeTab(tab) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+async function onChangeTab(tab) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   activeKey.value = tab; 
														 | 
														
														 | 
														
															   activeKey.value = tab; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  stationId.value='' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   if (activeKey.value == 'device') { 
														 | 
														
														 | 
														
															   if (activeKey.value == 'device') { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     // clearTimeout(timer1); 
														 | 
														
														 | 
														
															     // clearTimeout(timer1); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    getSubStationList(); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    getStationList1(); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+   await  getSubStationList(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+   await  getStationList1(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   } else { 
														 | 
														
														 | 
														
															   } else { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    getSubStationList(); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    getStationList(); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    getMonitor1(); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    await getSubStationList(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    await getStationList(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    await getMonitor1(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   } 
														 | 
														
														 | 
														
															   } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -716,6 +717,7 @@ async function getSubStationList() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   let res = await subStationList({ strtype: 'modbus' }); 
														 | 
														
														 | 
														
															   let res = await subStationList({ strtype: 'modbus' }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   if (res.length != 0) { 
														 | 
														
														 | 
														
															   if (res.length != 0) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     cardList.value = res; 
														 | 
														
														 | 
														
															     cardList.value = res; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    stationId.value=stationId.value ? stationId.value : cardList[0].id 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     openNum.value = cardList.value?.filter((v) => v.linkstatus == 1)['length']; 
														 | 
														
														 | 
														
															     openNum.value = cardList.value?.filter((v) => v.linkstatus == 1)['length']; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     clsoeNum.value = cardList.value?.filter((v) => v.linkstatus == 0)['length']; 
														 | 
														
														 | 
														
															     clsoeNum.value = cardList.value?.filter((v) => v.linkstatus == 0)['length']; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   } else { 
														 | 
														
														 | 
														
															   } else { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -990,9 +992,9 @@ async function handleDelStation(){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 //取消删除左侧分站 
														 | 
														
														 | 
														
															 //取消删除左侧分站 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 function handleCancelDelStation(){} 
														 | 
														
														 | 
														
															 function handleCancelDelStation(){} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-onMounted(() => { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  getSubStationList(); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  getStationList1(); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+onMounted(async() => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  await getSubStationList(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  await getStationList1(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 }); 
														 | 
														
														 | 
														
															 }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 onUnmounted(() => { 
														 | 
														
														 | 
														
															 onUnmounted(() => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   if (timer) { 
														 | 
														
														 | 
														
															   if (timer) { 
														 |