| | |
| | | Treedata: [], |
| | | CloneTreedata: [], |
| | | Treeoption: { |
| | | height:'auto', |
| | | addBtn: false, |
| | | editBtn: false, |
| | | delBtn: false, |
| | |
| | | }, |
| | | //树点击事件 |
| | | async nodeClick(data) { |
| | | const response = this.findTheTopLevelNode(data,this.Treedata) |
| | | console.log('response',response.label) |
| | | const response = this.findTheTopLevelNode(data,this.Treedata) |
| | | console.log(response) |
| | | console.log('response',response.attributes.id) |
| | | this.allButtons = true; |
| | | getAuthButtonList({classifyId: data.oid, code: "classifyTree", authType: "classify_auth"}).then(res => { |
| | | this.btnAuthList = res.data.data; |