image docs added in queries docs
This commit is contained in:
parent
874232c9bc
commit
590f5e3c10
@ -11,6 +11,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</h2>
|
</h2>
|
||||||
<mat-dialog-content style="border-bottom: 2px solid #e2412f8f;">
|
<mat-dialog-content style="border-bottom: 2px solid #e2412f8f;">
|
||||||
|
<mat-tab-group>
|
||||||
|
<mat-tab label="Questions">
|
||||||
|
<ng-template matTabContent>
|
||||||
<div [formGroup]="docsCollectedForm" *ngIf="loadComponent">
|
<div [formGroup]="docsCollectedForm" *ngIf="loadComponent">
|
||||||
<mat-card *ngIf="queries_docs.length !=0">
|
<mat-card *ngIf="queries_docs.length !=0">
|
||||||
<mat-card-header>
|
<mat-card-header>
|
||||||
@ -103,6 +106,14 @@
|
|||||||
</mat-card>
|
</mat-card>
|
||||||
</mat-card>
|
</mat-card>
|
||||||
</div>
|
</div>
|
||||||
|
</ng-template>
|
||||||
|
</mat-tab>
|
||||||
|
<mat-tab label="Docs">
|
||||||
|
<ng-template matTabContent>
|
||||||
|
<app-image-docs [data_values]="image_doc_params"> </app-image-docs>
|
||||||
|
</ng-template>
|
||||||
|
</mat-tab>
|
||||||
|
</mat-tab-group>
|
||||||
</mat-dialog-content>
|
</mat-dialog-content>
|
||||||
<mat-dialog-actions align="end">
|
<mat-dialog-actions align="end">
|
||||||
<div align="end">
|
<div align="end">
|
||||||
|
|||||||
@ -31,6 +31,7 @@ export class QueriesDocsComponent implements OnInit {
|
|||||||
loadComponent:boolean=false
|
loadComponent:boolean=false
|
||||||
disableAfterSubmit: boolean;
|
disableAfterSubmit: boolean;
|
||||||
fk_pd_type: any;
|
fk_pd_type: any;
|
||||||
|
image_doc_params: { pdid: string; form_id: number; company_id: string; };
|
||||||
|
|
||||||
constructor(notifier: NotifierService,
|
constructor(notifier: NotifierService,
|
||||||
private _ngZone: NgZone,
|
private _ngZone: NgZone,
|
||||||
@ -44,7 +45,7 @@ export class QueriesDocsComponent implements OnInit {
|
|||||||
private pdTriggerService:PdTrigerService,
|
private pdTriggerService:PdTrigerService,
|
||||||
private awsService:AwsService) {
|
private awsService:AwsService) {
|
||||||
// console.log(this.pd_all_details)
|
// console.log(this.pd_all_details)
|
||||||
this.form_id = 10;
|
this.form_id = 24;
|
||||||
this.parent_pdid = this.pd_all_details.pdmaster_details.parent_pd_id;
|
this.parent_pdid = this.pd_all_details.pdmaster_details.parent_pd_id;
|
||||||
this.pdid = this.pd_all_details.pdmaster_details.pd_id;
|
this.pdid = this.pd_all_details.pdmaster_details.pd_id;
|
||||||
this.notifier = notifier;
|
this.notifier = notifier;
|
||||||
@ -54,6 +55,8 @@ export class QueriesDocsComponent implements OnInit {
|
|||||||
this.customer_segment_abbr = this.pd_all_details.pdmaster_details.customer_segment_abbr;
|
this.customer_segment_abbr = this.pd_all_details.pdmaster_details.customer_segment_abbr;
|
||||||
this.lenderShortName = this.pd_all_details.pdmaster_details.lender_short_name;
|
this.lenderShortName = this.pd_all_details.pdmaster_details.lender_short_name;
|
||||||
this.fk_pd_type = this.pd_all_details.pdmaster_details.fk_pd_type;
|
this.fk_pd_type = this.pd_all_details.pdmaster_details.fk_pd_type;
|
||||||
|
this.image_doc_params={pdid:this.pdid,form_id:this.form_id,company_id:''}
|
||||||
|
console.log('image_doc_params',this.image_doc_params)
|
||||||
|
|
||||||
}
|
}
|
||||||
@ViewChild('autosize') autosize: CdkTextareaAutosize;
|
@ViewChild('autosize') autosize: CdkTextareaAutosize;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user