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 | 123 +++++++++++++++++++++++----------------- 1 files changed, 71 insertions(+), 52 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 05e1ea8..7e37fcc 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -11,64 +11,64 @@ component: () => import('@/components/layout/AppLayout.vue'), children: [ - { - path:'/avalue', - name:'avalue', - meta: {title: '椋庨櫓璇勪及'}, - children:[ - // 鏁版嵁鍒嗛櫓妯″瀷 - { - path: "/avgDay", - name: 'avgDay', - meta: { title: '鏁版嵁鍒嗛櫓妯″瀷' }, - component: () => import('@/views/line_graph/DataRiskModel.vue') - }, + // { + // path:'/avalue', + // name:'avalue', + // meta: {title: '椋庨櫓璇勪及'}, + // children:[ + // // 鏁版嵁鍒嗛櫓妯″瀷 + // { + // path: "/avgDay", + // name: 'avgDay', + // meta: { title: '鏁版嵁鍒嗛櫓妯″瀷' }, + // component: () => import('@/views/line_graph/DataRiskModel.vue') + // }, - // 鏁版嵁椋庨櫓鎺掑悕 - { - path: "/analysis", - name: 'analysis', - meta: { title: '鏁版嵁椋庨櫓鎺掑悕' }, - component: () => import('@/views/line_graph/DataRiskRank.vue') - }, - // 鏁版嵁椋庨櫓鎺掑悕 - { - path: "/riskrank", - name: 'riskrank', - meta: { title: '缁煎悎椋庨櫓鎺掑悕' }, - component: () => import('@/views/line_graph/SiteComprehensiveRskRanking.vue') - }, - ] - }, + // // 鏁版嵁椋庨櫓鎺掑悕 + // { + // path: "/analysis", + // name: 'analysis', + // meta: { title: '鏁版嵁椋庨櫓鎺掑悕' }, + // component: () => import('@/views/line_graph/DataRiskRank.vue') + // }, + // // 鏁版嵁椋庨櫓鎺掑悕 + // { + // path: "/riskrank", + // name: 'riskrank', + // meta: { title: '缁煎悎椋庨櫓鎺掑悕' }, + // component: () => import('@/views/line_graph/SiteComprehensiveRskRanking.vue') + // }, + // ] + // }, - // // 鏁版嵁鍒嗛櫓妯″瀷 - // { - // path: "/avgDay", - // name: 'avgDay', - // meta: { title: '鏁版嵁鍒嗛櫓妯″瀷' }, - // component: () => import('@/views/line_graph/DataRiskModel.vue') - // }, + // 鏁版嵁鍒嗛櫓妯″瀷 + { + path: "/avgDay", + name: 'avgDay', + meta: { title: '鏁版嵁鍒嗛櫓妯″瀷' , keepAlive: true}, + component: () => import('@/views/line_graph/DataRiskModel.vue') + }, - // // 鏁版嵁椋庨櫓鎺掑悕 - // { - // path: "/analysis", - // name: 'analysis', - // meta: { title: '鏁版嵁椋庨櫓鎺掑悕' }, - // component: () => import('@/views/line_graph/DataRiskRank.vue') - // }, - // // 鏁版嵁椋庨櫓鎺掑悕 - // { - // path: "/riskrank", - // name: 'riskrank', - // meta: { title: '缁煎悎椋庨櫓鎺掑悕' }, - // component: () => import('@/views/line_graph/SiteComprehensiveRskRanking.vue') - // }, + // 鏁版嵁椋庨櫓鎺掑悕 + { + path: "/analysis", + name: 'analysis', + meta: { title: '鏁版嵁椋庨櫓鎺掑悕' , keepAlive: true}, + component: () => import('@/views/line_graph/DataRiskRank.vue') + }, + // 鏁版嵁椋庨櫓鎺掑悕 + { + path: "/riskrank", + name: 'riskrank', + meta: { title: '缁煎悎椋庨櫓鎺掑悕' , keepAlive: true }, + component: () => import('@/views/line_graph/SiteComprehensiveRskRanking.vue') + }, // 椋炶宸℃ { 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