From ea03fa60b9fdf8eca24afa34259e1a0523a6e1cf Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期五, 10 十一月 2023 16:48:26 +0800
Subject: [PATCH] 11

---
 src/views/project/donationdetails/index.vue |   64 ++++++++++++++++++++-----------
 1 files changed, 41 insertions(+), 23 deletions(-)

diff --git a/src/views/project/donationdetails/index.vue b/src/views/project/donationdetails/index.vue
index 1b94a5a..96fa9a7 100644
--- a/src/views/project/donationdetails/index.vue
+++ b/src/views/project/donationdetails/index.vue
@@ -33,7 +33,7 @@
               >
                 <p>
                   鎻愪氦鏃堕棿锛�<span>{{
-                    parseTime(Processdata.medicalevaluation.updatetime)
+                    parseTime(Processdata.medicalevaluation.createtime)
                   }}</span>
                 </p>
                 <p>
@@ -54,7 +54,7 @@
               >
                 <p>
                   鎻愪氦鏃堕棿锛�<span>{{
-                    parseTime(Processdata.relativesconfirmation.updatetime)
+                    parseTime(Processdata.relativesconfirmation.createtime)
                   }}</span>
                 </p>
                 <p>
@@ -75,7 +75,7 @@
               >
                 <p>
                   鎻愪氦鏃堕棿锛�<span>{{
-                    parseTime(Processdata.ethicalreviewopinions.updatetime)
+                    parseTime(Processdata.ethicalreviewopinions.createtime)
                   }}</span>
                 </p>
                 <p>
@@ -96,7 +96,7 @@
               >
                 <p>
                   鎻愪氦鏃堕棿锛�<span>{{
-                    parseTime(Processdata.donateorgansService.updatetime)
+                    parseTime(Processdata.donateorgansService.createtime)
                   }}</span>
                 </p>
                 <p>
@@ -117,7 +117,7 @@
               >
                 <p>
                   鎻愪氦鏃堕棿锛�<span>{{
-                    parseTime(Processdata.donationwitness.updatetime)
+                    parseTime(Processdata.donationwitness.createtime)
                   }}</span>
                 </p>
                 <p>
@@ -138,7 +138,7 @@
               >
                 <p>
                   鎻愪氦鏃堕棿锛�<span>{{
-                    parseTime(Processdata.donatecompletioninfo.updatetime)
+                    parseTime(Processdata.donatecompletioninfo.createtime)
                   }}</span>
                 </p>
                 <p>
@@ -966,7 +966,12 @@
             @click="Terminationcase"
             >{{ showTerminationBtn == 0 ? "缁堟妗堜緥" : "鎭㈠妗堜緥" }}</el-button
           >
-
+          <el-button
+            v-show="makeastepforward"
+            type="primary"
+            @click="makeastepforward"
+            >涓嬩竴姝�</el-button
+          >
           <el-button @click="cancel">鍙� 娑�</el-button>
         </div>
       </div>
@@ -1161,7 +1166,12 @@
             @click="Terminationcase"
             >{{ showTerminationBtn == 0 ? "缁堟妗堜緥" : "鎭㈠妗堜緥" }}</el-button
           >
-
+          <el-button
+            v-show="makeastepforward"
+            type="primary"
+            @click="makeastepforward"
+            >涓嬩竴姝�</el-button
+          >
           <el-button @click="cancel">鍙� 娑�</el-button>
         </div>
       </div>
@@ -1224,7 +1234,12 @@
             @click="Terminationcase"
             >{{ showTerminationBtn == 0 ? "缁堟妗堜緥" : "鎭㈠妗堜緥" }}</el-button
           >
-
+          <el-button
+            v-show="makeastepforward"
+            type="primary"
+            @click="makeastepforward"
+            >涓嬩竴姝�</el-button
+          >
           <el-button @click="cancel">鍙� 娑�</el-button>
         </div>
       </div>
@@ -1597,12 +1612,12 @@
             @click="Terminationcase"
             >{{ showTerminationBtn == 0 ? "缁堟妗堜緥" : "鎭㈠妗堜緥" }}</el-button
           >
-          <!-- <el-button
+          <el-button
             v-show="makeastepforward"
             type="primary"
             @click="makeastepforward"
             >涓嬩竴姝�</el-button
-          > -->
+          >
           <el-button @click="cancel">鍙� 娑�</el-button>
         </div>
       </div>
@@ -1951,6 +1966,12 @@
             :type="showTerminationBtn == 0 ? 'warning' : 'success'"
             @click="Terminationcase"
             >{{ showTerminationBtn == 0 ? "缁堟妗堜緥" : "鎭㈠妗堜緥" }}</el-button
+          >
+          <el-button
+            v-show="makeastepforward"
+            type="primary"
+            @click="makeastepforward"
+            >涓嬩竴姝�</el-button
           >
 
           <el-button @click="cancel">鍙� 娑�</el-button>
@@ -2630,7 +2651,7 @@
         this.activetele = "浼︾悊瀹℃煡";
 
         listDonateflowchart(searchParam).then(response => {
-          if (response.code == 200 && response.rows.length == 1) {
+          if (response.code == 200 && response.rows.length) {
             this.ethicform = response.rows[0];
           } else {
             console.log("浼︾悊瀹℃煡鏁版嵁涓虹┖");
@@ -2953,11 +2974,13 @@
     },
     // 鍒囨崲tab
     on_click(e) {
-      console.log(e);
       // if (e != "" || e != null) {
-      if (this.form.workflow >= e) {
+      console.log(this.form.workflow);
+      console.log(e);
+      let asdx = this.form.workflow + 1;
+      if (asdx >= e) {
         this.actives = e;
-        this.Processvalidation(e);
+        this.GetAttacheddata();
       } else {
         this.$modal.msgWarning("璇峰厛瀹屾垚鍓嶉儴姝ラ");
       }
@@ -2986,7 +3009,7 @@
             donorno: this.form.donorno,
             transplanthospitalname: null,
             transplanthospitalno: null,
-            organstate: "2"
+            organstate: 0
           });
         }
       } else {
@@ -3033,15 +3056,10 @@
     Processvalidation() {
       console.log(this.form.workflow);
       console.log(this.actives);
-      if (this.form.workflow == this.actives) {
-        if (this.actives <= 6) {
-          this.actives++;
-        } else {
-          console.log("宸插埌杈炬渶澶у��");
-        }
+      if (this.form.workflow + 1 == this.actives) {
         if (this.form.workflow <= 6) {
-        } else {
           this.form.workflow++;
+        } else {
         }
         this.submitForm();
         // this.GetAttacheddata();

--
Gitblit v1.9.3