routing issue and error issue fixed

This commit is contained in:
bitbucket 2023-04-18 16:00:21 +05:30
parent 2084caeb0b
commit 5792a61b13
7 changed files with 15 additions and 9 deletions

View File

@ -200,7 +200,11 @@ export class AppoinmentsListComponent implements OnInit {
});
dialogRef.afterClosed().subscribe(result => {
console.log(result)
this.formAddUpdateAndDelete(result,result.data)
if(result == 0){
this.getAppoinmentsList()
}
// this.formAddUpdateAndDelete(result,result.data)
// if(result.event == 'Add'){
// this.addRowData(result.data);
// }else if(result.event == 'Update'){

View File

@ -220,7 +220,7 @@ export class DialogBoxComponent implements OnInit {
this._app.addFormDetails(paramsData).subscribe(res => {
if (res.status == 200) {
this.notifierService.notify('success', 'Appointment Added Successfully');
this.dialogRef.close();
this.dialogRef.close(0);
}
})
}

View File

@ -72,6 +72,7 @@ export class BusinessListComponent implements OnInit {
this.recordStatus=false;
}
else{
this.isLoading = false
this.businessList=[];
this.businessListLength= null;
this.recordStatus=true;

View File

@ -112,7 +112,7 @@
</mat-select>
</mat-form-field>
</div>
<div class="form-group label-container" *ngIf="userRole != 'BADMIN'">
<div class="form-group label-container" *ngIf="userRole != 'BADMIN'" >
<label>Caption <span style="margin-left: 4rem;">-</span></label>
<a style="padding: 10px;" *ngIf="isEditable == false">{{practitionerdetails.caption}}</a>
<mat-form-field style="width: 60%;" *ngIf="isEditable == true">
@ -120,7 +120,7 @@
<textarea matInput rows="3" cols="30" placeholder="Caption" [(ngModel)]="caption"></textarea>
</mat-form-field>
</div>
<div class="form-group label-container" *ngIf="userRole != 'BADMIN'">
<div class="form-group label-container" *ngIf="userRole != 'BADMIN'">
<label>Description <span style="margin-left: 4rem;">-</span></label>
<a style="padding: 10px;" *ngIf="isEditable == false">{{practitionerdetails.description}}</a>
<mat-form-field style="width: 60%;" *ngIf="isEditable == true">

View File

@ -35,11 +35,11 @@
<div class="main-content" fxLayout="row" fxLayoutAlign="center start">
<div fxFlex.gt-sm="90" fxFlex.gt-xs="95" fxFlex="100">
<div class="messages-list material fullscreen">
<mat-accordion>
<mat-accordion >
<!-- <mat-expansion-panel>
<mat-expansion-panel-header > -->
<!-- <div class="example-container mat-elevation-z8 "> -->
<table mat-table [dataSource]="usersList" #mytable class="my-table mat-elevation-z8 len-table">
<table mat-table [dataSource]="usersList" #mytable class="my-table mat-elevation-z8 len-table">
<ng-container matColumnDef="id">
<th mat-header-cell *matHeaderCellDef class="font-color"> S.No</th>

View File

@ -37,7 +37,8 @@ export class DoctorProfileComponent implements OnInit {
this.profileDetails = this.bookedAppointment.practitionerInfos[0]
console.log(this.profileDetails)
this.skillsDetails = JSON.parse(this.profileDetails.skills)
console.log(this.skillsDetails)
this.skillsDetails = JSON.parse(this.skillsDetails)
}else{
let URL = this.router.url;

View File

@ -10,8 +10,8 @@ export const environment = {
// apiEndpoint:'http://192.168.1.20:8080/api/',
// apiEndpoint:'https://api.venbait.in/api/',
// apiEndpoint:'http://venbainfotech.com:5000/api/',
// apiEndpoint:'http://192.168.1.8:8080/api/',
apiEndpoint:'https://api.venbait.in/api/',
// apiEndpoint:'http://192.168.1.8:8080/api/',
apiEndpoint:'https://api.venbait.in/api/',
//EndUser URL
endUserUrl:'https://venbainfotech.com/appointment/#/customer/',