diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index c815b62..5ac80a3 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -47,6 +47,10 @@ const routes: Routes = [ path: 'merms-mypatients', loadChildren: () => import('./merms-mypatients/merms-mypatients.module').then( m => m.MermsMypatientsPageModule) }, + { + path: 'merms-managepatient', + loadChildren: () => import('./merms-managepatient/merms-managepatient.module').then( m => m.MermsManagepatientPageModule) + }, ]; @NgModule({ diff --git a/src/app/merms-managepatient/merms-managepatient-routing.module.ts b/src/app/merms-managepatient/merms-managepatient-routing.module.ts new file mode 100644 index 0000000..e58a567 --- /dev/null +++ b/src/app/merms-managepatient/merms-managepatient-routing.module.ts @@ -0,0 +1,17 @@ +import { NgModule } from '@angular/core'; +import { Routes, RouterModule } from '@angular/router'; + +import { MermsManagepatientPage } from './merms-managepatient.page'; + +const routes: Routes = [ + { + path: '', + component: MermsManagepatientPage + } +]; + +@NgModule({ + imports: [RouterModule.forChild(routes)], + exports: [RouterModule], +}) +export class MermsManagepatientPageRoutingModule {} diff --git a/src/app/merms-managepatient/merms-managepatient.module.ts b/src/app/merms-managepatient/merms-managepatient.module.ts new file mode 100644 index 0000000..e183bb4 --- /dev/null +++ b/src/app/merms-managepatient/merms-managepatient.module.ts @@ -0,0 +1,20 @@ +import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; +import { FormsModule } from '@angular/forms'; + +import { IonicModule } from '@ionic/angular'; + +import { MermsManagepatientPageRoutingModule } from './merms-managepatient-routing.module'; + +import { MermsManagepatientPage } from './merms-managepatient.page'; + +@NgModule({ + imports: [ + CommonModule, + FormsModule, + IonicModule, + MermsManagepatientPageRoutingModule + ], + declarations: [MermsManagepatientPage] +}) +export class MermsManagepatientPageModule {} diff --git a/src/app/merms-managepatient/merms-managepatient.page.html b/src/app/merms-managepatient/merms-managepatient.page.html new file mode 100644 index 0000000..d0c48cb --- /dev/null +++ b/src/app/merms-managepatient/merms-managepatient.page.html @@ -0,0 +1,9 @@ + + + merms-managepatient + + + + +Thi is the add + edit patient engine point + diff --git a/src/app/merms-managepatient/merms-managepatient.page.scss b/src/app/merms-managepatient/merms-managepatient.page.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/merms-managepatient/merms-managepatient.page.spec.ts b/src/app/merms-managepatient/merms-managepatient.page.spec.ts new file mode 100644 index 0000000..40c152a --- /dev/null +++ b/src/app/merms-managepatient/merms-managepatient.page.spec.ts @@ -0,0 +1,24 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { IonicModule } from '@ionic/angular'; + +import { MermsManagepatientPage } from './merms-managepatient.page'; + +describe('MermsManagepatientPage', () => { + let component: MermsManagepatientPage; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ MermsManagepatientPage ], + imports: [IonicModule.forRoot()] + }).compileComponents(); + + fixture = TestBed.createComponent(MermsManagepatientPage); + component = fixture.componentInstance; + fixture.detectChanges(); + })); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/merms-managepatient/merms-managepatient.page.ts b/src/app/merms-managepatient/merms-managepatient.page.ts new file mode 100644 index 0000000..cd1e6c0 --- /dev/null +++ b/src/app/merms-managepatient/merms-managepatient.page.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-merms-managepatient', + templateUrl: './merms-managepatient.page.html', + styleUrls: ['./merms-managepatient.page.scss'], +}) +export class MermsManagepatientPage implements OnInit { + + constructor() { } + + ngOnInit() { + } + +} diff --git a/src/app/merms-mypatients/merms-mypatients.page.html b/src/app/merms-mypatients/merms-mypatients.page.html index ace8a58..578ee34 100644 --- a/src/app/merms-mypatients/merms-mypatients.page.html +++ b/src/app/merms-mypatients/merms-mypatients.page.html @@ -16,7 +16,7 @@ - + diff --git a/src/app/merms-mypatients/merms-mypatients.page.ts b/src/app/merms-mypatients/merms-mypatients.page.ts index 55a038e..2f787f8 100644 --- a/src/app/merms-mypatients/merms-mypatients.page.ts +++ b/src/app/merms-mypatients/merms-mypatients.page.ts @@ -53,4 +53,9 @@ export class MermsMypatientsPage implements OnInit { goSelectPatient(patientData:any){ } + + goAddPatient(){ + //merms-managepatient + this.router.navigateByUrl('/merms-managepatient'); + } }