Commit dc7c4677 by WH

fix:分页查询补充

parent c06eb519
...@@ -199,7 +199,7 @@ ...@@ -199,7 +199,7 @@
if (res.respCode === "AAAAAA") { if (res.respCode === "AAAAAA") {
loading.close() loading.close()
this.tableData = res.data this.tableData = res.data
this.pagination.total = Number(res.data.length) this.pagination.total = Number(res.data[0].countSize)
} }
}, },
httpRequest(params) { httpRequest(params) {
...@@ -265,7 +265,7 @@ ...@@ -265,7 +265,7 @@
this.holidayList = [] this.holidayList = []
this.searchParams = { this.searchParams = {
pageNum: this.pagination.pageIndex, pageIndex: this.pagination.pageIndex,
pageSize: this.pagination.pageSize, pageSize: this.pagination.pageSize,
...params.data ...params.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