| | |
| | | redirect: '/login', |
| | | children: [ |
| | | { |
| | | path: 'dashboard', |
| | | name: '图纸管理', |
| | | path: 'workplace', |
| | | name: '工作台', |
| | | meta: { |
| | | icon: 'dashboard' |
| | | icon: 'home', |
| | | page: { |
| | | closable: false |
| | | }, |
| | | authority: { |
| | | role: ['1001', '1002', '1003'], |
| | | } |
| | | }, |
| | | component: () => import('@/pages/workplace'), |
| | | }, |
| | | { |
| | | path: 'workplaceList', |
| | | name: '问题反馈查询', |
| | | meta: { |
| | | icon: "message" |
| | | }, |
| | | component: () => import('@/pages/workplace/workplaceList') |
| | | }, |
| | | { |
| | | path: 'resource', |
| | | name: '资源管理', |
| | | meta: { |
| | | icon: 'dashboard', |
| | | authority: { |
| | | role: ['1001', '1002', '1003'], |
| | | } |
| | | }, |
| | | component: BlankView, |
| | | children: [ |
| | | { |
| | | path: 'docCenter', |
| | | name: '图纸中心', |
| | | meta: { |
| | | page: { |
| | | closable: false |
| | | } |
| | | }, |
| | | component: () => import('@/pages/dashboard/drawcenter'), |
| | | path: 'materials', |
| | | name: '物料中心', |
| | | component: () => import('@/pages/resourceManage/materialsCenter'), |
| | | }, |
| | | { |
| | | path: 'analysis', |
| | | name: '图纸审批', |
| | | component: () => import('@/pages/dashboard/analysis'), |
| | | } |
| | | path: 'material-history', |
| | | name: '物料历史', |
| | | meta: { |
| | | invisible: true, |
| | | highlight: '/resource/materials' |
| | | }, |
| | | component: () => import('@/pages/resourceManage/materialsCenter/history'), |
| | | }, |
| | | { |
| | | path: 'product', |
| | | name: '产品中心', |
| | | component: () => import('@/pages/resourceManage/product'), |
| | | }, |
| | | { |
| | | path: 'product-details', |
| | | name: '产品详情', |
| | | meta: { |
| | | invisible: true, |
| | | highlight: '/resource/product' |
| | | }, |
| | | component: () => import('@/pages/resourceManage/product/details'), |
| | | }, |
| | | { |
| | | path: 'product-diff', |
| | | name: '产品差异', |
| | | meta: { |
| | | invisible: true, |
| | | highlight: '/resource/product' |
| | | }, |
| | | component: () => import('@/pages/resourceManage/product/prodDiff'), |
| | | }, |
| | | // 0120详情 |
| | | { |
| | | path: 'product-details-0120', |
| | | name: '钣金件详情', |
| | | meta: { |
| | | invisible: true, |
| | | highlight: '/resource/product' |
| | | }, |
| | | component: () => import('@/pages/resourceManage/product/details'), |
| | | }, |
| | | // 08|09二级产品详情 |
| | | { |
| | | path: 'product-details-0809', |
| | | name: '二级产品详情', |
| | | meta: { |
| | | invisible: true, |
| | | highlight: '/resource/product' |
| | | }, |
| | | component: () => import('@/pages/resourceManage/product/details'), |
| | | }, |
| | | // 电源模块详情 |
| | | { |
| | | path: 'product-details-0235', |
| | | name: '电源模块详情', |
| | | meta: { |
| | | invisible: true, |
| | | highlight: '/resource/product' |
| | | }, |
| | | component: () => import('@/pages/resourceManage/product/details'), |
| | | }, |
| | | { |
| | | path: 'software', |
| | | name: '软件中心', |
| | | component: () => import('@/pages/resourceManage/software'), |
| | | }, |
| | | { |
| | | path: 'ecr', |
| | | name: 'BOM变更记录', |
| | | component: () => import('@/pages/resourceManage/ecr'), |
| | | }, |
| | | // { |
| | | // path: 'flow-card', |
| | | // name: '流程卡', |
| | | // component:()=>import('@/pages/resourceManage/flowCard') |
| | | // }, |
| | | { |
| | | path: 'sop-file', |
| | | name: 'SOP', |
| | | component:()=>import('@/pages/resourceManage/sopFile') |
| | | }, |
| | | { |
| | | path: 'sop-history', |
| | | name: 'sop历史版本', |
| | | meta: { |
| | | invisible: true, |
| | | highlight: '/resource/sop-file' |
| | | }, |
| | | component: () => import('@/pages/resourceManage/sopFile/sop-history'), |
| | | }, |
| | | { |
| | | path: 'specification', |
| | | name: '技术规格书', |
| | | component: () => import('@/pages/resourceManage/specification'), |
| | | }, |
| | | { |
| | | path: 'specification-history', |
| | | name: '技术规格书历史版本', |
| | | meta: { |
| | | invisible: true, |
| | | highlight: '/resource/specification' |
| | | }, |
| | | component: () => import('@/pages/resourceManage/specification/history'), |
| | | }, |
| | | { |
| | | path: 'defective', |
| | | name: '不良品管理', |
| | | component: () => import('@/pages/resourceManage/defective'), |
| | | }, |
| | | ] |
| | | }, |
| | | { |
| | |
| | | icon: 'user', |
| | | page: { |
| | | cacheAble: false |
| | | }, |
| | | authority: { |
| | | role: '1004', |
| | | } |
| | | }, |
| | | component: BlankView, |
| | |
| | | // } |
| | | ] |
| | | }, |
| | | { |
| | | path: 'system', |
| | | name: '系统', |
| | | meta: { |
| | | icon: 'profile', |
| | | page: { |
| | | cacheAble: false |
| | | }, |
| | | }, |
| | | component: BlankView, |
| | | children: [ |
| | | { |
| | | path: 'logs', |
| | | name: '操作日志', |
| | | component: () => import('@/pages/system/logs'), |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: 'permission', |
| | | name: '权限', |
| | | meta: { |
| | | icon: 'apartment', |
| | | page: { |
| | | cacheAble: false |
| | | }, |
| | | authority: { |
| | | role: '1004', |
| | | } |
| | | }, |
| | | component: BlankView, |
| | | children: [ |
| | | { |
| | | path: 'list', |
| | | name: '权限管理', |
| | | component: () => import('@/pages/permission'), |
| | | } |
| | | ] |
| | | }, |
| | | ] |
| | | }, |
| | | ] |