From 8022f7036945b75f82f2dfc43055623f81ed98f6 Mon Sep 17 00:00:00 2001 From: yxh <172933527@qq.com> Date: 星期五, 23 五月 2025 22:42:56 +0800 Subject: [PATCH] yxh --- src/views/project/donationdetails/index.vue | 22 ++++++++++++++++++---- 1 files changed, 18 insertions(+), 4 deletions(-) diff --git a/src/views/project/donationdetails/index.vue b/src/views/project/donationdetails/index.vue index e15b466..6d1dd35 100644 --- a/src/views/project/donationdetails/index.vue +++ b/src/views/project/donationdetails/index.vue @@ -2024,7 +2024,7 @@ align="center" width="220" prop="hospitalno" - v-if="actives == 6" + > <template slot-scope="scope"> <org-selecter @@ -2796,6 +2796,7 @@ } }); + // 琛ㄥ崟鏁版嵁 getDonatebaseinfo(this.infoid).then(response => { this.form = response.data; @@ -2804,10 +2805,14 @@ } else { this.showTerminationBtn = 0; } + + this.actives = response.data.workflow; this.workflow = response.data.workflow; response.data.sex = parseInt(response.data.sex); this.form.id = response.data.id; + + this.form.diseasetype = this.form.diseasetype.split(","); this.form.infectious = this.form.infectious.split(","); this.form.selfwill = this.form.selfwill.split(","); @@ -2815,6 +2820,8 @@ this.form.infosources = this.form.infosources.split(","); this.form.kinship = this.form.kinship.split(","); this.form.patientstate = this.form.patientstate.split(","); + + this.open = true; this.title = "浜轰綋鍣ㄥ畼娼滃湪鎹愮尞鑰呯櫥璁拌〃"; this.registerAddresss.sheng = response.data.registerprovincename; @@ -2823,6 +2830,8 @@ this.residenceAddresss.shi = response.data.residencecityname; this.residenceAddresss.qu = response.data.residencetownname; this.registerAddresss.qu = response.data.registertownname; + + // 鑾峰彇浜岀骇琛� this.GetAttacheddata(); }); @@ -2958,9 +2967,12 @@ if (this.transplantdata[0] && !this.istb) { return; } + 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; @@ -2993,7 +3005,9 @@ // 鑾峰彇瀹屾垚鐧昏淇℃伅 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 { @@ -3006,9 +3020,9 @@ 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 = []; -- Gitblit v1.9.3