/*
 * @Author: your name
 * @Date: 2021-12-03 11:10:14
 * @LastEditTime: 2021-12-06 13:51:59
 * @LastEditors: your name
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \tms-obc-web\src\app\routes\supply-management\supply-management-routing.module.ts
 */
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { SupplyManagementIndexComponent } from './components/index/index.component';
import { SupplyManagementBulkComponent } from './components/bulk/bulk.component';
import { SupplyManagementVehicleComponent } from './components/vehicle/vehicle.component';
import { SupplyManagementBulkDetailComponent } from './components/bulk-detail/bulk-detail.component';
import { SupplyManagementVehicleDetailComponent } from './components/vehicle-detail/vehicle-detail.component';
import { SupplyManagementAddDriversComponent } from './components/add-drivers/add-drivers.component';
import { SupplyManagementOnecarPublishComponent } from './components/onecar-publish/onecar-publish.component';
import { SupplyManagementBulkPublishComponent } from './components/bulk-publish/bulk-publish.component';

const routes: Routes = [
  { path: 'index', component: SupplyManagementIndexComponent },
  { path: 'bulk-detail/:id', component: SupplyManagementBulkDetailComponent },
  { path: 'vehicle-detail/:id', component: SupplyManagementVehicleDetailComponent },
  { path: 'add-drivers', component: SupplyManagementAddDriversComponent },
  { path: 'vehicle-amend/:id', component: SupplyManagementOnecarPublishComponent },
  { path: 'bulk-amend/:id', component: SupplyManagementBulkPublishComponent },
];

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