From 46f7ae4e3a00e3a1ce38498dce0dd373726e9648 Mon Sep 17 00:00:00 2001
From: wangting <675591594@qq.com>
Date: 星期五, 10 五月 2024 12:16:05 +0800
Subject: [PATCH] 查看action,自定义组件展示

---
 Source/ProjectWeb/src/views/base/UIContentArea.vue |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/Source/ProjectWeb/src/views/base/UIContentArea.vue b/Source/ProjectWeb/src/views/base/UIContentArea.vue
index 4ae0be8..d0fc964 100644
--- a/Source/ProjectWeb/src/views/base/UIContentArea.vue
+++ b/Source/ProjectWeb/src/views/base/UIContentArea.vue
@@ -26,12 +26,14 @@
                           :uiContext="uiContext"
                           :inDialog="inDialog"
                           :canEdit="canEdit"
+                          :actionType="actionType"
                           :componentVO="areaItem.componentVOs[0]"
                           :sourceData="newSourceData"
                           :sourceBtmType="sourceBtmType"
                           :dataStore="dataStore"
                           :areasName="areasName"
                           :paramVOS="paramVOS"
+                          @setData="setData"
                           @setDataStore="setDataStore"
                           :isShow="activeName==(areasName+'-Tab-'+index)?true:false"></compoent-index>
         </div>
@@ -49,12 +51,14 @@
                             :uiContext="uiContext"
                             :inDialog="inDialog"
                             :canEdit="canEdit"
+                            :actionType="actionType"
                             :componentVO="componentVO"
                             :sourceData="newSourceData"
                             :sourceBtmType="sourceBtmType"
                             :dataStore="dataStore"
                             :areasName="areasName"
                             :paramVOS="paramVOS"
+                            @setData="setData"
                             @setDataStore="setDataStore"
                             :isShow="collapseActiveNames.indexOf(areasName+'-collapse-'+componentIndex)!=-1?true:false"></compoent-index>
           </div>
@@ -66,12 +70,14 @@
                         :uiContext="uiContext"
                         :inDialog="inDialog"
                         :canEdit="canEdit"
+                        :actionType="actionType"
                         :componentVO="newAreasData[0].componentVOs[0]"
                         :sourceData="newSourceData"
                         :sourceBtmType="sourceBtmType"
                         :dataStore="dataStore"
                         :areasName="areasName"
                         :paramVOS="paramVOS"
+                        @setData="setData"
                         @setDataStore="setDataStore"
                         :isShow="true"></compoent-index>
       </div>
@@ -129,6 +135,10 @@
       //鍐呭鏄惁鍙紪杈�
       type:Boolean,
       default:false
+    },
+    actionType:{
+      //鎸夐挳鎿嶄綔绫诲瀷
+      default:""
     },
     areasName:{
       type:String,
@@ -239,6 +249,9 @@
     handleChange(val) {
       //console.log(val);
     },
+    setData(value) {
+      this.$emit("setData", value);
+    },
     setDataStore(value) {
       this.$emit("setDataStore", value);
       this.dataStore = value.dataStore;

--
Gitblit v1.9.3