| 
					
				 | 
			
			
				@@ -190,7 +190,7 @@ const getNetWork = async () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     pagesize: 10000,
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     name: "SubNetwork",
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   });
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  if (infoRes.code == 1) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  if (!infoRes||infoRes.code == 1) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // loading.value = false;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     loadDating.value = false;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return;
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -209,7 +209,7 @@ const initLoad = async () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     pagesize: 10000,
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     name: "ConnectedAP",
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   });
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  if (allAP.code == 1) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  if (!allAP||allAP.code == 1) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // loading.value = false;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -234,7 +234,7 @@ const initLoad = async () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 //处理重复的ip
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const ipNetaddr = async () => {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   const ipRes = await iedNetaddr({ scd_id: scdIdValue });
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  if (ipRes.code == 1) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  if (!ipRes||ipRes.code == 1) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   //如果有把node_value添加到一个里面,命名从0开始
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -277,6 +277,7 @@ const publicRepeat = ref([]); //找到attr_ap_name不同的,attr_ied_name相 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const onChangeMain = (index, clickItem) => {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   handleAllAp.value = [];
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   //找到大类下自己的数据
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  if(!allApData.value) return;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   Object.keys(allApData.value).forEach((item) => {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     if (item.includes(clickItem.node_id)) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       handleAllAp.value = [...handleAllAp.value, ...allApData.value[item].list];
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -296,6 +297,7 @@ const getlist = () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   if (!clickAllAp.value) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     handleAllAp.value = [];
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     //匹配的所有数据的key值,进行筛选对应的数据,找到大类下自己的数据
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    if(!allApData.value) return;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     Object.keys(allApData.value).forEach((item) => {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         nodeInfoData.value != null &&
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -313,6 +315,7 @@ const getlist = () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ipShow();
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   var index = 0;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  if(!handleAllAp.value) return;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   handleAllAp.value.forEach((item, subindex) => {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     if (!listCat.value.includes(item.attr_ap_name)) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       listCat.value.push(item.attr_ap_name);
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -452,6 +455,7 @@ const setinlineStyle = (data, dataCat) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } else {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               const counts = {};
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               //计算每个attr_ied_name出现了多少次重复  { 'CL2207': 2, 'PL2206B': 3 }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              if(!arr) return;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               arr.forEach((item) => {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if (counts[item]) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   counts[item]++;
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -472,10 +476,12 @@ const setinlineStyle = (data, dataCat) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  if(!newData) return;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   // 长竖线--根据行数计算高度,有多少行length就有多少,是数组包数组的形式,一行9个,
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   newData.forEach((item, index) => {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     for (let i = 0; i < item.length; i++) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // let num = listCat.value.indexOf(item[i].attr_ap_name) + 1;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if(!listCat.value) return;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       listCat.value.forEach((typeItem, typeIndex) => {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (item[i][`inlineStyle${typeItem}`]) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           //可对重复的线进行高度设置
 
			 |