| | |
| | | <template> |
| | | <div class="UI-dynamic" :id="'UI-dynamic-'+areasName+componentVO.oid"> |
| | | <dynamic-button v-if="componentVO.buttons && componentVO.buttons.length>0" :butttonList="componentVO.buttons" :selectList="checkDatas" type="tree" style="margin-bottom: 10px;"></dynamic-button> |
| | | <dynamic-button v-if="componentVO.buttons && componentVO.buttons.length>0" :componentVO="componentVO" |
| | | :butttonList="componentVO.buttons" :dataStore="checkDatas" |
| | | :sourceData="sourceData" type="tree" style="margin-bottom: 10px;"></dynamic-button> |
| | | <el-input |
| | | placeholder="输入关键字进行过滤" |
| | | v-model="filterText"> |
| | |
| | | return data[this.defaultProps.label].indexOf(value) !== -1; |
| | | }, |
| | | initData() { |
| | | //异步获取数据 |
| | | this.data = [ |
| | | { |
| | | "attributes": { |
| | |
| | | this.checkDatas=[data]; |
| | | } |
| | | }, |
| | | handleRefresh(){ |
| | | this.initData(); |
| | | } |
| | | }, |
| | | } |
| | | </script> |