From a9bbbe822377536e6f3374b05e2b64b12b2f188c Mon Sep 17 00:00:00 2001
From: wangting <675591594@qq.com>
Date: 星期一, 27 五月 2024 10:25:43 +0800
Subject: [PATCH] action文档

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

diff --git a/Source/ProjectWeb/src/components/dynamic-components/index.vue b/Source/ProjectWeb/src/components/dynamic-components/index.vue
index 3ecb0e5..54e1ff2 100644
--- a/Source/ProjectWeb/src/components/dynamic-components/index.vue
+++ b/Source/ProjectWeb/src/components/dynamic-components/index.vue
@@ -4,12 +4,15 @@
                  :uiContext="uiContext"
                  :key="areasName+'table-'+componentVO.oid"
                  :inDialog="inDialog"
+                 :canEdit="canEdit"
+                 :actionType="actionType"
                  :componentVO="componentVO"
                  :sourceData="sourceData"
                  :sourceBtmType="sourceBtmType"
                  :dataStore="dataStore"
                  :areasName="areasName"
                  :paramVOS="paramVOS"
+                 @setData="setData"
                  @setDataStore="setDataStore"
                  :isShow="isShow">
 
@@ -19,12 +22,15 @@
                 :uiContext="uiContext"
                 :key="areasName+'form-'+componentVO.oid"
                 :inDialog="inDialog"
+                :canEdit="canEdit"
+                :actionType="actionType"
                 :componentVO="componentVO"
                 :sourceData="sourceData"
                 :sourceBtmType="sourceBtmType"
                 :dataStore="dataStore"
                 :areasName="areasName"
                 :paramVOS="paramVOS"
+                @setData="setData"
                 @setDataStore="setDataStore"
                 :isShow="isShow">
 
@@ -34,12 +40,15 @@
                 :uiContext="uiContext"
                 :key="areasName+'tree-'+componentVO.oid"
                 :inDialog="inDialog"
+                :canEdit="canEdit"
+                :actionType="actionType"
                 :componentVO="componentVO"
                 :sourceData="sourceData"
                 :sourceBtmType="sourceBtmType"
                 :dataStore="dataStore"
                 :areasName="areasName"
                 :paramVOS="paramVOS"
+                @setData="setData"
                 @setDataStore="setDataStore"
                 :isShow="isShow">
   </dynamic-tree>
@@ -47,6 +56,8 @@
                   :uiBtmType="uiBtmType"
                   :uiContext="uiContext"
                   :inDialog="inDialog"
+                  :canEdit="canEdit"
+                  :actionType="actionType"
                   :key="areasName+'custom-'+componentVO.oid"
                   :componentVO="componentVO"
                   :sourceData="sourceData"
@@ -54,6 +65,7 @@
                   :dataStore="dataStore"
                   :areasName="areasName"
                   :paramVOS="paramVOS"
+                  @setData="setData"
                   @setDataStore="setDataStore"
                   :isShow="isShow">
 
@@ -85,6 +97,15 @@
     inDialog: {
       type: Boolean,
       default: false
+    },
+    canEdit:{
+      //鍐呭鏄惁鍙紪杈�
+      type:Boolean,
+      default:false
+    },
+    actionType:{
+      //鎸夐挳鎿嶄綔绫诲瀷
+      default:""
     },
     areasName:{
       type:String,
@@ -120,6 +141,9 @@
     setDataStore(value) {
       this.$emit("setDataStore", value);
       this.dataStore = value.dataStore;
+    },
+    setData(value) {
+      this.$emit("setData", value);
     }
   }
 }

--
Gitblit v1.9.3