From a93255e0a0334b51ecbaf3d8f496ad0fae1ed747 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期三, 07 六月 2023 10:38:00 +0800
Subject: [PATCH] 1.生产入库有源单提交测试OK

---
 src/router/index.js | 1350 ++++++++++++++++++++++++++++------------------------------
 1 files changed, 653 insertions(+), 697 deletions(-)

diff --git a/src/router/index.js b/src/router/index.js
index c22afd6..60e4598 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -30,6 +30,7 @@
  * a base page that does not have permission requirements
  * all roles can be accessed
  */
+// 鍏敤妯″潡
 export const commonRoutes = [
   /*
   * 鐪嬫澘閮ㄥ垎璺敱
@@ -83,6 +84,637 @@
   }
   // { path: '*', redirect: '/404', hidden: true }
 ]
+// 涓婁簯妯″潡
+export const asyncRoutesCloud = [
+  // 1.绯荤粺绠$悊锛堝熀纭�璁剧疆绫伙級
+  {
+    path: '/systemSetting',
+    component: Layout,
+    redirect: '/systemSetting/organizationList',
+    name: '绯荤粺绠$悊',
+    code: '2001',
+    meta: { code: '2001', title: '绯荤粺绠$悊', icon: 'xtsz' },
+    alwaysShow: true, // 褰揷hildren鍙湁涓�涓椂锛屼篃鏄剧ず鐖惰彍鍗�
+    children: [
+      {
+        path: 'organizationList',
+        name: 'organizationListCancel',
+        code: '1010',
+        component: () => import('@/views/basicSettings/organizationList'),
+        meta: { code: '1010', title: '缁勭粐鏋舵瀯', icon: '', keepAlive: true }
+      }, {
+        path: 'roleList',
+        name: 'roleListCancel',
+        code: '1012',
+        component: () => import('@/views/basicSettings/roleList'),
+        meta: { code: '1012', title: '瑙掕壊娓呭崟', icon: '', keepAlive: true }
+      },
+      {
+        path: 'installationLampSetting',
+        name: 'installationLampSettingCancel',
+        code: '1014',
+        component: () => import('@/views/basicSettings/installationLampSetting'),
+        meta: { code: '1014', title: '瀹夌伅璁剧疆', icon: '', keepAlive: true }
+      }
+    ]
+  },
+  // 2.瀹㈡埛绠$悊
+  {
+    path: '/basicSettings',
+    component: Layout,
+    redirect: '/basicSettings/userList',
+    name: '瀹㈡埛绠$悊',
+    code: '2002',
+    meta: { code: '2002', title: '瀹㈡埛绠$悊', icon: 'khgl' },
+    alwaysShow: true, // 褰揷hildren鍙湁涓�涓椂锛屼篃鏄剧ず鐖惰彍鍗�
+    children: [
+      {
+        path: 'userList',
+        name: 'userListCancel',
+        code: '1011',
+        component: () => import('@/views/basicSettings/userList'),
+        meta: { code: '1011', title: '鐢ㄦ埛娓呭崟', icon: '', keepAlive: true }
+      }, {
+        path: 'contactUnitList',
+        name: 'contactUnitListCancel',
+        code: '1013',
+        component: () => import('@/views/basicSettings/contactUnitList'),
+        meta: { code: '1013', title: '寰�鏉ュ崟浣�', icon: '', keepAlive: true }
+      }
+    ]
+  },
+  // 3.鏁版嵁閲囬泦绠$悊   sop涓婁紶 鐏电繑椤圭洰鐨勭湅涓�
+
+  // 4.璁㈠崟绠$悊
+  {
+    path: '/orderManager',
+    component: Layout,
+    redirect: '/orderManager/erpProduceOrder',
+    name: '璁㈠崟绠$悊',
+    code: '2004',
+    meta: { code: '2004', title: '璁㈠崟绠$悊', icon: 'production' },
+    alwaysShow: true,
+    children: [
+      {
+        path: 'erpProduceOrder',
+        name: 'produceOrderCancel',
+        code: '1070',
+        component: () => import('@/views/produceManager/produceOrder'),
+        meta: { code: '1070', title: '鐢熶骇璁㈠崟', icon: '', keepAlive: true }
+      }
+    ]
+  },
+
+  // 5.鐗╂枡璁″垝绠$悊
+  {
+    path: '/materialPlanManager',
+    component: Layout,
+    redirect: '/materialPlanManager/materialList',
+    name: '鐗╂枡璁″垝绠$悊',
+    code: '2005',
+    meta: { code: '2005', title: '鐗╂枡璁″垝绠$悊', icon: 'icu' },
+    alwaysShow: true,
+    children: [
+      {
+        path: 'materialList',
+        name: 'materialListCancel',
+        code: '1062',
+        component: () => import('@/views/makeModel/materialList'),
+        meta: { code: '1062', title: '鐗╂枡娓呭崟', icon: '', keepAlive: true }
+      }
+    ]
+  },
+
+  // 6.璐ㄩ噺绠$悊
+  {
+    path: '/qualityManager',
+    component: Layout,
+    redirect: '/qualityManager/defectDefine',
+    name: '璐ㄩ噺绠$悊',
+    code: '2006',
+    meta: { code: '2006', title: '璐ㄩ噺绠$悊', icon: 'quality' },
+    alwaysShow: true,
+    children: [
+      {
+        path: 'defectDefine',
+        name: 'defectDefineCancel',
+        code: '1081',
+        component: () => import('@/views/qualityManager/defectDefine'),
+        meta: { code: '1081', title: '缂洪櫡瀹氫箟', icon: '', keepAlive: true }
+      },
+      {
+        path: 'qualityPlaning',
+        name: 'ZJFACancel',
+        code: '1088',
+        component: () => import('@/views/qualityManager/qualityPlaning'),
+        meta: { code: '1088', title: '璐ㄦ鏂规', icon: '', keepAlive: true }
+      }
+    ]
+  },
+
+  // 7.宸ュ簭绠$悊
+  {
+    path: '/processManager',
+    component: Layout,
+    redirect: '/processManager/processCheck',
+    name: '宸ュ簭绠$悊',
+    code: '2007',
+    meta: { code: '2007', title: '宸ュ簭绠$悊', icon: 'gxgl' },
+    alwaysShow: true,
+    children: [
+      {
+        path: 'processCheck',
+        name: 'processCheckCancel',
+        code: '1082',
+        component: () => import('@/views/qualityManager/processCheck'),
+        meta: { code: '1082', title: '宸ュ簭妫�楠�', icon: '', keepAlive: true }
+      },
+      {
+        path: 'processCheckStandard',
+        name: 'processCheckStandardCancel',
+        code: '1085',
+        component: () => import('@/views/qualityManager/processCheckStandard'),
+        meta: { code: '1085', title: '宸ュ簭妫�楠屾爣鍑�', icon: '', keepAlive: true }
+      },
+      {
+        path: 'processCheckItem',
+        name: 'processCheckItemCancel',
+        code: '1086',
+        component: () => import('@/views/qualityManager/processCheckItem'),
+        meta: { code: '1086', title: '宸ュ簭妫�楠岄」鐩�', icon: '', keepAlive: true }
+      },
+      {
+        path: 'processCheckRecord',
+        name: 'processCheckRecordCancel',
+        code: '1087',
+        component: () => import('@/views/qualityManager/processCheckRecord'),
+        meta: { code: '1087', title: '宸ュ簭妫�楠岃褰�', icon: '', keepAlive: true }
+      }
+    ]
+  },
+
+  // 8.浜哄姏璧勬簮绠$悊
+  {
+    path: '/resourcesManager',
+    component: Layout,
+    redirect: '/resourcesManager/groupSalaryList',
+    name: '浜哄姏璧勬簮绠$悊',
+    code: '2008',
+    meta: { code: '1008', title: '浜哄姏璧勬簮绠$悊', icon: 'rlzy' },
+    alwaysShow: true,
+    children: [
+      {
+        path: 'groupSalaryList',
+        name: 'groupSalaryListCancel',
+        code: '1090',
+        component: () => import('@/views/reportManager/groupSalaryList'),
+        meta: { code: '1090', title: '鐝粍宸ヨ祫缁熻鎶ヨ〃', icon: '', keepAlive: true }
+      },
+      {
+        path: 'personSalaryList',
+        name: 'personSalaryListCancel',
+        code: '1091',
+        component: () => import('@/views/reportManager/personSalaryList'),
+        meta: { code: '1091', title: '浜哄憳宸ヨ祫鏄庣粏鎶ヨ〃', icon: '', keepAlive: true }
+      },
+      {
+        path: 'subcontractingOperation',
+        name: 'subcontractingOperationCancel',
+        code: '1092',
+        component: () => import('@/views/reportManager/subcontractingOperation'),
+        meta: { code: '1092', title: '濮斿宸ュ簭鏄庣粏鎶ヨ〃', icon: '', keepAlive: true }
+      }
+    ]
+  },
+
+  // 9.鏅鸿兘鎶ヨ〃
+  {
+    path: '/reportManager',
+    component: Layout,
+    redirect: '/reportManager/defectDetailList',
+    name: '鏅鸿兘鎶ヨ〃',
+    code: '2009',
+    meta: { code: '2009', title: '鏅鸿兘鎶ヨ〃', icon: 'bbgl' },
+    alwaysShow: true,
+    children: [
+      {
+        path: 'defectDetailList',
+        name: 'defectDetailListCancel',
+        code: '1093',
+        component: () => import('@/views/reportManager/defectDetailList'),
+        meta: { code: '1093', title: '涓嶈壇鏄庣粏鎶ヨ〃', icon: '', keepAlive: true }
+      }, {
+        path: 'abnormalQualityList',
+        name: 'abnormalQualityListCancel',
+        code: '1094',
+        component: () => import('@/views/reportManager/abnormalQualityList'),
+        meta: { code: '1094', title: '鍝佽川寮傚父鎺掕鎶ヨ〃', icon: '', keepAlive: true }
+      }, {
+        path: 'repairDetailList',
+        name: 'repairDetailListCancel',
+        code: '1095',
+        component: () => import('@/views/reportManager/repairDetailList'),
+        meta: { code: '1095', title: '缁翠慨鏄庣粏鎶ヨ〃', icon: '', keepAlive: true }
+      }, {
+        path: 'installationLampList',
+        name: 'installationLampListCancel',
+        code: '1096',
+        component: () => import('@/views/reportManager/installationLampList'),
+        meta: { code: '1096', title: '瀹夌伅鎶ヨ〃', icon: '', keepAlive: true }
+      },
+      {
+        path: 'produceSchedule',
+        name: 'produceScheduleCancel',
+        code: '1098',
+        component: () => import('@/views/reportManager/produceSchedule'),
+        meta: { code: '1098', title: '鐢熶骇杩涘害鎶ヨ〃', icon: '', keepAlive: true }
+      }
+    ]
+  },
+
+  // 10.搴撳瓨绠$悊
+  {
+    path: '/inventoryManager',
+    component: Layout,
+    redirect: '/inventoryManager/storehouseDefine',
+    name: '搴撳瓨绠$悊',
+    code: '2010',
+    meta: { code: '2010', title: '搴撳瓨绠$悊', icon: 'table' },
+    alwaysShow: true,
+    children: [
+      {
+        path: 'storehouseDefine',
+        name: 'storehouseDefineCancel',
+        code: '1050',
+        component: () => import('@/views/materialManager/storehouseDefine'),
+        meta: { code: '1050', title: '浠撳簱瀹氫箟', icon: '', keepAlive: true }
+      },
+      {
+        path: 'locationDefine',
+        name: 'locationDefineCancel',
+        code: '1051',
+        component: () => import('@/views/materialManager/locationDefine'),
+        meta: { code: '1051', title: '搴撲綅瀹氫箟', icon: '', keepAlive: true }
+      },
+      // {
+      //   path: 'containerType',
+      //   name: 'containerTypeCancel',
+      //   code: '1052',
+      //   component: () => import('@/views/materialManager/containerType'),
+      //   meta: { code: '1052', title: '瀹瑰櫒绫诲瀷', icon: '', keepAlive: true }
+      // }, {
+      //   path: 'containerList',
+      //   name: 'containerListCancel',
+      //   code: '1053',
+      //   component: () => import('@/views/materialManager/containerList'),
+      //   meta: { code: '1053', title: '瀹瑰櫒娓呭崟', icon: '', keepAlive: true }
+      // }, {
+      //   path: 'inOutboundRecord',
+      //   name: 'inOutboundRecordCancel',
+      //   code: '1054',
+      //   component: () => import('@/views/materialManager/inOutboundRecord'),
+      //   meta: { code: '1054', title: '鍑哄叆搴撹褰�', icon: '', keepAlive: true }
+      // }, {
+      //   path: 'inventoryQuery',
+      //   name: 'inventoryQueryCancel',
+      //   code: '1055',
+      //   component: () => import('@/views/materialManager/inventoryQuery'),
+      //   meta: { code: '1055', title: '搴撳瓨鏌ヨ', icon: '', keepAlive: true }
+      // },
+
+      {
+        path: 'InventoryLedgerList',
+        name: 'InventoryLedgerListCancel',
+        code: '1205',
+        component: () => import('@/views/purchasesManager/InventoryLedgerList'),
+        meta: { code: '1205', title: '搴撳瓨鍙拌处', icon: '', keepAlive: true }
+      }
+    ]
+  },
+
+  // 11.閲囪喘绠$悊
+  {
+    path: '/purchasesManager',
+    component: Layout,
+    redirect: '/purchasesManager/purchasesList',
+    name: '閲囪喘绠$悊',
+    code: '2011',
+    meta: { code: '2011', title: '閲囪喘绠$悊', icon: 'cggl' },
+    alwaysShow: true,
+    children: [
+      {
+        path: 'purchasesList',
+        name: 'CGDDCancel',
+        code: '1201',
+        component: () => import('@/views/purchasesManager/purchasesList'),
+        meta: { code: '1201', title: '閲囪喘璁㈠崟', icon: '', keepAlive: true }
+      }, {
+        path: 'arrivalNoticeList',
+        name: 'arrivalNoticeListCancel',
+        code: '1202',
+        component: () => import('@/views/purchasesManager/arrivalNoticeList'),
+        meta: { code: '1202', title: '閲囪喘鍒拌揣鍗�', icon: '', keepAlive: true }
+      }
+    ]
+  },
+
+  // 12.閿�鍞鐞�
+  {
+    path: '/sale',
+    component: Layout,
+    redirect: '/sale/salesStatisticsList',
+    name: '閿�鍞鐞�',
+    code: '2012',
+    meta: { code: '2012', title: '閿�鍞鐞�', icon: 'xsgl' },
+    alwaysShow: true,
+    children: [
+      {
+        path: 'salesStatisticsList',
+        name: 'salesStatisticsCancel',
+        code: '1203',
+        component: () => import('@/views/purchasesManager/salesStatisticsList'),
+        meta: { code: '1203', title: '閿�鍞鍗�', icon: '', keepAlive: true }
+      }, {
+        path: 'goodsStatisticsList',
+        name: 'goodsStatisticsListCancel',
+        code: '1204',
+        component: () => import('@/views/purchasesManager/goodsStatisticsList'),
+        meta: { code: '1204', title: '閿�璐у崟', icon: '', keepAlive: true }
+      }
+    ]
+  },
+
+  // 13.宸ュ崟绠$悊
+  {
+    path: '/work',
+    component: Layout,
+    redirect: '/work/workOrder',
+    name: '宸ュ崟绠$悊',
+    code: '2013',
+    meta: { code: '2013', title: '宸ュ崟绠$悊', icon: 'gzgl' },
+    alwaysShow: true,
+    children: [
+      {
+        path: 'workOrder',
+        name: 'workOrderCancel',
+        code: '1071',
+        component: () => import('@/views/produceManager/workOrder'),
+        meta: { code: '1071', title: '宸ュ崟', icon: '', keepAlive: true }
+      },
+      {
+        path: 'workOrderBatchClose',
+        name: 'workOrderBatchCloseCancel',
+        code: '1074',
+        component: () => import('@/views/produceManager/workOrderBatchClose'),
+        meta: { code: '1074', title: '宸ュ崟鎵归噺鍏抽棴', icon: '', keepAlive: true }
+      }
+    ]
+  },
+
+  // 14.宸ュ崟鎺掍骇
+  {
+    path: '/produceManager',
+    component: Layout,
+    redirect: '/produceManager/produceOrder',
+    name: '宸ュ崟鎺掍骇',
+    code: '2014',
+    meta: { code: '2014', title: '宸ュ崟鎺掍骇', icon: 'scgl' },
+    alwaysShow: true,
+    children: [
+      {
+        path: 'AutoScheduling',
+        name: 'AutoSchedulingCancel',
+        code: '1076',
+        component: () => import('@/views/produceManager/AutoScheduling'),
+        meta: { code: '1076', title: '鑷姩鎺掔▼', icon: '', keepAlive: true }
+      }
+    ]
+  },
+
+  // 15.鐢熶骇绠$悊
+  {
+    path: '/extendedModule',
+    component: Layout,
+    redirect: '/extendedModule/produceStartOrder',
+    name: '鐢熶骇绠$悊',
+    code: '2015',
+    meta: { code: '2015', title: '鐢熶骇绠$悊', icon: 'tree2' },
+    alwaysShow: true, // 褰揷hildren鍙湁涓�涓椂锛屼篃鏄剧ず鐖惰彍鍗�
+    children: [
+      {
+        path: 'produceStartOrder',
+        name: 'produceStartOrderCancel',
+        code: '1073',
+        component: () => import('@/views/produceManager/produceStartOrder'),
+        meta: { code: '1073', title: '鐢熶骇寮�鎶ュ伐', icon: '', keepAlive: true }
+      },
+      {
+        path: 'capacityPlanning',
+        name: 'capacityPlanningCancel',
+        code: '1075',
+        component: () => import('@/views/produceManager/capacityPlanning'),
+        meta: { code: '1075', title: '浜ц兘瑙勫垝', icon: '', keepAlive: true }
+      }
+    ]
+  },
+
+  // 16.宸ヨ壓绠$悊
+  {
+    path: '/makeModel',
+    component: Layout,
+    redirect: '/makeModel/processRoute',
+    name: '杞﹂棿绠$悊',
+    code: '2016',
+    meta: { code: '2016', title: '杞﹂棿绠$悊', icon: 'cjgl' },
+    alwaysShow: true,
+    children: [
+      {
+        path: 'processRoute',
+        name: 'processRouteCancel',
+        code: '1063',
+        component: () => import('@/views/makeModel/processRoute'),
+        meta: { code: '1063', title: '宸ヨ壓璺嚎', icon: '', keepAlive: true }
+      }, {
+        path: 'processDefine',
+        name: 'processDefineCancel',
+        code: '1064',
+        component: () => import('@/views/makeModel/processDefine'),
+        meta: { code: '1064', title: '宸ュ簭瀹氫箟', icon: '', keepAlive: true }
+      },
+      {
+        path: 'meterPrice',
+        name: 'meterPriceCancel',
+        code: '1065',
+        component: () => import('@/views/makeModel/meterPrice'),
+        meta: { code: '1065', title: '鑺傛媿宸ヤ环', icon: '', keepAlive: true }
+      }
+    ]
+  },
+
+  // 17.璁惧绠$悊
+  {
+    path: '/deviceManager',
+    component: Layout,
+    redirect: '/deviceManager/deviceList',
+    name: '璁惧绠$悊',
+    code: '2017',
+    meta: { code: '2017', title: '璁惧绠$悊', icon: 'example' },
+    alwaysShow: true,
+    children: [
+      {
+        path: 'deviceList',
+        name: 'deviceListCancel',
+        code: '1022',
+        component: () => import('@/views/deviceManager/deviceList'),
+        meta: { code: '1022', title: '璁惧娓呭崟', icon: '', keepAlive: true }
+      },
+      {
+        path: 'checkStandard',
+        name: 'checkStandardCancel',
+        code: '1023',
+        component: () => import('@/views/deviceManager/checkStandard'),
+        meta: { code: '1023', title: '璁惧鐐规鏍囧噯', icon: '', keepAlive: true }
+      },
+      {
+        path: 'checkPosition',
+        name: 'checkPositionCancel',
+        code: '1024',
+        component: () => import('@/views/deviceManager/checkPosition'),
+        meta: { code: '1024', title: '璁惧鐐规閮ㄤ綅', icon: '', keepAlive: true }
+      },
+      {
+        path: 'maintainStandard',
+        name: 'maintainStandardCancel',
+        code: '1025',
+        component: () => import('@/views/deviceManager/maintainStandard'),
+        meta: { code: '1025', title: '璁惧淇濆吇鏍囧噯', icon: '', keepAlive: true }
+      },
+      {
+        path: 'maintainPosition',
+        name: 'maintainPositionCancel',
+        code: '1026',
+        component: () => import('@/views/deviceManager/maintainPosition'),
+        meta: { code: '1026', title: '璁惧淇濆吇閮ㄤ綅', icon: '', keepAlive: true }
+      },
+      {
+        path: 'checkRecord',
+        name: 'checkRecordCancel',
+        code: '1027',
+        component: () => import('@/views/deviceManager/checkRecord'),
+        meta: { code: '1027', title: '璁惧鐐规璁板綍', icon: '', keepAlive: true }
+      },
+      {
+        path: 'maintainRecord',
+        name: 'maintainRecordCancel',
+        code: '1028',
+        component: () => import('@/views/deviceManager/maintainRecord'),
+        meta: { code: '1028', title: '璁惧淇濆吇璁板綍', icon: '', keepAlive: true }
+      },
+      {
+        path: 'repairRecord',
+        code: '1029',
+        name: 'repairRecordCancel',
+        component: () => import('@/views/deviceManager/repairRecord'),
+        meta: { code: '1029', title: '璁惧缁翠慨璁板綍', icon: '', keepAlive: true }
+      }
+    ]
+  },
+
+  // 18.鍏跺畠闆嗘垚
+  {
+    path: '/otherErp',
+    component: Layout,
+    redirect: '/otherErp/InventoryList',
+    name: '鍏朵粬浜у搧闆嗘垚',
+    code: '2018',
+    meta: { code: '2018', title: '鍏朵粬浜у搧闆嗘垚', icon: 'erpjc' },
+    alwaysShow: true,
+    children: [
+      {
+        path: 'InventoryList',
+        name: 'InventoryListCancel',
+        code: '1061',
+        component: () => import('@/views/makeModel/InventoryList'),
+        meta: { code: '1061', title: '瀛樿揣妗f', icon: '', keepAlive: true }
+      }
+    ]
+  },
+
+  {
+    path: '/kanbanManager',
+    component: Layout,
+    redirect: '/kanbanManager/zhkb',
+    name: '鏅烘収鐪嬫澘',
+    code: '2023',
+    meta: { title: '鏅烘収鐪嬫澘', icon: 'zhkb' },
+    alwaysShow: true,
+    children: [
+      {
+        path: 'zhkb',
+        name: 'ZHKBCancel',
+        component: () => import('@/views/kanbanManager/zhkb'),
+        meta: { title: '缁煎悎鐪嬫澘', icon: '', keepAlive: true }
+      }, {
+        path: 'cgdd',
+        name: 'cgddCancel',
+        component: () => import('@/views/kanbanManager/cgdd'),
+        meta: { title: '閲囪喘璁㈠崟', icon: '', keepAlive: true }
+      },
+      {
+        path: 'ckgl',
+        name: 'ckglCancel',
+        component: () => import('@/views/kanbanManager/ckgl'),
+        meta: { title: '浠撳簱绠$悊', icon: '', keepAlive: true }
+      }
+
+    ]
+  }
+
+  // {
+  //   path: '/systemSettings',
+  //   component: Layout,
+  //   redirect: '/systemSettings/bmgz',
+  //   name: '绯荤粺璁剧疆',
+  //   code: '1009',
+  //   meta: { code: '1009', title: '绯荤粺璁剧疆', icon: 'xtsz' },
+  //   alwaysShow: true,
+  //   children: [
+  //     {
+  //       path: 'codingRules',
+  //       name: 'codingRulesCancel',
+  //       code: '1101',
+  //       component: () => import('@/views/systemSettings/codingRules'),
+  //       meta: { code: '1101', title: '缂栫爜瑙勫垯', icon: '', keepAlive: true }
+  //     }, {
+  //       path: 'passwordEdit',
+  //       name: 'passwordEditCancel',
+  //       code: '1102',
+  //       component: () => import('@/views/systemSettings/passwordEdit'),
+  //       meta: { code: '1102', title: '瀵嗙爜淇敼', icon: '', keepAlive: true }
+  //     }, {
+  //       path: 'systemLog',
+  //       name: 'systemLogCancel',
+  //       code: '1103',
+  //       component: () => import('@/views/systemSettings/systemLog'),
+  //       meta: { code: '1103', title: '绯荤粺鏃ュ織', icon: '', keepAlive: true }
+  //     }, {
+  //       path: 'sopUpload',
+  //       name: 'sopUploadCancel',
+  //       code: '1104',
+  //       component: () => import('@/views/systemSettings/sopUpload'),
+  //       meta: { code: '1104', title: 'SOP涓婁紶', icon: '', keepAlive: true }
+  //     }, {
+  //       path: 'shopNotice',
+  //       name: 'shopNoticeCancel',
+  //       code: '1105',
+  //       component: () => import('@/views/systemSettings/shopNotice'),
+  //       meta: { code: '1105', title: '杞﹂棿鍏憡', icon: '', keepAlive: true }
+  //     }
+  //   ]
+  // }
+
+]
+// 鏈笂浜戞ā鍧�
 export const asyncRoutes = [
   // {
   //   path: '/gtt',
@@ -427,13 +1059,13 @@
         name: 'produceOrderCancel',
         code: '1070',
         component: () => import('@/views/produceManager/produceOrder'),
-        meta: { code: '1070', title: 'ERP鐢熶骇璁㈠崟', icon: '', keepAlive: true }
+        meta: { code: '1070', title: '鐢熶骇璁㈠崟', icon: '', keepAlive: true }
       }, {
         path: 'workOrder',
         name: 'workOrderCancel',
         code: '1071',
         component: () => import('@/views/produceManager/workOrder'),
-        meta: { code: '1071', title: 'MES宸ュ崟', icon: '', keepAlive: true }
+        meta: { code: '1071', title: '宸ュ崟', icon: '', keepAlive: true }
       }, {
         path: 'workOrderDispatch',
         name: 'workOrderDispatchCancel',
@@ -451,7 +1083,7 @@
         name: 'workOrderBatchCloseCancel',
         code: '1074',
         component: () => import('@/views/produceManager/workOrderBatchClose'),
-        meta: { code: '1074', title: 'MES宸ュ崟鎵归噺鍏抽棴', icon: '', keepAlive: true }
+        meta: { code: '1074', title: '宸ュ崟鎵归噺鍏抽棴', icon: '', keepAlive: true }
       }, {
         path: 'capacityPlanning',
         name: 'capacityPlanningCancel',
@@ -464,6 +1096,12 @@
         code: '1076',
         component: () => import('@/views/produceManager/AutoScheduling'),
         meta: { code: '1076', title: '鑷姩鎺掔▼', icon: '', keepAlive: true }
+      }, {
+        path: 'productWarehouse',
+        name: 'productWarehouseCancel',
+        code: '1077',
+        component: () => import('@/views/produceManager/productWarehouse'),
+        meta: { code: '1077', title: '鐢熶骇鍏ュ簱', icon: '', keepAlive: true }
       }
     ]
   },
@@ -545,6 +1183,12 @@
     alwaysShow: true,
     children: [
       {
+        path: 'produceSchedule',
+        name: 'produceScheduleCancel',
+        code: '1098',
+        component: () => import('@/views/reportManager/produceSchedule'),
+        meta: { code: '1098', title: '鐢熶骇杩涘害鎶ヨ〃', icon: '', keepAlive: true }
+      }, {
         path: 'groupSalaryList',
         name: 'groupSalaryListCancel',
         code: '1090',
@@ -586,6 +1230,12 @@
         code: '1096',
         component: () => import('@/views/reportManager/installationLampList'),
         meta: { code: '1096', title: '瀹夌伅鎶ヨ〃', icon: '', keepAlive: true }
+      }, {
+        path: 'logisticsCheck',
+        name: 'logisticsCheckCancel',
+        code: '1097',
+        component: () => import('@/views/reportManager/logisticsCheck'),
+        meta: { code: '1097', title: '鐗╂祦妫�楠屾姤琛�', icon: '', keepAlive: true }
       }
     ]
   },
@@ -690,697 +1340,3 @@
 }
 
 export default router
-
-// import Vue from 'vue'
-// import Router from 'vue-router'
-//
-// Vue.use(Router)
-//
-// /* Layout */
-// import Layout from '@/layout'
-//
-// /**
-//  * Note: sub-menu only appear when route children.length >= 1
-//  * Detail see: https://panjiachen.github.io/vue-element-admin-site/guide/essentials/router-and-nav.html
-//  *
-//  * hidden: true                   if set true, item will not show in the sidebar(default is false)
-//  * alwaysShow: true               if set true, will always show the root menu
-//  *                                if not set alwaysShow, when item has more than one children route,
-//  *                                it will becomes nested mode, otherwise not show the root menu
-//  * redirect: noRedirect           if set noRedirect will no redirect in the breadcrumb
-//  * name:'router-name'             the name is used by <keep-alive> (must set!!!)
-//  * meta : {
-//     roles: ['admin','editor']    control the page roles (you can set multiple roles)
-//     title: 'title'               the name show in sidebar and breadcrumb (recommend set)
-//     icon: 'svg-name'/'el-icon-x' the icon show in the sidebar
-//     breadcrumb: false            if set false, the item will hidden in breadcrumb(default is true)
-//     activeMenu: '/example/list'  if set path, the sidebar will highlight the path you set
-//   }
-//  */
-//
-// /**
-//  * constantRoutes
-//  * a base page that does not have permission requirements
-//  * all roles can be accessed
-//  */
-// export const commonRoutes = [
-//   /*
-//   * 鐪嬫澘閮ㄥ垎璺敱
-//   * */
-//   {
-//     path: '/zhkb',
-//     component: () => import('@/views/kanbanManager/zhkb'),
-//     hidden: true
-//   }, {
-//     path: '/cgdd',
-//     component: () => import('@/views/kanbanManager/cgdd'),
-//     hidden: true
-//   }, {
-//     path: '/ckgl',
-//     component: () => import('@/views/kanbanManager/ckgl'),
-//     hidden: true
-//   },
-//
-//   {
-//     path: '/login',
-//     component: () => import('@/views/login/index'),
-//     hidden: true
-//   },
-//   {
-//     path: '/404',
-//     component: () => import('@/views/404'),
-//     hidden: true
-//   },
-//   {
-//     path: '/redirect',
-//     component: Layout,
-//     hidden: true,
-//     children: [
-//       {
-//         path: '/redirect/:path(.*)',
-//         component: () => import('@/views/redirect/index')
-//       }
-//     ]
-//   },
-//   {
-//     path: '/',
-//     component: Layout,
-//     redirect: '/index',
-//     name: '绯荤粺棣栭〉',
-//     children: [{
-//       path: 'index',
-//       name: 'index',
-//       component: () => import('@/views/systemHome/index'),
-//       meta: { title: '绯荤粺棣栭〉', icon: 'home', affix: true }
-//     }]
-//   }
-//   // { path: '*', redirect: '/404', hidden: true }
-// ]
-// export const asyncRoutes = [
-//   // 1.绯荤粺绠$悊锛堝熀纭�璁剧疆绫伙級
-//   {
-//     path: '/systemSetting',
-//     component: Layout,
-//     redirect: '/systemSetting/organizationList',
-//     name: '绯荤粺绠$悊',
-//     code: '2001',
-//     meta: { code: '2001', title: '绯荤粺绠$悊', icon: 'xtsz' },
-//     alwaysShow: true, // 褰揷hildren鍙湁涓�涓椂锛屼篃鏄剧ず鐖惰彍鍗�
-//     children: [
-//       {
-//         path: 'organizationList',
-//         name: 'organizationListCancel',
-//         code: '1010',
-//         component: () => import('@/views/basicSettings/organizationList'),
-//         meta: { code: '1010', title: '缁勭粐鏋舵瀯', icon: '', keepAlive: true }
-//       }, {
-//         path: 'roleList',
-//         name: 'roleListCancel',
-//         code: '1012',
-//         component: () => import('@/views/basicSettings/roleList'),
-//         meta: { code: '1012', title: '瑙掕壊娓呭崟', icon: '', keepAlive: true }
-//       },
-//       {
-//         path: 'installationLampSetting',
-//         name: 'installationLampSettingCancel',
-//         code: '1014',
-//         component: () => import('@/views/basicSettings/installationLampSetting'),
-//         meta: { code: '1014', title: '瀹夌伅璁剧疆', icon: '', keepAlive: true }
-//       }
-//     ]
-//   },
-//   // 2.瀹㈡埛绠$悊
-//   {
-//     path: '/basicSettings',
-//     component: Layout,
-//     redirect: '/basicSettings/userList',
-//     name: '瀹㈡埛绠$悊',
-//     code: '2002',
-//     meta: { code: '2002', title: '瀹㈡埛绠$悊', icon: 'khgl' },
-//     alwaysShow: true, // 褰揷hildren鍙湁涓�涓椂锛屼篃鏄剧ず鐖惰彍鍗�
-//     children: [
-//       {
-//         path: 'userList',
-//         name: 'userListCancel',
-//         code: '1011',
-//         component: () => import('@/views/basicSettings/userList'),
-//         meta: { code: '1011', title: '鐢ㄦ埛娓呭崟', icon: '', keepAlive: true }
-//       }, {
-//         path: 'contactUnitList',
-//         name: 'contactUnitListCancel',
-//         code: '1013',
-//         component: () => import('@/views/basicSettings/contactUnitList'),
-//         meta: { code: '1013', title: '寰�鏉ュ崟浣�', icon: '', keepAlive: true }
-//       }
-//     ]
-//   },
-//   // 3.鏁版嵁閲囬泦绠$悊   sop涓婁紶 鐏电繑椤圭洰鐨勭湅涓�
-//
-//   // 4.璁㈠崟绠$悊
-//   {
-//     path: '/orderManager',
-//     component: Layout,
-//     redirect: '/orderManager/erpProduceOrder',
-//     name: '鐢熶骇绠$悊',
-//     code: '2004',
-//     meta: { code: '2004', title: '鐢熶骇绠$悊', icon: 'production' },
-//     alwaysShow: true,
-//     children: [
-//       {
-//         path: 'erpProduceOrder',
-//         name: 'produceOrderCancel',
-//         code: '1070',
-//         component: () => import('@/views/produceManager/produceOrder'),
-//         meta: { code: '1070', title: 'ERP鐢熶骇璁㈠崟', icon: '', keepAlive: true }
-//       }
-//     ]
-//   },
-//
-//   // 5.鐗╂枡璁″垝绠$悊
-//   {
-//     path: '/materialPlanManager',
-//     component: Layout,
-//     redirect: '/materialPlanManager/materialList',
-//     name: '鐗╂枡璁″垝绠$悊',
-//     code: '2005',
-//     meta: { code: '2005', title: '鐗╂枡璁″垝绠$悊', icon: 'icu' },
-//     alwaysShow: true,
-//     children: [
-//       {
-//         path: 'materialList',
-//         name: 'materialListCancel',
-//         code: '1062',
-//         component: () => import('@/views/makeModel/materialList'),
-//         meta: { code: '1062', title: '鐗╂枡娓呭崟', icon: '', keepAlive: true }
-//       }
-//     ]
-//   },
-//
-//   // 6.璐ㄩ噺绠$悊
-//   {
-//     path: '/qualityManager',
-//     component: Layout,
-//     redirect: '/qualityManager/defectDefine',
-//     name: '璐ㄩ噺绠$悊',
-//     code: '2006',
-//     meta: { code: '2006', title: '璐ㄩ噺绠$悊', icon: 'quality' },
-//     alwaysShow: true,
-//     children: [
-//       {
-//         path: 'defectDefine',
-//         name: 'defectDefineCancel',
-//         code: '1081',
-//         component: () => import('@/views/qualityManager/defectDefine'),
-//         meta: { code: '1081', title: '缂洪櫡瀹氫箟', icon: '', keepAlive: true }
-//       },
-//       {
-//         path: 'qualityPlaning',
-//         name: 'ZJFACancel',
-//         code: '1088',
-//         component: () => import('@/views/qualityManager/qualityPlaning'),
-//         meta: { code: '1088', title: '璐ㄦ鏂规', icon: '', keepAlive: true }
-//       }
-//     ]
-//   },
-//
-//   // 7.宸ュ簭绠$悊
-//   {
-//     path: '/processManager',
-//     component: Layout,
-//     redirect: '/processManager/processCheck',
-//     name: '宸ュ簭绠$悊',
-//     code: '2007',
-//     meta: { code: '2007', title: '宸ュ簭绠$悊', icon: 'gxgl' },
-//     alwaysShow: true,
-//     children: [
-//       {
-//         path: 'processCheck',
-//         name: 'processCheckCancel',
-//         code: '1082',
-//         component: () => import('@/views/qualityManager/processCheck'),
-//         meta: { code: '1082', title: '宸ュ簭妫�楠�', icon: '', keepAlive: true }
-//       },
-//       {
-//         path: 'processCheckStandard',
-//         name: 'processCheckStandardCancel',
-//         code: '1085',
-//         component: () => import('@/views/qualityManager/processCheckStandard'),
-//         meta: { code: '1085', title: '宸ュ簭妫�楠屾爣鍑�', icon: '', keepAlive: true }
-//       },
-//       {
-//         path: 'processCheckItem',
-//         name: 'processCheckItemCancel',
-//         code: '1086',
-//         component: () => import('@/views/qualityManager/processCheckItem'),
-//         meta: { code: '1086', title: '宸ュ簭妫�楠岄」鐩�', icon: '', keepAlive: true }
-//       },
-//       {
-//         path: 'processCheckRecord',
-//         name: 'processCheckRecordCancel',
-//         code: '1087',
-//         component: () => import('@/views/qualityManager/processCheckRecord'),
-//         meta: { code: '1087', title: '宸ュ簭妫�楠岃褰�', icon: '', keepAlive: true }
-//       }
-//     ]
-//   },
-//
-//   // 8.浜哄姏璧勬簮绠$悊
-//   {
-//     path: '/resourcesManager',
-//     component: Layout,
-//     redirect: '/resourcesManager/groupSalaryList',
-//     name: '浜哄姏璧勬簮绠$悊',
-//     code: '2008',
-//     meta: { code: '1008', title: '浜哄姏璧勬簮绠$悊', icon: 'rlzy' },
-//     alwaysShow: true,
-//     children: [
-//       {
-//         path: 'groupSalaryList',
-//         name: 'groupSalaryListCancel',
-//         code: '1090',
-//         component: () => import('@/views/reportManager/groupSalaryList'),
-//         meta: { code: '1090', title: '鐝粍宸ヨ祫缁熻鎶ヨ〃', icon: '', keepAlive: true }
-//       },
-//       {
-//         path: 'personSalaryList',
-//         name: 'personSalaryListCancel',
-//         code: '1091',
-//         component: () => import('@/views/reportManager/personSalaryList'),
-//         meta: { code: '1091', title: '浜哄憳宸ヨ祫鏄庣粏鎶ヨ〃', icon: '', keepAlive: true }
-//       },
-//       {
-//         path: 'subcontractingOperation',
-//         name: 'subcontractingOperationCancel',
-//         code: '1092',
-//         component: () => import('@/views/reportManager/subcontractingOperation'),
-//         meta: { code: '1092', title: '濮斿宸ュ簭鏄庣粏鎶ヨ〃', icon: '', keepAlive: true }
-//       }
-//     ]
-//   },
-//
-//   // 9.鏅鸿兘鎶ヨ〃
-//   {
-//     path: '/reportManager',
-//     component: Layout,
-//     redirect: '/reportManager/defectDetailList',
-//     name: '鏅鸿兘鎶ヨ〃',
-//     code: '2009',
-//     meta: { code: '2009', title: '鏅鸿兘鎶ヨ〃', icon: 'bbgl' },
-//     alwaysShow: true,
-//     children: [
-//       {
-//         path: 'defectDetailList',
-//         name: 'defectDetailListCancel',
-//         code: '1093',
-//         component: () => import('@/views/reportManager/defectDetailList'),
-//         meta: { code: '1093', title: '涓嶈壇鏄庣粏鎶ヨ〃', icon: '', keepAlive: true }
-//       }, {
-//         path: 'abnormalQualityList',
-//         name: 'abnormalQualityListCancel',
-//         code: '1094',
-//         component: () => import('@/views/reportManager/abnormalQualityList'),
-//         meta: { code: '1094', title: '鍝佽川寮傚父鎺掕鎶ヨ〃', icon: '', keepAlive: true }
-//       }, {
-//         path: 'repairDetailList',
-//         name: 'repairDetailListCancel',
-//         code: '1095',
-//         component: () => import('@/views/reportManager/repairDetailList'),
-//         meta: { code: '1095', title: '缁翠慨鏄庣粏鎶ヨ〃', icon: '', keepAlive: true }
-//       }, {
-//         path: 'installationLampList',
-//         name: 'installationLampListCancel',
-//         code: '1096',
-//         component: () => import('@/views/reportManager/installationLampList'),
-//         meta: { code: '1096', title: '瀹夌伅鎶ヨ〃', icon: '', keepAlive: true }
-//       }
-//     ]
-//   },
-//
-//   // 10.搴撳瓨绠$悊
-//   {
-//     path: '/inventoryManager',
-//     component: Layout,
-//     redirect: '/inventoryManager/storehouseDefine',
-//     name: '搴撳瓨绠$悊',
-//     code: '2010',
-//     meta: { code: '2010', title: '搴撳瓨绠$悊', icon: 'table' },
-//     alwaysShow: true,
-//     children: [
-//       {
-//         path: 'storehouseDefine',
-//         name: 'storehouseDefineCancel',
-//         code: '1050',
-//         component: () => import('@/views/materialManager/storehouseDefine'),
-//         meta: { code: '1050', title: '浠撳簱瀹氫箟', icon: '', keepAlive: true }
-//       },
-//       {
-//         path: 'locationDefine',
-//         name: 'locationDefineCancel',
-//         code: '1051',
-//         component: () => import('@/views/materialManager/locationDefine'),
-//         meta: { code: '1051', title: '搴撲綅瀹氫箟', icon: '', keepAlive: true }
-//       },
-//       // {
-//       //   path: 'containerType',
-//       //   name: 'containerTypeCancel',
-//       //   code: '1052',
-//       //   component: () => import('@/views/materialManager/containerType'),
-//       //   meta: { code: '1052', title: '瀹瑰櫒绫诲瀷', icon: '', keepAlive: true }
-//       // }, {
-//       //   path: 'containerList',
-//       //   name: 'containerListCancel',
-//       //   code: '1053',
-//       //   component: () => import('@/views/materialManager/containerList'),
-//       //   meta: { code: '1053', title: '瀹瑰櫒娓呭崟', icon: '', keepAlive: true }
-//       // }, {
-//       //   path: 'inOutboundRecord',
-//       //   name: 'inOutboundRecordCancel',
-//       //   code: '1054',
-//       //   component: () => import('@/views/materialManager/inOutboundRecord'),
-//       //   meta: { code: '1054', title: '鍑哄叆搴撹褰�', icon: '', keepAlive: true }
-//       // }, {
-//       //   path: 'inventoryQuery',
-//       //   name: 'inventoryQueryCancel',
-//       //   code: '1055',
-//       //   component: () => import('@/views/materialManager/inventoryQuery'),
-//       //   meta: { code: '1055', title: '搴撳瓨鏌ヨ', icon: '', keepAlive: true }
-//       // },
-//
-//       {
-//         path: 'InventoryLedgerList',
-//         name: 'InventoryLedgerListCancel',
-//         code: '1205',
-//         component: () => import('@/views/purchasesManager/InventoryLedgerList'),
-//         meta: { code: '1205', title: '搴撳瓨鍙拌处', icon: '', keepAlive: true }
-//       }
-//     ]
-//   },
-//
-//   // 11.閲囪喘绠$悊
-//   {
-//     path: '/purchasesManager',
-//     component: Layout,
-//     redirect: '/purchasesManager/purchasesList',
-//     name: '閲囪喘绠$悊',
-//     code: '2011',
-//     meta: { code: '2011', title: '閲囪喘绠$悊', icon: 'cggl' },
-//     alwaysShow: true,
-//     children: [
-//       {
-//         path: 'purchasesList',
-//         name: 'CGDDCancel',
-//         code: '1201',
-//         component: () => import('@/views/purchasesManager/purchasesList'),
-//         meta: { code: '1201', title: '閲囪喘璁㈠崟', icon: '', keepAlive: true }
-//       }, {
-//         path: 'arrivalNoticeList',
-//         name: 'arrivalNoticeListCancel',
-//         code: '1202',
-//         component: () => import('@/views/purchasesManager/arrivalNoticeList'),
-//         meta: { code: '1202', title: '閲囪喘鍒拌揣鍗�', icon: '', keepAlive: true }
-//       }
-//     ]
-//   },
-//
-//   // 12.閿�鍞鐞�
-//   {
-//     path: '/sale',
-//     component: Layout,
-//     redirect: '/sale/salesStatisticsList',
-//     name: '閿�鍞鐞�',
-//     code: '2012',
-//     meta: { code: '2012', title: '閿�鍞鐞�', icon: 'xsgl' },
-//     alwaysShow: true,
-//     children: [
-//       {
-//         path: 'salesStatisticsList',
-//         name: 'salesStatisticsCancel',
-//         code: '1203',
-//         component: () => import('@/views/purchasesManager/salesStatisticsList'),
-//         meta: { code: '1203', title: '閿�鍞鍗�', icon: '', keepAlive: true }
-//       }, {
-//         path: 'goodsStatisticsList',
-//         name: 'goodsStatisticsListCancel',
-//         code: '1204',
-//         component: () => import('@/views/purchasesManager/goodsStatisticsList'),
-//         meta: { code: '1204', title: '閿�璐у崟', icon: '', keepAlive: true }
-//       }
-//     ]
-//   },
-//
-//   // 13.宸ュ崟绠$悊
-//   {
-//     path: '/work',
-//     component: Layout,
-//     redirect: '/work/workOrder',
-//     name: '宸ュ崟绠$悊',
-//     code: '2013',
-//     meta: { code: '2013', title: '宸ュ崟绠$悊', icon: 'gzgl' },
-//     alwaysShow: true,
-//     children: [
-//       {
-//         path: 'workOrder',
-//         name: 'workOrderCancel',
-//         code: '1071',
-//         component: () => import('@/views/produceManager/workOrder'),
-//         meta: { code: '1071', title: 'MES宸ュ崟', icon: '', keepAlive: true }
-//       },
-//       {
-//         path: 'workOrderBatchClose',
-//         name: 'workOrderBatchCloseCancel',
-//         code: '1074',
-//         component: () => import('@/views/produceManager/workOrderBatchClose'),
-//         meta: { code: '1074', title: 'MES宸ュ崟鎵归噺鍏抽棴', icon: '', keepAlive: true }
-//       }
-//     ]
-//   },
-//
-//   // 14.宸ュ崟鎺掍骇
-//   {
-//     path: '/produceManager',
-//     component: Layout,
-//     redirect: '/produceManager/produceOrder',
-//     name: '宸ュ崟鎺掍骇',
-//     code: '2014',
-//     meta: { code: '2014', title: '宸ュ崟鎺掍骇', icon: 'scgl' },
-//     alwaysShow: true,
-//     children: [
-//       {
-//         path: 'AutoScheduling',
-//         name: 'AutoSchedulingCancel',
-//         code: '1076',
-//         component: () => import('@/views/produceManager/AutoScheduling'),
-//         meta: { code: '1076', title: '鑷姩鎺掔▼', icon: '', keepAlive: true }
-//       }
-//     ]
-//   },
-//
-//   // 15.鐢熶骇绠$悊
-//   {
-//     path: '/extendedModule',
-//     component: Layout,
-//     redirect: '/extendedModule/produceStartOrder',
-//     name: '鐢熶骇绠$悊',
-//     code: '2015',
-//     meta: { code: '2015', title: '鐢熶骇绠$悊', icon: 'tree2' },
-//     alwaysShow: true, // 褰揷hildren鍙湁涓�涓椂锛屼篃鏄剧ず鐖惰彍鍗�
-//     children: [
-//       {
-//         path: 'produceStartOrder',
-//         name: 'produceStartOrderCancel',
-//         code: '1073',
-//         component: () => import('@/views/produceManager/produceStartOrder'),
-//         meta: { code: '1073', title: '鐢熶骇寮�鎶ュ伐', icon: '', keepAlive: true }
-//       },
-//       {
-//         path: 'capacityPlanning',
-//         name: 'capacityPlanningCancel',
-//         code: '1075',
-//         component: () => import('@/views/produceManager/capacityPlanning'),
-//         meta: { code: '1075', title: '浜ц兘瑙勫垝', icon: '', keepAlive: true }
-//       }
-//     ]
-//   },
-//
-//   // 16.宸ヨ壓绠$悊
-//   {
-//     path: '/makeModel',
-//     component: Layout,
-//     redirect: '/makeModel/processRoute',
-//     name: '杞﹂棿绠$悊',
-//     code: '2016',
-//     meta: { code: '2016', title: '杞﹂棿绠$悊', icon: 'cjgl' },
-//     alwaysShow: true,
-//     children: [
-//       {
-//         path: 'processRoute',
-//         name: 'processRouteCancel',
-//         code: '1063',
-//         component: () => import('@/views/makeModel/processRoute'),
-//         meta: { code: '1063', title: '宸ヨ壓璺嚎', icon: '', keepAlive: true }
-//       }, {
-//         path: 'processDefine',
-//         name: 'processDefineCancel',
-//         code: '1064',
-//         component: () => import('@/views/makeModel/processDefine'),
-//         meta: { code: '1064', title: '宸ュ簭瀹氫箟', icon: '', keepAlive: true }
-//       },
-//       {
-//         path: 'meterPrice',
-//         name: 'meterPriceCancel',
-//         code: '1065',
-//         component: () => import('@/views/makeModel/meterPrice'),
-//         meta: { code: '1065', title: '鑺傛媿宸ヤ环', icon: '', keepAlive: true }
-//       }
-//     ]
-//   },
-//
-//   // 17.璁惧绠$悊
-//   {
-//     path: '/deviceManager',
-//     component: Layout,
-//     redirect: '/deviceManager/deviceList',
-//     name: '璁惧绠$悊',
-//     code: '2017',
-//     meta: { code: '2017', title: '璁惧绠$悊', icon: 'example' },
-//     alwaysShow: true,
-//     children: [
-//       {
-//         path: 'deviceList',
-//         name: 'deviceListCancel',
-//         code: '1022',
-//         component: () => import('@/views/deviceManager/deviceList'),
-//         meta: { code: '1022', title: '璁惧娓呭崟', icon: '', keepAlive: true }
-//       },
-//       {
-//         path: 'checkStandard',
-//         name: 'checkStandardCancel',
-//         code: '1023',
-//         component: () => import('@/views/deviceManager/checkStandard'),
-//         meta: { code: '1023', title: '璁惧鐐规鏍囧噯', icon: '', keepAlive: true }
-//       },
-//       {
-//         path: 'checkPosition',
-//         name: 'checkPositionCancel',
-//         code: '1024',
-//         component: () => import('@/views/deviceManager/checkPosition'),
-//         meta: { code: '1024', title: '璁惧鐐规閮ㄤ綅', icon: '', keepAlive: true }
-//       },
-//       {
-//         path: 'maintainStandard',
-//         name: 'maintainStandardCancel',
-//         code: '1025',
-//         component: () => import('@/views/deviceManager/maintainStandard'),
-//         meta: { code: '1025', title: '璁惧淇濆吇鏍囧噯', icon: '', keepAlive: true }
-//       },
-//       {
-//         path: 'maintainPosition',
-//         name: 'maintainPositionCancel',
-//         code: '1026',
-//         component: () => import('@/views/deviceManager/maintainPosition'),
-//         meta: { code: '1026', title: '璁惧淇濆吇閮ㄤ綅', icon: '', keepAlive: true }
-//       },
-//       {
-//         path: 'checkRecord',
-//         name: 'checkRecordCancel',
-//         code: '1027',
-//         component: () => import('@/views/deviceManager/checkRecord'),
-//         meta: { code: '1027', title: '璁惧鐐规璁板綍', icon: '', keepAlive: true }
-//       },
-//       {
-//         path: 'maintainRecord',
-//         name: 'maintainRecordCancel',
-//         code: '1028',
-//         component: () => import('@/views/deviceManager/maintainRecord'),
-//         meta: { code: '1028', title: '璁惧淇濆吇璁板綍', icon: '', keepAlive: true }
-//       },
-//       {
-//         path: 'repairRecord',
-//         code: '1029',
-//         name: 'repairRecordCancel',
-//         component: () => import('@/views/deviceManager/repairRecord'),
-//         meta: { code: '1029', title: '璁惧缁翠慨璁板綍', icon: '', keepAlive: true }
-//       }
-//     ]
-//   },
-//
-//   // 18.鍏跺畠ERP闆嗘垚
-//   {
-//     path: '/otherErp',
-//     component: Layout,
-//     redirect: '/otherErp/InventoryList',
-//     name: '鍏朵粬浜у搧ERP闆嗘垚',
-//     code: '2018',
-//     meta: { code: '2018', title: '鍏朵粬浜у搧ERP闆嗘垚', icon: 'erpjc' },
-//     alwaysShow: true,
-//     children: [
-//       {
-//         path: 'InventoryList',
-//         name: 'InventoryListCancel',
-//         code: '1061',
-//         component: () => import('@/views/makeModel/InventoryList'),
-//         meta: { code: '1061', title: '瀛樿揣妗f', icon: '', keepAlive: true }
-//       }
-//     ]
-//   }
-//
-//   // {
-//   //   path: '/systemSettings',
-//   //   component: Layout,
-//   //   redirect: '/systemSettings/bmgz',
-//   //   name: '绯荤粺璁剧疆',
-//   //   code: '1009',
-//   //   meta: { code: '1009', title: '绯荤粺璁剧疆', icon: 'xtsz' },
-//   //   alwaysShow: true,
-//   //   children: [
-//   //     {
-//   //       path: 'codingRules',
-//   //       name: 'codingRulesCancel',
-//   //       code: '1101',
-//   //       component: () => import('@/views/systemSettings/codingRules'),
-//   //       meta: { code: '1101', title: '缂栫爜瑙勫垯', icon: '', keepAlive: true }
-//   //     }, {
-//   //       path: 'passwordEdit',
-//   //       name: 'passwordEditCancel',
-//   //       code: '1102',
-//   //       component: () => import('@/views/systemSettings/passwordEdit'),
-//   //       meta: { code: '1102', title: '瀵嗙爜淇敼', icon: '', keepAlive: true }
-//   //     }, {
-//   //       path: 'systemLog',
-//   //       name: 'systemLogCancel',
-//   //       code: '1103',
-//   //       component: () => import('@/views/systemSettings/systemLog'),
-//   //       meta: { code: '1103', title: '绯荤粺鏃ュ織', icon: '', keepAlive: true }
-//   //     }, {
-//   //       path: 'sopUpload',
-//   //       name: 'sopUploadCancel',
-//   //       code: '1104',
-//   //       component: () => import('@/views/systemSettings/sopUpload'),
-//   //       meta: { code: '1104', title: 'SOP涓婁紶', icon: '', keepAlive: true }
-//   //     }, {
-//   //       path: 'shopNotice',
-//   //       name: 'shopNoticeCancel',
-//   //       code: '1105',
-//   //       component: () => import('@/views/systemSettings/shopNotice'),
-//   //       meta: { code: '1105', title: '杞﹂棿鍏憡', icon: '', keepAlive: true }
-//   //     }
-//   //   ]
-//   // }
-//
-// ]
-//
-// const createRouter = () => new Router({
-//   // mode: 'history', // require service support
-//   scrollBehavior: () => ({ y: 0 }),
-//   routes: commonRoutes
-// })
-//
-// const router = createRouter()
-//
-// // Detail see: https://github.com/vuejs/vue-router/issues/1234#issuecomment-357941465
-// export function resetRouter() {
-//   const newRouter = createRouter()
-//   router.matcher = newRouter.matcher // reset router
-// }
-//
-// export default router

--
Gitblit v1.9.3