From c7566bba45e6f90594d36ec4b80ac4ff89f577ee Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 08 十月 2026 14:19:36 +0800
Subject: [PATCH] 项目重构

---
 src/router/index.js |  140 ++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 140 insertions(+), 0 deletions(-)

diff --git a/src/router/index.js b/src/router/index.js
index 658a05d..f3e4266 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -95,6 +95,146 @@
 // 鍔ㄦ�佽矾鐢憋紝鍩轰簬鐢ㄦ埛鏉冮檺鍔ㄦ�佸幓鍔犺浇
 export const dynamicRoutes = [
   {
+    // 鍘熸潗鏂欎笅鍗�
+    path: '/materialOrder',
+    component: Layout,
+    hidden: true,
+    permissions: ['business:order'],
+    children: [
+      {
+        // 鍘熸潗鏂欎笅鍗�-杩涜涓嬪崟
+        path: 'customsInspectionOrder',
+        component: () => import('@/views/business/materialOrder/customsInspectionOrder'),
+        name: 'CustomsInspectionOrder',
+        meta: { title: '杩涜鍘熸潗鏂欎笅鍗�', activeMenu: '/business/materialOrder', keepAlive: true }
+      },
+      {
+        // 鍘熸潗鏂欎笅鍗�-鏌ョ湅璇︽儏
+        path: 'customsInspectionView',
+        component: () => import('@/views/business/materialOrder/customsInspectionView'),
+        name: 'CustomsInspectionView',
+        meta: { title: '鏌ョ湅鍘熸潗鏂欎笅鍗曡鎯�', activeMenu: '/business/materialOrder', keepAlive: true }
+      },
+      {
+        // 閾滄潗鏂欎笅鍗�
+        path: 'copperOrder',
+        component: () => import('@/views/business/materialOrder/copperOrder'),
+        name: 'CopperOrder',
+        meta: { title: '杩涜閾滄潗鏂欎笅鍗�', activeMenu: '/business/materialOrder', keepAlive: true }
+      },
+      {
+        // 閾滄潗鏂欎笅鍗�-鏌ョ湅璇︽儏
+        path: 'copperView',
+        component: () => import('@/views/business/materialOrder/copperView'),
+        name: 'CopperView',
+        meta: { title: '鏌ョ湅閾滄潗鏂欎笅鍗曡鎯�', activeMenu: '/business/materialOrder', keepAlive: true }
+      }
+    ]
+  },
+  {
+    // 鎴愬搧涓嬪崟
+    path: '/productOrder',
+    component: Layout,
+    hidden: true,
+    permissions: ['business:productOrder'],
+    children: [
+      {
+        // 鏌ョ湅鎴愬搧涓嬪崟璇︽儏
+        path: 'addView',
+        component: () => import('@/views/business/productOrder/components/addView.vue'),
+        name: 'AddView',
+        meta: { title: '鏌ョ湅鎴愬搧涓嬪崟璇︽儏', activeMenu: '/business/productOrder', keepAlive: true }
+      },
+      {
+        path: 'inspectionView',
+        component: () => import('@/views/business/inspectionView/index.vue'),
+        name: 'ProductOrderInspectionView',
+        meta: { title: '鍘熷璁板綍', activeMenu: '/business/productOrder', keepAlive: false }
+      },
+      {
+        // 杩涜涓嬪崟-鎴愬搧涓嬪崟
+        path: 'addOrder',
+        component: () => import('@/views/business/productOrder/components/addOrder.vue'),
+        name: 'AddOrder',
+        meta: { title: '杩涜鎴愬搧涓嬪崟', activeMenu: '/business/productOrder', keepAlive: true }
+      },
+      {
+        // 澶栬喘涓嬪崟-杩涜澶栬喘涓嬪崟
+        path: 'customsInspectionOrder',
+        component: () => import('@/views/business/productOrder/components/addOrder.vue'),
+        name: 'ProductOrderCustomsInspectionOrder',
+        meta: { title: '杩涜澶栬喘鎴愬搧涓嬪崟', activeMenu: '/business/outsourcingFinishProduct', keepAlive: true }
+      }
+    ]
+  },
+  {
+    // 澶栬喘鎴愬搧涓嬪崟
+    path: '/outsourcingFinishProduct',
+    component: Layout,
+    hidden: true,
+    permissions: ['business:outsourcingFinishProduct'],
+    children: [
+      {
+        // 鏌ョ湅鎴愬搧涓嬪崟璇︽儏
+        path: 'addView',
+        component: () => import('@/views/business/productOrder/components/addView.vue'),
+        name: 'OutsourcingAddView',
+        meta: { title: '鏌ョ湅鎴愬搧涓嬪崟璇︽儏', activeMenu: '/business/outsourcingFinishProduct', keepAlive: true }
+      },
+      {
+        // 杩涜涓嬪崟-鎴愬搧涓嬪崟
+        path: 'addOrder',
+        component: () => import('@/views/business/productOrder/components/addOrder.vue'),
+        name: 'OutsourcingAddOrder',
+        meta: { title: '杩涜鎴愬搧涓嬪崟', activeMenu: '/business/outsourcingFinishProduct', keepAlive: true }
+      },
+      {
+        // 澶栬喘涓嬪崟-杩涜澶栬喘涓嬪崟
+        path: 'customsInspectionOrder',
+        component: () => import('@/views/business/materialOrder/customsInspectionOrder'),
+        name: 'OutsourcingCustomsInspectionOrder',
+        meta: { title: '杩涜澶栬喘鎴愬搧涓嬪崟', activeMenu: '/business/outsourcingFinishProduct', keepAlive: true }
+      }
+    ]
+  },
+  {
+    // 妫�楠屼换鍔�
+    path: '/inspectionTask',
+    component: Layout,
+    hidden: true,
+    permissions: ['business:inspection'],
+    children: [
+      {
+        // 妫�楠屽崟璇︽儏
+        path: 'inspection',
+        component: () => import('@/views/business/inspectionTask/inspection'),
+        name: 'inspection',
+        meta: { title: '妫�楠屽崟璇︽儏', activeMenu: '/business/inspectionTask', keepAlive: false }
+      }
+    ]
+  },
+  {
+    // 鍘熷璁板綍
+    path: '/inspectionView',
+    component: Layout,
+    hidden: true,
+    permissions: ['business:inspectionView'],
+    children: [
+      {
+        path: 'index',
+        component: () => import('@/views/business/inspectionView/index'),
+        name: 'InspectionView',
+        meta: { title: '鍘熷璁板綍', activeMenu: '/business/inspectionTask', keepAlive: false }
+      }
+    ]
+  },
+  {
+    path: '/customer',
+    component: Layout,
+    hidden: true,
+    permissions: ['customer:edit']
+  },
+  {
     path: '/system/user-auth',
     component: Layout,
     hidden: true,

--
Gitblit v1.9.3