import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import {SharedModule} from '../../../../shared/shared.module';
import { EnrolReportAgentComponent } from './enrol-report-agent/enrol-report-agent.component';
import { EnrolReportAspectComponent } from './enrol-report-aspect/enrol-report-aspect.component';
import { EnrolReportReexamineComponent } from "./enrol-report-reexamine/enrol-report-reexamine.component";
import { EnrolReportPorvinceComponent } from './enrol-report-porvince/enrol-report-porvince.component';
import { VideoAppReportComponent } from './video-app-report/video-app-report.component';
import { VideoAppReportStdComponent } from './video-app-report-std/video-app-report-std.component';
import { EnrolReportAppointmentComponent } from './enrol-report-appointment/enrol-report-appointment.component';
import { EnrolReportCommonComponent } from './enrol-report-common/enrol-report-common.component';
import { TicketDownloadReportComponent } from './ticket-download-report/ticket-download-report.component';
import { EnrolWorksPageComponent } from './enrol-works-page/enrol-works-page.component';
import { EnrolWorksReportComponent } from './enrol-works-report/enrol-works-report.component';
import { EnrolReportAspectDetailComponent } from './enrol-report-aspect-detail/enrol-report-aspect-detail.component';
import { TicketDownloadReportDetailComponent } from './ticket-download-report-detail/ticket-download-report-detail.component';

const routes: Routes = [
  {path: 'province', component: EnrolReportPorvinceComponent},
  {path: 'aspect', component: EnrolReportAspectComponent},
  {path: 'reexamine', component: EnrolReportReexamineComponent},
  {path: 'agent', component: EnrolReportAgentComponent},
  
  {path: 'videoapp', component: VideoAppReportComponent },
  {path: 'appointment', component: EnrolReportAppointmentComponent },
  {path: 'common', component: EnrolReportCommonComponent },
  {path: 'ticket', component: TicketDownloadReportComponent },

  {path: 'worksreport', component: EnrolWorksReportComponent },
  {path: 'workspage', component: EnrolWorksPageComponent }
  

];

@NgModule({
  imports: [
    SharedModule,
    RouterModule.forChild(routes)
  ],
  entryComponents: [EnrolReportPorvinceComponent,VideoAppReportComponent,VideoAppReportStdComponent],
  declarations: [EnrolReportPorvinceComponent,EnrolReportAspectComponent,EnrolReportReexamineComponent,EnrolReportAgentComponent,VideoAppReportComponent,VideoAppReportStdComponent, EnrolReportAppointmentComponent, 
    EnrolReportCommonComponent, TicketDownloadReportComponent,EnrolWorksReportComponent,EnrolWorksPageComponent, EnrolReportAspectDetailComponent, TicketDownloadReportDetailComponent],
  exports: [
    RouterModule
  ]
})

export class ArtReportModule {
}
