edit
This commit is contained in:
@ -7,6 +7,10 @@ import { RouterModule, Routes } from '@angular/router';
|
||||
import { FreightAccountDetailComponent } from './components/freight-account/freight-account-detail/freight-account-detail.component';
|
||||
import { DriverAccountDetailComponent } from './components/driver-account/driver-account-detail/driver-account-detail.component';
|
||||
import { WithdrawalsDetailComponent } from './components/withdrawals-record/withdrawals-detail/withdrawals-detail.component';
|
||||
import { CostManagementComponent } from './components/cost-management/cost-management.component';
|
||||
import { AbnormalGoldComponent } from './components/abnormal-gold/abnormal-gold.component';
|
||||
import { PaymentRecordComponent } from './components/payment-record/payment-record.component';
|
||||
import { TransactionFlowComponent } from './components/transaction-flow/transaction-flow.component';
|
||||
|
||||
const routes: Routes = [
|
||||
{ path: 'freight-account', component: FreightAccountComponent },
|
||||
@ -16,6 +20,12 @@ const routes: Routes = [
|
||||
{ path: 'recharge-record', component: RechargeRecordComponent },
|
||||
{ path: 'withdrawals-record', component: WithdrawalsRecordComponent },
|
||||
{ path: 'withdrawals-record/detail/:id', component: WithdrawalsDetailComponent },
|
||||
// { path: 'voucher-management', component: VoucherManagementComponent },
|
||||
// { path: 'voucher-summary', component: VoucherSummaryComponent },
|
||||
{ path: 'cost-management', component: CostManagementComponent },
|
||||
{ path: 'abnormal-gold', component: AbnormalGoldComponent },
|
||||
{ path: 'payment-record', component: PaymentRecordComponent },
|
||||
{ path: 'transaction-flow', component: TransactionFlowComponent },
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
|
||||
Reference in New Issue
Block a user