From c59ed01f610a871f1db2869aaf08a991dddb600f Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期二, 01 八月 2023 16:14:24 +0800
Subject: [PATCH] 1.基础设置、工单管理、生产执行、统计报表菜单新增
---
src/router/index.js | 142 ++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 138 insertions(+), 4 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index 949574a..c5019d7 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -96,11 +96,145 @@
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: 'menuList',
+ name: 'menuListCancel',
+ code: '1015',
+ component: () => import('@/views/basicSettings/menuList'),
+ meta: { code: '1015', title: '鑿滃崟绠$悊', icon: '', keepAlive: true }
+ }
+
+ ]
+ },
+ {
+ path: '/workOrder',
+ component: Layout,
+ redirect: '/workOrder/workOrderList',
+ name: '宸ュ崟绠$悊',
+ code: '1002',
+ meta: { code: '1002', title: '宸ュ崟绠$悊', icon: 'quality' },
+ 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: '1011',
+ component: () => import('@/views/workOrder/workOrderSend'),
+ meta: { code: '1021', title: '宸ュ崟娲惧彂', icon: '', keepAlive: true }
+ }, {
+ path: 'workOrderClose',
+ name: 'workOrderCloseCancel',
+ code: '1012',
+ 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: 'bbgl' },
+ 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 }
}
]
--
Gitblit v1.9.3