|
@@ -62,7 +62,7 @@ let routes = [
|
|
iconCls: 'iconfont icon-ic_dashboard',
|
|
iconCls: 'iconfont icon-ic_dashboard',
|
|
children: [
|
|
children: [
|
|
{ path: '/project', component: project, name: '项目列表' },
|
|
{ path: '/project', component: project, name: '项目列表' },
|
|
- { path: '/projectDetail', component: projectDetail, name: '项目详情', hidden: true },
|
|
|
|
|
|
+ { path: '/project/:id', component: projectDetail, name: '项目详情', hidden: true },
|
|
{ path: '/staff', component: staff, name: '人员管理' },
|
|
{ path: '/staff', component: staff, name: '人员管理' },
|
|
{ path: '/competence', component: competence, name: '权限管理' }
|
|
{ path: '/competence', component: competence, name: '权限管理' }
|
|
]
|
|
]
|
|
@@ -75,7 +75,7 @@ let routes = [
|
|
iconCls: 'iconfont icon-moxing',
|
|
iconCls: 'iconfont icon-moxing',
|
|
children: [
|
|
children: [
|
|
{ path: '/moldList', component: moldList, name: '模具列表' },
|
|
{ path: '/moldList', component: moldList, name: '模具列表' },
|
|
- { path: '/moldDetail', component: moldDetail, name: '模具详情', hidden: true },
|
|
|
|
|
|
+ { path: '/moldList/:id', component: moldDetail, name: '模具详情', hidden: true },
|
|
{ path: '/moldFile', component: moldFile, name: '文档审批' },
|
|
{ path: '/moldFile', component: moldFile, name: '文档审批' },
|
|
{ path: '/moldDownload', component: moldDownload, name: '文档下载' }
|
|
{ path: '/moldDownload', component: moldDownload, name: '文档下载' }
|
|
]
|
|
]
|