Ver código fonte

删除console.log

“yueshang” 1 ano atrás
pai
commit
7566049a7f

+ 1 - 1
src/pages/login/LoginNow.vue

@@ -79,7 +79,7 @@ export default {
                         message: '登陆成功!',
                         type: "success"
                     })
-                    windowEx.Size(1920, 1040)
+                    windowEx.Size(1920, 1080)
                     // windowEx.Position('center')
                 } else {
                     ElMessage({

+ 5 - 7
src/pages/netStructPicture/components/netWork.vue

@@ -28,7 +28,7 @@
                       :style="{
                         background: item.bgcolor,
                         left: 45 + index * 13 + '%',
-                        height: 17 * index + 35 + 'px',
+                        height: 16 * index + 35 + 'px',
                       }"
                       :key="index"
                     ></div>
@@ -174,7 +174,7 @@ const loading = ref(true);
 const getNetWork = async () => {
   loading.value = false;
   const infoRes = await nodeList({
-    scd_id: 196000055,
+    scd_id:208000058,
     pagesize: 10000,
     name: "SubNetwork",
   });
@@ -193,7 +193,7 @@ const allApData = ref({});
 const initLoad = async () => {
   allApData.value = {};
   const allAP = await nodeList({
-    scd_id: 196000055,
+    scd_id: 208000058,
     pagesize: 10000,
     name: "ConnectedAP",
   });
@@ -221,7 +221,7 @@ const initLoad = async () => {
 };
 //处理重复的ip
 const ipNetaddr = async () => {
-  const ipRes = await iedNetaddr({ scd_id: 196000055 });
+  const ipRes = await iedNetaddr({ scd_id: 208000058 });
   if (ipRes.code == 1) {
     return;
   }
@@ -328,7 +328,6 @@ const getlist = () => {
 };
 // 赋值ip给全局展示的每个方块数据
 const ipShow = () => {
-  console.log('showAllAp.value', showAllAp.value)
   showAllAp.value.forEach((item) => {
     ipNetaddrData.value.forEach((itemIp) => {
       if (itemIp.attr_ied_name === item.attr_ied_name) {
@@ -340,7 +339,6 @@ const ipShow = () => {
       }
     });
   });
-  console.log('22222222222222222', showAllAp.value)
 };
 //去重
 const removeRepeat = (array) => {
@@ -383,7 +381,7 @@ const setinlineStyle = (data, dataCat) => {
   if (length === 1) {
     adjustment = 70;
   } else if (length > 1) {
-    adjustment = 70 - (length - 1) * 19;
+    adjustment = 72 - (length - 1) * 19;
   }
   let count = 0;
   if (length > 2) {