|
@@ -23,6 +23,12 @@ export const asyncRouterMap = [
|
|
|
component: RouteView,
|
|
|
meta: { title: 'menu.dashboard', keepAlive: true, icon: bxAnaalyse, permission: ['dashboard'] },
|
|
|
children: [
|
|
|
+ {
|
|
|
+ path: '/dashboard/workplace',
|
|
|
+ name: 'Workplace',
|
|
|
+ component: () => import('@/views/dashboard/Workplace'),
|
|
|
+ meta: { title: 'menu.dashboard.workplace', keepAlive: true, permission: ['dashboard'] }
|
|
|
+ },
|
|
|
{
|
|
|
path: '/dashboard/analysis/:pageNo([1-9]\\d*)?',
|
|
|
name: 'Analysis',
|
|
@@ -34,12 +40,6 @@ export const asyncRouterMap = [
|
|
|
path: 'https://www.baidu.com/',
|
|
|
name: 'Monitor',
|
|
|
meta: { title: 'menu.dashboard.monitor', target: '_blank' }
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/dashboard/workplace',
|
|
|
- name: 'Workplace',
|
|
|
- component: () => import('@/views/dashboard/Workplace'),
|
|
|
- meta: { title: 'menu.dashboard.workplace', keepAlive: true, permission: ['dashboard'] }
|
|
|
}
|
|
|
]
|
|
|
},
|
|
@@ -267,6 +267,38 @@ export const asyncRouterMap = [
|
|
|
]
|
|
|
}
|
|
|
]
|
|
|
+ },
|
|
|
+
|
|
|
+ // 个人任务清单
|
|
|
+ {
|
|
|
+ path: '/tasks/important',
|
|
|
+ name: 'myday',
|
|
|
+ component: () => import(/* webpackChunkName: "fail" */ '@/views/task/personal/OneDayForMe'),
|
|
|
+ meta: { title: 'menu.exception', icon: 'warning' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/tasks/important',
|
|
|
+ name: 'important',
|
|
|
+ component: () => import(/* webpackChunkName: "fail" */ '@/views/task/personal/OneDayForMe'),
|
|
|
+ meta: { title: 'menu.exception', icon: 'warning' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/tasks/planned',
|
|
|
+ name: 'planned',
|
|
|
+ component: () => import(/* webpackChunkName: "fail" */ '@/views/task/personal/OneDayForMe'),
|
|
|
+ meta: { title: 'menu.exception', icon: 'warning' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/tasks/assigned_to_me',
|
|
|
+ name: 'assigned_to_me',
|
|
|
+ component: () => import(/* webpackChunkName: "fail" */ '@/views/task/personal/OneDayForMe'),
|
|
|
+ meta: { title: 'menu.exception', icon: 'warning' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/tasks/inbox',
|
|
|
+ name: 'inbox',
|
|
|
+ component: () => import(/* webpackChunkName: "fail" */ '@/views/task/personal/OneDayForMe'),
|
|
|
+ meta: { title: 'menu.exception', icon: 'warning' }
|
|
|
}
|
|
|
|
|
|
// other
|