From 53606eac81e6d3a76937c4cb6f45ad61581cb4da Mon Sep 17 00:00:00 2001
From: qx <1084500556@qq.com>
Date: 星期四, 05 六月 2025 14:41:55 +0800
Subject: [PATCH] Merge branch 'master' of http://101.42.27.146:5001/r/ltkj_peisweb

---
 src/views/doctor/inspectCheck/index.vue |   25 +++++++++++++++++++++----
 1 files changed, 21 insertions(+), 4 deletions(-)

diff --git a/src/views/doctor/inspectCheck/index.vue b/src/views/doctor/inspectCheck/index.vue
index 398854f..a8db6c9 100644
--- a/src/views/doctor/inspectCheck/index.vue
+++ b/src/views/doctor/inspectCheck/index.vue
@@ -6,6 +6,7 @@
       size="small"
       :inline="true"
       label-width="68px"
+      @submit.native.prevent
     >
       <el-form-item label="浣撴鍙�" prop="reportDoctorCode">
         <el-input
@@ -61,6 +62,7 @@
           style="width: 100%"
           @selection-change="handleSelectionChange"
           :header-cell-style="{ background: '#aad8df' }"
+          height="350"
         >
           <el-table-column
             fixed
@@ -120,7 +122,9 @@
             align="center"
             prop="examinationDate"
             width="150px"
+            
           />
+          <!-- :formatter="formatDate" -->
 
           <el-table-column
             label="闂ㄨ瘖鍙�"
@@ -281,10 +285,11 @@
     </div>
     <el-table
       border
-      max-height="280"
+      height="350"
       ref="tab1"
       :data="checkList"
       v-loading="loading"
+      style="width: 100%"
       @selection-change="handleSelectionChangeSecond"
     >
       <el-table-column type="selection" width="55"> </el-table-column>
@@ -345,6 +350,7 @@
   
   <script>
 import { getlisList, getJyTjList, asyncPacs } from "@/api/doctor/pacsCheck";
+import moment from "moment";
 
 export default {
   dicts: ["dict_tj_status"],
@@ -430,6 +436,17 @@
       }
       console.log("Query Params:", this.queryParams);
     },
+    /* formatDate(row) {
+      if (!row.examinationDate) return "";
+
+      // 浣跨敤 moment 瑙f瀽鎸囧畾鏍煎紡鐨勬棩鏈熷瓧绗︿覆
+      const date = moment(row.examinationDate, "MM DD YYYY hh:mmA");
+
+      if (!date.isValid()) return "鏃犳晥鏃ユ湡";
+
+      // 鏍煎紡鍖栦负鎵�闇�鏍煎紡
+      return date.format("YYYY-MM-DD HH:mm");
+    }, */
     // isSelectable(row) {
     //   return !!row.mzh;
     // },
@@ -438,7 +455,7 @@
     },
 
     handleSelectionChange(val) {
-      console.log(val);
+      // console.log(val);
       /*  if (val.length > 1) {
         let del_row = val.shift();
         this.$refs.tb.toggleRowSelection(del_row, false); //璁剧疆杩欎竴琛屽彇娑堥�変腑
@@ -451,7 +468,7 @@
 
         this.selectedFirstTable = val;
         console.log("褰撳墠閫変腑鐨勮鏁版嵁:", this.selectedFirstTable);
-        // this.fetchRightTableData(selectedRow);
+        this.fetchRightTableData(val);
       } else {
         this.selectedFirstTable = null;
         this.checkList = [];
@@ -594,7 +611,7 @@
 
 .table-title {
   text-align: center;
-  margin-bottom: 15px;
+  margin-bottom: 10px;
 }
 .row-disabled {
   color: #ccc; /* 璁剧疆绂佺敤琛岀殑瀛椾綋棰滆壊 */

--
Gitblit v1.8.0