Video chat url for CM with passing user id to video chat app url

This commit is contained in:
venbatechnologies@gmail.com 2021-06-19 11:12:50 +05:30
parent 2064004dce
commit 9b2b8a2fa0
2 changed files with 3 additions and 3 deletions

View File

@ -21,13 +21,13 @@
<mat-icon>videocam</mat-icon>&nbsp;
<strong>Call</strong>
</button>
<div *ngIf="(product == 'NBFC/MFI' && LenderRoleID != '26' && LenderRoleID != '27') || (product != 'NBFC/MFI')">
<span *ngIf="(product == 'NBFC/MFI' && LenderRoleID != '26' && LenderRoleID != '27') || (product != 'NBFC/MFI')">
<button mat-stroked-button class="mr-1 mb-1" color="primary" (click)="openExcelUpload()" *ngIf="master.lender_short_name == 'MWISE' &&(LenderRoleID == '25' || LenderRoleID == '26' || LenderRoleID == '27') && currentPDStatus!=pdStatusCheck.INPROGRESS && currentPDStatus!=pdStatusCheck.COMPLETED" >
<mat-icon>upload_file</mat-icon>&nbsp;
<strong>Upload Excel</strong>
</button>
</div>
</span>
<button mat-raised-button class="mr-1 mb-1" color="primary" style="cursor: not-allowed !important;">
<strong> {{master.pd_status==pdStatusCheck.QC_COMPLETED ? 'QC Completed' : master.pd_status==pdStatusCheck.ADD_ON_PENDING ? 'Addon Pending' : master.pd_status | titlecase}}</strong>
</button>

View File

@ -509,7 +509,7 @@ export class ViewPdComponent implements OnInit, OnDestroy {
// disableClose: true,
// panelClass:'video-chat'
// })
let url = window.location.origin+'/vchat/#/chat/'+this.pdMasterData[0].random_string+';id='+this.viewID+';type=2'
let url = window.location.origin+'/vchat/#/chat/'+this.pdMasterData[0].random_string+';id='+this.viewID+';type=3;uid='+this.userId
window.open(url,'_blank')
}
openPlayer(){