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.
40 lines
982 B
TypeScript
40 lines
982 B
TypeScript
|
4 years ago
|
import { NgModule } from '@angular/core';
|
||
|
|
import { CommonModule } from '@angular/common';
|
||
|
|
import { FormsModule } from '@angular/forms';
|
||
|
|
import { Routes, RouterModule } from '@angular/router';
|
||
|
|
|
||
|
|
import { IonicModule } from '@ionic/angular';
|
||
|
|
|
||
|
|
import { ReportsPage } from './reports.page';
|
||
|
|
import { ConcurrentReportComponent } from './concurrent-report/concurrent-report.component';
|
||
|
|
import { ReportServiceService } from './report-service.service';
|
||
|
|
import { HmgCommonModule } from '../hmg-common/hmg-common.module';
|
||
|
|
|
||
|
|
|
||
|
|
const routes: Routes = [
|
||
|
|
{
|
||
|
|
path: '',
|
||
|
|
component: ReportsPage,
|
||
|
|
children: [
|
||
|
|
{
|
||
|
|
path: 'concurrent-report',
|
||
|
|
component: ConcurrentReportComponent
|
||
|
|
},
|
||
|
|
|
||
|
|
],
|
||
|
|
}
|
||
|
|
];
|
||
|
|
|
||
|
|
@NgModule({
|
||
|
|
imports: [
|
||
|
|
CommonModule,
|
||
|
|
FormsModule,
|
||
|
|
IonicModule,
|
||
|
|
RouterModule.forChild(routes),
|
||
|
|
HmgCommonModule
|
||
|
|
],
|
||
|
|
declarations: [ReportsPage, ConcurrentReportComponent],
|
||
|
|
providers: [ReportServiceService]
|
||
|
|
})
|
||
|
|
export class ReportsPageModule { }
|