cmqueries fixed

This commit is contained in:
bitbucket 2022-01-29 15:12:30 +05:30
parent f306a10301
commit 918780fad8
2 changed files with 49 additions and 16043 deletions

16077
ng6-seed/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -57,7 +57,7 @@ export class FormComponent implements OnInit {
this.parent_pdid = this.pd_all_details.pdmaster_details.parent_pd_id;
this.pdid = this.pd_all_details.pdmaster_details.pd_id;
this.notifier = notifier;
this.quesService.formanswers=null;
// this.quesService.formanswers=null;
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.subproduct_abbr = this.pd_all_details.pdmaster_details.subproduct_abbr;
@ -261,8 +261,12 @@ else
// formValues.cm_queries.splice(index, 1);
// }
// }
this.quesService.formanswers= formValues
// });
if(formValues.cm_queries instanceof Array){
console.log(formValues.cm_queries)
// var formula_index:any = tableCrtlName.indexOf(element);
console.log(formValues)
@ -279,13 +283,14 @@ else
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})
}
this.quesService.formanswers= formValues
} //<<<---using ()=> syntax
this.quesService.formanswers= formValues
}, 1000);
}
this.loaderService.showMatSpinnerDialog("")
// setTimeout(()=>{
// this.quesService.formanswers = null