|
|
|
|
import { HmgCommonModule } from './../hmg-common/hmg-common.module';
|
|
|
|
|
import { WorkListAttachViewComponent } from './work-list-attach-view/work-list-attach-view.component';
|
|
|
|
|
import { HomeComponent } from './home/home.component';
|
|
|
|
|
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 { NotificationPage } from './notification.page';
|
|
|
|
|
import { PipesModule } from '../pipes/pipes.module';
|
|
|
|
|
import { WorklistService } from './service/worklist.service';
|
|
|
|
|
import { WorklistMainComponent } from './worklist-main/worklist-main.component';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const routes: Routes = [
|
|
|
|
|
{
|
|
|
|
|
path: '',
|
|
|
|
|
component: NotificationPage,
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
path: 'homepage',
|
|
|
|
|
component: HomeComponent
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'work-list-attach-view',
|
|
|
|
|
component: WorkListAttachViewComponent
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path:'worklist-main',
|
|
|
|
|
component:WorklistMainComponent
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
|
imports: [
|
|
|
|
|
CommonModule,
|
|
|
|
|
FormsModule,
|
|
|
|
|
IonicModule,
|
|
|
|
|
HmgCommonModule,
|
|
|
|
|
PipesModule,
|
|
|
|
|
RouterModule.forChild(routes)
|
|
|
|
|
],
|
|
|
|
|
declarations: [
|
|
|
|
|
NotificationPage,
|
|
|
|
|
HomeComponent,
|
|
|
|
|
WorklistMainComponent
|
|
|
|
|
],
|
|
|
|
|
providers:[WorklistService]
|
|
|
|
|
})
|
|
|
|
|
export class NotificationPageModule {}
|