|
@@ -17,34 +17,54 @@ export const asyncRouterMap = [
|
|
|
redirect: '/dashboard/workplace',
|
|
|
children: [
|
|
|
// dashboard
|
|
|
+ // {
|
|
|
+ // path: '/dashboard',
|
|
|
+ // name: 'dashboard',
|
|
|
+ // redirect: '/dashboard/workplace',
|
|
|
+ // component: RouteView,
|
|
|
+ // meta: { title: 'menu.dashboard', keepAlive: true, icon: bxAnaalyse },
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: '/dashboard/analysis/:pageNo([1-9]\\d*)?',
|
|
|
+ // name: 'Analysis',
|
|
|
+ // component: () => import('@/views/dashboard/Analysis'),
|
|
|
+ // meta: { title: 'menu.dashboard.analysis', keepAlive: false }
|
|
|
+ // },
|
|
|
+ // // 外部链接
|
|
|
+ // {
|
|
|
+ // 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 }
|
|
|
+ // }
|
|
|
+ // ]
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: '/dashboard',
|
|
|
+ // name: 'dashboard',
|
|
|
+ // redirect: '/dashboard/workplace',
|
|
|
+ // component: RouteView,
|
|
|
+ // meta: { title: '运营中心', keepAlive: true, icon: bxAnaalyse },
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: '/dashboard/workplace',
|
|
|
+ // name: 'Workplace',
|
|
|
+ // component: () => import('@/views/dashboard/Workplace'),
|
|
|
+ // meta: { title: 'menu.dashboard.workplace', keepAlive: true }
|
|
|
+ // }
|
|
|
+ // ]
|
|
|
+ // },
|
|
|
{
|
|
|
- path: '/dashboard',
|
|
|
- name: 'dashboard',
|
|
|
- redirect: '/dashboard/workplace',
|
|
|
- component: RouteView,
|
|
|
- meta: { title: 'menu.dashboard', keepAlive: true, icon: bxAnaalyse, permission: [ 'dashboard' ] },
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: '/dashboard/analysis/:pageNo([1-9]\\d*)?',
|
|
|
- name: 'Analysis',
|
|
|
- component: () => import('@/views/dashboard/Analysis'),
|
|
|
- meta: { title: 'menu.dashboard.analysis', keepAlive: false, permission: [ 'dashboard' ] }
|
|
|
- },
|
|
|
- // 外部链接
|
|
|
- {
|
|
|
- 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' ] }
|
|
|
- }
|
|
|
- ]
|
|
|
+ path: '/operation',
|
|
|
+ name: 'operation',
|
|
|
+ component: () => import('@/views/operation'),
|
|
|
+ meta: { title: '运营中心', keepAlive: true, icon: bxAnaalyse }
|
|
|
},
|
|
|
-
|
|
|
// forms
|
|
|
{
|
|
|
path: '/form',
|