|
|
@ -20,6 +20,7 @@ export default { |
|
|
allNum:0, |
|
|
allNum:0, |
|
|
notifyQty:0, |
|
|
notifyQty:0, |
|
|
height:200, |
|
|
height:200, |
|
|
|
|
|
detailHeight:250, |
|
|
siteList: [], |
|
|
siteList: [], |
|
|
delNotifyHeaderTableLoading:false, |
|
|
delNotifyHeaderTableLoading:false, |
|
|
// 搜索表单对象 |
|
|
// 搜索表单对象 |
|
|
@ -61,7 +62,10 @@ export default { |
|
|
}, |
|
|
}, |
|
|
mounted () { |
|
|
mounted () { |
|
|
this.$nextTick(() => { |
|
|
this.$nextTick(() => { |
|
|
this.height = window.innerHeight - 475 |
|
|
|
|
|
|
|
|
// 上下表格按 1/3 : 2/3 分配可用高度(225 为搜索表单、分页及导航等固定占用) |
|
|
|
|
|
const available = window.innerHeight - 225 |
|
|
|
|
|
this.height = Math.floor(available / 3) |
|
|
|
|
|
this.detailHeight = Math.floor(available * 2 / 3) |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
@ -488,7 +492,7 @@ export default { |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<el-table :data="delNotifyDetailList" |
|
|
<el-table :data="delNotifyDetailList" |
|
|
height="250" |
|
|
|
|
|
|
|
|
:height="detailHeight" |
|
|
border stripe |
|
|
border stripe |
|
|
style="margin-top: 10px;"> |
|
|
style="margin-top: 10px;"> |
|
|
<el-table-column label="操作" width="150px" header-align="center" fixed align="center"> |
|
|
<el-table-column label="操作" width="150px" header-align="center" fixed align="center"> |
|
|
|