| | |
| | | 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', |
| | |
| | | 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', |
| | |
| | | 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 } |
| | | } |
| | | |
| | | ] |
| | |
| | | }, |
| | | |
| | | { |
| | | 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: [ |
| | | { |
| | |
| | | }, |
| | | { |
| | | path: 'workOrderList', |
| | | name: 'workOrderListCancel', |
| | | name: 'WorkOrderListCancel', |
| | | code: '0502', |
| | | component: () => import('@/views/workOrder/workOrderList'), |
| | | meta: { code: '0502', title: 'MES工单', icon: '', keepAlive: true } |
| | |
| | | ] |
| | | }, |
| | | |
| | | // { |
| | | // path: '/statistic', |
| | | // component: Layout, |
| | | // redirect: '/statistic/reportList', |
| | | // name: '统计报表', |
| | | // code: '1004', |
| | | // meta: { code: '1004', title: '统计报表', icon: 'quality' }, |
| | | // alwaysShow: true, // 当children只有一个时,也显示父菜单 |
| | | // 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, // 当children只有一个时,也显示父菜单 |
| | | 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, // 当children只有一个时,也显示父菜单 |
| | | 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', |
| | |
| | | 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 } |
| | | } |
| | | ] |
| | | } |