From f6d041cade1081aee26ce0313eb10006e3997663 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期四, 11 一月 2024 16:47:39 +0800
Subject: [PATCH] 整合代码
---
Source/UBCS-WEB/src/views/integration/integrationIndex.vue | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/Source/UBCS-WEB/src/views/integration/integrationIndex.vue b/Source/UBCS-WEB/src/views/integration/integrationIndex.vue
index 6cac650..6b902af 100644
--- a/Source/UBCS-WEB/src/views/integration/integrationIndex.vue
+++ b/Source/UBCS-WEB/src/views/integration/integrationIndex.vue
@@ -1,8 +1,8 @@
<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']" >
@@ -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;
}
--
Gitblit v1.10.0