lighter 1 year ago
parent
commit
a8949cf756

+ 12 - 13
src/views/hospitalization/zhu-yuan-yi-sheng/critical-value/CriticalValue.vue

@@ -1,23 +1,24 @@
 <template>
-  <el-container>
-    <el-header>
+  <div class="layout_container">
+    <header style="padding: 12px 0 0 4px">
       住院号:
       <el-input style="width: 120px" v-model="patNo" clearable/>
       <el-button @click="queryClick(null)">查询</el-button>
-      <span style="margin-left: 12px; color: #8e8e8e">提示:
+      <span style="margin-left: 12px; color: #8e8e8e">
+        提示:
         <span style="font-weight: bold;color: #727272">双击</span>
-        危急值条目可快速处理该危急值。</span>
-    </el-header>
-
-    <el-main>
-      <xc-table :local-data="data" :final-height="tableHeight" small @rowDblClick="handle">
+        危急值条目可快速处理该危急值。
+      </span>
+    </header>
+    <div class="layout_main layout_el-table">
+      <xc-table :local-data="data" final-height="100%" small @rowDblClick="handle">
         <el-table-column label="危急值" prop="content"/>
+        <el-table-column label="创建时间" prop="createTime" width="135"/>
         <el-table-column label="处理人" prop="handleStaffName" width="70"/>
         <el-table-column label="处理时间" prop="handleTime" width="135"/>
       </xc-table>
-    </el-main>
-
-  </el-container>
+    </div>
+  </div>
 </template>
 
 <script setup>
@@ -32,8 +33,6 @@ import {useUserStore} from "@/pinia/user-store";
 const patNo = ref('')
 const data = ref([])
 
-const tableHeight = window.innerHeight - 86
-
 const userName = useUserStore().userInfo.name
 
 const queryClick = (id = null) => {