From b8d7b6603f8d5018655e4e6f8098be90ca443e17 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期四, 18 四月 2024 11:47:25 +0800 Subject: [PATCH] 整合更新代码 --- Source/UBCS-WEB/src/views/integration/vciAttribute.vue | 5 ----- Source/UBCS-WEB/src/views/integration/integrationIndex.vue | 8 ++------ 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/Source/UBCS-WEB/src/views/integration/integrationIndex.vue b/Source/UBCS-WEB/src/views/integration/integrationIndex.vue index 083d865..9f9d493 100644 --- a/Source/UBCS-WEB/src/views/integration/integrationIndex.vue +++ b/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 }, diff --git a/Source/UBCS-WEB/src/views/integration/vciAttribute.vue b/Source/UBCS-WEB/src/views/integration/vciAttribute.vue index 33230eb..3db4280 100644 --- a/Source/UBCS-WEB/src/views/integration/vciAttribute.vue +++ b/Source/UBCS-WEB/src/views/integration/vciAttribute.vue @@ -129,7 +129,6 @@ }, methods: { searchHandler() { - console.log(this.searchSelect) const params = { [`conditionMap[${this.searchSelect}_like]`]: this.searchValue, page: this.page.currentPage, @@ -191,12 +190,9 @@ // row.codeMetaAttrName鍥犱负涓嬫媺妗唙alue鍊煎師鍥犵粦瀹氫负codeMetaAttrOid let updataList = [] - // console.log(this.ChangeName) - // console.log(row.codeMetaAttrName) // if (this.ChangeName && this.ChangeName === row.codeMetaAttrName) { // updataList = this.codeMetaColumn.dicData.find(item => item.codeMetaAttrOid === row.codeMetaAttrOid) // } else { - // console.log('2') // updataList = this.codeMetaColumn.dicData.find(item => item.codeMetaAttrOid === row.codeMetaAttrName) // } updataList = this.codeMetaColumn.dicData.find(item => item.codeMetaAttrOid === row.codeMetaAttrName) @@ -266,7 +262,6 @@ this.$message.success('淇濆瓨鎴愬姛锛�') await this.onLoad() } - } }, async syncHandler() { -- Gitblit v1.9.3