Source/ProjectWeb/src/components/dynamic-components/dynamic-button.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Source/ProjectWeb/src/components/dynamic-components/dynamic-tree.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Source/ProjectWeb/src/views/base/uiDefineVOInDialog.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Source/ProjectWeb/src/components/dynamic-components/dynamic-button.vue
@@ -39,7 +39,7 @@ {{ item.name }} </el-button> </div> <div v-else-if="type === 'tree'"> <div v-else-if="type === 'tree'" class="tree-buttons"> <el-button v-for="item in basicButtonList" :key="item.oid" :icon="item.paramVOS.webUiButtonIcon" @@ -251,7 +251,7 @@ basicButtonList() { const basicColumn = this.butttonList; if (this.type === 'form') { if (this.type === 'form' || this.type=='tree') { return basicColumn; } else if (this.type === 'table' || this.type === 'TreeTable') { const top = basicColumn.filter(item => item.paramVOS.webUiButtonLocation === 'top' || func.isEmpty(item.paramVOS.webUiButtonLocation)); // è¿æ»¤åºæ¥è¡¨æ ¼ä¸é¢åºåå±ç¤ºçæé® Source/ProjectWeb/src/components/dynamic-components/dynamic-tree.vue
@@ -1,6 +1,6 @@ <template> <div class="UI-dynamic" :id="'UI-dynamic-'+areasName+componentVO.oid"> <dynamic-button :butttonList="componentVO.buttons" :selectList="checkDatas" type="tree"></dynamic-button> <dynamic-button v-if="componentVO.buttons && componentVO.buttons.length>0" :butttonList="componentVO.buttons" :selectList="checkDatas" type="tree" style="margin-bottom: 10px;"></dynamic-button> <el-input placeholder="è¾å ¥å ³é®åè¿è¡è¿æ»¤" v-model="filterText"> @@ -83,8 +83,7 @@ sourceData:{ handler(newval) { //æºæ°æ®æååæ¶åæ´å½ååºåæ°æ® console.log(this.areasName); console.log(newval); this.initData(); } } }, @@ -105,6 +104,9 @@ this.initData(); }, mounted() { if(this.componentVO.buttons && this.componentVO.buttons.length>0){ this.$children[2].$el.style.height = 'calc(100% - 50px - '+this.$children[0].$el.clientHeight+'px - 10px)'; } }, methods: { filterNode(value, data) { Source/ProjectWeb/src/views/base/uiDefineVOInDialog.js
ÎļþÒÑɾ³ý