From bf00347a300c9b0d3c212ef3a41c2977a6b62193 Mon Sep 17 00:00:00 2001
From: wangting <675591594@qq.com>
Date: 星期四, 11 四月 2024 17:41:47 +0800
Subject: [PATCH] action处理

---
 Source/ProjectWeb/src/components/dynamic-components/dynamic-TreeTable.vue |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/Source/ProjectWeb/src/components/dynamic-components/dynamic-TreeTable.vue b/Source/ProjectWeb/src/components/dynamic-components/dynamic-TreeTable.vue
index 92a07cb..72354eb 100644
--- a/Source/ProjectWeb/src/components/dynamic-components/dynamic-TreeTable.vue
+++ b/Source/ProjectWeb/src/components/dynamic-components/dynamic-TreeTable.vue
@@ -5,6 +5,7 @@
                :data="TreeData"
                :option="option"
                :page.sync="pageType"
+               @row-click="rowClickChange"
                @selection-change="TreeSelectChange">
       <template #icon="scope">
         <i :class="scope.row.icon"
@@ -370,6 +371,7 @@
     },
     sourceData:{
       handler(newval) {
+        //婧愭暟鎹湁鍙樺寲鏃跺彉鏇村綋鍓嶅尯鍩熸暟鎹�
         console.log(this.areasName);
         console.log(newval);
       }
@@ -387,10 +389,14 @@
     }
   },
   methods: {
+    rowClickChange(row){
+      this.$refs.treeTable.toggleRowSelection(row);
+    },
     TreeSelectChange(row) {
       this.TreeSelectList = row;
       this.$emit("setDataStore", {
         area: this.areasName,
+        type:this.componentVO.uiComponentType,
         dataStore:row
       });
     },

--
Gitblit v1.9.3