From fd934f83afae1e3fce46db8610837d0e0f4d9393 Mon Sep 17 00:00:00 2001
From: zmc <zmc_li@foxmail.com>
Date: 星期四, 02 十一月 2023 10:44:56 +0800
Subject: [PATCH] 按开发清单已修改

---
 src/router/index.js |   31 +++++++++++++++++++++++++------
 1 files changed, 25 insertions(+), 6 deletions(-)

diff --git a/src/router/index.js b/src/router/index.js
index f02ad6f..7e37fcc 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -45,7 +45,7 @@
             {
               path: "/avgDay",
               name: 'avgDay',
-              meta: { title: '鏁版嵁鍒嗛櫓妯″瀷' },
+              meta: { title: '鏁版嵁鍒嗛櫓妯″瀷' , keepAlive: true},
               component: () => import('@/views/line_graph/DataRiskModel.vue')
             },
 
@@ -53,14 +53,14 @@
             {
               path: "/analysis",
               name: 'analysis',
-              meta: { title: '鏁版嵁椋庨櫓鎺掑悕' },
+              meta: { title: '鏁版嵁椋庨櫓鎺掑悕' , keepAlive: true},
               component: () => import('@/views/line_graph/DataRiskRank.vue')
             },
             //  鏁版嵁椋庨櫓鎺掑悕
             {
               path: "/riskrank",
               name: 'riskrank',
-              meta: { title: '缁煎悎椋庨櫓鎺掑悕' },
+              meta: { title: '缁煎悎椋庨櫓鎺掑悕' , keepAlive: true },
               component: () => import('@/views/line_graph/SiteComprehensiveRskRanking.vue')
             },
        
@@ -68,7 +68,7 @@
             {
               path: "/edata",
               name: 'edata',
-              meta: { title: '椋炶宸℃' },
+              meta: { title: '椋炶宸℃' , keepAlive: true},
               component: () => import('@/views/exception/FlightInspection.vue')
             },
 
@@ -76,7 +76,7 @@
             {
               path: "/testData",
               name: 'testData',
-              meta: { title: '绔欑偣瀹℃牳杈呭姪' },
+              meta: { title: '绔欑偣瀹℃牳杈呭姪' , keepAlive: true},
               component: () => import('@/views/exception/SiteAuditAssistance.vue')
             },
         
@@ -84,7 +84,7 @@
             {
               path: "/hdata",
               name: 'hdata',
-              meta: { title: '鍘嗗彶鏁版嵁绠$悊' },
+              meta: { title: '鍘嗗彶鏁版嵁绠$悊' , keepAlive: true},
               component: () => import('@/views/data_management/HistoryData.vue')
             },
             //  鏁版嵁鎺ュ叆绠$悊
@@ -110,6 +110,24 @@
               meta: { title: '鏁版嵁鎺ュ叆閰嶇疆' },
               component: () => import('@/views/setting/SetConfiguration.vue')
             },
+
+            
+            //  鏁版嵁鎺ュ叆閰嶇疆
+            {
+              path: "/detail/:siteName/:month",
+              name: 'detail',
+              meta: { title: '绔欑偣鍏蜂綋淇℃伅' },
+              component: () => import('@/views/line_graph/components/SiteDetail.vue')
+            },
+
+            // 椋庨櫓妯″瀷宓屽叆
+            {
+              path: "/subRiskModel",
+              name: 'subRiskModel',
+              meta: { title: '椋庨櫓妯″瀷宓屽叆 ' },
+              component: () => import('@/views/line_graph/components/subRiskModel.vue')
+            },
+
           ],
     },
 
@@ -128,4 +146,5 @@
   ]
 })
 
+
 export default router

--
Gitblit v1.9.3