summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/report-run/report-run-routing.module.ts
blob: 38f4d5b3d71693493975b0da01cc4be5544f52dc (plain)
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{

}