From 0b5a704e49545b4059b9eebe247adea8ec14911f Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期四, 05 六月 2025 11:45:24 +0800 Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/~yxh/opo-web --- src/views/project/donationdetails/index.vue | 27 +++++++++++++++++++++++---- 1 files changed, 23 insertions(+), 4 deletions(-) diff --git a/src/views/project/donationdetails/index.vue b/src/views/project/donationdetails/index.vue index ad38fa3..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 @@ -2756,6 +2756,7 @@ created() { this.Getnetworkheader(); + this.getdataList(); this.infoid = this.$route.query.id; }, mounted() { @@ -2795,6 +2796,7 @@ } }); + // 琛ㄥ崟鏁版嵁 getDonatebaseinfo(this.infoid).then(response => { this.form = response.data; @@ -2803,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(","); @@ -2814,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; @@ -2822,6 +2830,8 @@ this.residenceAddresss.shi = response.data.residencecityname; this.residenceAddresss.qu = response.data.residencetownname; this.registerAddresss.qu = response.data.registertownname; + + // 鑾峰彇浜岀骇琛� this.GetAttacheddata(); }); @@ -2957,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; @@ -2992,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 { @@ -3005,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 = []; @@ -3361,6 +3376,10 @@ } // } }, + // 鑾峰彇閮ㄩ棬鏁版嵁缂撳瓨 + getdataList() { + this.$store.dispatch("getdataList").then(() => {}); + }, // 鍣ㄥ畼鍒嗛厤鏍忕洰鎺у埗 changeorganState(value) { let selectedIndex = this.organList.organallocated.findIndex( -- Gitblit v1.9.3