|
|
@ -95,7 +95,7 @@ export default { |
|
|
|
searchTimer: null, |
|
|
|
searchTimer: null, |
|
|
|
tableData: [], |
|
|
|
tableData: [], |
|
|
|
dataTotal: 0, // 总条数,根据接口获取数据长度(注意:这里不能为空) |
|
|
|
dataTotal: 0, // 总条数,根据接口获取数据长度(注意:这里不能为空) |
|
|
|
pageNum: +this.$route.query.page || 1, |
|
|
|
pageNum: 1, |
|
|
|
pageSize: 10, |
|
|
|
pageSize: 10, |
|
|
|
currentPage: 1, |
|
|
|
currentPage: 1, |
|
|
|
systemId: this.$route.query.systemId, |
|
|
|
systemId: this.$route.query.systemId, |
|
|
@ -131,13 +131,6 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
handleCurrentChange(val) { // 切换页码 |
|
|
|
handleCurrentChange(val) { // 切换页码 |
|
|
|
this.pageNum = val; |
|
|
|
this.pageNum = val; |
|
|
|
this.$router.redirect({ |
|
|
|
|
|
|
|
path: '/', |
|
|
|
|
|
|
|
query: { |
|
|
|
|
|
|
|
...this.$route.query, |
|
|
|
|
|
|
|
page: val |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
this.initData(); |
|
|
|
this.initData(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
initData() { // 获取初始数据 |
|
|
|
initData() { // 获取初始数据 |
|
|
|