From 6816f512f5f7ff04715eca870aa6bb2b3c7c3f3a Mon Sep 17 00:00:00 2001 From: gaoluyang <gaoluyang@rengu.cc> Date: 星期三, 12 二月 2025 17:14:06 +0800 Subject: [PATCH] 路由修改 --- src/router/index.js | 29 ++++++++++++++++++++++++++++- 1 files changed, 28 insertions(+), 1 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index c157664..5b337ae 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -93,11 +93,29 @@ // 鍔ㄦ�佽矾鐢憋紝鍩轰簬鐢ㄦ埛鏉冮檺鍔ㄦ�佸幓鍔犺浇 export const dynamicRoutes = [ { - path: '/business/rawMaterialInspection', + // 鍘熸潗鏂欐姤妫� + path: '/rawMaterialInspection', component: Layout, hidden: true, }, { + // 鍘熸潗鏂欎笅鍗� + path: '/materialOrder', + component: Layout, + hidden: true, + permissions: ['business:order'], + children: [ + { + // 閾滄潗鏂欎笅鍗� + path: 'customsInspection', + component: () => import('@/views/business/materialOrder/customsInspection'), + name: 'customsInspection', + meta: { title: '閾滄潗鏂欎笅鍗�', activeMenu: '/business/materialOrder' } + } + ] + }, + { + // 鐢ㄦ埛绠$悊 path: '/system/user-auth', component: Layout, hidden: true, @@ -112,6 +130,7 @@ ] }, { + // 瑙掕壊绠$悊 path: '/system/role-auth', component: Layout, hidden: true, @@ -126,6 +145,7 @@ ] }, { + // 鏁版嵁瀛楀吀 path: '/system/dict-data', component: Layout, hidden: true, @@ -140,6 +160,13 @@ ] }, { + // 鏁版嵁瀛楀吀 + path: '/customer', + component: Layout, + hidden: true, + permissions: ['customer:edit'], + }, + { path: '/monitor/job-log', component: Layout, hidden: true, -- Gitblit v1.9.3