From 1a13d814850a606890849cd2464116de6c27b2bc Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期五, 01 三月 2024 14:17:38 +0800
Subject: [PATCH] 11

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

diff --git a/src/views/project/donationdetails/index.vue b/src/views/project/donationdetails/index.vue
index 5a28880..c2f5102 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
@@ -2384,7 +2385,8 @@
   getDonatebaseinfo,
   addDonatebaseinfo,
   updateDonatebaseinfo,
-  getDonatebaseinfoflow
+  getDonatebaseinfoflow,
+  fileCase
 } from "@/api/project/donatebaseinfo";
 import {
   listMedicalevaluation,
@@ -2670,7 +2672,7 @@
       //鎶ュ憡浜哄垪琛�
       reporters: [],
       //闄勪欢鍒楄〃
-      annextype: 1, //闄勪欢type
+      annextype: '1', //闄勪欢type
       annexfilesList: [], //闄勪欢灞曠ず鍒�
       potentiallist: [], //娼滃湪闄勪欢
       medicinelist: [], //鍖诲闄勪欢
@@ -2888,9 +2890,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 +2914,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 +3157,7 @@
                 this.$modal.msgSuccess("鎹愮尞鍣ㄥ畼鑾峰彇淇℃伅淇濆瓨鎴愬姛锛�");
               }
             });
-
+console.log(this.accomplishform.id,'瀹屾垚id');
             // 淇濆瓨纭淇℃伅
             if (this.accomplishform.id) {
               updateDonatecompletioninfo(this.accomplishform).then(response => {
@@ -3339,7 +3341,7 @@
         if (organIndex != -1) {
           if (this.transplantdata[organIndex].id > 0) {
             this.$confirm(
-              "鍒犻櫎鍣ㄥ畼鏁版嵁鍚庡皢涓嶆硶鎭㈠锛屾偍纭鍒犻櫎璇ユ潯璁板綍鍚楋紵",
+              "鍒犻櫎鍣ㄥ畼鏁版嵁鍚庡皢鏃犳硶鎭㈠锛屾偍纭鍒犻櫎璇ユ潯璁板綍鍚楋紵",
               "鎻愮ず",
               {
                 confirmButtonText: "纭畾",
@@ -3423,8 +3425,12 @@
         return;
       }
     },
-    // 涓婃姤瀹℃牳
-    Reportforreview() {},
+    // 鎻愪氦褰掓。
+    Reportforreview() {
+      fileCase({infoId:this.infoid}).then(res=>{
+        console.log(res);
+      })
+    },
     // 缁堟妗堜緥
     Terminationcase() {
       this.form.terminationCase == 1

--
Gitblit v1.9.3