From 0c7b408ead819f4fcc32971dff24514de2ab0e30 Mon Sep 17 00:00:00 2001
From: gaoluyang <gaoluyang@rengu.cc>
Date: 星期三, 12 二月 2025 15:38:29 +0800
Subject: [PATCH] 迁移客户管理、整理样式修改
---
src/router/index.js | 64 +++++++++++++++++++-------------
1 files changed, 38 insertions(+), 26 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index ff5cbc1..879e2db 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -94,25 +94,28 @@
export const dynamicRoutes = [
{
// 鍘熸潗鏂欐姤妫�
- path: '/business/rawMaterialInspection',
- component: Layout,
- },
- {
- // 鍘熸潗鏂欐楠屼笅鍗�
- path: '/business/materialOrder',
+ path: '/rawMaterialInspection',
component: Layout,
hidden: true,
+ },
+ {
+ // 鍘熸潗鏂欎笅鍗�
+ 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,32 +130,41 @@
]
},
{
+ // 瑙掕壊绠$悊
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: '/customer',
+ component: Layout,
+ hidden: true,
+ permissions: ['customer:edit'],
},
{
path: '/monitor/job-log',
--
Gitblit v1.9.3