12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- import { NgModule } from '@angular/core';
- import { Routes, RouterModule } from '@angular/router';
- import { DetailSampleComponent } from '../../share/detail-sample/detail-sample.component';
- import { DetailPatientsComponent } from '../../share/detail-patients/detail-patients.component';
- import { DetailDrugComponent } from '../../share/detail-drug/detail-drug.component';
- import { DetailOthersComponent } from '../../share/detail-others/detail-others.component';
- import { AllocationWorkerComponent } from '../../share/allocation-worker/allocation-worker.component';
- import { FuwutaiComponent } from './fuwutai.component';
- import { DetailOrdinaryComponent } from 'src/app/share/detail-ordinary/detail-ordinary.component';
- const routes: Routes = [
- {
- path: '',
- component: FuwutaiComponent,
- children: [
- {
- // 工单详情-标本
- path: 'detailSample/:id',
- component: DetailSampleComponent
- },
- {
- // 工单详情-万能交接服务
- path: 'detailOrdinary/:id',
- component: DetailOrdinaryComponent
- },
- {
- // 工单详情-送患者
- path: 'detailPatients/:id',
- component: DetailPatientsComponent
- },
- {
- // 工单详情-送患者
- path: 'detailDrug/:id',
- component: DetailDrugComponent
- },
- {
- // 工单详情-其他
- path: 'detailOthers/:id',
- component: DetailOthersComponent
- },
- {
- path: 'allotWorker/:id/:stateId/:flag/:hosId',
- component: AllocationWorkerComponent
- }
- ]
- }
- ];
- @NgModule({
- imports: [RouterModule.forChild(routes)],
- exports: [RouterModule]
- })
- export class FuwutaiRoutingModule { }
|