From 7407f7fd5b9d8e52edf4d1398eae710a0dd08ce9 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期四, 15 八月 2024 16:01:47 +0800
Subject: [PATCH] 整合代码

---
 Source/plt-web/plt-web-ui/src/views/modelingMenu/modeling/enumType/index.vue |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/Source/plt-web/plt-web-ui/src/views/modelingMenu/modeling/enumType/index.vue b/Source/plt-web/plt-web-ui/src/views/modelingMenu/modeling/enumType/index.vue
index 3908720..1fb7931 100644
--- a/Source/plt-web/plt-web-ui/src/views/modelingMenu/modeling/enumType/index.vue
+++ b/Source/plt-web/plt-web-ui/src/views/modelingMenu/modeling/enumType/index.vue
@@ -243,6 +243,7 @@
       dialogData: [],
       dialogOption: {
         ...basicOption,
+        calcHeight:50,
         refreshBtn: false,
         selection: false,
         column: [
@@ -320,7 +321,8 @@
       },
       tableLoading: false,
       selectList: [],
-      searchParams: {}
+      searchParams: {},
+      lastIndex: null
     }
   },
   computed: {
@@ -366,13 +368,18 @@
 
     // 閫夋嫨妗�
     selectChange(row) {
-      console.log(row)
       this.selectList = row;
     },
 
     // 鐐瑰嚮琛�
     rowClickHandler(row) {
-      this.$refs.userCrud.toggleRowSelection(row);
+      func.rowClickHandler(
+        row,
+        this.$refs.userCrud,
+        this.lastIndex,
+        (newIndex) => { this.lastIndex = newIndex; },
+        () => { this.selectList = []; }
+      );
     },
 
     // 鍏抽棴瀵硅瘽妗�

--
Gitblit v1.9.3