dashboard.routes.ts 759 B

1234567891011121314151617181920212223
  1. import { Routes } from '@angular/router';
  2. import { Dashboard } from './dashboard';
  3. import { ConsultationListComponent } from './pages/consultation-list/consultation-list.component';
  4. import { AssignmentListComponent } from './pages/assignment-list/assignment-list.component';
  5. import { ExceptionListComponent } from './pages/exception-list/exception-list.component';
  6. export const DASHBOARD_ROUTES: Routes = [
  7. {
  8. path: 'consultation-list',
  9. component: ConsultationListComponent,
  10. data: { title: '咨询列表' }
  11. },
  12. {
  13. path: 'assignment-list',
  14. component: AssignmentListComponent,
  15. data: { title: '派单列表' }
  16. },
  17. {
  18. path: 'exception-list',
  19. component: ExceptionListComponent,
  20. data: { title: '异常项目' }
  21. }
  22. ];