| | |
| | | if (this.transplantdata[0] && !this.istb) { |
| | | return; |
| | | } |
| | | console.log("完成登记"); |
| | | console.log("完成登记加载数据..."); |
| | | |
| | | listDonatecomporgan(searchParam).then(res => { |
| | | if (res.code == 200) { |
| | | if (res.code == 200) { |
| | | console.log("listDonatecomporgan 数据:", res.rows); |
| | | |
| | | if (res.rows[0]) { |
| | | this.transplantdata = res.rows; |
| | | // this.transplantdata.infoid = this.infoid; |
| | |
| | | |
| | | // 获取完成登记信息 |
| | | listDonatecompletioninfo(searchParam).then(response => { |
| | | if (response.code == 200 && response.rows.length) { |
| | | if (response.code == 200 && response.rows.length) { |
| | | console.log("listDonatecompletioninfo 数据:", response.rows[0]); |
| | | |
| | | this.accomplishform = response.rows[0]; |
| | | this.accomplishform.infoid = this.infoid; |
| | | } else { |
| | |
| | | if (!this.allocateddata[0]) { |
| | | listDonateorgan(searchParam).then(res => { |
| | | if (res.code == 200) { |
| | | console.log("listDonateorgan 数据:", res.rows); |
| | | if (res.rows[0]) { |
| | | this.allocateddata = res.rows; |
| | | console.log("this.allocateddata", this.allocateddata); |
| | | this.allocateddataform.allocateddata = this.allocateddata; |
| | | } |
| | | this.organList.organallocated = []; |