| ¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1682562180452" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2688" xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="64"><path d="M128 256a42.666667 42.666667 0 0 1 42.666667-42.666667h682.666666a42.666667 42.666667 0 0 1 42.666667 42.666667v469.333333a42.666667 42.666667 0 0 1-42.666667 42.666667H170.666667a42.666667 42.666667 0 0 1-42.666667-42.666667V256z m85.333333 42.666667v384h597.333334V298.666667H213.333333z" fill="#157b7e" p-id="2689"></path><path d="M485.802667 712.981333a42.666667 42.666667 0 0 1 52.394666 0l225.664 175.530667-52.373333 67.370667L512 800.725333l-199.466667 155.157334-52.416-67.370667 225.706667-175.530667zM554.666667 85.333333v170.666667h-85.333334V85.333333h85.333334zM448 256v106.666667a64 64 0 1 0 128 0v-106.666667h85.333333v106.666667a149.333333 149.333333 0 1 1-298.666666 0v-106.666667h85.333333z" fill="#157b7e" p-id="2690"></path></svg> |
| | |
| | | <div v-if="!$store.state.settings.menuIsHorizontal" style="position: absolute;bottom: 20px;left: 30px;"> |
| | | <div> |
| | | <el-button v-if="$store.state.app.sidebar.opened" type="text" style="font-size: 14px;cursor: pointer"> |
| | | æ°å¯è¿ªå¶é V1.0.01 |
| | | æ°å¯è¿ªå¶é V1.2.21 |
| | | </el-button> |
| | | <!-- <el-button type="text"><a href="http://www.ykxkd.com/" target="_blank">æ°å¯è¿ªå¶é V1.0.01</a></el-button>--> |
| | | </div> |
| | |
| | | if (meta.activeMenu) { |
| | | return meta.activeMenu |
| | | } |
| | | |
| | | if (path.indexOf('kanbanManager') !== -1) { // å½ç¹å»æºæ
§çæ¿çæ¶å |
| | | const url = this.$router.resolve({ |
| | | path |
| | | // query: { id: 123 } |
| | | }) |
| | | |
| | | const t = url.href.split('/') |
| | | // console.log(t, 't') |
| | | window.open('#/' + t[2], '_blank') |
| | | } |
| | | |
| | | return path |
| | | }, |
| | | showLogo() { |
| | |
| | | // { path: '*', redirect: '/404', hidden: true } |
| | | ] |
| | | export const asyncRoutes = [ |
| | | // { |
| | | // path: '/gtt', |
| | | // component: Layout, |
| | | // redirect: '/gtt/back', |
| | | // name: 'åºç¡è®¾ç½®', |
| | | // code: '1001', |
| | | // meta: { code: '1001', title: 'åºç¡è®¾ç½®', icon: 'tree' }, |
| | | // alwaysShow: true, // å½childrenåªæä¸ä¸ªæ¶ï¼ä¹æ¾ç¤ºç¶èå |
| | | // children: [{ |
| | | // path: 'back', |
| | | // name: 'YYQDCancel', |
| | | // code: '1011', |
| | | // component: () => import('@/views/gantt_back/gantt_back'), |
| | | // meta: { code: '1011', title: 'ç¨æ·æ¸
å', icon: '', keepAlive: true } |
| | | // }, { |
| | | // path: 'zdpc2', |
| | | // name: 'YYQDCancel', |
| | | // code: '1012', |
| | | // component: () => import('@/views/gantt_back/zdpc2'), |
| | | // meta: { code: '1012', title: 'èªå¨æç¨2', icon: '', keepAlive: true } |
| | | // }] |
| | | // }, |
| | | // 1.ç³»ç»ç®¡çï¼åºç¡è®¾ç½®ç±»ï¼ |
| | | { |
| | | path: '/basicSettings', |
| | | path: '/systemSetting', |
| | | component: Layout, |
| | | redirect: '/basicSettings/organizationList', |
| | | name: 'åºç¡è®¾ç½®', |
| | | code: '1001', |
| | | meta: { code: '1001', title: 'åºç¡è®¾ç½®', icon: 'tree2' }, |
| | | redirect: '/systemSetting/organizationList', |
| | | name: 'ç³»ç»ç®¡ç', |
| | | code: '2001', |
| | | meta: { code: '2001', title: 'ç³»ç»ç®¡ç', icon: 'xtsz' }, |
| | | alwaysShow: true, // å½childrenåªæä¸ä¸ªæ¶ï¼ä¹æ¾ç¤ºç¶èå |
| | | children: [ |
| | | { |
| | |
| | | component: () => import('@/views/basicSettings/organizationList'), |
| | | meta: { code: '1010', title: 'ç»ç»æ¶æ', icon: '', keepAlive: true } |
| | | }, { |
| | | path: 'userList', |
| | | name: 'userListCancel', |
| | | code: '1011', |
| | | component: () => import('@/views/basicSettings/userList'), |
| | | meta: { code: '1011', title: 'ç¨æ·æ¸
å', icon: '', keepAlive: true } |
| | | }, { |
| | | path: 'roleList', |
| | | name: 'roleListCancel', |
| | | code: '1012', |
| | | component: () => import('@/views/basicSettings/roleList'), |
| | | meta: { code: '1012', title: 'è§è²æ¸
å', icon: '', keepAlive: true } |
| | | }, { |
| | | path: 'contactUnitList', |
| | | name: 'contactUnitListCancel', |
| | | code: '1013', |
| | | component: () => import('@/views/basicSettings/contactUnitList'), |
| | | meta: { code: '1013', title: '徿¥åä½', icon: '', keepAlive: true } |
| | | }, { |
| | | }, |
| | | { |
| | | path: 'installationLampSetting', |
| | | name: 'installationLampSettingCancel', |
| | | code: '1014', |
| | |
| | | } |
| | | ] |
| | | }, |
| | | // 2.客æ·ç®¡ç |
| | | { |
| | | path: '/deviceManager', |
| | | path: '/basicSettings', |
| | | component: Layout, |
| | | redirect: '/deviceManager/deviceType', |
| | | name: '设å¤ç®¡ç', |
| | | code: '1002', |
| | | meta: { code: '1002', title: '设å¤ç®¡ç', icon: 'example' }, |
| | | alwaysShow: true, |
| | | redirect: '/basicSettings/userList', |
| | | name: '客æ·ç®¡ç', |
| | | code: '2002', |
| | | meta: { code: '2002', title: '客æ·ç®¡ç', icon: 'khgl' }, |
| | | alwaysShow: true, // å½childrenåªæä¸ä¸ªæ¶ï¼ä¹æ¾ç¤ºç¶èå |
| | | children: [ |
| | | { |
| | | path: 'deviceType', |
| | | name: 'deviceTypeCancel', |
| | | code: '1020', |
| | | component: () => import('@/views/deviceManager/deviceType'), |
| | | meta: { code: '1020', title: '设å¤ç±»å', icon: '', keepAlive: true } |
| | | }, |
| | | { |
| | | path: 'deviceGroup', |
| | | name: 'deviceGroupCancel', |
| | | code: '1021', |
| | | component: () => import('@/views/deviceManager/deviceGroup'), |
| | | meta: { code: '1021', title: '设å¤ç»', icon: '', keepAlive: true } |
| | | path: 'userList', |
| | | name: 'userListCancel', |
| | | code: '1011', |
| | | component: () => import('@/views/basicSettings/userList'), |
| | | meta: { code: '1011', title: 'ç¨æ·æ¸
å', icon: '', keepAlive: true } |
| | | }, { |
| | | 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 } |
| | | }, |
| | | { |
| | | path: 'repairRequestRecord', |
| | | name: 'repairRequestRecordCancel', |
| | | code: '1019', |
| | | component: () => import('@/views/deviceManager/repairRequestRecord'), |
| | | meta: { code: '1019', 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: '/gzgl', |
| | | path: '/orderManager', |
| | | component: Layout, |
| | | redirect: '/gzgl/gzlx', |
| | | name: 'å·¥è£
管ç', |
| | | code: '1003', |
| | | meta: { code: '1003', title: 'å·¥è£
管ç', icon: 'component' }, |
| | | redirect: '/orderManager/erpProduceOrder', |
| | | name: 'ç产管ç', |
| | | code: '2004', |
| | | meta: { code: '2004', title: 'ç产管ç', icon: 'production' }, |
| | | alwaysShow: true, |
| | | children: [ |
| | | { |
| | | path: 'gzlx', |
| | | name: 'GZLXCancel', |
| | | code: '1030', |
| | | component: () => import('@/views/gzgl/gzlx'), |
| | | meta: { code: '1030', title: 'å·¥è£
ç±»å', icon: '', keepAlive: true } |
| | | }, { |
| | | path: 'sjxj', |
| | | name: 'SJXJCancel', |
| | | code: '1039', |
| | | component: () => import('@/views/gzgl/sjxj'), |
| | | meta: { code: '1039', title: '䏿ºä¸æº', icon: '', keepAlive: true } |
| | | }, { |
| | | path: 'ckrk', |
| | | name: 'CKRKCancel', |
| | | code: '1040', |
| | | component: () => import('@/views/gzgl/ckrk'), |
| | | meta: { code: '1040', title: 'åºåºå
¥åº', icon: '', keepAlive: true } |
| | | }, { |
| | | path: 'gzqd', |
| | | name: 'GZQDCancel', |
| | | code: '1031', |
| | | component: () => import('@/views/gzgl/gzqd'), |
| | | meta: { code: '1031', title: 'å·¥è£
æ¸
å', icon: '', keepAlive: true } |
| | | }, { |
| | | path: 'djbz', |
| | | name: 'DJBZCancel', |
| | | code: '1032', |
| | | component: () => import('@/views/gzgl/djbz'), |
| | | meta: { code: '1032', title: 'ç¹æ£æ å', icon: '', keepAlive: true } |
| | | }, { |
| | | path: 'djbw', |
| | | name: 'DJBWCancel', |
| | | code: '1033', |
| | | component: () => import('@/views/gzgl/djbw'), |
| | | meta: { code: '1033', title: 'ç¹æ£é¨ä½', icon: '', keepAlive: true } |
| | | }, { |
| | | path: 'bybz', |
| | | name: 'BYBZCancel', |
| | | code: '1034', |
| | | component: () => import('@/views/gzgl/bybz'), |
| | | meta: { code: '1034', title: 'ä¿å
»æ å', icon: '', keepAlive: true } |
| | | }, { |
| | | path: 'bybw', |
| | | name: 'BYBWCancel', |
| | | code: '1035', |
| | | component: () => import('@/views/gzgl/bybw'), |
| | | meta: { code: '1035', title: 'ä¿å
»é¨ä½', icon: '', keepAlive: true } |
| | | }, { |
| | | path: 'djjl', |
| | | name: 'DJJLCancel', |
| | | code: '1036', |
| | | component: () => import('@/views/gzgl/djjl'), |
| | | meta: { code: '1036', title: 'ç¹æ£è®°å½', icon: '', keepAlive: true } |
| | | }, { |
| | | path: 'byjl', |
| | | name: 'BYJLCancel', |
| | | code: '1037', |
| | | component: () => import('@/views/gzgl/byjl'), |
| | | meta: { code: '1037', title: 'ä¿å
»è®°å½', icon: '', keepAlive: true } |
| | | }, { |
| | | path: 'gzwx', |
| | | name: 'GZWXCancel', |
| | | code: '1038', |
| | | component: () => import('@/views/gzgl/gzwx'), |
| | | meta: { code: '1038', title: 'å·¥è£
ç»´ä¿®', icon: '', keepAlive: true } |
| | | path: 'erpProduceOrder', |
| | | name: 'produceOrderCancel', |
| | | code: '1070', |
| | | component: () => import('@/views/produceManager/produceOrder'), |
| | | meta: { code: '1070', title: 'ERPç产订å', icon: '', keepAlive: true } |
| | | } |
| | | ] |
| | | }, |
| | | |
| | | // 5.ç©æè®¡å管ç |
| | | { |
| | | path: '/materialManager', |
| | | path: '/materialPlanManager', |
| | | component: Layout, |
| | | redirect: '/materialManager/storehouseDefine', |
| | | name: 'ç©æç®¡ç', |
| | | code: '1004', |
| | | meta: { code: '1004', title: 'ç©æç®¡ç', icon: 'table' }, |
| | | 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: [ |
| | | { |
| | |
| | | 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: '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: '/makeModel', |
| | | path: '/purchasesManager', |
| | | component: Layout, |
| | | redirect: '/makeModel/InventoryList', |
| | | name: 'å¶é 模å', |
| | | code: '1005', |
| | | meta: { code: '1005', title: 'å¶é 模å', icon: 'icu' }, |
| | | redirect: '/purchasesManager/purchasesList', |
| | | name: 'éè´ç®¡ç', |
| | | code: '2011', |
| | | meta: { code: '2011', title: 'éè´ç®¡ç', icon: 'cggl' }, |
| | | alwaysShow: true, |
| | | children: [ |
| | | { |
| | | path: 'materialType', |
| | | name: 'materialTypeCancel', |
| | | code: '1060', |
| | | component: () => import('@/views/makeModel/materialType'), |
| | | meta: { code: '1060', title: 'ç©æç±»å', icon: '', keepAlive: true } |
| | | 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: 'InventoryList', |
| | | name: 'InventoryListCancel', |
| | | code: '1061', |
| | | component: () => import('@/views/makeModel/InventoryList'), |
| | | meta: { code: '1061', title: 'åè´§æ¡£æ¡', icon: '', keepAlive: true } |
| | | }, { |
| | | path: 'materialList', |
| | | name: 'materialListCancel', |
| | | code: '1062', |
| | | component: () => import('@/views/makeModel/materialList'), |
| | | meta: { code: '1062', title: 'ç©ææ¸
å', 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, // å½childrenåªæä¸ä¸ªæ¶ï¼ä¹æ¾ç¤ºç¶èå |
| | | 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', |
| | |
| | | } |
| | | ] |
| | | }, |
| | | |
| | | // 17.设å¤ç®¡ç |
| | | { |
| | | path: '/produceManager', |
| | | path: '/deviceManager', |
| | | component: Layout, |
| | | redirect: '/produceManager/produceOrder', |
| | | name: 'ç产管ç', |
| | | code: '1006', |
| | | meta: { code: '1006', title: 'ç产管ç', icon: 'production' }, |
| | | redirect: '/deviceManager/deviceList', |
| | | name: '设å¤ç®¡ç', |
| | | code: '2017', |
| | | meta: { code: '2017', title: '设å¤ç®¡ç', icon: 'example' }, |
| | | alwaysShow: true, |
| | | children: [ |
| | | { |
| | | path: 'produceOrder', |
| | | name: 'produceOrderCancel', |
| | | code: '1070', |
| | | component: () => import('@/views/produceManager/produceOrder'), |
| | | meta: { code: '1070', title: 'ERPç产订å', icon: '', keepAlive: true } |
| | | }, { |
| | | path: 'workOrder', |
| | | name: 'workOrderCancel', |
| | | code: '1071', |
| | | component: () => import('@/views/produceManager/workOrder'), |
| | | meta: { code: '1071', title: 'MESå·¥å', icon: '', keepAlive: true } |
| | | }, { |
| | | path: 'workOrderDispatch', |
| | | name: 'workOrderDispatchCancel', |
| | | code: '1072', |
| | | component: () => import('@/views/produceManager/workOrderDispatch'), |
| | | meta: { code: '1072', title: '工忴¾å·¥', icon: '', keepAlive: true } |
| | | }, { |
| | | path: 'produceStartOrder', |
| | | name: 'produceStartOrderCancel', |
| | | code: '1073', |
| | | component: () => import('@/views/produceManager/produceStartOrder'), |
| | | meta: { code: '1073', title: 'çäº§å¼æ¥å·¥', icon: '', keepAlive: true } |
| | | }, { |
| | | path: 'workOrderBatchClose', |
| | | name: 'workOrderBatchCloseCancel', |
| | | code: '1074', |
| | | component: () => import('@/views/produceManager/workOrderBatchClose'), |
| | | meta: { code: '1074', title: 'MES工忹éå
³é', icon: '', keepAlive: true } |
| | | }, { |
| | | path: 'capacityPlanning', |
| | | name: 'capacityPlanningCancel', |
| | | code: '1075', |
| | | component: () => import('@/views/produceManager/capacityPlanning'), |
| | | meta: { code: '1075', title: '产è½è§å', icon: '', keepAlive: true } |
| | | }, { |
| | | path: 'AutoScheduling', |
| | | name: 'AutoSchedulingCancel', |
| | | code: '1076', |
| | | component: () => import('@/views/produceManager/AutoScheduling'), |
| | | meta: { code: '1076', title: 'èªå¨æç¨', icon: '', keepAlive: true } |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: '/qualityManager', |
| | | component: Layout, |
| | | redirect: '/qualityManager/defectDefine', |
| | | name: 'è´¨é管ç', |
| | | code: '1007', |
| | | meta: { code: '1007', title: 'è´¨é管ç', icon: 'quality' }, |
| | | alwaysShow: true, |
| | | children: [ |
| | | { |
| | | path: 'qualityStandard', |
| | | name: 'qualityStandardCancel', |
| | | code: '1080', |
| | | component: () => import('@/views/qualityManager/qualityStandard'), |
| | | meta: { code: '1080', title: 'è´¨æ£æ å', icon: '', keepAlive: true } |
| | | }, { |
| | | path: 'defectDefine', |
| | | name: 'defectDefineCancel', |
| | | code: '1081', |
| | | component: () => import('@/views/qualityManager/defectDefine'), |
| | | meta: { code: '1081', title: '缺é·å®ä¹', icon: '', keepAlive: true } |
| | | }, { |
| | | path: 'processCheck', |
| | | name: 'processCheckCancel', |
| | | code: '1082', |
| | | component: () => import('@/views/qualityManager/processCheck'), |
| | | meta: { code: '1082', title: 'å·¥åºæ£éª', icon: '', keepAlive: true } |
| | | }, { |
| | | path: 'logisticsCheck', |
| | | name: 'logisticsCheckCancel', |
| | | code: '1083', |
| | | component: () => import('@/views/qualityManager/logisticsCheck'), |
| | | meta: { code: '1083', title: 'ç©æµæ£éª', icon: '', keepAlive: true } |
| | | }, { |
| | | path: 'defectStatistics', |
| | | name: 'defectStatisticsCancel', |
| | | code: '1084', |
| | | component: () => import('@/views/qualityManager/defectStatistics'), |
| | | meta: { code: '1084', title: '缺é·ç»è®¡', icon: '', keepAlive: true } |
| | | path: 'deviceList', |
| | | name: 'deviceListCancel', |
| | | code: '1022', |
| | | component: () => import('@/views/deviceManager/deviceList'), |
| | | meta: { code: '1022', title: 'è®¾å¤æ¸
å', icon: '', keepAlive: true } |
| | | }, |
| | | { |
| | | path: 'processCheckStandard', |
| | | name: 'processCheckStandardCancel', |
| | | code: '1085', |
| | | component: () => import('@/views/qualityManager/processCheckStandard'), |
| | | meta: { code: '1085', title: 'å·¥åºæ£éªæ å', icon: '', keepAlive: true } |
| | | path: 'checkStandard', |
| | | name: 'checkStandardCancel', |
| | | code: '1023', |
| | | component: () => import('@/views/deviceManager/checkStandard'), |
| | | meta: { code: '1023', 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 } |
| | | }, { |
| | | path: 'qualityPlaning', |
| | | name: 'ZJFACancel', |
| | | code: '1088', |
| | | component: () => import('@/views/qualityManager/qualityPlaning'), |
| | | meta: { code: '1088', 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: '/reportManager', |
| | | path: '/otherErp', |
| | | component: Layout, |
| | | redirect: '/reportManager/groupSalaryList', |
| | | name: 'æ¥è¡¨ç®¡ç', |
| | | code: '1008', |
| | | meta: { code: '1008', title: 'æ¥è¡¨ç®¡ç', icon: 'bbgl' }, |
| | | redirect: '/otherErp/InventoryList', |
| | | name: 'å
¶ä»äº§åERPéæ', |
| | | code: '2018', |
| | | meta: { code: '2018', title: 'å
¶ä»äº§åERPéæ', icon: 'erpjc' }, |
| | | 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 } |
| | | }, { |
| | | 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: 'logisticsCheck', |
| | | name: 'logisticsCheckCancel', |
| | | code: '1097', |
| | | component: () => import('@/views/reportManager/logisticsCheck'), |
| | | meta: { code: '1097', title: 'ç©æµæ£éªæ¥è¡¨', icon: '', keepAlive: true } |
| | | path: 'InventoryList', |
| | | name: 'InventoryListCancel', |
| | | code: '1061', |
| | | component: () => import('@/views/makeModel/InventoryList'), |
| | | meta: { code: '1061', title: 'åè´§æ¡£æ¡', icon: '', keepAlive: true } |
| | | } |
| | | ] |
| | | }, |
| | | |
| | | { |
| | | path: '/systemSettings', |
| | | path: '/kanbanManager', |
| | | component: Layout, |
| | | redirect: '/systemSettings/bmgz', |
| | | name: 'ç³»ç»è®¾ç½®', |
| | | code: '1009', |
| | | meta: { code: '1009', title: 'ç³»ç»è®¾ç½®', icon: 'xtsz' }, |
| | | redirect: '/kanbanManager/zhkb', |
| | | name: 'æºæ
§çæ¿', |
| | | code: '2023', |
| | | meta: { title: 'æºæ
§çæ¿', icon: 'zhkb' }, |
| | | alwaysShow: true, |
| | | children: [ |
| | | { |
| | | path: 'codingRules', |
| | | name: 'codingRulesCancel', |
| | | code: '1101', |
| | | component: () => import('@/views/systemSettings/codingRules'), |
| | | meta: { code: '1101', title: 'ç¼ç è§å', icon: '', keepAlive: true } |
| | | path: 'zhkb', |
| | | name: 'ZHKBCancel', |
| | | component: () => import('@/views/kanbanManager/zhkb'), |
| | | meta: { 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 } |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: '/purchasesManager', |
| | | component: Layout, |
| | | redirect: '/purchasesManager/purchasesList', |
| | | name: 'éè´ç®¡ç', |
| | | code: '1000', |
| | | meta: { code: '1000', title: 'éè´ç®¡ç', icon: 'cggl' }, |
| | | alwaysShow: true, |
| | | children: [ |
| | | path: 'cgdd', |
| | | name: 'cgddCancel', |
| | | component: () => import('@/views/kanbanManager/cgdd'), |
| | | meta: { title: 'éè´è®¢å', icon: '', keepAlive: true } |
| | | }, |
| | | { |
| | | 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 } |
| | | }, { |
| | | 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 } |
| | | }, { |
| | | path: 'InventoryLedgerList', |
| | | name: 'InventoryLedgerListCancel', |
| | | code: '1205', |
| | | component: () => import('@/views/purchasesManager/InventoryLedgerList'), |
| | | meta: { code: '1205', 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 } |
| | | // } |
| | | // ] |
| | | // } |
| | | |
| | | ] |
| | | |
| | | const createRouter = () => new Router({ |
| | |
| | | } |
| | | |
| | | 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, // å½childrenåªæä¸ä¸ªæ¶ï¼ä¹æ¾ç¤ºç¶èå |
| | | // 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, // å½childrenåªæä¸ä¸ªæ¶ï¼ä¹æ¾ç¤ºç¶èå |
| | | // 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, // å½childrenåªæä¸ä¸ªæ¶ï¼ä¹æ¾ç¤ºç¶èå |
| | | // 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: 'åè´§æ¡£æ¡', 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 |
| | |
| | | WareHouseTopLeftData().then(res => { |
| | | this.tableDataTop = res.data |
| | | // this.number1 = this.tableDataTop.length |
| | | if (this.tableDataTop.length > 9) { |
| | | if (this.tableDataTop.length > 10) { |
| | | clearInterval(this.tableTopTask) |
| | | this.getWareHouseTopLeftData() |
| | | } |
| | | }) |
| | | } |
| | | }, this.tableDataTop.length <= 9 ? 1000 * 3 : 100) |
| | | }, this.tableDataTop.length <= 10 ? 1000 * 3 : 100) |
| | | }) |
| | | }, |
| | | // è·åå·¦ä¸tableæ°æ® |