Fairoj : Complete anyway option enable for all types

This commit is contained in:
venbatechnologies@gmail.com 2020-10-21 20:09:10 +05:30
parent f437f12695
commit 3437a34571
3 changed files with 5 additions and 2 deletions

View File

@ -27,6 +27,6 @@
</mat-dialog-actions>
<mat-dialog-actions align="end" *ngIf="!CompletenessCheck">
<button mat-raised-button color="primary" (click)="overwritten_pd()"
*ngIf="fk_pd_type == '3'"> <strong>Complete anyway </strong></button>&nbsp;&nbsp;
> <strong>Complete anyway </strong></button>&nbsp;&nbsp;
<button mat-raised-button mat-dialog-close><strong> Ok </strong></button>
</mat-dialog-actions>

View File

@ -68,6 +68,9 @@ export class PdStatusChangeDialogueComponent implements OnInit {
"pd_id":this.data.pdid,
};
update_status.pd_completeness_override = this.pd_completeness_override
if(this.pd_completeness_override == '1') {
update_status.complete_override_data = this.dialoge_subcontent
}
this.pd.editPdMasterDetails(update_status, status,this.masterRandomString).subscribe(result => {
if (result.status == 200) {
this.dialogRef.close({update_status:true});

View File

@ -395,7 +395,7 @@ export class QcViewComponent implements OnInit, OnDestroy {
this._qc.getRecordedPlaybackUrl(params).subscribe(result=>{
if(result && result['dataStatus'] && result['records'] && result['records'].length > 0) {
let dialogRef = this.dialog.open(VideoPlayerComponent,{
data:{videoUrl:result['records']},
data:{videoUrl:result['records'],masterData:this.pdMasterData[0]},
maxWidth: '100vw',
maxHeight: '100vh',
height: '90%',