Commit b90fa713 authored by lijin's avatar lijin

修复分页和筛选条件

parent 0b053262
...@@ -350,7 +350,7 @@ export default { ...@@ -350,7 +350,7 @@ export default {
dateRange: [start.format('YYYY-MM-DD'), end.format('YYYY-MM-DD')], dateRange: [start.format('YYYY-MM-DD'), end.format('YYYY-MM-DD')],
tableData: [], tableData: [],
currentPage: 1, currentPage: 1,
pageSize: 10, pageSize: 50,
total: 0, total: 0,
dialogVisible: false, dialogVisible: false,
dialogTitle: '', dialogTitle: '',
...@@ -395,7 +395,7 @@ export default { ...@@ -395,7 +395,7 @@ export default {
}) })
if (response.status === 200) { if (response.status === 200) {
this.tableData = response.result.data.value this.tableData = response.result.data.value
this.total = response.result.count this.total = response.result.data.count
} else { } else {
this.$message.error(response.msg || '获取数据失败') this.$message.error(response.msg || '获取数据失败')
} }
......
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