From 7f9514f20911fbb8046ca03716c2bc9304ec2fa0 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 18 二月 2025 17:43:44 +0800
Subject: [PATCH] 1.原材料报检迁移 2.原材料下单迁移 3.同材料下单迁移
---
src/router/index.js | 49 +++++++++++++++++++++++++------------------------
1 files changed, 25 insertions(+), 24 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index 879e2db..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,14 @@
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' }
+ }
+ ]
},
{
// 鏁版嵁瀛楀吀
--
Gitblit v1.9.3