Merge branch 'feature/partner' of https://gitlab.eascs.com/tms-ui/tms-obc-web into feature/partner

This commit is contained in:
潘晓云
2022-02-24 17:23:50 +08:00
16 changed files with 944 additions and 7 deletions

View File

@ -1,15 +1,57 @@
/*
* @Description :
* @Version : 1.0
* @Author : Shiming
* @Date : 2022-02-24 15:07:57
* @LastEditors : Shiming
* @LastEditTime : 2022-02-24 15:23:48
* @FilePath : \\tms-obc-web\\src\\app\\routes\\partner\\partner-routing.module.ts
* Copyright (C) 2022 huzhenhong. All rights reserved.
*/
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { PartnerBusinessStatisticsIndexComponent } from './business-statistics/components/index/index.component';
import { PartnerPartnerCustomDetailComponent } from './business-statistics/components/partner-custom-detail/partner-custom-detail.component';
import { PartnerSaleCustomDetailComponent } from './business-statistics/components/sale-custom-detail/sale-custom-detail.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';
import { ParterRebateManageMentParticularsComponent } from './rebate-management/components/list/particulars.component';
const routes: Routes = [
{ path: 'business-statistics/index', component: PartnerBusinessStatisticsIndexComponent },
{ path: 'sale-custom/detail/:id', component: PartnerSaleCustomDetailComponent },
{ path: 'partner-custom/detail/:id', component: PartnerPartnerCustomDetailComponent },
];
{
path: 'business-statistics', children: [
{ path: '', redirectTo: 'index' },
{ path: 'index', component: PartnerBusinessStatisticsIndexComponent },
{ path: 'sale-custom/detail/:id', component: PartnerSaleCustomDetailComponent },
{ path: 'partner-custom/detail/:id', component: PartnerPartnerCustomDetailComponent },
]
},
{
path: 'channel-sales',
children: [
{ path: '', component: ParterChannelSalesListComponent },
{ path: 'list', component: ParterChannelSalesListComponent },
{ path: 'edit', component: ParterChannelSalesEditComponent },
]
},
{
path: 'level-config',
children: [
{ path: '', component: ParterLevelConfigListComponent },
{ path: 'list', component: ParterLevelConfigListComponent },
{ path: 'edit', component: ParterLevelConfigEditComponent },
]
},
{
path: 'rebate',
children: [
{ path: 'particulars', component: ParterRebateManageMentParticularsComponent },
]
},
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]