routing issue and error issue fixed
This commit is contained in:
parent
2084caeb0b
commit
5792a61b13
@ -200,7 +200,11 @@ export class AppoinmentsListComponent implements OnInit {
|
|||||||
});
|
});
|
||||||
dialogRef.afterClosed().subscribe(result => {
|
dialogRef.afterClosed().subscribe(result => {
|
||||||
console.log(result)
|
console.log(result)
|
||||||
this.formAddUpdateAndDelete(result,result.data)
|
if(result == 0){
|
||||||
|
this.getAppoinmentsList()
|
||||||
|
}
|
||||||
|
|
||||||
|
// this.formAddUpdateAndDelete(result,result.data)
|
||||||
// if(result.event == 'Add'){
|
// if(result.event == 'Add'){
|
||||||
// this.addRowData(result.data);
|
// this.addRowData(result.data);
|
||||||
// }else if(result.event == 'Update'){
|
// }else if(result.event == 'Update'){
|
||||||
|
|||||||
@ -220,7 +220,7 @@ export class DialogBoxComponent implements OnInit {
|
|||||||
this._app.addFormDetails(paramsData).subscribe(res => {
|
this._app.addFormDetails(paramsData).subscribe(res => {
|
||||||
if (res.status == 200) {
|
if (res.status == 200) {
|
||||||
this.notifierService.notify('success', 'Appointment Added Successfully');
|
this.notifierService.notify('success', 'Appointment Added Successfully');
|
||||||
this.dialogRef.close();
|
this.dialogRef.close(0);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@ -72,6 +72,7 @@ export class BusinessListComponent implements OnInit {
|
|||||||
this.recordStatus=false;
|
this.recordStatus=false;
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
this.isLoading = false
|
||||||
this.businessList=[];
|
this.businessList=[];
|
||||||
this.businessListLength= null;
|
this.businessListLength= null;
|
||||||
this.recordStatus=true;
|
this.recordStatus=true;
|
||||||
|
|||||||
@ -37,7 +37,8 @@ export class DoctorProfileComponent implements OnInit {
|
|||||||
this.profileDetails = this.bookedAppointment.practitionerInfos[0]
|
this.profileDetails = this.bookedAppointment.practitionerInfos[0]
|
||||||
console.log(this.profileDetails)
|
console.log(this.profileDetails)
|
||||||
this.skillsDetails = JSON.parse(this.profileDetails.skills)
|
this.skillsDetails = JSON.parse(this.profileDetails.skills)
|
||||||
console.log(this.skillsDetails)
|
this.skillsDetails = JSON.parse(this.skillsDetails)
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
|
|
||||||
let URL = this.router.url;
|
let URL = this.router.url;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user