1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
import {RouterModule, Routes} from '@angular/router';
import {NgModule} from '@angular/core';
import {ReportRunComponent} from './report-run.component';
import {RunReportFormFieldsComponent} from './run/run-report-form-fields/run-report-form-fields.component';
const routes: Routes = [
{
path: '',
component: ReportRunComponent,
children: [
{path: ':reportId', component: RunReportFormFieldsComponent},
{path: ':reportId/:queryParameters', component: RunReportFormFieldsComponent},
{path: ':reportId/:queryParameters/:groupSelectValue', component: RunReportFormFieldsComponent},
{path: ':reportId/:queryParameters/:groupSelectValue/:showBackButton/:downloadPrevReport', component: RunReportFormFieldsComponent},
{path: '', component: RunReportFormFieldsComponent},
]
}
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class ReportRunRouting{
}
|