From a61623f7887a78170e5ab91d1fbf7929ce0e82fd Mon Sep 17 00:00:00 2001 From: zmc <zmc_li@foxmail.com> Date: 星期四, 02 十一月 2023 11:40:44 +0800 Subject: [PATCH] “去掉点击站点时页面上的搜索框和排名清单” --- src/router/index.js | 61 +++++++++++++++++++++++++++--- 1 files changed, 55 insertions(+), 6 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 74978ca..7dcc63b 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -11,11 +11,41 @@ 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: "/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: '鏁版嵁鍒嗛櫓妯″瀷' }, + meta: { title: '鏁版嵁鍒嗛櫓妯″瀷' , keepAlive: true}, component: () => import('@/views/line_graph/DataRiskModel.vue') }, @@ -23,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') }, @@ -38,7 +68,7 @@ { path: "/edata", name: 'edata', - meta: { title: '椋炶宸℃' }, + meta: { title: '椋炶宸℃' , keepAlive: true}, component: () => import('@/views/exception/FlightInspection.vue') }, @@ -46,7 +76,7 @@ { path: "/testData", name: 'testData', - meta: { title: '绔欑偣瀹℃牳杈呭姪' }, + meta: { title: '绔欑偣瀹℃牳杈呭姪' , keepAlive: true}, component: () => import('@/views/exception/SiteAuditAssistance.vue') }, @@ -54,7 +84,7 @@ { path: "/hdata", name: 'hdata', - meta: { title: '鍘嗗彶鏁版嵁绠$悊' }, + meta: { title: '鍘嗗彶鏁版嵁绠$悊' , keepAlive: true}, component: () => import('@/views/data_management/HistoryData.vue') }, // 鏁版嵁鎺ュ叆绠$悊 @@ -80,6 +110,24 @@ meta: { title: '鏁版嵁鎺ュ叆閰嶇疆' }, component: () => import('@/views/setting/SetConfiguration.vue') }, + + + // 鏁版嵁鎺ュ叆閰嶇疆 + { + path: "/detail/:siteName/:month", + name: 'detail', + meta: { title: '绔欑偣鍏蜂綋淇℃伅',transition: 'slide-left' }, + component: () => import('@/views/line_graph/components/SiteDetail.vue') + }, + + // 椋庨櫓妯″瀷宓屽叆 + { + path: "/subRiskModel", + name: 'subRiskModel', + meta: { title: '椋庨櫓妯″瀷宓屽叆' }, + component: () => import('@/views/line_graph/components/subRiskModel.vue') + }, + ], }, @@ -98,4 +146,5 @@ ] }) + export default router -- Gitblit v1.9.3