fix
This commit is contained in:
@@ -47,6 +47,10 @@ const routes: Routes = [
|
|||||||
path: 'merms-mypatients',
|
path: 'merms-mypatients',
|
||||||
loadChildren: () => import('./merms-mypatients/merms-mypatients.module').then( m => m.MermsMypatientsPageModule)
|
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({
|
@NgModule({
|
||||||
|
|||||||
@@ -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 {}
|
||||||
@@ -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 {}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
<ion-header>
|
||||||
|
<ion-toolbar>
|
||||||
|
<ion-title>merms-managepatient</ion-title>
|
||||||
|
</ion-toolbar>
|
||||||
|
</ion-header>
|
||||||
|
|
||||||
|
<ion-content>
|
||||||
|
Thi is the add + edit patient engine point
|
||||||
|
</ion-content>
|
||||||
@@ -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<MermsManagepatientPage>;
|
||||||
|
|
||||||
|
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();
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -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() {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
<ion-icon name="calendar-outline" style="padding-right: 20px; padding-left: 20px;"></ion-icon>
|
<ion-icon name="calendar-outline" style="padding-right: 20px; padding-left: 20px;"></ion-icon>
|
||||||
</ion-col>
|
</ion-col>
|
||||||
<ion-col>
|
<ion-col>
|
||||||
<ion-icon name="person-add-outline" style="padding-right: 20px; padding-left: 20px;"></ion-icon>
|
<ion-icon name="person-add-outline" style="padding-right: 20px; padding-left: 20px;" (click)="goAddPatient()"></ion-icon>
|
||||||
</ion-col>
|
</ion-col>
|
||||||
</ion-row>
|
</ion-row>
|
||||||
<ion-row>
|
<ion-row>
|
||||||
|
|||||||
@@ -53,4 +53,9 @@ export class MermsMypatientsPage implements OnInit {
|
|||||||
goSelectPatient(patientData:any){
|
goSelectPatient(patientData:any){
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
goAddPatient(){
|
||||||
|
//merms-managepatient
|
||||||
|
this.router.navigateByUrl('/merms-managepatient');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user