From 02add05e1ebab8a98d0e25cf2ae487ab1a4ad360 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期四, 19 十月 2023 16:53:19 +0800
Subject: [PATCH] 1.优化

---
 src/router/index.js |  161 +++++++++++++++++++++++++++++++++++++++--------------
 1 files changed, 117 insertions(+), 44 deletions(-)

diff --git a/src/router/index.js b/src/router/index.js
index 4afd609..f2ff21a 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -167,10 +167,10 @@
         component: () => import('@/views/basicSettings/installLampList'),
         meta: { code: '0109', title: '瀹夌伅璁剧疆', icon: '', keepAlive: true }
       }, {
-        path: 'processSList',
-        name: 'processSListCancel',
+        path: 'processList',
+        name: 'processListCancel',
         code: '0112',
-        component: () => import('@/views/basicSettings/processSList'),
+        component: () => import('@/views/basicSettings/processList'),
         meta: { code: '0112', title: '宸ュ簭璁剧疆', icon: '', keepAlive: true }
       }
 
@@ -279,12 +279,85 @@
   },
 
   {
+    path: '/mouldManager',
+    component: Layout,
+    redirect: '/mouldManager/mouldList',
+    name: '妯″叿绠$悊',
+    code: '09',
+    meta: { code: '09', title: '妯″叿绠$悊', icon: 'mj' },
+    alwaysShow: true,
+    children: [
+      {
+        path: 'mouldList',
+        name: 'mouldListCancel',
+        code: '0901',
+        component: () => import('@/views/mouldManager/mouldList'),
+        meta: { code: '0901', title: '妯″叿娓呭崟', icon: '', keepAlive: true }
+      }, {
+        path: 'mouldCheckPos',
+        name: 'mouldCheckCancel',
+        code: '0902',
+        component: () => import('@/views/mouldManager/mouldCheck'),
+        meta: { code: '0902', title: '妯″叿鐐规椤�', icon: '', keepAlive: true }
+      }, {
+        path: 'mouldCheckStand',
+        name: 'mouldCheckStandCancel',
+        code: '0903',
+        component: () => import('@/views/mouldManager/mouldCheckStand'),
+        meta: { code: '0903', title: '妯″叿鐐规鏍囧噯', icon: '', keepAlive: true }
+      }, {
+        path: 'mouldMaintain',
+        name: 'mouldMaintainCancel',
+        code: '0904',
+        component: () => import('@/views/mouldManager/mouldMaintain'),
+        meta: { code: '0904', title: '妯″叿淇濆吇椤�', icon: '', keepAlive: true }
+      }, {
+        path: 'mouldMaintainStand',
+        name: 'mouldMaintainStandCancel',
+        code: '0905',
+        component: () => import('@/views/mouldManager/mouldMaintainStand'),
+        meta: { code: '0905', title: '妯″叿淇濆吇鏍囧噯', icon: '', keepAlive: true }
+      }, {
+        path: 'mouldCheckRecord',
+        name: 'mouldCheckRecordCancel',
+        code: '0906',
+        component: () => import('@/views/mouldManager/mouldCheckRecord'),
+        meta: { code: '0906', title: '妯″叿鐐规璁板綍', icon: '', keepAlive: true }
+      }, {
+        path: 'mouldMaintainRecord',
+        name: 'mouldMaintainRecordCancel',
+        code: '0907',
+        component: () => import('@/views/mouldManager/mouldMaintainRecord'),
+        meta: { code: '0907', title: '妯″叿淇濆吇璁板綍', icon: '', keepAlive: true }
+      }, {
+        path: 'mouldRepairRecord',
+        name: 'mouldRepairRecordCancel',
+        code: '0908',
+        component: () => import('@/views/mouldManager/mouldRepairRecord'),
+        meta: { code: '0908', title: '妯″叿缁翠慨璁板綍', icon: '', keepAlive: true }
+      }, {
+        path: 'mouldUpDownRecord',
+        name: 'mouldUpDownRecordCancel',
+        code: '0909',
+        component: () => import('@/views/mouldManager/mouldUpDownRecord'),
+        meta: { code: '0909', title: '妯″叿涓婁笅鏈鸿褰�', icon: '', keepAlive: true }
+      }, {
+        path: 'mouldOutInRecord',
+        name: 'mouldOutInRecordCancel',
+        code: '0910',
+        component: () => import('@/views/mouldManager/mouldOutInRecord'),
+        meta: { code: '0910', title: '妯″叿鍑哄叆搴撹褰�', icon: '', keepAlive: true }
+      }
+    ]
+  },
+
+  {
     path: '/qualityManager',
     component: Layout,
     redirect: '/qualityManager/defectDefine',
     name: '璐ㄩ噺绠$悊',
     code: '04',
-    meta: { code: '04', title: '璐ㄩ噺绠$悊', icon: 'quality' },
+    meta: { code: '04', title: '璐ㄩ噺绠$悊', icon: 'zlgl' },
     alwaysShow: true,
     children: [
       {
@@ -340,7 +413,7 @@
       },
       {
         path: 'workOrderList',
-        name: 'workOrderListCancel',
+        name: 'WorkOrderListCancel',
         code: '0502',
         component: () => import('@/views/workOrder/workOrderList'),
         meta: { code: '0502', title: 'MES宸ュ崟', icon: '', keepAlive: true }
@@ -395,44 +468,44 @@
     ]
   },
 
-  // {
-  //   path: '/statistic',
-  //   component: Layout,
-  //   redirect: '/statistic/reportList',
-  //   name: '缁熻鎶ヨ〃',
-  //   code: '1004',
-  //   meta: { code: '1004', title: '缁熻鎶ヨ〃', icon: 'quality' },
-  //   alwaysShow: true, // 褰揷hildren鍙湁涓�涓椂锛屼篃鏄剧ず鐖惰彍鍗�
-  //   children: [
-  //     {
-  //       path: 'reportList',
-  //       name: 'reportListCancel',
-  //       code: '1040',
-  //       component: () => import('@/views/statistic/reportList'),
-  //       meta: { code: '1040', title: '鎶ュ伐璁板綍', icon: '', keepAlive: true }
-  //     },
-  //     {
-  //       path: 'monthReport',
-  //       name: 'monthReportCancel',
-  //       code: '1041',
-  //       component: () => import('@/views/statistic/monthReport'),
-  //       meta: { code: '1041', title: '鏈堝害缁熻', icon: '', keepAlive: true }
-  //     }, {
-  //       path: 'workOrderProcess',
-  //       name: 'workOrderProcessCancel',
-  //       code: '1042',
-  //       component: () => import('@/views/statistic/workOrderProcess'),
-  //       meta: { code: '1042', title: '宸ュ崟杩涘害', icon: '', keepAlive: true }
-  //     }, {
-  //       path: 'inProcessList',
-  //       name: 'inProcessListCancel',
-  //       code: '1043',
-  //       component: () => import('@/views/statistic/inProcessList'),
-  //       meta: { code: '1043', title: '鍦ㄥ埗鍒楄〃', icon: '', keepAlive: true }
-  //     }
-  //
-  //   ]
-  // },
+  {
+    path: '/statistic',
+    component: Layout,
+    redirect: '/statistic/reportList',
+    name: '缁熻鎶ヨ〃',
+    code: '07',
+    meta: { code: '0701', title: '缁熻鎶ヨ〃', icon: 'quality' },
+    alwaysShow: true, // 褰揷hildren鍙湁涓�涓椂锛屼篃鏄剧ず鐖惰彍鍗�
+    children: [
+      {
+        path: 'reportList',
+        name: 'reportListCancel',
+        code: '1040',
+        component: () => import('@/views/statistic/reportList'),
+        meta: { code: '1040', title: '鎶ュ伐璁板綍', icon: '', keepAlive: true }
+      },
+      {
+        path: 'monthReport',
+        name: 'monthReportCancel',
+        code: '1041',
+        component: () => import('@/views/statistic/monthReport'),
+        meta: { code: '1041', title: '鏈堝害缁熻', icon: '', keepAlive: true }
+      }, {
+        path: 'workOrderProcess',
+        name: 'workOrderProcessCancel',
+        code: '0701',
+        component: () => import('@/views/statistic/workOrderProcess'),
+        meta: { code: '0701', title: '鐢熶骇杩涘害', icon: '', keepAlive: true }
+      }, {
+        path: 'inProcessList',
+        name: 'inProcessListCancel',
+        code: '1043',
+        component: () => import('@/views/statistic/inProcessList'),
+        meta: { code: '1043', title: '鍦ㄥ埗鍒楄〃', icon: '', keepAlive: true }
+      }
+
+    ]
+  },
 
   {
     path: '/systemSetting',
@@ -459,7 +532,7 @@
       },
       {
         path: 'dataImport',
-        name: 'dataImport',
+        name: 'DataImport',
         code: '0803',
         component: () => import('@/views/systemSetting/dataImport'),
         meta: { code: '0803', title: '鏁版嵁瀵煎叆', icon: '', keepAlive: true }

--
Gitblit v1.9.3