From d3e7923f5cc188da720ba9c3d6a536ae82e46f3c Mon Sep 17 00:00:00 2001 From: lyfO_o <764716047@qq.com> Date: 星期四, 09 六月 2022 10:00:24 +0800 Subject: [PATCH] 删除 --- src/router/index.js | 70 +++++++++++++++++++---------------- 1 files changed, 38 insertions(+), 32 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 654c9fe..0e3db1e 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -52,14 +52,19 @@ hidden: true }, { + path: '/pwdChange', + // 密码变更 + component: () => import('@/views/login/pwdChange'), + hidden: true + }, + { path: '/', component: Layout, - redirect: "/accidentHidden", - // redirect: '/workPlan/workPlan/reserve', + redirect: '/specialWorkManage/index/specialWorkManage/workPlan/index/specialWorkManage/workPlan/reserve', children: [ { path: 'dashboard', - component: () => import('@/views/workPlan/reserve'), + component: () => import('@/views/specialWorkManage/workPlan/reserve'), name: 'Dashboard1', meta: { title: '首页', icon: 'el-icon-dash', noCache: true, affix: true } } @@ -80,21 +85,21 @@ // ], // hidden: true // }, - { - path: 'dashboard', - component: Layout, - redirect: 'dashboard', - children: [ - { - path: 'dashboard', - component: () => import('@/views/dashboard/index'), - name: 'Dashboard1', - meta: { title: '首页', icon: 'el-icon-dash', noCache: true, affix: true } - } - - ], - hidden: true - }, + // { + // path: 'dashboard', + // component: Layout, + // redirect: 'dashboard', + // children: [ + // { + // path: 'dashboard', + // component: () => import('@/views/dashboard/index'), + // name: 'Dashboard1', + // meta: { title: '首页', icon: 'el-icon-dash', noCache: true, affix: true } + // } + // + // ], + // hidden: true + // }, // { // id: 2, // parentId: 0, @@ -114,14 +119,14 @@ // } // ] // }, - { - id: 2, + { + id: 2, parentId: 0, path: '/aqscbzh', component: Layout, name: '安全生产标准化', meta: { title: '安全生产标准化', icon: 'el-icon-security' }, - hidden: true, + hidden: true, children: [ { path: '/new', @@ -380,17 +385,6 @@ component: () => import('@/views/Issuedbysuperiors'), meta: { title: '上级下达隐患', icon: '' } }, - { - id: 9, - parentId: 0, - path: '/superiorsSend', - name: '发送隐患', - component: () => import('@/views/Issuedbysuperiors/superiorsSend'), - meta: { title: '发送隐患', icon: '' }, - hidden: true - - }, - { id: 10, parentId: 0, @@ -398,6 +392,11 @@ name: '内部举一反三', component: () => import('@/views/oneFromanotherN'), meta: { title: '内部举一反三', icon: '' } + }, + { + path: '/addDanger', + component: () => import('@/views/oneFromanotherN/addDanger'), + hidden: true }, { path: '/existN', @@ -491,6 +490,13 @@ hidden: true }, { + path: '/dangerDetails', + // name: '安全隐患汇总-发送隐患单', + component: () => import('@/views/dangerDetails/dnagerDetails'), + // meta: { title: '安全隐患汇总-发送隐患单', icon: '' } + hidden: true + }, + { id: 12, parentId: 0, path: '/chartAnalysis', -- Gitblit v1.9.2