| | |
| | | <template> |
| | | <div> |
| | | <el-container style="height: 100%; border: 1px solid #fff"> |
| | | <el-card style="margin-right: 10px;height: calc(100vh - 125px)"> |
| | | <el-aside style="background-color: #fff" width="210px"> |
| | | <el-card style="margin-right: 10px;height: calc(100vh - 125px);overflow: auto"> |
| | | <el-aside style="background-color: #fff;" width="210px"> |
| | | <el-input v-model="filterText" placeholder="输入关键字进行过滤"> |
| | | </el-input> |
| | | <el-menu :default-openeds="['1', '3']" > |
| | |
| | | const response = await listCodeAttributeByClassId({codeClassifyId: oid}) |
| | | if (response.status === 200) { |
| | | const data = response.data.data |
| | | this.transferData = data |
| | | this.transferData = data; |
| | | // console.log(data) |
| | | } |
| | | }, |
| | | // 接口获取集团分类树 |
| | |
| | | } |
| | | }, |
| | | handelTransferSave(event) { |
| | | // console.log(event) |
| | | let that = this |
| | | const transferValue = event.value |
| | | if (Object.keys(that.mappingForm).length == 0) { |
| | |
| | | }); |
| | | } else { |
| | | 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 |
| | | that.mappingData[findRow].targetAttrName = transferValue[0].name; |
| | | that.mappingData[findRow].targetAttrId = transferValue[0].oid; |
| | | that.mappingData[findRow].targetAttrKey = transferValue[0].id; |
| | | this.dialogPush = false; |
| | | } |
| | | |