Bladeren bron

更新 路由

王智慧 3 jaren geleden
bovenliggende
commit
b6031e799f
2 gewijzigde bestanden met toevoegingen van 13 en 4 verwijderingen
  1. 1 1
      src/layout/Aside.vue
  2. 12 3
      src/router/index.js

+ 1 - 1
src/layout/Aside.vue

@@ -93,7 +93,7 @@ let menu = [
         name: "安检审核列表",
       },
       {
-        path: "/shipSecurityManage/shipCheckHistory",
+        path: "/shipSecurityManage/shipCheckHistoryList",
         name: "历史安检列表",
       },
     ],

+ 12 - 3
src/router/index.js

@@ -136,13 +136,22 @@ const router = createRouter({
         import("../views/shipSecurityManage/checkShipExamine.vue"),
     },
     {
-      path: "/shipSecurityManage/shipCheckHistory",
-      name: "shipCheckHistory",
+      path: "/shipSecurityManage/checkSingleShip",
+      name: "checkSingleShip",
+      meta: {
+        title: "发起船舶安检审核",
+      },
+      component: () =>
+        import("../views/shipSecurityManage/checkSingleShip.vue"),
+    },
+    {
+      path: "/shipSecurityManage/shipCheckHistoryList",
+      name: "shipCheckHistoryList",
       meta: {
         title: "历史船舶安检",
       },
       component: () =>
-        import("../views/shipSecurityManage/shipCheckHistory.vue"),
+        import("../views/shipSecurityManage/shipCheckHistoryList.vue"),
     },
   ],
 });