From ef10dea2a96d68a00a9a316f8594e0636103a6ab Mon Sep 17 00:00:00 2001 From: zmc <zmc_li@foxmail.com> Date: 星期四, 12 十月 2023 16:50:25 +0800 Subject: [PATCH] 扬尘前端页面 --- src/router/index.js | 72 +++++++++++++++++++++++++---------- 1 files changed, 51 insertions(+), 21 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 74978ca..05e1ea8 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -11,28 +11,58 @@ component: () => import('@/components/layout/AppLayout.vue'), 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: "/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') + // }, // 椋炶宸℃ { -- Gitblit v1.9.3