|
@@ -112,7 +112,7 @@
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
<!-- 页数选择器 -->
|
|
|
- <m-page style="margin: 20px 0" :page_no="page_no" :pageSize="15" :total="total" @handleCurrentChange="pageChange" />
|
|
|
+ <m-page style="margin: 20px 0" :page_no="page_no" :pageSize="pageSize" :total="total" @handleCurrentChange="pageChange" />
|
|
|
</el-card>
|
|
|
<!-- 覆盖率弹框 -->
|
|
|
<coverage-rate-dlg :isCoverageRateShow.sync="isCoverageRateShow" :dlgForm.sync="dlgForm" />
|
|
@@ -242,7 +242,10 @@ export default {
|
|
|
|
|
|
return `(${formatDate(startOfWeek)} ~ ${formatDate(endOfWeek)})`;
|
|
|
},
|
|
|
- pageChange() {},
|
|
|
+ pageChange(page_no) {
|
|
|
+ this.page_no = page_no;
|
|
|
+ this.getDataList();
|
|
|
+ },
|
|
|
// 获取表格数据
|
|
|
async getDataList() {
|
|
|
let salesArr = [];
|