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 | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/Source/ProjectWeb/src/components/dynamic-components/index.vue b/Source/ProjectWeb/src/components/dynamic-components/index.vue index 5f62cb1..54e1ff2 100644 --- a/Source/ProjectWeb/src/components/dynamic-components/index.vue +++ b/Source/ProjectWeb/src/components/dynamic-components/index.vue @@ -5,12 +5,14 @@ :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"> @@ -21,12 +23,14 @@ :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"> @@ -37,12 +41,14 @@ :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> @@ -51,6 +57,7 @@ :uiContext="uiContext" :inDialog="inDialog" :canEdit="canEdit" + :actionType="actionType" :key="areasName+'custom-'+componentVO.oid" :componentVO="componentVO" :sourceData="sourceData" @@ -58,6 +65,7 @@ :dataStore="dataStore" :areasName="areasName" :paramVOS="paramVOS" + @setData="setData" @setDataStore="setDataStore" :isShow="isShow"> @@ -95,6 +103,10 @@ type:Boolean, default:false }, + actionType:{ + //鎸夐挳鎿嶄綔绫诲瀷 + default:"" + }, areasName:{ type:String, default:'' @@ -129,6 +141,9 @@ setDataStore(value) { this.$emit("setDataStore", value); this.dataStore = value.dataStore; + }, + setData(value) { + this.$emit("setData", value); } } } -- Gitblit v1.9.3