edit
This commit is contained in:
@ -0,0 +1,27 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { FreightAccountComponent } from './components/freight-account/freight-account.component';
|
||||
import { DriverAccountComponent } from './components/driver-account/driver-account.component';
|
||||
import { RechargeRecordComponent } from './components/recharge-record/recharge-record.component';
|
||||
import { WithdrawalsRecordComponent } from './components/withdrawals-record/withdrawals-record.component';
|
||||
import { MainAccountComponent } from './components/main-account/main-account.component';
|
||||
import { SharedModule } from '@shared';
|
||||
import { FinancialManagementRoutingModule } from './financial-managemen-routing.module';
|
||||
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';
|
||||
|
||||
const ROUTESCOMPONENTS = [
|
||||
FreightAccountComponent,
|
||||
DriverAccountComponent,
|
||||
RechargeRecordComponent,
|
||||
WithdrawalsRecordComponent,
|
||||
MainAccountComponent
|
||||
];
|
||||
|
||||
const NOTROUTECOMPONENTS = [DriverAccountDetailComponent, FreightAccountDetailComponent];
|
||||
|
||||
@NgModule({
|
||||
declarations: [...ROUTESCOMPONENTS, ...NOTROUTECOMPONENTS],
|
||||
imports: [CommonModule, FinancialManagementRoutingModule, SharedModule]
|
||||
})
|
||||
export class FinancialManagementModule {}
|
||||
Reference in New Issue
Block a user