Commit a62d1fc1 authored by 谢子梦's avatar 谢子梦

stage:首页代办事项

parent e9c72c7a
......@@ -33,7 +33,7 @@
<div class="bottom clearfix">
<el-pagination layout="prev, pager, next" v-show="pending.total > 0" :total="pending.total"
:page.sync="pending.params.pageNum" :limit.sync="pending.params.pageSize"
@pagination="getPendingTable" />
@current-change="handleCurrentChange" />
</div>
</el-card>
</el-col>
......@@ -69,6 +69,11 @@ export default {
this.getPendingTable()
},
methods: {
handleCurrentChange(val) {
this.pending.params.pageNum = val
this.getPendingTable()
// console.log(`当前页: ${val}`);
},
getPendingTable() {
listPending(this.pending.params).then(resp => {
if (200 === resp.code) {
......
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