| | |
| | | infoid: 736, |
| | | drawer: false, |
| | | form: {}, |
| | | istb:false, |
| | | istb: false, |
| | | activeName: "", |
| | | tableDatafile: [ |
| | | { |
| | |
| | | return; |
| | | } |
| | | |
| | | |
| | | if (!this.organList.organtransplant[0]) { |
| | | listDonatecomporgan(searchParam).then(res => { |
| | | if (res.code == 200) { |
| | |
| | | this.transplantdata = this.allocateddata; |
| | | this.transplantdata = this.transplantdata.map(obj => { |
| | | obj.id = null; |
| | | if (obj.organname == "左眼角膜"||obj.organname == "右眼角膜") { |
| | | obj.transplantstate = 2; |
| | | } |
| | | return obj; |
| | | }); |
| | | |
| | | this.transplantdata.infoid = this.infoid; |
| | | } |
| | | for (let i = 0; i < this.transplantdata.length; i++) { |
| | |
| | | this.activetele = "潜在捐献"; |
| | | } |
| | | if (!this.allocateddata[0]) { |
| | | listDonateorgan(searchParam).then(res => { |
| | | listDonateorgan(searchParam).then(res => { |
| | | if (res.code == 200) { |
| | | if (res.rows[0]) { |
| | | this.allocateddata = res.rows; |
| | |
| | | } else { |
| | | } |
| | | }); |
| | | } |
| | | } |
| | | }, |
| | | /** 保存主表按钮 */ |
| | | |