From c2f95b0b9090a2394b5b068582b932a5e57b86aa Mon Sep 17 00:00:00 2001 From: zmc <zmc_li@foxmail.com> Date: 星期二, 05 九月 2023 18:19:37 +0800 Subject: [PATCH] 雷达图 新增综合风险排名 数据接入配置 --- src/router/index.ts | 118 +++++++++++++++++++++++++++++++++++++---------------------- 1 files changed, 74 insertions(+), 44 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 67a0f21..bd9240a 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -7,62 +7,92 @@ { path: '/layout', name: 'home', + meta: { title: '棣栭〉' }, component: () => import('@/components/layout/AppLayout.vue'), children: [ - // 鏁版嵁鍒嗛櫓妯″瀷 - { - path:"/avgDay", - name:'avgDay', - component: () => import('@/views/line_graph/dayMonthAvgData.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/analysisData.vue') - }, - - // 鍘嗗彶鏁版嵁绠$悊 - { - path:"/hdata", - name:'hdata', - component: () => import('@/views/origin_data/TableData.vue') - }, - - // 椋炶宸℃ - { - path:"/edata", - name:'edata', - component: () => import('@/views/exception/ExceptionData.vue') - }, - - // 寮傚父娴嬭瘯 - { - path:"/testdata", - name:'testdata', - component: () => import('@/views/exception/ExceptionTest.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: "/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: 'login', component: () => import('@/views/login/LoginSystem.vue') - }, - { + }, + { path: '/', - redirect:'/hdata' + redirect: '/edata' }, ] }) -- Gitblit v1.9.3