From f877ea29a3363133b7dc30d8adc477544a1eaf7f Mon Sep 17 00:00:00 2001 From: cqf <2252655793@qq.com> Date: 星期四, 26 五月 2022 14:21:58 +0800 Subject: [PATCH] 文件名称如果不以a62b结尾,补上a62b --- src/router/index.js | 59 ++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 files changed, 48 insertions(+), 11 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index ca1fc46..941657f 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -54,7 +54,8 @@ { path: '/', component: Layout, - redirect: '/workPlan/workPlan/reserve', + redirect: "/accidentHidden", + // redirect: '/workPlan/workPlan/reserve', children: [ { path: 'dashboard', @@ -388,6 +389,11 @@ meta: { title: '内部举一反三', icon: '' } }, { + path: '/addDanger', + component: () => import('@/views/oneFromanotherN/addDanger'), + hidden: true + }, + { path: '/existN', component: () => import('@/views/oneFromanotherN/existN'), hidden: true @@ -465,18 +471,49 @@ hidden: true }, { - path: '/summaryList', - // name: '安全隐患台账-举一反三', - component: () => import('@/views/summaryPotentialSafetyHzards/summaryList'), - // meta: { title: '安全隐患台账-举一反三', icon: '' } - hidden: true + path: '/summaryList', + // name: '安全隐患台账-举一反三', + component: () => import('@/views/summaryPotentialSafetyHzards/summaryList'), + // meta: { title: '安全隐患台账-举一反三', icon: '' } + hidden: true + }, + { + path: '/summaryForm', + // name: '安全隐患汇总-发送隐患单', + component: () => import('@/views/summaryPotentialSafetyHzards/summaryForm'), + // meta: { title: '安全隐患汇总-发送隐患单', icon: '' } + hidden: true + }, + { + path: '/dangerDetails', + // name: '安全隐患汇总-发送隐患单', + component: () => import('@/views/dangerDetails/dnagerDetails'), + // meta: { title: '安全隐患汇总-发送隐患单', icon: '' } + hidden: true + }, + { + id: 12, + parentId: 0, + path: '/chartAnalysis', + name: '隐患图表分析', + component: () => import('@/views/chartAnalysis'), + meta: { title: '隐患图表分析', icon: '' } + }, + { + id: 13, + parentId: 0, + path: '/careabout', + name: '您关注的隐患', + component: () => import('@/views/careabout'), + meta: { title: '您关注的隐患', icon: '' } }, { - path: '/summaryForm', - // name: '安全隐患台账-举一反三', - component: () => import('@/views/summaryPotentialSafetyHzards/summaryForm'), - // meta: { title: '安全隐患台账-举一反三', icon: '' } - hidden: true + id: 14, + parentId: 0, + path: '/troubleshooting', + name: '隐患排查会议', + component: () => import('@/views/troubleshooting'), + meta: { title: '隐患排查会议', icon: '' } }, ] } -- Gitblit v1.9.2