zhaoyun 6 months ago
parent
commit
ee195649ca
1 changed files with 50 additions and 50 deletions
  1. 50 50
      src/router/index.js

+ 50 - 50
src/router/index.js

@@ -128,56 +128,56 @@ export const constantRoutes = [
       },
     ],
   },
-  {
-    path: "/secure",
-    name: "secure",
-    hidden: true,
-    component: Layout,
-    children: [
-      {
-        path: "/secure/daily-newspaper",
-        component: () => import("@/views/secure/daily-newspaper/index"),
-        name: "daily-newspaper",
-        meta: { title: "日报" },
-      },
-      {
-        path: "/secure/weekly-report",
-        component: () => import("@/views/secure/weekly-report/index"),
-        name: "weekly-report",
-        meta: { title: "周报" },
-      },
-      {
-        path: "/secure/reason-for-cancellation",
-        component: () => import("@/views/secure/reason-for-cancellation/index"),
-        name: "reason-for-cancellation",
-        meta: { title: "作业计划取消原因" },
-      },
-      {
-        path: "/secure/reason-for-the-plan",
-        component: () => import("@/views/secure/reason-for-the-plan/index"),
-        name: "reason-for-the-plan",
-        meta: { title: "临时计划原因" },
-      },
-      {
-        path: "/secure/abnormal-data",
-        component: () => import("@/views/secure/abnormal-data/index"),
-        name: "abnormal-data",
-        meta: { title: "作业信息异常数据" },
-      },
-      {
-        path: "/secure/risk-identification",
-        component: () => import("@/views/secure/risk-identification/index"),
-        name: "risk-identification",
-        meta: { title: "风险辨识" },
-      },
-      {
-        path: "/secure/points-ranking",
-        component: () => import("@/views/secure/points-ranking/index"),
-        name: "points-ranking",
-        meta: { title: "积分排行榜" },
-      },
-    ],
-  },
+  // {
+  //   path: "/secure",
+  //   name: "secure",
+  //   hidden: true,
+  //   component: Layout,
+  //   children: [
+  //     {
+  //       path: "/secure/daily-newspaper",
+  //       component: () => import("@/views/secure/daily-newspaper/index"),
+  //       name: "daily-newspaper",
+  //       meta: { title: "日报" },
+  //     },
+  //     {
+  //       path: "/secure/weekly-report",
+  //       component: () => import("@/views/secure/weekly-report/index"),
+  //       name: "weekly-report",
+  //       meta: { title: "周报" },
+  //     },
+  //     {
+  //       path: "/secure/reason-for-cancellation",
+  //       component: () => import("@/views/secure/reason-for-cancellation/index"),
+  //       name: "reason-for-cancellation",
+  //       meta: { title: "作业计划取消原因" },
+  //     },
+  //     {
+  //       path: "/secure/reason-for-the-plan",
+  //       component: () => import("@/views/secure/reason-for-the-plan/index"),
+  //       name: "reason-for-the-plan",
+  //       meta: { title: "临时计划原因" },
+  //     },
+  //     {
+  //       path: "/secure/abnormal-data",
+  //       component: () => import("@/views/secure/abnormal-data/index"),
+  //       name: "abnormal-data",
+  //       meta: { title: "作业信息异常数据" },
+  //     },
+  //     {
+  //       path: "/secure/risk-identification",
+  //       component: () => import("@/views/secure/risk-identification/index"),
+  //       name: "risk-identification",
+  //       meta: { title: "风险辨识" },
+  //     },
+  //     {
+  //       path: "/secure/points-ranking",
+  //       component: () => import("@/views/secure/points-ranking/index"),
+  //       name: "points-ranking",
+  //       meta: { title: "积分排行榜" },
+  //     },
+  //   ],
+  // },
 ];
 
 // 动态路由,基于用户权限动态去加载