/*
 * @Author: your name
 * @Date: 2021-11-29 15:22:34
 * @LastEditTime: 2021-11-30 20:36:06
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \tms-obc-web\src\app\routes\usercenter\usercenter-routing.module.ts
 */
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { UserCenterComponentsDriverCaptainComponent } from './components/driver/captain/captain.component';
import { UserCenterComponentsDriverDetailComponent } from './components/driver/detail/detail.component';
import { UserCenterComponentsDriverComponent } from './components/driver/driver.component';
import { FreightComponentsEnterpriseAuditComponent } from './components/freight/enterprise-audit/enterprise-audit.component';
import { FreightComponentsEnterpriseAuditViewComponent } from './components/freight/enterprise-audit/view/view.component';
import { FreightComponentsListDetailComponent } from './components/freight/list/detail/detail.component';

import { FreightComponentsListComponent } from './components/freight/list/list.component';
import { FreightComponentsListNewComponent } from './components/freight/list/new/new.component';
import { FreightComponentsListViewComponent } from './components/freight/list/view/view.component';
import { FreightComponentsUserDetailComponent } from './components/freight/user/detail/detail.component';
import { FreightComponentsUserComponent } from './components/freight/user/user.component';


const routes: Routes = [

  { path: 'freight/list', component: FreightComponentsListComponent },
  { path: 'freight/list/view/:id', component: FreightComponentsListViewComponent },
  { path: 'freight/list/new', component: FreightComponentsListNewComponent },
  { path: 'freight/list/detail/:id', component: FreightComponentsListDetailComponent },
  { path: 'freight/enterprise', component: FreightComponentsEnterpriseAuditComponent },
  { path: 'freight/enterprise/view/:id', component: FreightComponentsEnterpriseAuditViewComponent },
  { path: 'freight/user', component: FreightComponentsUserComponent },
  { path: 'freight/user/view/:id', component: FreightComponentsUserDetailComponent },
  { path: 'driver', component: UserCenterComponentsDriverComponent },
  { path: 'driver/detail/:id', component: UserCenterComponentsDriverDetailComponent },
  { path: 'driver/captain', component: UserCenterComponentsDriverCaptainComponent },
];

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