| | |
| | | delBtn: false, |
| | | defaultExpandAll: false, |
| | | menu: false, |
| | | lazy: true, |
| | | // lazy: true, |
| | | treeLoad: (node, resolve) => { |
| | | if (node.data != false) { |
| | | const parentId = (node.level === 0) ? 0 : node.data.oid; |
| | |
| | | let conditionMaps = {}; |
| | | conditionMaps["conditionMap[id]"] = this.idData; |
| | | conditionMaps["conditionMap[authType]"] = "data_auth"; |
| | | conditionMaps["conditionMap[buttonCode]"] = this.idData; |
| | | // 数据授权中是否具备查看权限 |
| | | conditionMaps["conditionMap[menuCode]"] = "data_view"; |
| | | getTreeList(conditionMaps).then(res => { |
| | |
| | | //树点击事件 |
| | | async nodeClick(data) { |
| | | try { |
| | | // console.log(data) |
| | | this.TreeValue = data.label.split("</span>")[1].trim(); |
| | | // console.log('TreeValue',this.TreeValue) |
| | | this.TreeValue = data.label; |
| | | this.$emit('TreeValue', this.TreeValue) |
| | | this.nodeClickList = data; |
| | | this.tableHeadDataFateher = [] |