From 3f386968d4b5cbb002ad93483f86a5443159e18a Mon Sep 17 00:00:00 2001
From: 小小儁爺 <1694218219@qq.com>
Date: 星期六, 08 二月 2025 09:54:32 +0800
Subject: [PATCH] 1.递交
---
src/router/index.js | 302 ++++++++++++++++++++++++++++++++++++++++----------
1 files changed, 242 insertions(+), 60 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index 6aa6a2a..79b99ff 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -40,8 +40,8 @@
component: () => import('@/views/kanbanManager/zhkb'),
hidden: true
}, {
- path: '/cgdd',
- component: () => import('@/views/kanbanManager/cgdd'),
+ path: '/cj',
+ component: () => import('@/views/kanbanManager/cj'),
hidden: true
}, {
path: '/ckgl',
@@ -127,6 +127,21 @@
code: '0105',
component: () => import('@/views/basicSettings/roleList'),
meta: { code: '0105', title: '瑙掕壊绠$悊', icon: '', keepAlive: true }
+ },
+ {
+ path: 'powerDivider',
+ name: 'powerDividerCancel',
+ code: '0110',
+ component: () => import('@/views/basicSettings/powerDivider'),
+ meta: { code: '0110', title: '鏉冮檺鍒嗛厤', icon: '', keepAlive: true }
+ },
+ {
+ path: 'roleDivider',
+ name: 'roleDividerCancel',
+ code: '0111',
+ hidden: true,
+ component: () => import('@/views/basicSettings/roleDivider'),
+ meta: { code: '0111', title: '瑙掕壊鍒嗛厤', icon: '', keepAlive: true }
}, {
path: 'contactUnitList',
name: 'contactUnitListCancel',
@@ -151,29 +166,31 @@
code: '0109',
component: () => import('@/views/basicSettings/installLampList'),
meta: { code: '0109', title: '瀹夌伅璁剧疆', icon: '', keepAlive: true }
- },
- {
- path: 'powerDivider',
- name: 'powerDividerCancel',
- code: '0110',
- component: () => import('@/views/basicSettings/powerDivider'),
- meta: { code: '0110', title: '鏉冮檺鍒嗛厤', icon: '', keepAlive: true }
- },
- {
- path: 'roleDivider',
- name: 'roleDividerCancel',
- code: '0111',
- hidden: true,
- component: () => import('@/views/basicSettings/roleDivider'),
- meta: { code: '0111', title: '瑙掕壊鍒嗛厤', icon: '', keepAlive: true }
- },
- {
+ }, {
+ path: 'processList',
+ name: 'processListCancel',
+ code: '0112',
+ component: () => import('@/views/basicSettings/processList'),
+ meta: { code: '0112', title: '宸ュ簭璁剧疆', icon: '', keepAlive: true }
+ }, {
path: 'cronTime',
name: 'cronTimeCancel',
code: '0113',
- hidden: true,
component: () => import('@/views/basicSettings/cronTime'),
meta: { code: '0113', title: '瀹氭椂浠诲姟', icon: '', keepAlive: true }
+ }, {
+ path: 'processRoute',
+ name: 'processRouteCancel',
+ code: '0114',
+ component: () => import('@/views/basicSettings/processRoute'),
+ meta: { code: '0114', title: '宸ヨ壓璺嚎', icon: '', keepAlive: true }
+ },
+ {
+ path: 'meterPrice',
+ name: 'meterPriceCancel',
+ code: '0115',
+ component: () => import('@/views/basicSettings/meterPrice'),
+ meta: { code: '0115', title: '宸ヤ环璁剧疆', icon: '', keepAlive: true }
}
]
@@ -281,12 +298,91 @@
},
{
+ 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: 'mouldCirculateRecord',
+ name: 'mouldCirculateRecordCancel',
+ code: '0911',
+ component: () => import('@/views/mouldManager/mouldCirculateRecord'),
+ meta: { code: '0911', 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: [
{
@@ -342,7 +438,7 @@
},
{
path: 'workOrderList',
- name: 'workOrderListCancel',
+ name: 'WorkOrderListCancel',
code: '0502',
component: () => import('@/views/workOrder/workOrderList'),
meta: { code: '0502', title: 'MES宸ュ崟', icon: '', keepAlive: true }
@@ -397,44 +493,116 @@
]
},
- // {
- // 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: 'groupSalaryList',
+ name: 'groupSalaryListCancel',
+ code: '0702',
+ component: () => import('@/views/statistic/groupSalaryList'),
+ meta: { code: '0702', title: '鐝粍宸ヨ祫缁熻鎶ヨ〃', icon: '', keepAlive: true }
+ },
+ {
+ path: 'personSalaryList',
+ name: 'personSalaryListCancel',
+ code: '0703',
+ component: () => import('@/views/statistic/personSalaryList'),
+ meta: { code: '0703', title: '浜哄憳宸ヨ祫缁熻鎶ヨ〃', icon: '', keepAlive: true }
+ }, {
+ path: 'subcontractingOperation',
+ name: 'subcontractingOperationCancel',
+ code: '0704',
+ component: () => import('@/views/statistic/subcontractingOperation'),
+ meta: { code: '0704', title: '濮斿宸ュ簭鏄庣粏鎶ヨ〃', icon: '', keepAlive: true }
+ }, {
+ path: 'defectDetailList',
+ name: 'defectDetailListCancel',
+ code: '0705',
+ component: () => import('@/views/statistic/defectDetailList'),
+ meta: { code: '0705', title: '涓嶈壇鏄庣粏鎶ヨ〃', icon: '', keepAlive: true }
+ }, {
+ path: 'repairDetailList',
+ name: 'repairDetailListCancel',
+ code: '0706',
+ component: () => import('@/views/statistic/repairDetailList'),
+ meta: { code: '0706', title: '缁翠慨鏄庣粏鎶ヨ〃', icon: '', keepAlive: true }
+ },,
+ {
+ path: 'installationLampList',
+ name: 'installationLampListCancel',
+ code: '0707',
+ component: () => import('@/views/statistic/installationLampList'),
+ meta: { code: '0707', title: '瀹夌伅鎶ヨ〃', icon: '', keepAlive: true }
+ }
+
+ ]
+ },
+
+ {
+ path: '/sopManager',
+ component: Layout,
+ redirect: '/sopManager/sopDevice',
+ name: 'SOP绠$悊',
+ code: '10',
+ meta: { code: '10', title: 'SOP绠$悊', icon: 'sop' },
+ alwaysShow: true, // 褰揷hildren鍙湁涓�涓椂锛屼篃鏄剧ず鐖惰彍鍗�
+ children: [
+ {
+ path: 'sopDevice',
+ name: 'sopDeviceCancel',
+ code: '1001',
+ component: () => import('@/views/sopManager/sopDevice'),
+ meta: { code: '1001', title: '璁惧SOP', icon: '', keepAlive: true }
+ },
+ {
+ path: 'sopRoute',
+ name: 'sopRouteCancel',
+ code: '1002',
+ component: () => import('@/views/sopManager/sopRoute'),
+ meta: { code: '1002', title: '宸ヨ壓SOP', icon: '', keepAlive: true }
+ }, {
+ path: 'sopWorkOrder',
+ name: 'sopWorkOrderCancel',
+ code: '1003',
+ component: () => import('@/views/sopManager/sopWorkOrder'),
+ meta: { code: '1003', title: '鍗曟嵁SOP', icon: '', keepAlive: true }
+ }
+
+ ]
+ },
{
path: '/systemSetting',
@@ -458,6 +626,20 @@
code: '0802',
component: () => import('@/views/systemSetting/encodingRules'),
meta: { code: '0802', title: '缂栫爜瑙勫垯', icon: '', keepAlive: true }
+ },
+ {
+ path: 'dataImport',
+ name: 'DataImport',
+ code: '0803',
+ component: () => import('@/views/systemSetting/dataImport'),
+ meta: { code: '0803', title: '鏁版嵁瀵煎叆', icon: '', keepAlive: true }
+ },
+ {
+ path: 'processSetting',
+ name: 'processSettingCancel',
+ code: '0804',
+ component: () => import('@/views/systemSetting/processSetting'),
+ meta: { code: '0804', title: '娴佽浆璁剧疆', icon: '', keepAlive: true }
}
]
}
--
Gitblit v1.9.3