|
@@ -43,42 +43,54 @@ export const fixedRouter = [
|
|
|
]
|
|
|
|
|
|
export const manageRouter = [
|
|
|
- //工作桌面
|
|
|
+ //智能监控
|
|
|
{
|
|
|
path: '/',
|
|
|
component: Home,
|
|
|
- name: '工作桌面',
|
|
|
+ name: '智能监控',
|
|
|
iconCls: 'fa fa-desktop',
|
|
|
children: [
|
|
|
- { path: '/desktop', component: desktop, name: '桌面查看' },
|
|
|
- { path: '/desktop/:id/:date', component: desktopDetail, name: '个人桌面', hidden: true },
|
|
|
+ { path: '/desktop', component: desktop, name: '员工桌面' },
|
|
|
+ { path: '/desktop/:id/:date', component: desktopDetail, name: '员工桌面详情', hidden: true },
|
|
|
{ path: '/unusual', component: unusual, name: '异常统计' },
|
|
|
+ { path: '/statistics', component: statistics, name: '智能分析' },
|
|
|
]
|
|
|
},
|
|
|
- //工作报告
|
|
|
+ //工时报告
|
|
|
{
|
|
|
path: '/',
|
|
|
component: Home,
|
|
|
- name: '工作报告',
|
|
|
+ name: '工时报告',
|
|
|
iconCls: 'fa fa-sticky-note',
|
|
|
+ leaf: true,
|
|
|
children: [
|
|
|
- { path: '/statistics', component: statistics, name: '工时统计' },
|
|
|
- { path: '/daily', component: daily, name: '工作日报' },
|
|
|
+ { path: '/daily', component: daily, name: '工时报告' },
|
|
|
]
|
|
|
},
|
|
|
- //项目管理
|
|
|
+ //成本统计
|
|
|
{
|
|
|
path: '/',
|
|
|
component: Home,
|
|
|
- name: '项目管理',
|
|
|
- iconCls: 'fa fa-briefcase',
|
|
|
+ name: '成本统计',
|
|
|
+ iconCls: 'fa fa-clock-o',
|
|
|
+ leaf: true,
|
|
|
children: [
|
|
|
- { path: '/list', component: list, name: '项目列表' },
|
|
|
{ path: '/cost', component: cost, name: '成本统计' },
|
|
|
{ path: '/cost/:id/:name', component: proDetail, name: '成本详情', hidden: true },
|
|
|
{ path: '/costDep/:id/:name', component: depDetail, name: '成本详情', hidden: true },
|
|
|
]
|
|
|
},
|
|
|
+ //项目管理
|
|
|
+ {
|
|
|
+ path: '/',
|
|
|
+ component: Home,
|
|
|
+ name: '项目管理',
|
|
|
+ iconCls: 'fa fa-briefcase',
|
|
|
+ leaf: true,
|
|
|
+ children: [
|
|
|
+ { path: '/list', component: list, name: '项目管理' },
|
|
|
+ ]
|
|
|
+ },
|
|
|
//组织架构
|
|
|
{
|
|
|
path: '/',
|
|
@@ -104,14 +116,15 @@ export const manageRouter = [
|
|
|
];
|
|
|
|
|
|
export const staffRouter = [
|
|
|
- //工作报告
|
|
|
+ //工时报告
|
|
|
{
|
|
|
path: '/',
|
|
|
component: Home,
|
|
|
- name: '工作报告',
|
|
|
+ name: '工时报告',
|
|
|
iconCls: 'fa fa-sticky-note',
|
|
|
+ leaf: true,
|
|
|
children: [
|
|
|
- { path: '/daily', component: daily, name: '工作日报' },
|
|
|
+ { path: '/daily', component: daily, name: '工时报告' },
|
|
|
]
|
|
|
},
|
|
|
{
|