From e358d69fc18870584dd2d9f531910b7838ea27d9 Mon Sep 17 00:00:00 2001
From: wangting <wangting@vci-tech.com>
Date: 星期四, 02 一月 2025 09:58:53 +0800
Subject: [PATCH] 调整行点击后的回调

---
 Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Aciton/components/dialog.vue |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Aciton/components/dialog.vue b/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Aciton/components/dialog.vue
index 71d89b0..51e1ee6 100644
--- a/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Aciton/components/dialog.vue
+++ b/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Aciton/components/dialog.vue
@@ -20,7 +20,7 @@
               :option="treeOption"
               @node-click="nodeClick">
           <span slot-scope="{ node, data }" class="el-tree-node__label">
-           <span style="font-size: 15px">
+           <span>
               <i class="el-icon-s-promotion"></i>
                 {{ (node || {}).label }}
             </span>
@@ -82,7 +82,7 @@
       lastIndex: null,
       selectList: [],
       data: [],
-      option: {
+        option: {
         ...basicOption,
         addBtn: false,
         height: 420,
@@ -163,6 +163,7 @@
       this.dialog.loading = false;
       this.dialog.showDialog = false;
       this.$refs.tree.setCurrentKey(null);
+      this.$emit('cancelAction',null);
     },
     submitDialog() {
       if (this.selectList.length==0) {
@@ -179,8 +180,9 @@
         this.$emit('updataAction', this.selectList[0]);
       }
 
-      this.cancelDialog();
-
+      this.dialog.loading = false;
+      this.dialog.showDialog = false;
+      this.$refs.tree.setCurrentKey(null);
     },
     // 宸︿晶鏍戣姹�
     getTreeList(status) {
@@ -240,7 +242,7 @@
           this.lastIndex = newIndex;
         },
         () => {
-          this.selectList = [];
+          this.selectList = [row];
         }
       );
     },

--
Gitblit v1.9.3