|
|
@ -1,6 +1,6 @@ |
|
|
|
<template> |
|
|
|
<div class="div_main"> |
|
|
|
<div class="div_search"> |
|
|
|
<div ref="div_search" class="div_search"> |
|
|
|
<el-form :inline="true" |
|
|
|
:model="searchForm" |
|
|
|
ref="ref_searchform" |
|
|
@ -290,7 +290,7 @@ export default { |
|
|
|
tableLoading: false, |
|
|
|
|
|
|
|
agencyId: '', |
|
|
|
|
|
|
|
sHeight: 0, |
|
|
|
timeRange: [], |
|
|
|
searchForm: { |
|
|
|
agencyId: '', |
|
|
@ -341,6 +341,7 @@ export default { |
|
|
|
this.getGridList() |
|
|
|
this.getValiheList() |
|
|
|
await this.loadTable() |
|
|
|
this.sHeight = this.$refs.div_search.offsetHeight + 240 |
|
|
|
}, |
|
|
|
|
|
|
|
methods: { |
|
|
@ -605,12 +606,10 @@ export default { |
|
|
|
computed: { |
|
|
|
tableHeight () { |
|
|
|
|
|
|
|
return (this.clientHeight - 360) |
|
|
|
return (this.clientHeight - this.sHeight) |
|
|
|
|
|
|
|
}, |
|
|
|
rowHeight () { |
|
|
|
return (this.clientHeight - 200) + 'px' |
|
|
|
}, |
|
|
|
|
|
|
|
...mapGetters(['clientHeight']) |
|
|
|
}, |
|
|
|
watch: { |
|
|
|