From 8d81c0fd140addfa641a1e70532fb8b6447a3174 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 13 二月 2025 13:07:11 +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