From 64f6d28441e2036d2f21f9c22c2bc864733f588a Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期日, 25 七月 2021 20:08:55 +0800
Subject: [PATCH] 角色&菜单新增字段属性提示信息

---
 ruoyi-ui/src/views/tool/gen/importTable.vue |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/ruoyi-ui/src/views/tool/gen/importTable.vue b/ruoyi-ui/src/views/tool/gen/importTable.vue
index e441870..e48a5f3 100644
--- a/ruoyi-ui/src/views/tool/gen/importTable.vue
+++ b/ruoyi-ui/src/views/tool/gen/importTable.vue
@@ -1,6 +1,6 @@
 <template>
   <!-- 瀵煎叆琛� -->
-  <el-dialog title="瀵煎叆琛�" :visible.sync="visible" width="800px" top="5vh">
+  <el-dialog title="瀵煎叆琛�" :visible.sync="visible" width="800px" top="5vh" append-to-body>
     <el-form :model="queryParams" ref="queryForm" :inline="true">
       <el-form-item label="琛ㄥ悕绉�" prop="tableName">
         <el-input
@@ -26,10 +26,10 @@
       </el-form-item>
     </el-form>
     <el-row>
-      <el-table :data="dbTableList" @selection-change="handleSelectionChange" height="260px">
+      <el-table @row-click="clickRow" ref="table" :data="dbTableList" @selection-change="handleSelectionChange" height="260px">
         <el-table-column type="selection" width="55"></el-table-column>
-        <el-table-column prop="tableName" label="琛ㄥ悕绉�"></el-table-column>
-        <el-table-column prop="tableComment" label="琛ㄦ弿杩�"></el-table-column>
+        <el-table-column prop="tableName" label="琛ㄥ悕绉�" :show-overflow-tooltip="true"></el-table-column>
+        <el-table-column prop="tableComment" label="琛ㄦ弿杩�" :show-overflow-tooltip="true"></el-table-column>
         <el-table-column prop="createTime" label="鍒涘缓鏃堕棿"></el-table-column>
         <el-table-column prop="updateTime" label="鏇存柊鏃堕棿"></el-table-column>
       </el-table>
@@ -76,6 +76,9 @@
       this.getList();
       this.visible = true;
     },
+    clickRow(row) {
+      this.$refs.table.toggleRowSelection(row);
+    },
     // 澶氶�夋閫変腑鏁版嵁
     handleSelectionChange(selection) {
       this.tables = selection.map(item => item.tableName);

--
Gitblit v1.9.3