From 284ae5b9ff466a9b0cd6be7eed2aefa765feee6f Mon Sep 17 00:00:00 2001
From: cqf <2252655793@qq.com>
Date: 星期四, 26 五月 2022 13:43:28 +0800
Subject: [PATCH] 隐患汇总跳转查询优化

---
 src/router/index.js |   54 +++++++++++++++++++++++++++++++++++++++++++-----------
 1 files changed, 43 insertions(+), 11 deletions(-)

diff --git a/src/router/index.js b/src/router/index.js
index ca1fc46..eab9cec 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',
@@ -465,18 +466,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