| | |
| | | }); |
| | | } else if (this.actives == 6) { |
| | | this.activetele = "完成登记"; |
| | | if (this.accomplishform.id) { |
| | | if (this.transplantdata[0] && !this.istb) { |
| | | return; |
| | | } |
| | | |
| | | |
| | | if (!this.organList.organtransplant[0]) { |
| | | listDonatecomporgan(searchParam).then(res => { |
| | |
| | | } else if (this.actives == 0) { |
| | | this.activetele = "潜在捐献"; |
| | | } |
| | | if (!this.allocateddata[0]) { |
| | | listDonateorgan(searchParam).then(res => { |
| | | if (res.code == 200) { |
| | | if (res.rows[0]) { |
| | | this.allocateddata = res.rows; |
| | | console.log("this.allocateddata", this.allocateddata); |
| | | this.allocateddataform.allocateddata = this.allocateddata; |
| | | } |
| | | this.organList.organallocated = []; |
| | | for (let i = 0; i < res.rows.length; i++) { |
| | | this.organList.organallocated.push(this.allocateddata[i].organno); |
| | | } |
| | | } else { |
| | | } |
| | | }); |
| | | } |
| | | }, |
| | | /** 保存主表按钮 */ |
| | | |