田源
2024-01-09 fc0b29bd62b0aa5d024834eefe2f6862d1306009
Source/UBCS-WEB/src/views/integration/integrationIndex.vue
@@ -272,7 +272,8 @@
      const response = await listCodeAttributeByClassId({codeClassifyId: oid})
      if (response.status === 200) {
        const data = response.data.data
        this.transferData = data
        this.transferData = data;
        // console.log(data)
      }
    },
    // 接口获取集团分类树
@@ -330,6 +331,7 @@
      }
    },
    handelTransferSave(event) {
      // console.log(event)
      let that = this
      const transferValue = event.value
      if (Object.keys(that.mappingForm).length == 0) {
@@ -339,8 +341,9 @@
        });
      } 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;
      }