From 214bfcb4f9f651a6707a857a5b902aa4984bf32d Mon Sep 17 00:00:00 2001
From: yuxc <yuxc@vci-tech.com>
Date: 星期二, 13 八月 2024 14:38:06 +0800
Subject: [PATCH] 1、对查询模板的的保存普通高级接口

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

diff --git a/Source/plt-web/plt-web-ui/src/views/modelingMenu/modeling/linkType/index.vue b/Source/plt-web/plt-web-ui/src/views/modelingMenu/modeling/linkType/index.vue
index 4acc188..706fd41 100644
--- a/Source/plt-web/plt-web-ui/src/views/modelingMenu/modeling/linkType/index.vue
+++ b/Source/plt-web/plt-web-ui/src/views/modelingMenu/modeling/linkType/index.vue
@@ -16,7 +16,8 @@
             </el-button>
             <el-button icon="el-icon-upload2" plain size="small" type="primary" @click="upLoadClickHandler">瀵煎叆
             </el-button>
-            <el-button class="smallBtn" style="padding-left: 7px !important;" icon="el-icon-circle-plus-outline" plain size="small"
+            <el-button class="smallBtn" icon="el-icon-circle-plus-outline" plain size="small"
+                       style="padding-left: 7px !important;"
                        type="primary" @click="createViewClickHandler">鍒涘缓瑙嗗浘
             </el-button>
             <el-button class="smallBtn" icon="el-icon-menu" plain size="small" style="padding-left: 1px"
@@ -659,6 +660,8 @@
         main: 'el-icon-warning-outline',
         desc: 'el-icon-chat-line-square'
       },
+      bizLastIndex: null,
+      attrLastIndex:null
     }
   },
   created() {
@@ -865,7 +868,14 @@
 
     // 娣诲姞灞炴�ф睜 琛岀偣鍑�
     dialogAttrRowClickHandler(row) {
-      this.$refs.dialogAttrCrud.toggleRowSelection(row);
+
+      func.rowClickHandler(
+        row,
+        this.$refs.dialogAttrCrud,
+        this.attrLastIndex,
+        (newIndex) => { this.attrLastIndex = newIndex; },
+        () => { this.selectList = []; }
+      );
     },
 
     // 娣诲姞灞炴�ф睜 鍏抽棴瀵硅瘽妗�
@@ -997,7 +1007,13 @@
 
     // form to 绫诲瀷琛岀偣鍑�
     bizTypeRowClick(row) {
-      this.$refs.bizTypeCrud.toggleRowSelection(row);
+      func.rowClickHandler(
+        row,
+        this.$refs.bizTypeCrud,
+        this.bizLastIndex,
+        (newIndex) => { this.bizLastIndex = newIndex; },
+        () => { this.selectList = []; }
+      );
     },
 
     // form to 绫诲瀷淇濆瓨

--
Gitblit v1.9.3