|
@ -1,5 +1,5 @@ |
|
|
<template> |
|
|
<template> |
|
|
<div class="g-main" :style="{ height: tableHeight }"> |
|
|
<div class="g-main"> |
|
|
<div v-show="pageType == 'list'"> |
|
|
<div v-show="pageType == 'list'"> |
|
|
<div class="m-search"> |
|
|
<div class="m-search"> |
|
|
<el-form :inline="true" :model="formData" ref="ref_searchform" :label-width="'100px'"> |
|
|
<el-form :inline="true" :model="formData" ref="ref_searchform" :label-width="'100px'"> |
|
@ -51,7 +51,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="m-table"> |
|
|
<div class="m-table"> |
|
|
<el-table :data="tableData" border class="m-table-item" style="width: 100%" :height="maxTableHeight"> |
|
|
<el-table :data="tableData" border class="m-table-item" style="width: 100%" :height="tableHeight"> |
|
|
<el-table-column label="" fixed="left" type="selection" align="center" width="50" /> |
|
|
<el-table-column label="" fixed="left" type="selection" align="center" width="50" /> |
|
|
<el-table-column label="序号" fixed="left" type="index" align="center" width="50" /> |
|
|
<el-table-column label="序号" fixed="left" type="index" align="center" width="50" /> |
|
|
<el-table-column prop="agencyName" align="center" label="发布组织" :show-overflow-tooltip="true"> |
|
|
<el-table-column prop="agencyName" align="center" label="发布组织" :show-overflow-tooltip="true"> |
|
@ -189,8 +189,9 @@ export default { |
|
|
}, |
|
|
}, |
|
|
computed: { |
|
|
computed: { |
|
|
tableHeight() { |
|
|
tableHeight() { |
|
|
return (this.clientHeight - 140) + 'px' |
|
|
const h = this.clientHeight - this.searchH - 200 + this.iframeHeight; |
|
|
|
|
|
const _h = this.clientHeight - 200 - this.searchH; |
|
|
|
|
|
return this.$store.state.inIframe ? h : _h; |
|
|
}, |
|
|
}, |
|
|
...mapGetters(['clientHeight', 'resolution']), |
|
|
...mapGetters(['clientHeight', 'resolution']), |
|
|
}, |
|
|
}, |
|
|