import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { AdminOfficePrescriptionComponent } from './admin-office-prescription.component';


const routes: Routes = [
  {
    path: '',
    component: AdminOfficePrescriptionComponent,
    children: [
      {
        // 查看详情
        path: 'officeDetail/:id',
        loadChildren: () => import('../office-detail/office-detail.module').then(m => m.OfficeDetailModule),
      }
    ]
  }
];

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