Fairoj : Complete anyway option enable for all types
This commit is contained in:
parent
f437f12695
commit
3437a34571
@ -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>
|
||||
> <strong>Complete anyway </strong></button>
|
||||
<button mat-raised-button mat-dialog-close><strong> Ok </strong></button>
|
||||
</mat-dialog-actions>
|
||||
@ -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});
|
||||
|
||||
@ -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%',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user