| | |
| | | // { 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: '/jcsz', |
| | | component: Layout, |
| | | redirect: '/jcsz/zzjg', |
| | | name: '基础设置', |
| | | code: '1001', |
| | | meta: { code: '1001', title: '基础设置', icon: 'tree' }, |
| | | meta: { code: '1001', title: '基础设置', icon: 'tree2' }, |
| | | alwaysShow: true, // 当children只有一个时,也显示父菜单 |
| | | children: [ |
| | | { |
| | |
| | | code: '1028', |
| | | component: () => import('@/views/sbgl/byjl'), |
| | | meta: { code: '1028', title: '保养记录', icon: '', keepAlive: true } |
| | | }, |
| | | { |
| | | path: 'wxjl', |
| | | name: 'WXJLCancel', |
| | | code: '1029', |
| | | component: () => import('@/views/sbgl/wxjl'), |
| | | meta: { code: '1029', title: '设备维修记录', icon: '', keepAlive: true } |
| | | } |
| | | ] |
| | | }, |
| | |
| | | code: '1074', |
| | | component: () => import('@/views/scgl/gdplgb'), |
| | | meta: { code: '1074', title: 'MES工单批量关闭', icon: '', keepAlive: true } |
| | | }, { |
| | | path: 'cngh', |
| | | name: 'CNGHCancel', |
| | | code: '1075', |
| | | component: () => import('@/views/scgl/cngh'), |
| | | meta: { code: '1075', title: '产能规划', icon: '', keepAlive: true } |
| | | }, { |
| | | path: 'zdpc', |
| | | name: 'ZDPCCancel', |
| | | code: '1076', |
| | | component: () => import('@/views/scgl/zdpc'), |
| | | meta: { code: '1076', title: '自动排程', icon: '', keepAlive: true } |
| | | } |
| | | ] |
| | | }, |
| | |
| | | code: '1095', |
| | | component: () => import('@/views/bbgl/wxmx'), |
| | | meta: { code: '1095', title: '维修明细', icon: '', keepAlive: true } |
| | | }, { |
| | | path: 'adbb', |
| | | name: 'ADBBJCancel', |
| | | code: '1096', |
| | | component: () => import('@/views/bbgl/adbb'), |
| | | meta: { code: '1096', title: '安灯报表', icon: '', keepAlive: true } |
| | | } |
| | | ] |
| | | }, |
| | |
| | | meta: { code: '1105', title: '车间公告', icon: '', keepAlive: true } |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: '/cggl', |
| | | component: Layout, |
| | | redirect: '/cggl/cgdd', |
| | | name: '采购管理', |
| | | code: '1000', |
| | | meta: { code: '1000', title: '采购管理', icon: 'cggl' }, |
| | | alwaysShow: true, |
| | | children: [ |
| | | { |
| | | path: 'cgdd', |
| | | name: 'CGDDCancel', |
| | | code: '1201', |
| | | component: () => import('@/views/cggl/cgdd'), |
| | | meta: { code: '1201', title: '采购订单', icon: '', keepAlive: true } |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | |