From b25e5611ece8d25a6605a1ec66916db0942a5ed5 Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期一, 17 二月 2025 14:45:24 +0800 Subject: [PATCH] 完成标准库联调 --- src/router/index.js | 28 +++++++++++++++++----------- 1 files changed, 17 insertions(+), 11 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index ff5cbc1..91a52f6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -93,26 +93,23 @@ // 鍔ㄦ�佽矾鐢憋紝鍩轰簬鐢ㄦ埛鏉冮檺鍔ㄦ�佸幓鍔犺浇 export const dynamicRoutes = [ { - // 鍘熸潗鏂欐姤妫� - path: '/business/rawMaterialInspection', - component: Layout, - }, - { - // 鍘熸潗鏂欐楠屼笅鍗� - path: '/business/materialOrder', + // 鍘熸潗鏂欎笅鍗� + path: '/materialOrder', component: Layout, hidden: true, + permissions: ['business:order'], children: [ { - // 閾滃崟涓濅笅鍗� - path: '/customsInspection', + // 閾滄潗鏂欎笅鍗� + path: 'customsInspection', component: () => import('@/views/business/materialOrder/customsInspection'), - name: '閾滃崟涓濅笅鍗�', - meta: { title: '閾滃崟涓濅笅鍗�', activeMenu: '/business/materialOrder' } + name: 'customsInspection', + meta: { title: '閾滄潗鏂欎笅鍗�', activeMenu: '/business/materialOrder' } } ] }, { + // 鐢ㄦ埛绠$悊 path: '/system/user-auth', component: Layout, hidden: true, @@ -127,6 +124,7 @@ ] }, { + // 瑙掕壊绠$悊 path: '/system/role-auth', component: Layout, hidden: true, @@ -141,6 +139,7 @@ ] }, { + // 鏁版嵁瀛楀吀 path: '/system/dict-data', component: Layout, hidden: true, @@ -155,6 +154,13 @@ ] }, { + // 鏁版嵁瀛楀吀 + path: '/customer', + component: Layout, + hidden: true, + permissions: ['customer:edit'], + }, + { path: '/monitor/job-log', component: Layout, hidden: true, -- Gitblit v1.9.3