|
|
@ -73,7 +73,7 @@ |
|
|
|
<div class="resi-row-btn"> |
|
|
|
<el-button type="warning" size="small" :loading="exportBtn" class="diy-button--reset" @click="exportHandle()">{{ $t('export') }}</el-button> |
|
|
|
</div> |
|
|
|
<el-table class="resi-table" v-loading="dataListLoading" :data="dataList" border @selection-change="dataListSelectionChangeHandle" style="width: 100%;"> |
|
|
|
<el-table class="resi-table" :height="tableHeight" v-loading="dataListLoading" :data="dataList" border @selection-change="dataListSelectionChangeHandle" style="width: 100%;"> |
|
|
|
<!--<el-table-column type="selection" header-align="center" align="center" width="50"></el-table-column>--> |
|
|
|
<el-table-column label="序号" header-align="center" align="center" width="50px"> |
|
|
|
<template slot-scope="scope"> |
|
|
@ -114,7 +114,7 @@ |
|
|
|
import axios from 'axios' |
|
|
|
import mixinViewModule from '@/mixins/view-module' |
|
|
|
import AddOrUpdate from './icpartymemberpayrecorddetail-add-or-update' |
|
|
|
|
|
|
|
import { mapGetters } from 'vuex' |
|
|
|
export default { |
|
|
|
mixins: [mixinViewModule], |
|
|
|
data () { |
|
|
@ -125,6 +125,7 @@ |
|
|
|
deleteURL: '/resi/partymember/icPartyMemberPayRecordDetail', |
|
|
|
deleteIsBatch: true |
|
|
|
}, |
|
|
|
searchH: 0, |
|
|
|
exportBtn: false, |
|
|
|
exportBtnTitle: '导出', |
|
|
|
dataForm: { |
|
|
@ -157,6 +158,20 @@ |
|
|
|
components: { |
|
|
|
AddOrUpdate |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
...mapGetters(['clientHeight', 'iframeHeight']), |
|
|
|
tableHeight() { |
|
|
|
const h = this.clientHeight - this.searchH - 270 + this.iframeHeigh |
|
|
|
const _h = this.clientHeight - 270 - this.searchH |
|
|
|
return this.$store.state.inIframe ? h : _h |
|
|
|
} |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
this.$nextTick(() => { |
|
|
|
this.searchH = this.$refs.searchCard.$el.offsetHeight |
|
|
|
console.log('tableHeight', this.tableHeight) |
|
|
|
}) |
|
|
|
}, |
|
|
|
created() { |
|
|
|
this.getOrgList() |
|
|
|
}, |
|
|
|