| | |
| | | <span v-html="node.label"></span> |
| | | </template> |
| | | </avue-tree> |
| | | <div style="display: inline-block;"><i class="el-icon-refresh refresh-icon" @click="getTreeLists"></i></div> |
| | | <div style="display: inline-block;"><el-link icon="el-icon-refresh" class="refresh-icon" @click="getTreeLists"></el-link></div> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | }); |
| | | this.$emit("coderuleoid", this.coderuleoid) |
| | | this.$emit('Treedata', this.Treedata) |
| | | console.log(this.Treedata) |
| | | // console.log(this.Treedata) |
| | | } |
| | | } |
| | | }).catch(res => { |
| | |
| | | TableHeadRend() { |
| | | const index = this.$route.query.id.indexOf('@'); |
| | | const result = this.$route.query.id.substring(0, index); |
| | | // console.log(this.$route) |
| | | return new Promise((resolve, reject) => { |
| | | MasterTable({ |
| | | codeClassifyOid: this.nodeClickList.oid, |
| | |
| | | async nodeClick(data) { |
| | | try { |
| | | // console.log(data) |
| | | this.TreeValue = data.label.split(" ")[0].trim(); |
| | | this.TreeValue = data.label.split("</span>")[1].trim(); |
| | | // console.log('TreeValue',this.TreeValue) |
| | | this.$emit('TreeValue', this.TreeValue) |
| | | this.nodeClickList = data; |