From 8b1bb50c8a5b14329253e202f6d4606cfd76598a Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 19 二月 2025 09:54:16 +0800
Subject: [PATCH] 1.原材料下单迁移 2.铜材料下单迁移
---
src/router/index.js | 56 ++++++++++++++++++++++++++++++++------------------------
1 files changed, 32 insertions(+), 24 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index cc05e07..cc573ff 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -93,12 +93,6 @@
// 鍔ㄦ�佽矾鐢憋紝鍩轰簬鐢ㄦ埛鏉冮檺鍔ㄦ�佸幓鍔犺浇
export const dynamicRoutes = [
{
- // 鍘熸潗鏂欐姤妫�
- path: '/rawMaterialInspection',
- component: Layout,
- hidden: true,
- },
- {
// 鍘熸潗鏂欎笅鍗�
path: '/materialOrder',
component: Layout,
@@ -106,12 +100,19 @@
permissions: ['business:order'],
children: [
{
- // 閾滄潗鏂欎笅鍗�
+ // 鍘熸潗鏂欎笅鍗�
path: 'customsInspection',
component: () => import('@/views/business/materialOrder/customsInspection'),
name: 'customsInspection',
+ meta: { title: '鍘熸潗鏂欎笅鍗曡鎯�', activeMenu: '/business/materialOrder' }
+ },
+ {
+ // 閾滄潗鏂欎笅鍗�
+ path: 'copperOrder',
+ component: () => import('@/views/business/materialOrder/copperOrder'),
+ name: 'copperOrder',
meta: { title: '閾滄潗鏂欎笅鍗�', activeMenu: '/business/materialOrder' }
- }
+ },
]
},
{
@@ -135,14 +136,14 @@
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' }
+ }
+ ]
},
{
// 鏁版嵁瀛楀吀
@@ -150,14 +151,21 @@
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