| | |
| | | <span v-html="node.label"></span> |
| | | </template> |
| | | </avue-tree> |
| | | <div style="display: inline-block;"><el-link icon="el-icon-refresh" class="refresh-icon" @click="getTreeLists"></el-link></div> |
| | | <div style="display: inline-block;"> |
| | | <el-link class="refresh-icon" icon="el-icon-refresh" @click="getTreeLists"></el-link> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | if (node.data != false) { |
| | | const parentId = (node.level === 0) ? 0 : node.data.oid; |
| | | const parentBtmName = node.data.attributes.btmname; |
| | | getTreeList({parentOid: parentId, parentBtmName: parentBtmName,'conditionMap[btmTypeId]': this.referTreeId }).then(res => { |
| | | getTreeList({ |
| | | parentOid: parentId, |
| | | parentBtmName: parentBtmName, |
| | | 'conditionMap[btmTypeId]': this.referTreeId |
| | | }).then(res => { |
| | | resolve(res.data.map(item => { |
| | | return { |
| | | ...item, |