/*
 * @Author: your name
 * @Date: 2021-11-29 15:22:34
 * @LastEditTime: 2021-12-13 09:56:49
 * @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 { VehicleComponentsAuditComponent } from './components/audit/audit.component';
import { VehicleComponentsAuditDetailComponent } from './components/audit/detail/detail.component';
import { VehicleComponentsListDetailComponent } from './components/list/detail/detail.component';
import { VehicleComponentsListComponent } from './components/list/list.component';

const routes: Routes = [
  { path: 'list', component: VehicleComponentsListComponent },
  { path: 'list/detail/:id', component: VehicleComponentsListDetailComponent },
  { path: 'audit', component: VehicleComponentsAuditComponent },
  { path: 'audit/detail/:id', component: VehicleComponentsAuditDetailComponent }
];

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