| | |
| | | :loading="cardLoading" |
| | | :bordered="false" |
| | | title="工具信息" |
| | | style="height: 100%;" |
| | | > |
| | | <a-spin :spinning="loading"> |
| | | <a-alert |
| | |
| | | /> |
| | | |
| | | <!-- showLine --> |
| | | <a-tree |
| | | <div style="flex: 1;overflow:auto;margin-top: 10px;max-height: 400px; min-height: 400px"> |
| | | <a-tree |
| | | :checkStrictly="checkStrictly" |
| | | |
| | | :selectedKeys="selectedKeys" |
| | | :dropdownStyle="{maxHeight:'200px',overflow:'auto'}" |
| | | :treeData="treeDataSource" |
| | | |
| | | :defaultExpandAll="true" |
| | | @select="onSelect" |
| | | @expand="onExpand" |
| | |
| | | |
| | | </template> |
| | | </a-tree> |
| | | </div> |
| | | |
| | | </a-spin> |
| | | </a-card> |
| | | </template> |
| | |
| | | this.expandedKeys = this.allTreeKeys; |
| | | }, |
| | | closeAll() { |
| | | this.expandedKeys = this.allSiteIds; |
| | | this.expandedKeys = []; |
| | | }, |
| | | refreshTree() { |
| | | this.queryTreeData(); |
| | |
| | | //监听 |
| | | watch: { |
| | | currSelected(val) {//监听currSelected 变化,将变化后的数值传递给 getCurrSelected 事件 |
| | | this.$bus.$emit('getCurrSelected', val) |
| | | this.$bus.$emit('getBaseToolsListSelected', val) |
| | | }, |
| | | } |
| | | } |