From 34257f504330191b1a698eb48b52217095db47fe Mon Sep 17 00:00:00 2001 From: zmc <zmc_li@foxmail.com> Date: 星期一, 04 九月 2023 18:10:46 +0800 Subject: [PATCH] 扬尘vue --- src/router/index.ts | 131 ++++++++++++++++++++++++------------------- 1 files changed, 73 insertions(+), 58 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index e80b211..b7232a0 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -7,77 +7,92 @@ { path: '/layout', name: 'home', + meta: { title: '棣栭〉' }, component: () => import('@/components/layout/AppLayout.vue'), children: [ - // 鏁版嵁鍒嗛櫓妯″瀷 - { - path:"/avgDay", - name:'avgDay', - component: () => import('@/views/line_graph/DataRiskModel.vue') - }, + + // 鏁版嵁鍒嗛櫓妯″瀷 + { + 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: "/edata", + name: 'edata', + meta: { title: '椋炶宸℃' }, + component: () => import('@/views/exception/FlightInspection.vue') + }, - // 鏁版嵁椋庨櫓鎺掑悕 - { - path:"/analysis", - name:'analysis', - component: () => import('@/views/line_graph/DataRiskRank.vue') - }, - - // 鍘嗗彶鏁版嵁绠$悊 - { - path:"/hdata", - name:'hdata', - component: () => import('@/views/origin_data/HistoryData.vue') - }, - - // 椋炶宸℃ - { - path:"/edata", - name:'edata', - component: () => import('@/views/exception/FlightInspection.vue') - }, - - // 绔欑偣瀹℃牳杈呭姪 - { - path:"/testdata", - name:'testdata', - component: () => import('@/views/exception/SiteAuditAssistance.vue') - }, + // 绔欑偣瀹℃牳杈呭姪 + { + path: "/testData", + name: 'testData', + meta: { title: '绔欑偣瀹℃牳杈呭姪' }, + component: () => import('@/views/exception/SiteAuditAssistance.vue') + }, - // 鏁版嵁鎺ュ叆閰嶇疆 - { - path:"/setting", - name:'setting', - component: () => import('@/views/setting/SetConfiguration.vue') - }, + + { + path: "/hdata", + name: 'hdata', + meta: { title: '鍘嗗彶鏁版嵁绠$悊' }, + component: () => import('@/views/data_management/HistoryData.vue') + }, + // 鏁版嵁鎺ュ叆绠$悊 + { + path: "/management", + name: 'management', + meta: { title: '鏁版嵁鎺ュ叆绠$悊' }, + component: () => import('@/views/data_management/DataAccessManagement.vue') + }, - // 鏁版嵁鎺ュ叆绠$悊 - { - path:"/management", - name:'management', - component: () => import('@/views/origin_data/DataAccessManagement.vue') - }, - - // 涓氬姟鎶ヨ〃 - { - path:"/report", - name:'report', - component: () => import('@/views/origin_data/BusinessReport.vue') - }, - + // 涓氬姟鎶ヨ〃 + { + path: "/report", + name: 'report', + meta: { title: '涓氬姟鎶ヨ〃' }, + component: () => import('@/views/data_management/BusinessReport.vue') + }, + + // 鏁版嵁鎺ュ叆閰嶇疆 + { + path: "/setting", + name: 'setting', + meta: { title: '鏁版嵁鎺ュ叆閰嶇疆' }, + component: () => import('@/views/setting/SetConfiguration.vue') + }, + ], }, // 鐧婚檰椤甸潰 { - path:"/login", - name:'fst', + path: "/login", + name: 'fst', component: () => import('@/views/login/LoginSystem.vue') - }, - { + }, + { path: '/', - redirect:'/hdata' + redirect: '/edata' }, ] }) -- Gitblit v1.9.3