From 4c9fdc87987140e8b2c3f0dfc2f6608cdb6be774 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期三, 21 十月 2026 17:39:24 +0800
Subject: [PATCH] 青岛维护

---
 src/views/business/affirm/index.vue |   81 +++++++++++++++++++++++++---------------
 1 files changed, 51 insertions(+), 30 deletions(-)

diff --git a/src/views/business/affirm/index.vue b/src/views/business/affirm/index.vue
index 1e43d0f..1e4e21b 100644
--- a/src/views/business/affirm/index.vue
+++ b/src/views/business/affirm/index.vue
@@ -112,9 +112,9 @@
       >
         <el-table-column type="selection" width="55" align="center" />
         <el-table-column
-          label="鎹愮尞缂栧彿"
+          label="浣忛櫌鍙�"
           align="center"
-          prop="caseNo"
+          prop="inpatientno"
           width="120"
         />
         <el-table-column label="濮撳悕" align="center" prop="name" width="120" />
@@ -128,12 +128,38 @@
         </el-table-column>
         <el-table-column label="骞撮緞" align="center" prop="age" width="80" />
         <el-table-column
+          label="琛�鍨�"
+          align="center"
+          prop="bloodtype"
+          width="80"
+        >
+          <template slot-scope="scope">
+            <dict-tag
+              :options="dict.type.sys_BloodType"
+              :value="scope.row.bloodtype"
+            />
+          </template>
+        </el-table-column>
+        <el-table-column
           label="鐤剧梾璇婃柇"
           align="center"
           prop="diagnosisname"
-          min-width="180"
+          width="200"
           show-overflow-tooltip
         />
+        <el-table-column
+          label="鎹愮尞绫诲瀷"
+          align="center"
+          prop="donationcategory"
+          width="180"
+        >
+          <template slot-scope="scope">
+            <dict-tag
+              :options="dict.type.sys_DonationCategory"
+              :value="scope.row.donationcategory"
+            />
+          </template>
+        </el-table-column>
         <!-- <el-table-column
           label="纭鐘舵��"
           align="center"
@@ -173,13 +199,13 @@
             />
           </template>
         </el-table-column>
-        <el-table-column
+        <!-- <el-table-column
           label="瀹跺睘鎰忚"
           align="center"
           prop="relativeRemark"
           width="150"
           show-overflow-tooltip
-        />
+        /> -->
         <el-table-column
           label="鍗忚皟鍛�1"
           align="center"
@@ -196,19 +222,25 @@
           label="涓婃姤鍖婚櫌"
           align="center"
           prop="treatmenthospitalname"
-          width="150"
+          width="220"
           show-overflow-tooltip
         />
-        <el-table-column
+        <!-- <el-table-column
           label="涓婃姤浜哄憳"
           align="center"
           prop="responsibleusername"
           width="100"
-        />
+        /> -->
         <el-table-column
+          label="鎹愮尞缂栧彿"
+          align="center"
+          prop="caseNo"
+          width="220"
+        />
+         <el-table-column
           label="鎿嶄綔"
           align="center"
-          width="120"
+          min-width="180"
           fixed="right"
           class-name="small-padding fixed-width"
         >
@@ -218,16 +250,15 @@
               type="text"
               icon="el-icon-view"
               @click.stop="handleView(scope.row)"
-              >璇︽儏</el-button
+              >鏌ョ湅</el-button
             >
-            <!-- <el-button
-              v-if="scope.row.relativeconfirmationsign === '0'"
+            <el-button
               size="mini"
               type="text"
               icon="el-icon-edit"
-              @click.stop="handleConfirm(scope.row)"
-              >纭</el-button
-            > -->
+              @click.stop="handleUpdate(scope.row)"
+              >缂栬緫</el-button
+            >
           </template>
         </el-table-column>
       </el-table>
@@ -251,7 +282,7 @@
 export default {
   name: "ConfirmationList",
   components: { Pagination },
-  dicts: ["sys_user_sex", "affirm_type"],
+  dicts: ["sys_user_sex", "affirm_type", "sys_BloodType", "sys_DonationCategory"],
   data() {
     return {
       // 閬僵灞�
@@ -425,29 +456,19 @@
     handleView(row) {
       this.$router.push({
         path: "/case/affirmInfo",
-        query: { id: row.id, infoid: row.infoid }
+        query: { id: row.id, infoid: row.infoid, mode: "view" }
       });
     },
-    // 纭鎿嶄綔
-    handleConfirm(row) {
+    // 缂栬緫
+    handleUpdate(row) {
       this.$router.push({
         path: "/case/affirmInfo",
-        query: { id: row.id, confirm: true }
+        query: { id: row.id, infoid: row.infoid, confirm: true, mode: "edit" }
       });
     },
     // 鏂板鎸夐挳鎿嶄綔
     handleCreate() {
       this.$router.push("/case/confirmation/add");
-    },
-    // 淇敼鎸夐挳鎿嶄綔
-    handleUpdate() {
-      if (this.ids.length === 0) return;
-
-      const id = this.ids[0];
-      this.$router.push({
-        path: "/case/confirmation/edit",
-        query: { id: id }
-      });
     },
     // 鍒犻櫎鎸夐挳鎿嶄綔
     async handleDelete() {

--
Gitblit v1.9.3