| | |
| | | if (res.rows[0]) { |
| | | this.procureddata = res.rows; |
| | | this.procureddata.infoid = this.infoid; |
| | | } else { |
| | | this.procureddata = this.allocateddata; |
| | | this.procureddata.infoid = this.infoid; |
| | | |
| | | } |
| | | this.organList.organprocured = []; |
| | | for (let i = 0; i < this.procureddata.length; i++) { |
| | |
| | | if (this.accomplishform.infoid) { |
| | | return; |
| | | } |
| | | // 不存在时获取器官 |
| | | // let accpre = { |
| | | // id: searchParam.infoid |
| | | // }; |
| | | |
| | | if (!this.organList.organtransplant[0]) { |
| | | listDonatecomporgan(searchParam).then(res => { |
| | | if (res.code == 200) { |
| | | if (res.rows[0]) { |
| | | this.transplantdata = res.rows; |
| | | this.transplantdata.infoid = this.infoid; |
| | | } else { |
| | | this.transplantdata = this.allocateddata; |
| | | this.transplantdata.infoid = this.infoid; |
| | | } |
| | | for (let i = 0; i < this.transplantdata.length; i++) { |
| | |
| | | }); |
| | | } |
| | | // 获取完成登记信息 |
| | | // listnewDonatecompletioninfo(accpre).then(response => { |
| | | listDonatecompletioninfo(searchParam).then(response => { |
| | | if (response.code == 200 && response.rows.length) { |
| | | this.accomplishform = response.rows[0]; |