From 6e940f67eabe8ae168124dafac6b7430d17c2432 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期三, 23 八月 2023 09:45:30 +0800
Subject: [PATCH] 1.角色管理

---
 src/router/index.js |  160 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 156 insertions(+), 4 deletions(-)

diff --git a/src/router/index.js b/src/router/index.js
index 949574a..f1937d4 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -96,14 +96,166 @@
     alwaysShow: true, // 褰揷hildren鍙湁涓�涓椂锛屼篃鏄剧ず鐖惰彍鍗�
     children: [
       {
-        path: 'rolePermission',
-        name: 'rolePermissionCancel',
+        path: 'organizationList',
+        name: 'organizationListCancel',
+        code: '1010',
+        component: () => import('@/views/basicSettings/organizationList'),
+        meta: { code: '1010', title: '缁勭粐鏋舵瀯', icon: '', keepAlive: true }
+      },
+      {
+        path: 'personList',
+        name: 'personListCancel',
+        code: '1011',
+        component: () => import('@/views/basicSettings/personList'),
+        meta: { code: '1011', title: '浜哄憳绠$悊', icon: '', keepAlive: true }
+      }, {
+        path: 'postList',
+        name: 'personListCancel',
+        code: '1012',
+        component: () => import('@/views/basicSettings/postList'),
+        meta: { code: '1012', title: '宀椾綅绠$悊', icon: '', keepAlive: true }
+      }, {
+        path: 'roleList',
+        name: 'roleListCancel',
+        code: '1013',
+        component: () => import('@/views/basicSettings/roleList'),
+        meta: { code: '1013', title: '瑙掕壊绠$悊', icon: '', keepAlive: true }
+      }, {
+        path: 'groupList',
+        name: 'groupListCancel',
         code: '1014',
-        component: () => import('@/views/basicSettings/rolePermission'),
-        meta: { code: '1014', title: '瀹夌伅璁剧疆', icon: '', keepAlive: true }
+        component: () => import('@/views/basicSettings/groupList'),
+        meta: { code: '1014', title: '鐝粍绠$悊', icon: '', keepAlive: true }
+      },
+      {
+        path: 'powerDivider',
+        name: 'powerDividerCancel',
+        code: '1015',
+        component: () => import('@/views/basicSettings/powerDivider'),
+        meta: { code: '1015', title: '鏉冮檺鍒嗛厤', icon: '', keepAlive: true }
       }
 
     ]
+  },
+  {
+    path: '/workOrder',
+    component: Layout,
+    redirect: '/workOrder/workOrderList',
+    name: '宸ュ崟绠$悊',
+    code: '1002',
+    meta: { code: '1002', title: '宸ュ崟绠$悊', icon: 'bbgl' },
+    alwaysShow: true, // 褰揷hildren鍙湁涓�涓椂锛屼篃鏄剧ず鐖惰彍鍗�
+    children: [
+      {
+        path: 'workOrderList',
+        name: 'workOrderListCancel',
+        code: '1020',
+        component: () => import('@/views/workOrder/workOrderList'),
+        meta: { code: '1010', title: '宸ュ崟鍒楄〃', icon: '', keepAlive: true }
+      },
+      {
+        path: 'workOrderSend',
+        name: 'workOrderSendCancel',
+        code: '1021',
+        component: () => import('@/views/workOrder/workOrderSend'),
+        meta: { code: '1021', title: '宸ュ崟娲惧彂', icon: '', keepAlive: true }
+      }, {
+        path: 'workOrderClose',
+        name: 'workOrderCloseCancel',
+        code: '1022',
+        component: () => import('@/views/workOrder/workOrderClose'),
+        meta: { code: '1022', title: '宸ュ崟鍏抽棴', icon: '', keepAlive: true }
+      }
+
+    ]
+  },
+  {
+    path: '/produce',
+    component: Layout,
+    redirect: '/produce/stepReport',
+    name: '鐢熶骇鎵ц',
+    code: '1003',
+    meta: { code: '1003', title: '鐢熶骇鎵ц', icon: 'production' },
+    alwaysShow: true, // 褰揷hildren鍙湁涓�涓椂锛屼篃鏄剧ず鐖惰彍鍗�
+    children: [
+      {
+        path: 'stepReport',
+        name: 'stepReportCancel',
+        code: '1030',
+        component: () => import('@/views/produce/stepReport'),
+        meta: { code: '1030', title: '宸ュ簭鎶ュ伐', icon: '', keepAlive: true }
+      },
+      {
+        path: 'reportCorrect',
+        name: 'reportCorrectCancel',
+        code: '1031',
+        component: () => import('@/views/produce/reportCorrect'),
+        meta: { code: '1031', title: '鎶ュ伐淇', icon: '', keepAlive: true }
+      }, {
+        path: 'reportVerify',
+        name: 'reportVerifyCancel',
+        code: '1032',
+        component: () => import('@/views/produce/reportVerify'),
+        meta: { code: '1032', title: '鎶ュ伐瀹℃牳', icon: '', keepAlive: true }
+      }
+
+    ]
+  },
+  {
+    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: '/systemSetting',
+    component: Layout,
+    redirect: '/systemSetting/encodingRules',
+    name: '绯荤粺璁剧疆',
+    code: '1005',
+    meta: { code: '1005', title: '绯荤粺璁剧疆', icon: 'xtsz' },
+    alwaysShow: true, // 褰揷hildren鍙湁涓�涓椂锛屼篃鏄剧ず鐖惰彍鍗�
+    children: [
+      {
+        path: 'reportList',
+        name: 'reportListCancel',
+        code: '1050',
+        component: () => import('@/views/systemSetting/encodingRules'),
+        meta: { code: '1050', title: '缂栫爜瑙勫垯', icon: '', keepAlive: true }
+      }
+    ]
   }
 ]
 

--
Gitblit v1.9.3