Commit 2b2771e5 by lichengming

修改了统计分析的表格

parent c87e3b33
......@@ -5,7 +5,7 @@
:data="getPage.records"
ref="moveTable"
:header-cell-style="{background:'#F8F8F9'}"
:height="tableHeight+20"
:height="tableHeight"
v-loading="loading"
@select-all="_selectAll"
@selection-change="_selectRowChange"
......
......@@ -20,8 +20,8 @@
<!--</PTVXETable>-->
<!--合计 暂时用此表格-->
<ElTableNoPage id="table-year" ref="pageTable" :table-height="tableHeight"
:get-page="getPage" hide-checkbox show-summary="true" @on-result-change="_tableResultChange">
<ElTableNoPage id="table-year" ref="pageTable"
:get-page="getPage" @on-result-change="_tableResultChange" hide-checkbox show-summary="true">
<el-table-column
v-for="item in pageColumns"
:key="item.key"
......@@ -49,7 +49,7 @@ export default {
},
data() {
return {
tableHeight: '260',
// tableHeight: '260',
pageColumns: [
{
title: '签订日期',
......@@ -67,6 +67,14 @@ export default {
year: ''
}
},
computed: {
tableHeight: function() {
return this.$tableHeight('noBtn')
}
},
mounted() {
this.$refs.pageTable._hideLoading()
},
methods: {
_openTable(data, result) {
this.year = data
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment