| | |
| | | path: '', |
| | | component: LayoutDefaultComponent, |
| | | children: [ |
| | | { path: '', redirectTo: 'dashboard/v1', pathMatch: 'full' }, |
| | | { path: '', redirectTo: 'dashboard/workplace', pathMatch: 'full' }, |
| | | { path: 'dashboard', redirectTo: 'dashboard/v1', pathMatch: 'full' }, |
| | | { path: 'dashboard/v1', component: DashboardV1Component, data: { translate: 'dashboard_v1' } }, |
| | | { path: 'dashboard/analysis', component: DashboardAnalysisComponent, data: { translate: 'dashboard_analysis' } }, |
| | |
| | | }, // passport |
| | | { |
| | | path: 'report', |
| | | component: ReportComponent |
| | | component: ReportComponent, |
| | | data:{title:'对比报表'} |
| | | }, |
| | | { path: '**', redirectTo: 'passport/login' } |
| | | ]; |