From ca32bcd8d774b3fee52474683663d34507452b0b Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期三, 10 一月 2024 11:52:33 +0800
Subject: [PATCH] 申领单查询取消横向滑块
---
Source/UBCS-WEB/src/views/integration/integrationIndex.vue | 23 +++++++++++++----------
1 files changed, 13 insertions(+), 10 deletions(-)
diff --git a/Source/UBCS-WEB/src/views/integration/integrationIndex.vue b/Source/UBCS-WEB/src/views/integration/integrationIndex.vue
index 854de43..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']" >
@@ -22,8 +22,8 @@
</el-menu>
</el-aside>
</el-card>
- <el-main style="height: calc(100vh - 125px)">
- <el-card>
+ <el-main >
+ <el-card style="height: calc(100vh - 128px)">
<el-form :model="form">
<el-form-item label="闆嗗洟鍒嗙被" label-width="80px" size="small">
<el-select ref="selectTree" v-model="groupVal" clearable placeholder="璇烽�夋嫨"
@@ -37,7 +37,7 @@
</el-form-item>
</el-form>
- <el-card style="height:calc(100vh - 600px)">
+ <el-card style="height:38vh">
<avue-crud ref="crudMapping" :data="mappingData" :option="optionMapping" :table-loading="loading"
@select="setCurrentRow" @row-update="handleMapingUpdate"
@row-click="handleMapingClick" @row-dblclick="handleMapingRowClick" @selection-change="selectionChange"
@@ -57,7 +57,7 @@
</template>
</avue-crud>
</el-card>
- <el-card style="margin-top: 20px;height: calc(100vh - 575px)">
+ <el-card style="margin-top: 10px;height: 38vh">
<avue-crud ref="crudRange" :data="rangeData" :option="optinoRange" :style="{ marginTop: '-20px'}"
@row-update="handleUpdate"
@row-dblclick="handleRowClick">
@@ -152,7 +152,7 @@
},
// 灞炴�ф槧灏勮〃閰嶇疆
optionMapping: {
- maxHeight: '250px',
+ maxHeight: '280px',
header: true,
rowKey: 'oid',
selection: false,
@@ -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.9.3