cmqueries fixed
This commit is contained in:
parent
f306a10301
commit
918780fad8
16077
ng6-seed/package-lock.json
generated
16077
ng6-seed/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -57,7 +57,7 @@ export class FormComponent implements OnInit {
|
|||||||
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;
|
||||||
this.quesService.formanswers=null;
|
// this.quesService.formanswers=null;
|
||||||
this.main_applicant = this.pd_all_details.pdmaster_details.main_applicant;
|
this.main_applicant = this.pd_all_details.pdmaster_details.main_applicant;
|
||||||
this.lender_applicant_id = this.pd_all_details.pdmaster_details.lender_applicant_id;
|
this.lender_applicant_id = this.pd_all_details.pdmaster_details.lender_applicant_id;
|
||||||
this.subproduct_abbr = this.pd_all_details.pdmaster_details.subproduct_abbr;
|
this.subproduct_abbr = this.pd_all_details.pdmaster_details.subproduct_abbr;
|
||||||
@ -261,8 +261,12 @@ else
|
|||||||
// formValues.cm_queries.splice(index, 1);
|
// formValues.cm_queries.splice(index, 1);
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
|
this.quesService.formanswers= formValues
|
||||||
// });
|
// });
|
||||||
|
if(formValues.cm_queries instanceof Array){
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
console.log(formValues.cm_queries)
|
console.log(formValues.cm_queries)
|
||||||
// var formula_index:any = tableCrtlName.indexOf(element);
|
// var formula_index:any = tableCrtlName.indexOf(element);
|
||||||
console.log(formValues)
|
console.log(formValues)
|
||||||
@ -279,12 +283,13 @@ else
|
|||||||
if(this.queries_value[i].is_insert_json == null){
|
if(this.queries_value[i].is_insert_json == null){
|
||||||
formValues.cm_queries.push({question:this.queries_value[i].add_requirement, answer: '',parent_id:this.queries_value[i].add_req_id})
|
formValues.cm_queries.push({question:this.queries_value[i].add_requirement, answer: '',parent_id:this.queries_value[i].add_req_id})
|
||||||
}
|
}
|
||||||
|
this.quesService.formanswers= formValues
|
||||||
|
|
||||||
} //<<<---using ()=> syntax
|
} //<<<---using ()=> syntax
|
||||||
this.quesService.formanswers= formValues
|
|
||||||
}, 1000);
|
}, 1000);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
this.loaderService.showMatSpinnerDialog("")
|
this.loaderService.showMatSpinnerDialog("")
|
||||||
// setTimeout(()=>{
|
// setTimeout(()=>{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user