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.
mohemmionic5/Mohem/src/app/notification/notification.module.ts

78 lines
2.3 KiB
TypeScript

import { ViewNoteModalComponent } from './view-note-modal/view-note-modal.component';
import { WorkListReplacementRollComponent } from './work-list-replacement-roll/work-list-replacement-roll.component';
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 { WorkListRfcComponent } from './work-list-rfc/work-list-rfc.component';
import { ViewReplacementModalComponent } from './view-replacement-modal/view-replacement-modal.component';
7 years ago
// 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: 'work-list-replacement-roll',
component: WorkListReplacementRollComponent
},
{
path: 'work-list-rfc',
component: WorkListRfcComponent
},
{
path: 'view-note-modal',
component: ViewNoteModalComponent
},
{
path: 'view-replacement-modal',
component: ViewReplacementModalComponent
},
7 years ago
// {
// path:'worklist-main',
// component:WorklistMainComponent
// }
]
}
];
@NgModule({
imports: [
CommonModule,
FormsModule,
IonicModule,
HmgCommonModule,
PipesModule,
RouterModule.forChild(routes)
],
declarations: [
NotificationPage,
HomeComponent,
WorkListReplacementRollComponent,
WorkListRfcComponent,
ViewNoteModalComponent,
ViewReplacementModalComponent
7 years ago
// WorklistMainComponent
],
providers:[WorklistService]
})
export class NotificationPageModule {}