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/OrganUtilization/index.vue |  128 ++++++++++++++++++++++++------------------
 1 files changed, 74 insertions(+), 54 deletions(-)

diff --git a/src/views/business/OrganUtilization/index.vue b/src/views/business/OrganUtilization/index.vue
index 852a800..8749585 100644
--- a/src/views/business/OrganUtilization/index.vue
+++ b/src/views/business/OrganUtilization/index.vue
@@ -10,7 +10,7 @@
       >
         <el-form-item label="浣忛櫌鍙�" prop="inpatientno">
           <el-input
-            v-model="queryParams.inpatientno"
+            v-model="queryParams.caseNo"
             placeholder="璇疯緭鍏ヤ綇闄㈠彿"
             clearable
             style="width: 200px"
@@ -26,17 +26,17 @@
             @keyup.enter.native="handleQuery"
           />
         </el-form-item>
-        <el-form-item label="璁板綍鐘舵��" prop="recordstate">
+        <el-form-item label="鍒╃敤鐘舵��" prop="completeState">
           <el-select
-            v-model="queryParams.recordstate"
-            placeholder="璇烽�夋嫨璁板綍鐘舵��"
+            v-model="queryParams.completeState"
+            placeholder="璇烽�夋嫨鍒╃敤鐘舵��"
             clearable
             style="width: 200px"
           >
-            <el-option label="宸插畬鎴�" value="completed" />
-            <el-option label="杩涜涓�" value="processing" />
-            <el-option label="寰呭鐞�" value="pending" />
-            <el-option label="宸插叧闂�" value="closed" />
+            <el-option label="寰呭埄鐢�" value="1" />
+            <el-option label="杩涜涓�" value="2" />
+            <el-option label="宸插畬鎴�" value="3" />
+            <el-option label="鏀惧純" value="4" />
           </el-select>
         </el-form-item>
         <el-form-item>
@@ -92,18 +92,7 @@
           prop="inpatientno"
           width="120"
         />
-        <el-table-column
-          label="妗堜緥缂栧彿"
-          align="center"
-          prop="caseNo"
-          width="120"
-        />
-        <el-table-column
-          label="鎹愮尞鑰呭鍚�"
-          align="center"
-          prop="name"
-          width="120"
-        />
+        <el-table-column label="濮撳悕" align="center" prop="name" width="120" />
         <el-table-column label="鎬у埆" align="center" prop="sex" width="80">
           <template slot-scope="scope">
             <dict-tag
@@ -113,7 +102,12 @@
           </template>
         </el-table-column>
         <el-table-column label="骞撮緞" align="center" prop="age" width="80" />
-        <el-table-column label="琛�鍨�" align="center" prop="bloodtype" width="80">
+        <el-table-column
+          label="琛�鍨�"
+          align="center"
+          prop="bloodtype"
+          width="80"
+        >
           <template slot-scope="scope">
             <dict-tag
               v-if="scope.row.bloodtype"
@@ -121,6 +115,39 @@
               :value="scope.row.bloodtype"
             />
             <span v-else>-</span>
+          </template>
+        </el-table-column>
+        <el-table-column
+          label="鐤剧梾璇婃柇"
+          align="center"
+          prop="diagnosisname"
+          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"
+          prop="recordstate"
+          width="100"
+        >
+          <template slot-scope="scope">
+            <dict-tag
+              :options="dict.type.utilize_statue"
+              :value="scope.row.completeState"
+            />
           </template>
         </el-table-column>
         <el-table-column
@@ -154,24 +181,18 @@
             <span>{{ scope.row.responsibleusername || "-" }}</span>
           </template>
         </el-table-column>
+
         <el-table-column
-          label="璁板綍鐘舵��"
+          label="鎹愮尞缂栧彿"
           align="center"
-          prop="recordstate"
-          width="100"
-        >
-          <template slot-scope="scope">
-               <dict-tag
-              :options="dict.type.utilize_statue"
-              :value="scope.row.completeState"
-            />
-          </template>
-        </el-table-column>
+          prop="caseNo"
+          width="220"
+        />
         <el-table-column
           label="鎿嶄綔"
           fixed="right"
           align="center"
-          width="210"
+          width="120"
           class-name="small-padding fixed-width"
         >
           <template slot-scope="scope">
@@ -179,24 +200,17 @@
               size="mini"
               type="text"
               icon="el-icon-view"
-              @click="handleView(scope.row)"
-              >璇︽儏</el-button
+
+              @click.stop="handleView(scope.row)"
+              >鏌ョ湅</el-button
             >
-            <!-- <el-button
+            <el-button
               size="mini"
               type="text"
               icon="el-icon-edit"
-              @click="handleUpdate(scope.row)"
-              >淇敼</el-button
-            > -->
-            <!-- <el-button
-              size="mini"
-              type="text"
-              icon="el-icon-delete"
-              style="color: #F56C6C"
-              @click="handleDelete(scope.row)"
-              >鍒犻櫎</el-button
-            > -->
+              @click.stop="handleUpdate(scope.row)"
+              >缂栬緫</el-button
+            >
           </template>
         </el-table-column>
       </el-table>
@@ -214,13 +228,17 @@
 </template>
 
 <script>
-import { completionList, completionadd, completionedit } from "@/api/businessApi";
+import {
+  completionList,
+  completionadd,
+  completionedit
+} from "@/api/businessApi";
 import Pagination from "@/components/Pagination";
 
 export default {
   name: "OrganUtilizationList",
   components: { Pagination },
-  dicts: ["sys_user_sex", "sys_BloodType",'utilize_statue'],
+  dicts: ["sys_user_sex", "sys_BloodType", "sys_DonationCategory", "utilize_statue"],
   data() {
     return {
       // 閬僵灞�
@@ -262,13 +280,13 @@
           let data = response.data;
           if (Array.isArray(data)) {
             this.organUtilizationList = data;
-            this.total = data.length;
+            this.total = response.total;
           } else if (data && data.rows) {
             this.organUtilizationList = data.rows;
-            this.total = data.total || data.rows.length;
+            this.total = response.total;
           } else if (data && data.list) {
             this.organUtilizationList = data.list;
-            this.total = data.total || data.list.length;
+            this.total = response.total;
           } else {
             this.organUtilizationList = [];
             this.total = 0;
@@ -305,7 +323,8 @@
         path: "/case/organUtilizationInfo",
         query: {
           id: row.id,
-          infoid: row.infoid
+          infoid: row.infoid,
+          mode: "view"
         }
       });
     },
@@ -321,7 +340,8 @@
         path: "/case/organUtilizationInfo",
         query: {
           id: id,
-          infoid: infoid
+          infoid: infoid,
+          mode: "edit"
         }
       });
     },

--
Gitblit v1.9.3