From 0616d879e466ca4ae7d87206a2216bdff40a8710 Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期四, 13 二月 2025 10:47:00 +0800 Subject: [PATCH] 封装table --- src/router/index.js | 32 ++++++++++++++++++++++++++++++++ 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 71907b6..5b337ae 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -93,6 +93,29 @@ // 鍔ㄦ�佽矾鐢憋紝鍩轰簬鐢ㄦ埛鏉冮檺鍔ㄦ�佸幓鍔犺浇 export const dynamicRoutes = [ { + // 鍘熸潗鏂欐姤妫� + 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, @@ -107,6 +130,7 @@ ] }, { + // 瑙掕壊绠$悊 path: '/system/role-auth', component: Layout, hidden: true, @@ -121,6 +145,7 @@ ] }, { + // 鏁版嵁瀛楀吀 path: '/system/dict-data', component: Layout, hidden: true, @@ -135,6 +160,13 @@ ] }, { + // 鏁版嵁瀛楀吀 + path: '/customer', + component: Layout, + hidden: true, + permissions: ['customer:edit'], + }, + { path: '/monitor/job-log', component: Layout, hidden: true, -- Gitblit v1.9.3