fuwutai-routing.module.ts 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. import { NgModule } from '@angular/core';
  2. import { Routes, RouterModule } from '@angular/router';
  3. import { DetailSampleComponent } from '../../share/detail-sample/detail-sample.component';
  4. import { DetailPatientsComponent } from '../../share/detail-patients/detail-patients.component';
  5. import { DetailDrugComponent } from '../../share/detail-drug/detail-drug.component';
  6. import { DetailOthersComponent } from '../../share/detail-others/detail-others.component';
  7. import { AllocationWorkerComponent } from '../../share/allocation-worker/allocation-worker.component';
  8. import { FuwutaiComponent } from './fuwutai.component';
  9. import { DetailOrdinaryComponent } from 'src/app/share/detail-ordinary/detail-ordinary.component';
  10. const routes: Routes = [
  11. {
  12. path: '',
  13. component: FuwutaiComponent,
  14. children: [
  15. {
  16. // 工单详情-标本
  17. path: 'detailSample/:id',
  18. component: DetailSampleComponent
  19. },
  20. {
  21. // 工单详情-万能交接服务
  22. path: 'detailOrdinary/:id',
  23. component: DetailOrdinaryComponent
  24. },
  25. {
  26. // 工单详情-送患者
  27. path: 'detailPatients/:id',
  28. component: DetailPatientsComponent
  29. },
  30. {
  31. // 工单详情-送患者
  32. path: 'detailDrug/:id',
  33. component: DetailDrugComponent
  34. },
  35. {
  36. // 工单详情-其他
  37. path: 'detailOthers/:id',
  38. component: DetailOthersComponent
  39. },
  40. {
  41. path: 'allotWorker/:id/:stateId/:flag/:hosId',
  42. component: AllocationWorkerComponent
  43. }
  44. ]
  45. }
  46. ];
  47. @NgModule({
  48. imports: [RouterModule.forChild(routes)],
  49. exports: [RouterModule]
  50. })
  51. export class FuwutaiRoutingModule { }