From c43faa47954d820d3b92eb1db113197e4bea67a4 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期一, 24 二月 2025 11:42:00 +0800
Subject: [PATCH] 纠正措施搬迁

---
 src/components/Table/lims-table.vue |   26 ++++++++++++++++++++++++--
 1 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/src/components/Table/lims-table.vue b/src/components/Table/lims-table.vue
index 725f320..fb86ea4 100644
--- a/src/components/Table/lims-table.vue
+++ b/src/components/Table/lims-table.vue
@@ -5,7 +5,7 @@
       :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" :height="height"
       :highlight-current-row="highlightCurrentRow" :row-class-name="rowClassName" :row-style="rowStyle"
       :row-key="rowKey" :span-method="spanMethod" stripe style="width: 100%" tooltip-effect="dark" @row-click="rowClick"
-      @current-change="currentChange" @selection-change="handleSelectionChange">
+      @current-change="currentChange" @selection-change="handleSelectionChange" class="lims-table">
       <el-table-column align="center" type="selection" width="55" v-if="isSelection" />
       <el-table-column align="center" label="搴忓彿" type="index" width="60" :index="indexMethod" />
 
@@ -268,7 +268,7 @@
       row.forEach((a) => {
         count += a.name.length;
       });
-      return count * 15 + 40 + "px";
+      return count * 15 + 60 + "px";
     },
     iconFn(row) {
       if (row.name === "缂栬緫" || row.name === "淇敼") {
@@ -427,3 +427,25 @@
   /* 璁剧疆婊氬姩鏉″搴� */
 }
 </style>
+<style>
+.lims-table .highlight-warning-row-border td:first-child {
+  border-left: 4px solid #ffcd29;
+}
+
+.lims-table .highlight-warning-row-border td:last-child {
+  border-right: 4px solid #ffcd29;
+}
+
+/* .lims-table .highlight-danger-row-border td {
+		border-top: 2px solid red;
+		border-bottom: 2px solid red;
+	} */
+
+.lims-table .highlight-danger-row-border td:first-child {
+  border-left: 4px solid #f56c6c;
+}
+
+.lims-table .highlight-danger-row-border td:last-child {
+  border-right: 4px solid #f56c6c;
+}
+</style>

--
Gitblit v1.9.3