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

[Mod 0000] 瓦斯泵站管控修改底部tab条的跳转地址

houzekong преди 1 седмица
родител
ревизия
b18d3bcfbb
променени са 2 файла, в които са добавени 11 реда и са изтрити 2 реда
  1. 6 1
      src/views/vent/gas/gasHome/gasHome.data.ts
  2. 5 1
      src/views/vent/gas/gasHome/index.vue

+ 6 - 1
src/views/vent/gas/gasHome/gasHome.data.ts

@@ -11,7 +11,7 @@ export const navList = ref([
     isHover: false,
   },
   {
-    title: '抽采管路',
+    title: '管网监控',
     pathName: 'gasPiping',
     isHover: false,
   },
@@ -20,6 +20,11 @@ export const navList = ref([
     pathName: 'gasAlarm',
     isHover: false,
   },
+  {
+    title: '钻孔设计',
+    pathName: 'drillDesign',
+    isHover: false,
+  },
 ]);
 
 export const sysInfo = [

+ 5 - 1
src/views/vent/gas/gasHome/index.vue

@@ -34,13 +34,17 @@
       window.open(newPage.href, '_blank');
     }
     if (activeValue == 'gasPiping') {
-      const newPage = router.resolve({ path: '/micro-vent-3dModal/dashboard/analysis', query: { type: 'sysMonitor', deviceType: 'pipingpage' } });
+      const newPage = router.resolve({ path: '/gas-pipe-net/home' });
       window.open(newPage.href, '_blank');
     }
     if (activeValue == 'gasAlarm') {
       const newPage = router.resolve({ path: '/gas/warn/home?p=0' });
       window.open(newPage.href, '_blank');
     }
+    if (activeValue == 'drillDesign') {
+      const newPage = router.resolve({ path: '/gas-pipe-net/home' });
+      window.open(newPage.href, '_blank');
+    }
   }
 
   const headerBadges = ref([