修改中英文滚动条

This commit is contained in:
lupeng_zz 2026-05-19 16:54:18 +08:00
parent b1984d3039
commit 00a5f4a3bd
2 changed files with 566 additions and 541 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,4 @@
//组件 var devcomponent = {
var devcomponent = {
template:` template:`
<div> <div>
<div style="display: flex;margin-top: 10px; flex-wrap: wrap; align-items: center;"> <div style="display: flex;margin-top: 10px; flex-wrap: wrap; align-items: center;">
@ -53,11 +52,11 @@
<el-button style="margin-left: 5px;" plain type="primary" icon="el-icon-document-checked" @click="exportWellDetail()">导出井位明细</el-button> <el-button style="margin-left: 5px;" plain type="primary" icon="el-icon-document-checked" @click="exportWellDetail()">导出井位明细</el-button>
</div> </div>
</div> </div>
<div class="span" v-if='radio1=="1"' style="max-height: calc(100vh - 200px); overflow-x: auto;"> <div class="span" v-if='radio1=="1"' style="height: calc(100vh - 200px); overflow-x: auto;">
<el-table <el-table
:data="tableData" :data="tableData"
style="width: 100%;font-size:14px" style="width: 100%;font-size:14px"
:height="tHeight" height="100%"
:cell-style="{background:'#304156'}" :cell-style="{background:'#304156'}"
border border
> >
@ -561,14 +560,13 @@
console.log("screen width:",screenW); console.log("screen width:",screenW);
console.log("screen height:",screenH); console.log("screen height:",screenH);
return { return {
tHeight:screenH-192, tHeight1: screenH * 0.5,
tHeight1:screenH*0.5, tableData: [],
tableData: Array(0), input: '',
input:'', currentPage: 1,
currentPage: 1, pagesize: 50,
pagesize:50, recordTotal: 0,
recordTotal:0, radio1: '1',
radio1:'1',
// 设备列表相关数据 // 设备列表相关数据
devListTableData: [], devListTableData: [],
@ -587,8 +585,8 @@
devWellnameOptions: [], devWellnameOptions: [],
devEngineerOptions: [], devEngineerOptions: [],
devCurrentPage: 1, devCurrentPage: 1,
devPagesize: 50, devPagesize: 50,
devRecordTotal: 0, devRecordTotal: 0,
pdf_visible:false, pdf_visible:false,
@ -1254,7 +1252,6 @@
}); });
}, },
} }
} }