| | |
| | | <template> |
| | | <div class="UI-dynamic" :id="'UI-dynamic-'+areasName+componentVO.oid"> |
| | | <dynamic-button v-if="componentVO.buttons && componentVO.buttons.length>0" :componentVO="componentVO" |
| | | :key="areasName+'buttons-'+componentVO.oid" |
| | | :butttonList="componentVO.buttons" :dataStore="checkDatas" |
| | | :sourceData="sourceData" type="tree" style="margin-bottom: 5px;"></dynamic-button> |
| | | <el-input |
| | |
| | | parentOid = parentOid.split('@vcitreesep@')[1]; |
| | | } |
| | | const parentBtmName = (node.level === 0) ? '' : node.data.attributes.btmname; |
| | | let params=this.params; |
| | | const params=this.params; |
| | | if(node.level === 0){ |
| | | params.queryRoot= true; |
| | | }else { |
| | | delete params.queryRoot; |
| | | } |
| | | getTree(parentOid, parentBtmName, params).then(res => { |
| | | resolve(res.data.treeData) |