From e15d032770157952bab8d9b15177ac03d736851c Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期六, 09 五月 2026 17:34:53 +0800
Subject: [PATCH] 医疗信息

---
 src/views/business/allocation/index.vue |   39 ++++++++++++++++-----------------------
 1 files changed, 16 insertions(+), 23 deletions(-)

diff --git a/src/views/business/allocation/index.vue b/src/views/business/allocation/index.vue
index 17bbc59..c67a64d 100644
--- a/src/views/business/allocation/index.vue
+++ b/src/views/business/allocation/index.vue
@@ -44,7 +44,7 @@
           >
             <el-option label="鍏ㄩ儴" value="" />
             <el-option
-              v-for="dict in dict.type.allocation_Status"
+              v-for="dict in dict.type.organ_allocation_status"
               :key="dict.value"
               :label="dict.label"
               :value="dict.value"
@@ -121,12 +121,7 @@
           prop="donorno"
           width="120"
         />
-        <el-table-column
-          label="濮撳悕"
-          align="center"
-          prop="name"
-          width="100"
-        />
+        <el-table-column label="濮撳悕" align="center" prop="name" width="100" />
         <el-table-column
           label="浣忛櫌鍙�"
           align="center"
@@ -176,7 +171,7 @@
         >
           <template slot-scope="scope">
             <dict-tag
-              :options="dict.type.allocation_Status"
+              :options="dict.type.organ_allocation_status"
               :value="scope.row.allocationStatus"
             />
           </template>
@@ -187,13 +182,6 @@
           prop="allocationTime"
           width="160"
         >
-          <template slot-scope="scope">
-            <span>{{
-              scope.row.allocationTime
-                ? parseTime(scope.row.allocationTime, "{y}-{m}-{d} {h}:{i}")
-                : "-"
-            }}</span>
-          </template>
         </el-table-column>
         <el-table-column
           label="鐧昏浜�"
@@ -263,7 +251,7 @@
 </template>
 
 <script>
-import { allocationList,  } from "@/api/businessApi";
+import { allocationList } from "@/api/businessApi";
 import Pagination from "@/components/Pagination";
 
 export default {
@@ -315,9 +303,14 @@
       delete params.allocationTimeRange;
 
       // 濡傛灉鏈夋椂闂磋寖鍥村弬鏁�
-      if (this.queryParams.allocationTimeRange && this.queryParams.allocationTimeRange.length === 2) {
-        params.allocationTimeStart = this.queryParams.allocationTimeRange[0] + ' 00:00:00';
-        params.allocationTimeEnd = this.queryParams.allocationTimeRange[1] + ' 23:59:59';
+      if (
+        this.queryParams.allocationTimeRange &&
+        this.queryParams.allocationTimeRange.length === 2
+      ) {
+        params.allocationTimeStart =
+          this.queryParams.allocationTimeRange[0] + " 00:00:00";
+        params.allocationTimeEnd =
+          this.queryParams.allocationTimeRange[1] + " 23:59:59";
       }
 
       allocationList(params)
@@ -357,7 +350,7 @@
     handleView(row) {
       this.$router.push({
         path: "/case/allocationInfo",
-        query: { id: row.infoid }
+        query: { id: row.id, infoid: row.infoid }
       });
     },
     // 鏂板鎸夐挳鎿嶄綔
@@ -366,15 +359,15 @@
     },
     // 淇敼鎸夐挳鎿嶄綔
     handleUpdate(row) {
-      const id = row.infoid || this.ids[0];
       this.$router.push({
         path: "/case/allocationInfo",
-        query: { id: id }
+        query: { id: row.id, infoid: row.infoid }
       });
     },
     // 鍒犻櫎鎸夐挳鎿嶄綔
     handleDelete(row) {
-      const selectedRow = row || (this.selectedRows.length === 1 ? this.selectedRows[0] : null);
+      const selectedRow =
+        row || (this.selectedRows.length === 1 ? this.selectedRows[0] : null);
       if (!selectedRow) {
         this.$message.warning("璇烽�夋嫨涓�鏉¤褰�");
         return;

--
Gitblit v1.9.3