reedliuqing_i 5 gadi atpakaļ
vecāks
revīzija
5ff8c6112f
1 mainītis faili ar 55 papildinājumiem un 56 dzēšanām
  1. 55 56
      src/router/index.js

+ 55 - 56
src/router/index.js

@@ -37,14 +37,14 @@ import Home from '@/views/home/index'
 export const constantRoutes = [{
   path: '/login',
   component: () =>
-      import('@/views/login/index'),
+    import('@/views/login/index'),
   hidden: true
 },
 
 {
   path: '/404',
   component: () =>
-      import('@/views/404'),
+    import('@/views/404'),
   hidden: true
 },
 
@@ -69,7 +69,7 @@ export const constantRoutes = [{
   children: [{
     path: 'person',
     component: () =>
-          import('@/views/workbench/person/index.vue'),
+      import('@/views/workbench/person/index.vue'),
     meta: { title: '个人工作台' }
   }
   ]
@@ -84,7 +84,7 @@ export const constantRoutes = [{
     {
       path: 'team',
       component: () =>
-          import('@/views/workbench/team/index.vue'),
+        import('@/views/workbench/team/index.vue'),
       meta: { title: '团队工作台' }
     }
   ]
@@ -99,7 +99,7 @@ export const constantRoutes = [{
     path: 'projectIndex',
     name: '项目',
     component: () =>
-              import('@/views/projectManage/projectList/projectIndex'),
+      import('@/views/projectManage/projectList/projectIndex'),
     meta: { title: '项目' }
   },
   {
@@ -107,14 +107,14 @@ export const constantRoutes = [{
     name: '项目详情',
     hidden: true,
     component: () =>
-              import('@/views/projectManage/projectList/projectViewDetails'),
+      import('@/views/projectManage/projectList/projectViewDetails'),
     meta: { title: '项目详情' }
   },
   {
     path: 'requirement',
     name: '需求',
     component: () =>
-              import('@/views/projectManage/requirement/list/index.vue'),
+      import('@/views/projectManage/requirement/list/index.vue'),
     meta: { title: '需求' }
   },
   {
@@ -123,14 +123,14 @@ export const constantRoutes = [{
     hidden: true,
     props: true,
     component: () =>
-              import('@/views/projectManage/requirement/details/index.vue'),
+      import('@/views/projectManage/requirement/details/index.vue'),
     meta: { title: '需求详情' }
   },
   {
     path: 'taskIndex',
     name: '任务',
     component: () =>
-              import('@/views/projectManage/taskList/taskIndex'),
+      import('@/views/projectManage/taskList/taskIndex'),
     meta: { title: '任务' }
   },
   {
@@ -138,28 +138,28 @@ export const constantRoutes = [{
     name: '任务详情',
     hidden: true,
     component: () =>
-              import('@/views/projectManage/taskList/taskViewDetails'),
+      import('@/views/projectManage/taskList/taskViewDetails'),
     meta: { title: '任务详情' }
   },
   {
     path: '/Platform/projectManage/version',
     name: '版本',
     component: () =>
-          import('@/views/Platform/presentation/testa'),
+      import('@/views/Platform/presentation/testa'),
     redirect: '/Platform/projectManage/version',
     meta: { title: '版本' },
     children: [{
       path: 'version',
       name: '版本1',
       component: () =>
-                import('@/views/projectManage/version/list/index.vue'),
+        import('@/views/projectManage/version/list/index.vue'),
       meta: { title: '版本' }
     },
     {
       path: 'versionsCalendar',
       name: '版本日历',
       component: () =>
-                import('@/views/projectManage/taskList/versionsCalendar'),
+        import('@/views/projectManage/taskList/versionsCalendar'),
       meta: { title: '版本日历' }
     }
     ]
@@ -168,7 +168,7 @@ export const constantRoutes = [{
     path: '/projectManage/bugList/bugindex',
     name: '缺陷',
     component: () =>
-          import('@/views/projectManage/bugList/bugindex'),
+      import('@/views/projectManage/bugList/bugindex'),
     meta: { title: '缺陷' }
   },
   {
@@ -177,21 +177,21 @@ export const constantRoutes = [{
     hidden: true,
     props: true,
     component: () =>
-              import('@/views/projectManage/bugList/details/index.vue'),
+      import('@/views/projectManage/bugList/details/index.vue'),
     meta: { title: '缺陷详情' }
   },
   {
     path: '/Platform/presentation',
     name: '报告',
     component: () =>
-          import('@/views/Platform/presentation/testa'),
+      import('@/views/Platform/presentation/testa'),
     redirect: '/Platform/presentation/testPresentation',
     meta: { title: '报告' },
     children: [{
       path: 'testPresentation',
       name: '报告',
       component: () =>
-              import('@/views/Platform/presentation/testPresentation'),
+        import('@/views/Platform/presentation/testPresentation'),
       meta: { title: '报告' }
     },
     {
@@ -199,7 +199,7 @@ export const constantRoutes = [{
       name: '新增日报报告',
       hidden: true,
       component: () =>
-              import('@/views/Platform/presentation/DailyNewsAdded'),
+        import('@/views/Platform/presentation/DailyNewsAdded'),
       meta: { title: '新增日报报告' }
     },
     {
@@ -207,7 +207,7 @@ export const constantRoutes = [{
       name: '新增服务器提测报告',
       hidden: true,
       component: () =>
-              import('@/views/Platform/presentation/presentationReport'),
+        import('@/views/Platform/presentation/presentationReport'),
       meta: { title: '新增服务器提测报告' }
     },
     {
@@ -215,7 +215,7 @@ export const constantRoutes = [{
       name: '提测预览',
       hidden: true,
       component: () =>
-              import('@/views/Platform/presentation/acceptTheReport'),
+        import('@/views/Platform/presentation/acceptTheReport'),
       meta: { title: '提测预览' }
     },
     {
@@ -223,7 +223,7 @@ export const constantRoutes = [{
       name: '日报预览',
       hidden: true,
       component: () =>
-              import('@/views/Platform/presentation/testPresenyL'),
+        import('@/views/Platform/presentation/testPresenyL'),
       meta: { title: '日报预览' }
     },
     {
@@ -231,7 +231,7 @@ export const constantRoutes = [{
       name: '准出预览',
       hidden: true,
       component: () =>
-              import('@/views/Platform/presentation/ResultPageyL'),
+        import('@/views/Platform/presentation/ResultPageyL'),
       meta: { title: '准出预览' }
     },
     {
@@ -239,7 +239,7 @@ export const constantRoutes = [{
       name: '新增服务器端准出报告',
       hidden: true,
       component: () =>
-              import('@/views/Platform/presentation/Acceptance'),
+        import('@/views/Platform/presentation/Acceptance'),
       meta: { title: '新增服务器端准出报告' }
     },
     {
@@ -247,7 +247,7 @@ export const constantRoutes = [{
       name: '新增客户端准出报告',
       hidden: true,
       component: () =>
-              import('@/views/Platform/presentation/ClientAcceptance'),
+        import('@/views/Platform/presentation/ClientAcceptance'),
       meta: { title: '新增客户端准出报告' }
     },
     {
@@ -255,7 +255,7 @@ export const constantRoutes = [{
       name: '新增客户端提测报告',
       hidden: true,
       component: () =>
-              import('@/views/Platform/presentation/PresentReport'),
+        import('@/views/Platform/presentation/PresentReport'),
       meta: { title: '新增客户端提测报告' }
     }
     ]
@@ -271,7 +271,7 @@ export const constantRoutes = [{
     path: 'useCasePage',
     name: '测试用例',
     component: () =>
-            import('@/views/Platform/useCasePage'),
+      import('@/views/Platform/useCasePage'),
     meta: { title: '测试用例' }
   },
   {
@@ -279,7 +279,7 @@ export const constantRoutes = [{
     name: '用例新增',
     hidden: true,
     component: () =>
-            import('@/views/Platform/useCase/createUse'),
+      import('@/views/Platform/useCase/createUse'),
     meta: { title: '用例新增' }
   },
   {
@@ -287,14 +287,14 @@ export const constantRoutes = [{
     name: '用例查看',
     hidden: true,
     component: () =>
-            import('@/views/Platform/useCase/queryUse'),
+      import('@/views/Platform/useCase/queryUse'),
     meta: { title: '用例查看' }
   },
   {
     path: 'testPage',
     name: '测试计划',
     component: () =>
-            import('@/views/Platform/testPage.vue'),
+      import('@/views/Platform/testPage.vue'),
     meta: { title: '测试计划' }
   }
   ]
@@ -309,7 +309,7 @@ export const constantRoutes = [{
     path: 'operate',
     name: '操作',
     component: () =>
-          import('@/views/env/index.vue'),
+      import('@/views/env/index.vue'),
     meta: { title: '操作' },
     children: [
       {
@@ -337,7 +337,7 @@ export const constantRoutes = [{
     path: 'b2b',
     name: '企业级',
     component: () =>
-          import('@/views/env/index.vue'),
+      import('@/views/env/index.vue'),
     meta: { title: '企业级' },
     children: [
       {
@@ -360,48 +360,48 @@ export const constantRoutes = [{
     path: 'data-maintain',
     name: '信息维护',
     component: () =>
-          import('@/views/env/index.vue'),
+      import('@/views/env/index.vue'),
     meta: { title: '信息维护' },
     children: [{
       path: 'businessline',
       name: 'businessline',
       component: () =>
-            import('@/views/env/index.vue'),
+        import('@/views/env/index.vue'),
       meta: { title: '业务线管理' }
     },
     {
       path: 'whitelist',
       name: 'whitelist',
       component: () =>
-            import('@/views/env/index.vue'),
+        import('@/views/env/index.vue'),
       meta: { title: '白名单管理' }
     },
     {
       path: 'module',
       name: 'module',
       component: () =>
-            import('@/views/env/index.vue'),
+        import('@/views/env/index.vue'),
       meta: { title: '模块管理' }
     },
     {
       path: 'group',
       name: 'group',
       component: () =>
-            import('@/views/env/index.vue'),
+        import('@/views/env/index.vue'),
       meta: { title: 'Group管理' }
     },
     {
       path: 'topic',
       name: 'topic',
       component: () =>
-            import('@/views/env/index.vue'),
+        import('@/views/env/index.vue'),
       meta: { title: 'Topic管理' }
     },
     {
       path: 'userContainer',
       name: 'userContainer',
       component: () =>
-            import('@/views/env/index.vue'),
+        import('@/views/env/index.vue'),
       meta: { title: '用户容器外网' }
     }]
   },
@@ -409,14 +409,14 @@ export const constantRoutes = [{
     path: 'other',
     name: 'other',
     component: () =>
-          import('@/views/env/index.vue'),
+      import('@/views/env/index.vue'),
     meta: { title: '其他' },
     children: [
       {
         path: 'data',
         name: 'data',
         component: () =>
-              import('@/views/env/index.vue'),
+          import('@/views/env/index.vue'),
         meta: { title: '数据统计' }
       }
     ]
@@ -436,12 +436,11 @@ export const constantRoutes = [{
       path: 'problemList',
       name: '线上问题1',
       component: () =>
-            import('@/views/onlineProblem/problemList.vue'),
+        import('@/views/onlineProblem/problemList.vue'),
       meta: { title: '线上问题' }
     }
   ]
 },
-
 {
   path: '/quality',
   component: Layout,
@@ -452,7 +451,7 @@ export const constantRoutes = [{
     path: 'qualityMeasurement',
     name: '质量大盘',
     component: () =>
-          import('@/views/quality/qualityMeasurement.vue'),
+      import('@/views/quality/qualityMeasurement.vue'),
     meta: { title: '统计分析' }
   },
   {
@@ -460,7 +459,7 @@ export const constantRoutes = [{
     name: '上线过程',
     hidden: true,
     component: () =>
-          import('@/views/quality/qualityProcess.vue'),
+      import('@/views/quality/qualityProcess.vue'),
     meta: { title: '上线过程' }
   },
   {
@@ -468,7 +467,7 @@ export const constantRoutes = [{
     name: '缺陷过程',
     hidden: true,
     component: () =>
-          import('@/views/quality/qualityDefectProcess.vue'),
+      import('@/views/quality/qualityDefectProcess.vue'),
     meta: { title: '缺陷过程' }
   },
   {
@@ -476,7 +475,7 @@ export const constantRoutes = [{
     name: '热修复过程',
     hidden: true,
     component: () =>
-          import('@/views/quality/qualityHotpatchProcess.vue'),
+      import('@/views/quality/qualityHotpatchProcess.vue'),
     meta: { title: '热修复过程' }
   },
   // {
@@ -492,7 +491,7 @@ export const constantRoutes = [{
     name: '新建线上问题',
     hidden: true,
     component: () =>
-          import('@/views/onlineProblem/problemCreate'),
+      import('@/views/onlineProblem/problemCreate'),
     meta: { title: '新建线上问题' }
   },
   {
@@ -500,7 +499,7 @@ export const constantRoutes = [{
     name: '查看线上问题',
     hidden: true,
     component: () =>
-          import('@/views/onlineProblem/problemQuery'),
+      import('@/views/onlineProblem/problemQuery'),
     meta: { title: '查看线上问题' }
   },
   {
@@ -508,7 +507,7 @@ export const constantRoutes = [{
     name: '更新线上问题',
     hidden: true,
     component: () =>
-          import('@/views/onlineProblem/problemUpdate'),
+      import('@/views/onlineProblem/problemUpdate'),
     meta: { title: '更新线上问题' }
   }
   ]
@@ -524,7 +523,7 @@ export const constantRoutes = [{
       path: '/views/mock',
       name: 'Mock服务',
       component: () =>
-    import('@/views/Platform/presentation/testa'),
+        import('@/views/Platform/presentation/testa'),
       meta: { title: 'Mock服务' },
       children: [{
         path: 'interface',
@@ -561,7 +560,7 @@ export const constantRoutes = [{
     {
       path: '/online-quality',
       component: () =>
-    import('@/views/Platform/presentation/testa'),
+        import('@/views/Platform/presentation/testa'),
       redirect: '/online-quality/check-list',
       name: '上线质检',
       meta: { title: '上线质检' },
@@ -569,14 +568,14 @@ export const constantRoutes = [{
         path: 'check-list',
         name: '模板管理',
         component: () =>
-            import('@/views/online-quality/CheckConfig/index.vue'),
+          import('@/views/online-quality/CheckConfig/index.vue'),
         meta: { title: '模板管理' }
       },
       {
         path: 'history-task',
         name: '历史任务',
         component: () =>
-            import('@/views/online-quality/HistoryTask/index.vue'),
+          import('@/views/online-quality/HistoryTask/index.vue'),
         meta: { title: '历史任务' }
       },
       {
@@ -585,14 +584,14 @@ export const constantRoutes = [{
         name: '历史任务详情',
         hidden: true,
         component: () =>
-            import('@/views/online-quality/HistoryTask/taskDetails.vue'),
+          import('@/views/online-quality/HistoryTask/taskDetails.vue'),
         meta: { title: '历史任务详情' }
       },
       {
         path: 'block-server',
         name: '阻断服务',
         component: () =>
-            import('@/views/online-quality/BlockServer/index.vue'),
+          import('@/views/online-quality/BlockServer/index.vue'),
         meta: { title: '阻断服务' }
       }
       ]
@@ -653,7 +652,7 @@ export const constantRoutes = [{
       path: 'configure',
       name: '配置',
       component: () =>
-          import('@/views/ToConfigure/configure'),
+        import('@/views/ToConfigure/configure'),
       meta: { title: '配置' }
     }
   ]