| | |
| | | // 接口获取集团分类树 |
| | | async referTree(oid, checked) { |
| | | this.groupTreeData = [] |
| | | const response = await referTree({'conditionMap[codeclsfid]': oid, parentOid: '0'}) |
| | | const response = await referTree({'conditionMap[codeclsfid]': oid, parentOid:'0'}) |
| | | if (response.status === 200) { |
| | | if (checked) { |
| | | let items = response.data.map(item => { |
| | |
| | | const findRow = that.mappingData.findIndex(item => item.metaListId === that.mappingForm.metaListId) |
| | | that.mappingData[findRow].targetAttrName = transferValue[0].name |
| | | that.mappingData[findRow].targetAttrId = transferValue[0].oid |
| | | this.dialogPush = false |
| | | this.dialogPush = false; |
| | | } |
| | | |
| | | }, |
| | |
| | | dialogVisible(n) { |
| | | this.$emit('update:visible', n) |
| | | }, |
| | | data(n) { |
| | | console.log('n', n) |
| | | }, |
| | | newdata(n) { |
| | | console.log('newdata', n) |
| | | } |
| | | }, |
| | | computed: { |
| | | newdata() { |