From a520895c5b01934a7210917d52cbe98455cba33b Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期三, 27 十一月 2024 15:15:32 +0800 Subject: [PATCH] 档案页详情优化 --- src/views/project/donationdetails/index.vue | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/src/views/project/donationdetails/index.vue b/src/views/project/donationdetails/index.vue index ad38fa3..97b9aff 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,6 +2967,7 @@ if (this.transplantdata[0] && !this.istb) { return; } + console.log("瀹屾垚鐧昏"); listDonatecomporgan(searchParam).then(res => { if (res.code == 200) { @@ -3361,6 +3372,10 @@ } // } }, + // 鑾峰彇閮ㄩ棬鏁版嵁缂撳瓨 + getdataList() { + this.$store.dispatch("getdataList").then(() => {}); + }, // 鍣ㄥ畼鍒嗛厤鏍忕洰鎺у埗 changeorganState(value) { let selectedIndex = this.organList.organallocated.findIndex( -- Gitblit v1.9.3