import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import {SharedModule} from '../../../../shared/shared.module';
import {ExamInterviewScoreComponent} from './exam-interview-score/exam-interview-score.component';
import {ExamInterviewRoomComponent} from './exam-interview-room/exam-interview-room.component';
import {ExamInterviewRoomJudgeComponent} from './exam-interview-room-judge/exam-interview-room-judge.component';
import {ExamInterviewRoomStdComponent} from './exam-interview-room-std/exam-interview-room-std.component';
import {ExamInterviewJudgeGradeComponent} from './exam-interview-judge-grade/exam-interview-judge-grade.component';
import { ExamInterviewTotalComponent } from './exam-interview-total/exam-interview-total.component';
import { ExamInterviewTotalStdComponent } from './exam-interview-total-std/exam-interview-total-std.component';
import { ExamInterviewAspectTotalComponent } from './exam-interview-aspect-total/exam-interview-aspect-total.component';
import { ExamInterviewJudgeScoreComponent } from './exam-interview-judge-score/exam-interview-judge-score.component';
import { ExamInterviewJudgeScorePrintComponent } from './exam-interview-judge-score-print/exam-interview-judge-score-print.component';
import { ExamInterviewRoomBindComponent } from './exam-interview-room-bind/exam-interview-room-bind.component';
import { ExamInterviewRoomBatchComponent } from './exam-interview-room-batch/exam-interview-room-batch.component';
import { OnlineExamInterviewRoomComponent } from './online-exam-interview-room/online-exam-interview-room.component';
import { ExamInterviewNoCompleteComponent } from './exam-interview-no-complete/exam-interview-no-complete.component';

const routes: Routes = [
  {path: 'score', component: ExamInterviewScoreComponent},
  {path: 'room', component: ExamInterviewRoomComponent},
  {path: 'grade', component: ExamInterviewJudgeGradeComponent},
  {path: 'total', component: ExamInterviewTotalComponent},
  {path: 'aspect', component: ExamInterviewAspectTotalComponent},
  {path: 'judgescore', component: ExamInterviewJudgeScoreComponent},
  {path: 'onlineroom', component: OnlineExamInterviewRoomComponent},
  {path: 'nocomplete', component: ExamInterviewNoCompleteComponent}

];

@NgModule({
  imports: [
    SharedModule,
    RouterModule.forChild(routes)
  ],
  entryComponents: [ExamInterviewRoomJudgeComponent, ExamInterviewRoomStdComponent, ExamInterviewTotalStdComponent, ExamInterviewJudgeScorePrintComponent, ExamInterviewRoomBindComponent, ExamInterviewRoomBatchComponent],
  declarations: [ExamInterviewScoreComponent, ExamInterviewRoomComponent, ExamInterviewRoomJudgeComponent, ExamInterviewRoomStdComponent, ExamInterviewJudgeGradeComponent, ExamInterviewTotalComponent, ExamInterviewTotalStdComponent, ExamInterviewAspectTotalComponent, ExamInterviewJudgeScoreComponent, ExamInterviewJudgeScorePrintComponent, ExamInterviewRoomBindComponent, ExamInterviewRoomBatchComponent, OnlineExamInterviewRoomComponent, ExamInterviewNoCompleteComponent],
  exports: [
    RouterModule
  ]
})
export class ExamInterviewModule {
}
