From f74ede07f8e84b3a8ab18f8c5e82bb542e233c45 Mon Sep 17 00:00:00 2001 From: gaoluyang <gaoluyang@rengu.cc> Date: 星期三, 12 二月 2025 15:11:18 +0800 Subject: [PATCH] 基础配置修改 --- src/router/index.js | 57 +++++++++++++++++++++++++++++++++++++++++---------------- 1 files changed, 41 insertions(+), 16 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 71907b6..cc05e07 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,32 +130,34 @@ ] }, { + // 瑙掕壊绠$悊 path: '/system/role-auth', component: Layout, hidden: true, permissions: ['system:role:edit'], - children: [ - { - path: 'user/:roleId(\\d+)', - component: () => import('@/views/system/role/authUser'), - name: 'AuthUser', - meta: { title: '鍒嗛厤鐢ㄦ埛', activeMenu: '/system/role' } - } - ] + // children: [ + // { + // path: 'user/:roleId(\\d+)', + // component: () => import('@/views/system/role/authUser'), + // name: 'AuthUser', + // meta: { title: '鍒嗛厤鐢ㄦ埛', activeMenu: '/system/role' } + // } + // ] }, { + // 鏁版嵁瀛楀吀 path: '/system/dict-data', component: Layout, hidden: true, permissions: ['system:dict:list'], - children: [ - { - path: 'index/:dictId(\\d+)', - component: () => import('@/views/system/dict/data'), - name: 'Data', - meta: { title: '瀛楀吀鏁版嵁', activeMenu: '/system/dict' } - } - ] + // children: [ + // { + // path: 'index/:dictId(\\d+)', + // component: () => import('@/views/system/dict/data'), + // name: 'Data', + // meta: { title: '瀛楀吀鏁版嵁', activeMenu: '/system/dict' } + // } + // ] }, { path: '/monitor/job-log', -- Gitblit v1.9.3