补召列表双滚动条问题修改
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
<!-- 补召日志 -->
|
||||
<template>
|
||||
<el-dialog modal-class="analysisList" v-model="dialogVisible" title="补召日志" width="70%" draggable @closed="close">
|
||||
<el-dialog
|
||||
modal-class="analysisList"
|
||||
v-model="dialogVisible"
|
||||
title="补召日志"
|
||||
width="70%"
|
||||
draggable
|
||||
@closed="close"
|
||||
>
|
||||
<TableHeader date-picker></TableHeader>
|
||||
<Table ref="tableRef" />
|
||||
</el-dialog>
|
||||
@@ -21,7 +28,7 @@ height.value = window.innerHeight < 1080 ? 230 : 450
|
||||
const detailRef: any = ref()
|
||||
const tableStore: any = new TableStore({
|
||||
url: '/cs-device-boot/portableOfflLog/queryMainLogPage',
|
||||
publicHeight: 200,
|
||||
publicHeight: 400,
|
||||
method: 'POST',
|
||||
column: [
|
||||
// { width: '60', type: 'checkbox', fixed: 'left' },
|
||||
@@ -79,6 +86,7 @@ const tableStore: any = new TableStore({
|
||||
},
|
||||
loadCallback: () => {
|
||||
// tableStore.table.data=[]
|
||||
tableStore.table.height = 400
|
||||
console.log(tableStore.table.data, 'tableStore.table.data')
|
||||
}
|
||||
})
|
||||
@@ -99,7 +107,7 @@ const close = () => {
|
||||
const updateViewportHeight = async () => {
|
||||
// height.value = window.innerHeight;
|
||||
height.value = window.innerHeight < 1080 ? 230 : 450
|
||||
tableStore.table.publicHeight = height.value
|
||||
// tableStore.table.publicHeight = height.value
|
||||
// await tableStore.index()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user