From b58dc818feacbfc6bf01453b0db8ad3306c8d6dd Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期二, 20 十二月 2022 10:37:18 +0800
Subject: [PATCH] 1.table表新增show-tooltip-when-overflow属性

---
 src/views/zzmx/gylx.vue |   21 ++++++++++++++++-----
 1 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/src/views/zzmx/gylx.vue b/src/views/zzmx/gylx.vue
index 7df18bb..9808884 100644
--- a/src/views/zzmx/gylx.vue
+++ b/src/views/zzmx/gylx.vue
@@ -66,10 +66,12 @@
           <el-table-column
             prop="code"
             label="缂栫爜"
+            show-tooltip-when-overflow
             sortable="custom"
           />
           <el-table-column
             prop="name"
+            show-tooltip-when-overflow
             label="鍚嶇О"
             sortable="custom"
           />
@@ -77,6 +79,7 @@
             prop="description"
             label="宸ヨ壓璺嚎鎻忚堪"
             sortable="custom"
+            show-tooltip-when-overflow
           >
             <template slot-scope="{row}">
               <div v-if="row.description">{{ row.description }}</div>
@@ -85,6 +88,7 @@
           </el-table-column>
           <el-table-column
             prop="enable"
+            show-tooltip-when-overflow
             label="浣跨敤鐘舵��"
             sortable="custom"
           >
@@ -101,12 +105,14 @@
           </el-table-column>
           <el-table-column
             prop="lm_user"
+            show-tooltip-when-overflow
             label="鍒涘缓浜哄憳"
             sortable="custom"
           />
           <el-table-column
             prop="lm_date"
             label="鍒涘缓鏃堕棿"
+            show-tooltip-when-overflow
             sortable="custom"
             width="160"
           />
@@ -690,7 +696,7 @@
       })
     },
     // 澶嶅埗鎸夐挳
-    async  copy(operation, row) {
+    async copy(operation, row) {
       this.operation = operation
       this.dialogVisible = true
 
@@ -752,7 +758,11 @@
       }
       const Data = []
       this.dynamicTags.forEach(item => {
-        Data.push({ seq: item.seq, stepcode: this.routeSelectedArr.find(it => it.stepname === item.stepname).stepcode, stepname: item.stepname })
+        Data.push({
+          seq: item.seq,
+          stepcode: this.routeSelectedArr.find(it => it.stepname === item.stepname).stepcode,
+          stepname: item.stepname
+        })
       })
 
       Data.forEach(item => {
@@ -1013,11 +1023,12 @@
   margin-bottom: 0;
 }
 
-.tableFixed{
-  ::v-deep .el-table__fixed-right{
+.tableFixed {
+  ::v-deep .el-table__fixed-right {
     height: 100% !important;
   }
-  ::v-deep .el-table__fixed{
+
+  ::v-deep .el-table__fixed {
     height: 100% !important;
   }
 }

--
Gitblit v1.9.3