From 6cbf81bf91ddb09b87c1756c4c7d4aa42bb22f4b Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期一, 15 四月 2024 10:33:46 +0800 Subject: [PATCH] 调整接口 --- Source/ProjectWeb/src/components/dynamic-components/dynamic-TreeTable.vue | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Source/ProjectWeb/src/components/dynamic-components/dynamic-TreeTable.vue b/Source/ProjectWeb/src/components/dynamic-components/dynamic-TreeTable.vue index b563d16..6f6efc4 100644 --- a/Source/ProjectWeb/src/components/dynamic-components/dynamic-TreeTable.vue +++ b/Source/ProjectWeb/src/components/dynamic-components/dynamic-TreeTable.vue @@ -13,13 +13,13 @@ </template> <!--top鍖哄煙鎸夐挳--> <template slot="menuLeft" slot-scope="scope"> - <dynamic-button :butttonList="componentVO.buttons" :selectList="TreeSelectList" LocationType="top" + <dynamic-button :componentVO="componentVO" :butttonList="componentVO.buttons" :dataStore="TreeSelectList" :sourceData="sourceData" LocationType="top" type="TreeTable"></dynamic-button> </template> <!--menu鍖哄煙鎸夐挳--> <template slot="menu" slot-scope="scope"> - <dynamic-button :butttonList="componentVO.buttons" :scope="scope" :selectList="TreeSelectList" LocationType="menu" default="default" + <dynamic-button :componentVO="componentVO" :butttonList="componentVO.buttons" :scope="scope" :dataStore="TreeSelectList" :sourceData="sourceData" LocationType="menu" default="default" type="TreeTable"></dynamic-button> </template> </avue-crud> @@ -396,9 +396,13 @@ this.TreeSelectList = row; this.$emit("setDataStore", { area: this.areasName, + type:this.componentVO.uiComponentType, dataStore:row }); }, + handleRefresh(){ + this.$refs.treeTable.refreshTable(); + } } } </script> -- Gitblit v1.9.3