From dc082351978a1e9f75d7a1471a0ca7ebeac552a5 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期一, 01 六月 2026 11:07:50 +0800
Subject: [PATCH] opo维护

---
 src/views/business/transfer/index.vue |   63 ++++++++++++++++++++++++-------
 1 files changed, 49 insertions(+), 14 deletions(-)

diff --git a/src/views/business/transfer/index.vue b/src/views/business/transfer/index.vue
index bbf0b4d..cb73d73 100644
--- a/src/views/business/transfer/index.vue
+++ b/src/views/business/transfer/index.vue
@@ -217,34 +217,49 @@
       >
         <template slot-scope="scope">
           <el-button
-            size="mini"
-            type="text"
-            icon="el-icon-view"
+            size="small"
+            type="primary"
             @click="handleDetail(scope.row)"
             >璇︽儏</el-button
           >
           <el-button
-            size="mini"
-            type="text"
-            icon="el-icon-edit"
+            size="small"
+            type="primary"
+            style="margin-bottom: 10px;"
+            plain
             @click="handleUpdate(scope.row)"
             >缂栬緫</el-button
           >
           <el-button
-            size="mini"
-            type="text"
-            icon="el-icon-video-play"
+            size="small"
+            type="primary"
+            plain
             @click="handleStartTransport(scope.row)"
             v-if="scope.row.transitStatus === 1"
             >寮�濮嬭浆杩�</el-button
           >
           <el-button
-            size="mini"
-            type="text"
-            icon="el-icon-check"
+            size="small"
+            type="success"
+            plain
             @click="handleCompleteTransport(scope.row)"
             v-if="scope.row.transitStatus === 2"
             >瀹屾垚杞繍</el-button
+          ><el-button
+            size="small"
+            type="danger"
+            plain
+            @click="cancelTransport(scope.row)"
+            v-if="scope.row.transitStatus === 2"
+            >鍙栨秷杞繍</el-button
+          >
+          <el-button
+            size="small"
+            type="warning"
+            plain
+            @click="recoverTransport(scope.row)"
+            v-if="scope.row.transitStatus === 4"
+            >鎭㈠杞繍</el-button
           >
         </template>
       </el-table-column>
@@ -664,6 +679,8 @@
         // 鍏朵粬瀛楁鍙互鏍规嵁闇�瑕佷粠妗堜緥涓幏鍙�
         transportStartPlace: caseData.treatmenthospitalname || "",
         contactPerson: caseData.coordinatorName || "",
+        icuDoctor: caseData.icuDoctor,
+        icuDoctorPhone: caseData.icuDoctorPhone,
         transitStatus: 1, // 榛樿寰呰浆杩�
         // 娓呯┖鍏朵粬瀛楁
         id: undefined,
@@ -793,6 +810,18 @@
       this.actionTitle = "瀹屾垚杞繍";
       this.actionText = "瀹屾垚";
       this.actionOpen = true;
+    } /** 瀹屾垚杞繍鎿嶄綔 */,
+    async cancelTransport(row) {
+      this.currentTransport = row;
+      this.actionTitle = "鍙栨秷杞繍";
+      this.actionText = "鍙栨秷";
+      this.actionOpen = true;
+    } /** 瀹屾垚杞繍鎿嶄綔 */,
+    async recoverTransport(row) {
+      this.currentTransport = row;
+      this.actionTitle = "鎭㈠杞繍";
+      this.actionText = "鎭㈠";
+      this.actionOpen = true;
     },
 
     /** 纭鎿嶄綔 */
@@ -806,13 +835,19 @@
           requestData.transitStatus = 2; // 璁剧疆涓鸿浆杩愪腑
         } else if (this.actionText === "瀹屾垚") {
           requestData.transitStatus = 3; // 璁剧疆涓鸿浆杩愬畬鎴�
+        } else if (this.actionText === "鍙栨秷") {
+          requestData.transitStatus = 4; // 璁剧疆涓鸿浆杩愬彇娑�
+        } else if (this.actionText === "鎭㈠") {
+          requestData.transitStatus = 2; // 璁剧疆涓鸿浆杩愪腑
         }
-
+        requestData.annexfilesList.forEach(item => {
+          item.id = null;
+        });
         const response = await transportEdit(requestData);
 
         if (response.code == 200) {
           this.$modal.msgSuccess(`${this.actionText}杞繍鎴愬姛`);
-          if (requestData.transitStatus==3) {
+          if (requestData.transitStatus == 3) {
             const resappear = await donateInfo(requestData.reportId);
             if (resappear.code) {
               let obj = resappear.data;

--
Gitblit v1.9.3