import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import { SharedModule } from '../../../../shared/shared.module';
import { StdMaterialVerifyComponent } from './std-material-verify/std-material-verify.component';
import { FaceCheckComponent } from './face-check/face-check.component';
import { FaceCheckZXComponent } from './face-check-zx/face-check-zx.component';
import { FaceCheckZhongxComponent } from './face-check-zhongx/face-check-zhongx.component';
import { FaceCheckZhongxDisciplineComponent } from './face-check-zhongx-discipline/face-check-zhongx-discipline.component';
import { FaceCheckZhongxPageComponent } from './face-check-zhongx-page/face-check-zhongx-page.component';
import { StdMaterialBatchComponent } from './std-material-batch/std-material-batch.component';
import { StdWithoutExamMaterialComponent } from './std-without-exam-material/std-without-exam-material.component';
import { StdWithoutExamRemarkComponent } from './std-without-exam-remark/std-without-exam-remark.component';

const routes: Routes = [
  {path: 'verify', component: StdMaterialVerifyComponent},
  {path: 'facecheck', component: FaceCheckComponent},
  {path: 'facecheckzx', component: FaceCheckZXComponent},
  {path: 'facecheckzhongx', component: FaceCheckZhongxComponent},
  {path: 'checkpage', component: FaceCheckZhongxPageComponent},
  {path: 'material', component: StdMaterialBatchComponent},
  {path: 'withoutexam', component: StdWithoutExamMaterialComponent},
];

@NgModule({
  imports: [
    SharedModule,
    RouterModule.forChild(routes)
  ],
  entryComponents: [StdMaterialVerifyComponent,FaceCheckComponent,FaceCheckZXComponent, FaceCheckZhongxDisciplineComponent, FaceCheckZhongxPageComponent],
  declarations: [StdMaterialVerifyComponent,FaceCheckComponent,FaceCheckZXComponent, FaceCheckZhongxComponent, FaceCheckZhongxDisciplineComponent, FaceCheckZhongxPageComponent, StdMaterialBatchComponent, StdWithoutExamMaterialComponent, StdWithoutExamRemarkComponent],
  exports: [
    RouterModule
  ]
})
export class StdMaterialModule {
}
