From 81f783d9e0ec86f38d425aab12efb5ccd8637dfd Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 29 二月 2024 17:09:02 +0800
Subject: [PATCH] 11

---
 src/views/project/donationdetails/index.vue |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/src/views/project/donationdetails/index.vue b/src/views/project/donationdetails/index.vue
index 5a28880..e40b3f9 100644
--- a/src/views/project/donationdetails/index.vue
+++ b/src/views/project/donationdetails/index.vue
@@ -345,7 +345,7 @@
         </el-steps>
       </div>
       <!-- 鍑瘉鏂囦欢 -->
-      <div class="Ticket-button" v-show="actives != 5 && actives != 4">
+      <div class="Ticket-button" >
         <el-button @click.native.prevent="Filepopup" type="success"
           >鍑瘉鏂囦欢</el-button
         >
@@ -2248,6 +2248,7 @@
           <el-tabs
             tab-position="right"
             style="height: 600px;"
+            v-model="annextype"
             @tab-click="selecttab"
           >
             <el-tab-pane
@@ -2670,7 +2671,7 @@
       //鎶ュ憡浜哄垪琛�
       reporters: [],
       //闄勪欢鍒楄〃
-      annextype: 1, //闄勪欢type
+      annextype: '1', //闄勪欢type
       annexfilesList: [], //闄勪欢灞曠ず鍒�
       potentiallist: [], //娼滃湪闄勪欢
       medicinelist: [], //鍖诲闄勪欢
@@ -2888,9 +2889,9 @@
           return;
         }
         // 涓嶅瓨鍦ㄦ椂鑾峰彇鍣ㄥ畼
-        let accpre = {
-          id: searchParam.infoid
-        };
+        // let accpre = {
+        //   id: searchParam.infoid
+        // };
         if (!this.organList.organtransplant[0]) {
           listDonatecomporgan(searchParam).then(res => {
             if (res.code == 200) {
@@ -2912,7 +2913,7 @@
         }
         // 鑾峰彇瀹屾垚鐧昏淇℃伅
         // listnewDonatecompletioninfo(accpre).then(response => {
-        listDonatecompletioninfo(accpre).then(response => {
+        listDonatecompletioninfo(searchParam).then(response => {
           if (response.code == 200 && response.rows.length) {
             this.accomplishform = response.rows[0];
             this.accomplishform.infoid = this.infoid;
@@ -3155,7 +3156,7 @@
                 this.$modal.msgSuccess("鎹愮尞鍣ㄥ畼鑾峰彇淇℃伅淇濆瓨鎴愬姛锛�");
               }
             });
-
+console.log(this.accomplishform.id,'瀹屾垚id');
             // 淇濆瓨纭淇℃伅
             if (this.accomplishform.id) {
               updateDonatecompletioninfo(this.accomplishform).then(response => {
@@ -3339,7 +3340,7 @@
         if (organIndex != -1) {
           if (this.transplantdata[organIndex].id > 0) {
             this.$confirm(
-              "鍒犻櫎鍣ㄥ畼鏁版嵁鍚庡皢涓嶆硶鎭㈠锛屾偍纭鍒犻櫎璇ユ潯璁板綍鍚楋紵",
+              "鍒犻櫎鍣ㄥ畼鏁版嵁鍚庡皢鏃犳硶鎭㈠锛屾偍纭鍒犻櫎璇ユ潯璁板綍鍚楋紵",
               "鎻愮ず",
               {
                 confirmButtonText: "纭畾",

--
Gitblit v1.9.3