| | |
| | | } |
| | | } |
| | | }).catch(res => { |
| | | console.log(res) |
| | | // console.log(res) |
| | | this.$message.error(res) |
| | | }); |
| | | }, |
| | |
| | | List.forEach(item => { |
| | | let columnItem = { |
| | | label: item.title, |
| | | prop: item.field, |
| | | prop: item.queryField, |
| | | // type: this.columnType[item.type], |
| | | sortable: item.sort, |
| | | width: item.minWidth |
| | |
| | | //树点击事件 |
| | | async nodeClick(data) { |
| | | try { |
| | | console.log(data) |
| | | // console.log(data) |
| | | this.TreeValue=data.label.split(" ")[0].trim(); |
| | | // console.log('TreeValue',this.TreeValue) |
| | | this.$emit('TreeValue',this.TreeValue) |
| | | this.nodeClickList = data; |
| | | this.tableHeadDataFateher = [] |