import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { IncidentManagementComponent } from './incident-management.component';
import { InspectionExecuteDetailComponent } from 'src/app/share/inspection-execute-detail/inspection-execute-detail.component';


const routes: Routes = [
  {
    path: '',
    component: IncidentManagementComponent,
    children: [
      {
        // 查看详情
        path: 'inspectionExecuteDetail/:id',
        component: InspectionExecuteDetailComponent,
      }
    ]
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class IncidentManagementRoutingModule { }
