From fecc7305a48f8ce6e283434718da33e143885c75 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期二, 09 四月 2024 10:03:43 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 Source/ProjectWeb/src/components/dynamic-components/dynamic-button.vue |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/Source/ProjectWeb/src/components/dynamic-components/dynamic-button.vue b/Source/ProjectWeb/src/components/dynamic-components/dynamic-button.vue
index 52bf1b5..d927238 100644
--- a/Source/ProjectWeb/src/components/dynamic-components/dynamic-button.vue
+++ b/Source/ProjectWeb/src/components/dynamic-components/dynamic-button.vue
@@ -39,6 +39,17 @@
         {{ item.name }}
       </el-button>
     </div>
+    <div v-else-if="type === 'tree'" class="tree-buttons">
+      <el-button v-for="item in basicButtonList"
+                 :key="item.oid"
+                 :icon="item.paramVOS.webUiButtonIcon"
+                 :type="(item.paramVOS.webUiButtonType !== 'text' ? item.paramVOS.webUiButtonType : 'primary') || 'primary'"
+                 plain
+                 size="small"
+                 @click="buttonClick(item)">
+        {{ item.name }}
+      </el-button>
+    </div>
   </div>
 </template>
 
@@ -240,7 +251,7 @@
     basicButtonList() {
       const basicColumn = this.butttonList;
 
-      if (this.type === 'form') {
+      if (this.type === 'form' || this.type=='tree') {
         return basicColumn;
       } else if (this.type === 'table' || this.type === 'TreeTable') {
         const top = basicColumn.filter(item => item.paramVOS.webUiButtonLocation === 'top' || func.isEmpty(item.paramVOS.webUiButtonLocation)); // 杩囨护鍑烘潵琛ㄦ牸涓婇潰鍖哄煙灞曠ず鐨勬寜閽�

--
Gitblit v1.9.3