田源
2024-04-18 b8d7b6603f8d5018655e4e6f8098be90ca443e17
Source/UBCS-WEB/src/views/integration/integrationIndex.vue
@@ -309,7 +309,6 @@
          // const groupReturnData = res.data && res.data.data ? res.data.data.map(item => item.groupAttrKey) : [];
          const groupReturnData = res.data.data;
          // 过滤匹配
          // console.log(groupReturnData)
          this.mappingData.forEach(mappingItem => {
            groupReturnData.forEach(groupItem => {
              if (mappingItem.sourceAttrKey === groupItem.groupAttrKey) {
@@ -329,7 +328,6 @@
          this.$message.success('自动填充成功,请确认属性后点击保存!');
        })
        .catch(error => {
          console.log(error)
          this.$message.error('填充失败,请稍后再试!');
        });
    },
@@ -440,7 +438,6 @@
      this.rangeData = []
      const response = await gridAttrRanges({meatId: oid})
      if (response.status === 200) {
        // console.log(response.data)
        this.rangeData = response.data.data
      }
    },
@@ -581,7 +578,6 @@
      }
    },
    handelTransferSave(event) {
      // console.log(event)
      let that = this
      const transferValue = event.value
      if (Object.keys(that.mappingForm).length == 0) {
@@ -693,7 +689,7 @@
          });
        }
      } catch (error) {
        console.error('处理映射更新时出错:', error);
        this.$message.error(error)
      } finally {
        done();
      }
@@ -710,7 +706,7 @@
      }
    },
    setCurrentRow(selection, row) {
      console.log(selection, row)
      this.mappingForm = row
      this.disabledPush = false
    },