From 018cd35db8cbdca2e99ebe5b4b68dee1499cfafe Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 28 三月 2024 16:33:53 +0800
Subject: [PATCH] 11
---
src/views/project/donationdetails/index.vue | 19 ++++++++++++++++++-
1 files changed, 18 insertions(+), 1 deletions(-)
diff --git a/src/views/project/donationdetails/index.vue b/src/views/project/donationdetails/index.vue
index 1bbeb09..2ee854c 100644
--- a/src/views/project/donationdetails/index.vue
+++ b/src/views/project/donationdetails/index.vue
@@ -2947,9 +2947,10 @@
});
} 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 => {
@@ -2989,6 +2990,22 @@
} 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 {
+ }
+ });
+ }
},
/** 淇濆瓨涓昏〃鎸夐挳 */
--
Gitblit v1.9.3