소스 검색

Merge branch 'master' of http://120.26.64.82:3000/BFFE/SZYGM1.0

zhongxiaoyu 2 년 전
부모
커밋
ef7e2d07fc
2개의 변경된 파일10개의 추가작업 그리고 8개의 파일을 삭제
  1. 9 7
      src/router/routes/routes-file-three.ts
  2. 1 1
      src/views/BasicsData/modelMaintenance/index.vue

+ 9 - 7
src/router/routes/routes-file-three.ts

@@ -53,13 +53,15 @@ const HomeRoutes = {
       name: "ModelMaintenance",
       meta: { title: "机型维护", elSvgIcon: "Fold", icon: "table" },
       component: () => import("@/views/BasicsData/modelMaintenance/index.vue"),
-    },
-    {
-      path: "/BasicsData/shippingSpace",
-      name: "ShippingSpace",
-      hidden: true,
-      meta: { title: "舱位管理", elSvgIcon: "Fold", icon: "table" },
-      component: () => import("@/views/BasicsData/shippingSpace/index.vue"),
+      children: [
+        {
+          path: "/BasicsData/modelMaintenance/shippingSpace",
+          name: "ShippingSpace",
+          hidden: true,
+          meta: { title: "舱位管理", elSvgIcon: "Fold", icon: "table" },
+          component: () => import("@/views/BasicsData/shippingSpace/index.vue"),
+        },
+      ],
     },
     {
       path: "/BasicsData/containerMaintenance",

+ 1 - 1
src/views/BasicsData/modelMaintenance/index.vue

@@ -178,7 +178,7 @@ const btnClick = (row, index, param) => {
     tableForm.modelDesc = index.modelDesc;
   } else if (param === 4) {
     router.push({
-      path: "/BasicsData/shippingSpace",
+      path: "/BasicsData/modelMaintenance/shippingSpace",
       query: {
         modelID: index.modelID,
       },