From 79c983e7fa924e43f9f2a2a11b6f69c546f051a6 Mon Sep 17 00:00:00 2001 From: chenrui <1187576398@qq.com> Date: 星期四, 10 四月 2025 13:06:50 +0800 Subject: [PATCH] 不合格复测 --- src/router/index.js | 66 +++++++++++++++++++++++++++++--- 1 files changed, 59 insertions(+), 7 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index e2b4cf6..a7cda42 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -105,22 +105,22 @@ // 鍔ㄦ�佽矾鐢憋紝鍩轰簬鐢ㄦ埛鏉冮檺鍔ㄦ�佸幓鍔犺浇 export const dynamicRoutes = [ { - // 鍘熸潗鏂欎笅鍗� + // 鍘熻緟鏉愪笅鍗� path: "/materialOrder", component: Layout, hidden: true, permissions: ["business:order"], children: [ { - // 鍘熸潗鏂欎笅鍗� + // 鍘熻緟鏉愪笅鍗� path: "customsInspection", component: () => import("@/views/business/materialOrder/customsInspection"), name: "CustomsInspection", meta: { - title: "鍘熸潗鏂欎笅鍗曡鎯�", + title: "鍘熻緟鏉愪笅鍗曡鎯�", activeMenu: "/business/materialOrder", - keepAlive: true + keepAlive: true, }, }, { @@ -128,7 +128,11 @@ path: "copperOrder", component: () => import("@/views/business/materialOrder/copperOrder"), name: "CopperOrder", - meta: { title: "閾滄潗鏂欎笅鍗�", activeMenu: "/business/materialOrder",keepAlive: true }, + meta: { + title: "閾滄潗鏂欎笅鍗�", + activeMenu: "/business/materialOrder", + keepAlive: true, + }, }, ], }, @@ -145,7 +149,11 @@ component: () => import("@/views/business/productOrder/components/add.vue"), name: "Add", - meta: { title: "鎴愬搧涓嬪崟璇︽儏", activeMenu: "/business/productOrder",keepAlive: true }, + meta: { + title: "鎴愬搧涓嬪崟璇︽儏", + activeMenu: "/business/productOrder", + keepAlive: true, + }, }, ], }, @@ -161,7 +169,51 @@ path: "inspection", component: () => import("@/views/business/inspectionTask/inspection"), name: "inspection", - meta: { title: "妫�楠屽崟璇︽儏", activeMenu: "/business/inspectionTask", keepAlive: false }, + meta: { + title: "妫�楠屽崟璇︽儏", + activeMenu: "/business/inspectionTask", + keepAlive: false, + }, + }, + ], + }, + { + // 鍙潬鎬ц鍒� + path: "/reliabilityPlan", + component: Layout, + hidden: true, + permissions: ["business:reliabilityPlan"], + children: [ + { + // 璁″垝璇︽儏 + path: "plan", + component: () => import("@/views/business/reliabilityPlan/plan"), + name: "plan", + meta: { + title: "璁″垝璇︽儏", + activeMenu: "/business/reliabilityPlan", + keepAlive: true, + }, + }, + ], + }, + { + // 鏍囧噯搴撳彉鏇� + path: "/audit", + component: Layout, + hidden: true, + permissions: ["standard:audit"], + children: [ + { + // 鍙樻洿璇︽儏 + path: "auditDetail", + component: () => import("@/views/standard/standardLibrary/index"), + name: "auditDetail", + meta: { + title: "鏍囧噯搴撳彉鏇磋鎯�", + activeMenu: "/standard/audit", + keepAlive: true, + }, }, ], }, -- Gitblit v1.9.3