| | |
| | | :key="areasName+'buttons-'+componentVO.oid" |
| | | :butttonList="componentVO.buttons" :dataStore="checkDatas" |
| | | @afterMethod="handleRefresh" |
| | | @refresh="initData" |
| | | :sourceData="sourceData" type="tree" style="margin-bottom: 5px;"></dynamic-button> |
| | | <el-input |
| | | placeholder="输入关键字进行过滤" |
| | |
| | | } |
| | | }, |
| | | created() { |
| | | this.getParams(); |
| | | if (!this.lazy) { |
| | | this.initData(); |
| | | } |
| | | }, |
| | | mounted() { |
| | | if(this.componentVO.buttons && this.componentVO.buttons.length>0){ |
| | |
| | | this.params = Object.assign({}, treeParams, sourceDataMapList); |
| | | }, |
| | | initData() { |
| | | this.data=[]; |
| | | if (Object.keys(this.sourceData).length > 0 && this.isShow) { |
| | | getTree(null, null, Object.assign({ |
| | | queryRoot: true |