You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
760 B
TypeScript
22 lines
760 B
TypeScript
import { NgModule } from '@angular/core';
|
|
import { RouterModule, Routes } from '@angular/router';
|
|
import { LayoutComponentComponent } from '../dashboard/layout-component/layout-component.component';
|
|
import { BidFinalReportComponent } from './bid-final-report/bid-final-report.component';
|
|
import { ReportComponent } from './report.component';
|
|
|
|
const routes: Routes = [
|
|
{
|
|
path: '', component: LayoutComponentComponent, children: [
|
|
{ path: '', redirectTo: '/dashboard', pathMatch: 'full' },
|
|
// { path: '', component: ReportComponent },
|
|
{path:'bid-final-report/:id', component:BidFinalReportComponent},
|
|
]
|
|
},
|
|
];
|
|
|
|
@NgModule({
|
|
imports: [RouterModule.forChild(routes)],
|
|
exports: [RouterModule]
|
|
})
|
|
export class ReportRoutingModule { }
|