|
@@ -38,8 +38,8 @@
|
|
|
|
|
|
<el-button type="primary" style="float: right;" @click="search">搜索</el-button>
|
|
|
</div>
|
|
|
- <el-table :data="orderList" border style="width: 100%">
|
|
|
- <el-table-column label="日期" prop="day" align="left" header-align="center" min-width="120px"></el-table-column>
|
|
|
+ <el-table :data="orderList" border style="width: 100%" :height="tableHeight">
|
|
|
+ <el-table-column label="日期" fixed prop="day" align="left" header-align="center" min-width="120px"></el-table-column>
|
|
|
<el-table-column label="流量与观看" header-align="center">
|
|
|
<!-- <el-table-column label="产品包名称" prop="packageTitle" align="left" header-align="center"></el-table-column> -->
|
|
|
<el-table-column
|
|
@@ -197,6 +197,7 @@ export default {
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
+ tableHeight: 500,
|
|
|
dateValue: "",
|
|
|
orderParams: {
|
|
|
channelCode: "",
|
|
@@ -242,6 +243,11 @@ export default {
|
|
|
// this.$store.dispatch("getOrderList", this.orderParams);
|
|
|
this.orderParams.startDate = this.getYesterDay();
|
|
|
this.orderParams.endDate = this.getYesterDay();
|
|
|
+ console.log(
|
|
|
+ "document.documentElement.clientHeight",
|
|
|
+ document.documentElement.clientHeight
|
|
|
+ );
|
|
|
+ this.tableHeight = document.documentElement.clientHeight * 0.75;
|
|
|
},
|
|
|
methods: {
|
|
|
// 搜索
|