| | |
| | | const result = this.$route.query.id.substring(0, index); |
| | | this.idData=result |
| | | // console.log(this.$route) |
| | | console.log(this.idData) |
| | | getTreeList({'conditionMap[id]':this.idData }).then(res=>{ |
| | | console.log(res) |
| | | this.Treedata=res.data; |
| | | console.log('Treedata',this.Treedata) |
| | | const [firstProperty] = res.data; |
| | | this.ModifyProperties(this.Treedata, 'text', 'label'); |
| | | this.codeClassifyOid=firstProperty.oid; |
| | | this.coderuleoid=firstProperty.attributes.coderuleoid; |
| | | this.$emit("coderuleoid", this.coderuleoid ) |
| | | }).catch(res=>{ |
| | | console.log(res) |
| | | this.$message.error(res) |
| | | }) |
| | | }, |
| | | |
| | |
| | | this.tableDataArray=res.data.data; |
| | | this.$emit('tableDataArray',this.tableDataArray) |
| | | this.$emit('total',res.data.total) |
| | | console.log('table',this.tableDataArray) |
| | | }) |
| | | }, |
| | | //表格头部 |
| | |
| | | this.$emit('tableHeadDataFateher', this.tableHeadDataFateher); |
| | | this.$emit('tableHeadFindData', this.tableHeadFindData); |
| | | this.$emit('tableHeadBttoms', this.masterVrBtnList); |
| | | console.log( 'head',this.tableHeadFindData) |
| | | resolve(); |
| | | }).catch(err => { |
| | | reject(err) |
| | |
| | | }, |
| | | //树点击事件 |
| | | async nodeClick(data) { |
| | | console.log('CloneTreeAvueform',this.CloneTreeAvueform) |
| | | try { |
| | | this.nodeClickList = data; |
| | | this.tableHeadDataFateher=[] |