From 5f34ae74e13bb58a98e8003a47c63f0bea1c3eb8 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期一, 11 十二月 2023 18:39:38 +0800 Subject: [PATCH] 集团属性映射配置bug --- Source/UBCS-WEB/src/views/integration/integrationIndex.vue | 20 +++----------------- 1 files changed, 3 insertions(+), 17 deletions(-) diff --git a/Source/UBCS-WEB/src/views/integration/integrationIndex.vue b/Source/UBCS-WEB/src/views/integration/integrationIndex.vue index c7cff47..0b4e974 100644 --- a/Source/UBCS-WEB/src/views/integration/integrationIndex.vue +++ b/Source/UBCS-WEB/src/views/integration/integrationIndex.vue @@ -33,7 +33,7 @@ @row-dblclick="handleMapingRowClick" @selection-change="selectionChange" @select="setCurrentRow" @select-all="handleSelectAll"> <template slot="menuLeft"> - <el-button icon="el-icon-plus" size="small" type="primary" :disabled="disabledPush" + <el-button icon="el-icon-plus" size="small" type="primary" @click="dialogPush = true">鏂� 澧� </el-button> <el-button icon="el-icon-check" size="small" type="primary" @click="handleSave">淇� 瀛� @@ -221,7 +221,7 @@ if (response.status === 200) { this.loading = false this.mappingData = response.data.data - console.log(this.filtermapping) + // console.log(this.filtermapping) } }, // 鎺ュ彛鑾峰彇灞炴�ф槧灏勫彇鍊艰寖鍥� @@ -229,7 +229,7 @@ this.rangeData = [] const response = await gridAttrRanges({ meatId: oid }) if (response.status === 200) { - console.log(response.data) + // console.log(response.data) this.rangeData = response.data.data } }, @@ -269,9 +269,7 @@ }, // 淇濆瓨鎸夐挳 async handleSave() { - console.log(this.mappingData) const response = await batchAddSave({ dockingPreAttrMappingVOList: this.mappingData }) - console.log(response) if (response.status === 200) { this.$message({ type: "success", @@ -291,7 +289,6 @@ message: "璇烽�夋嫨涓�鏉¢泦鍥㈠垎绫�" }); } else { - console.log(param) const response = await syncClassifyModel(param) if (response.status === 200) { console.log(response) @@ -300,7 +297,6 @@ }, handelTransferSave(event) { let that = this - console.log(event) const transferValue = event.value if (Object.keys(that.mappingForm).length == 0) { this.$message({ @@ -364,13 +360,9 @@ }, // 灞炴�у彇鍊艰寖鍥村崟鍏冩牸缂栬緫鍚� handleUpdate(row, index, done) { - console.log(row) - console.log(index) const findRow = this.mappingData.findIndex(item => item.metaListId === row.metaListId) this.rangeData[index] = row - console.log(this.rangeData) this.mappingData[findRow].dockingPreAttrRangeVoList = (this.rangeData) - console.log('淇敼鍚�', row) this.$message({ showClose: true, message: "淇敼鎴愬姛", @@ -380,8 +372,6 @@ }, // 灞炴�у彇鍊艰寖鍥村崟鍏冩牸缂栬緫鍚� handleMapingUpdate(row, index, done) { - console.log(row) - console.log('淇敼鍚�', row) this.$message({ showClose: true, message: "淇敼鎴愬姛", @@ -391,8 +381,6 @@ }, // 闆嗗洟鏄犲皠灞炴�ч�夋嫨锛堝崟閫夛級 selectionChange(selection) { - console.log(selection) - console.log(this.mappingForm) if (selection.length > 1) { const nowVal = selection.shift(); this.$refs.crudMapping.toggleRowSelection(nowVal, false); @@ -403,12 +391,10 @@ } }, setCurrentRow(selection, row) { - console.log(row) this.mappingForm = row this.disabledPush = false }, handleSelectAll(selection) { - console.log(selection) this.$refs.crudMapping.toggleSelection() } } -- Gitblit v1.9.3