666
This commit is contained in:
@ -1,9 +1,27 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule, Routes } from '@angular/router';
|
||||
import { PartnerBusinessStatisticsIndexComponent } from './business-statistics/components/index/index.component';
|
||||
import { ParterChannelSalesEditComponent } from './channel-sales/components/edit/edit.component';
|
||||
import { ParterChannelSalesListComponent } from './channel-sales/components/list/list.component';
|
||||
import { ParterLevelConfigEditComponent } from './level-config/components/edit/edit.component';
|
||||
import { ParterLevelConfigListComponent } from './level-config/components/list/list.component';
|
||||
|
||||
const routes: Routes = [
|
||||
{ path: 'index', component: PartnerBusinessStatisticsIndexComponent }];
|
||||
{ path: 'index', component: PartnerBusinessStatisticsIndexComponent },
|
||||
{ path: 'channel-sales',
|
||||
children:[
|
||||
{path: 'list', component: ParterChannelSalesListComponent},
|
||||
{path: 'edit', component: ParterChannelSalesEditComponent},
|
||||
]
|
||||
},
|
||||
{ path: 'level-config',
|
||||
children:[
|
||||
{path: 'list', component: ParterLevelConfigListComponent},
|
||||
{path: 'edit', component: ParterLevelConfigEditComponent},
|
||||
]
|
||||
},
|
||||
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild(routes)],
|
||||
|
||||
Reference in New Issue
Block a user