From ded3890236e8d2371afc44c48631bb0fb9101d76 Mon Sep 17 00:00:00 2001
From: wangting <675591594@qq.com>
Date: 星期二, 07 五月 2024 18:34:37 +0800
Subject: [PATCH] 表单展示

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

diff --git a/Source/ProjectWeb/src/components/dynamic-components/dynamic-button.vue b/Source/ProjectWeb/src/components/dynamic-components/dynamic-button.vue
index 1341289..0f9ca1a 100644
--- a/Source/ProjectWeb/src/components/dynamic-components/dynamic-button.vue
+++ b/Source/ProjectWeb/src/components/dynamic-components/dynamic-button.vue
@@ -134,7 +134,7 @@
       const paramVOS = buttonitem.paramVOS;
       const DefineVO = this.componentVO.treeDefineVO || this.componentVO.tableDefineVO || this.componentVO.treeTableDefineVO || this.componentVO.formDefineVO;
       if (!paramVOS['title']) {
-        paramVOS['title'] = buttonitem.name + (DefineVO.title || this.componentVO.description || '');
+        paramVOS['title'] = buttonitem.name + (DefineVO.title || '');
       }
 
       if (!paramVOS['type']) {
@@ -148,15 +148,12 @@
 
       const that = this;
       //paramVOS.customBtn //寮圭獥榛樿鏈変繚瀛樻寜閽�,customBtn涓簍rue鏃跺唴瀹瑰睍绀鸿嚜瀹氫箟鎸夐挳
-      paramVOS.form = "editknowledgefolderall"
       doAction(buttonitem, {
         paramVOS: paramVOS,
         dataStore: this.dataStore || [],
         sourceData: this.sourceData || {}
-      }, function () {
-        if (that.$parent.handleRefresh) {
-          that.$parent.handleRefresh()
-        }
+      }, function (actionType,data) {
+        that.$emit("afterMethod",actionType,data);
       });
     }
   },

--
Gitblit v1.9.3