From 8b1bb50c8a5b14329253e202f6d4606cfd76598a Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期三, 19 二月 2025 09:54:16 +0800 Subject: [PATCH] 1.原材料下单迁移 2.铜材料下单迁移 --- src/router/index.js | 30 +++++++++++++++++++++++++++++- 1 files changed, 29 insertions(+), 1 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index c157664..cc573ff 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -93,11 +93,30 @@ // 鍔ㄦ�佽矾鐢憋紝鍩轰簬鐢ㄦ埛鏉冮檺鍔ㄦ�佸幓鍔犺浇 export const dynamicRoutes = [ { - path: '/business/rawMaterialInspection', + // 鍘熸潗鏂欎笅鍗� + 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: 'copperOrder', + component: () => import('@/views/business/materialOrder/copperOrder'), + name: 'copperOrder', + meta: { title: '閾滄潗鏂欎笅鍗�', activeMenu: '/business/materialOrder' } + }, + ] }, { + // 鐢ㄦ埛绠$悊 path: '/system/user-auth', component: Layout, hidden: true, @@ -112,6 +131,7 @@ ] }, { + // 瑙掕壊绠$悊 path: '/system/role-auth', component: Layout, hidden: true, @@ -126,6 +146,7 @@ ] }, { + // 鏁版嵁瀛楀吀 path: '/system/dict-data', component: Layout, hidden: true, @@ -140,6 +161,13 @@ ] }, { + // 鏁版嵁瀛楀吀 + path: '/customer', + component: Layout, + hidden: true, + permissions: ['customer:edit'], + }, + { path: '/monitor/job-log', component: Layout, hidden: true, -- Gitblit v1.9.3