| | |
| | | qisReportId: this.qisReportId |
| | | }).then(result => { |
| | | if (result!=null) { |
| | | this.paeId = result.PAEid; |
| | | console.log('result='+this.paeId); |
| | | this.paeId = result.pAEid; |
| | | console.log('result2='+this.paeId); |
| | | } |
| | | var url = ''; |
| | | if (result!=null&&result.length>0){ |
| | | if (result!=null&& this.paeId!=null){ |
| | | url = "/apex/PAEDecisionRecord?Id="+this.paeId+"&QISReportId="+this.qisReportId +"&RecordTypeIds="+RecordTypeId ; |
| | | } else { |
| | | url = "/apex/PAEDecisionRecord?QISReportId="+this.qisReportId +"&RecordTypeIds="+RecordTypeId; |