import { Routes } from '@angular/router';
import { Dashboard } from './dashboard';
import { ConsultationListComponent } from './pages/consultation-list/consultation-list.component';
import { AssignmentListComponent } from './pages/assignment-list/assignment-list.component';
import { ExceptionListComponent } from './pages/exception-list/exception-list.component';

export const DASHBOARD_ROUTES: Routes = [
  { 
    path: 'consultation-list', 
    component: ConsultationListComponent,
    data: { title: '咨询列表' }
  },
  { 
    path: 'assignment-list', 
    component: AssignmentListComponent,
    data: { title: '派单列表' }
  },
  { 
    path: 'exception-list', 
    component: ExceptionListComponent,
    data: { title: '异常项目' }
  }
];