Commit 9942e348 by liang ce

文案修改

parent 3fcfdf21
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<a-button type="primary" @click="getStatisticalProductPage">查询</a-button> <a-button type="primary" @click="getStatisticalProductPage">查询</a-button>
</div> </div>
<div class="title">账单汇总</div> <div class="title">账单汇总</div>
<a-table :columns="columns" :dataSource="dataSource" rowKey="productId" :pagination="pagination"> <a-table :columns="columns" :dataSource="dataSource" rowKey="productId" :pagination="pagination" @change="handleTableChange">
<span slot="productIcon" slot-scope="productIcon"> <span slot="productIcon" slot-scope="productIcon">
<img style="width: 100px" :src="productIcon" alt="" /> <img style="width: 100px" :src="productIcon" alt="" />
</span> </span>
...@@ -117,7 +117,7 @@ export default { ...@@ -117,7 +117,7 @@ export default {
let SubsidyListData = { let SubsidyListData = {
startTime: this.startTime, startTime: this.startTime,
endTime: this.endTime, endTime: this.endTime,
orgId: localStorage.getItem('orgId'), orgId: 'ding9ddd48137390507735c2f4657eb6378f',//localStorage.getItem('orgId'),
pageNumber: 10, pageNumber: 10,
currentPage: this.pagination.current currentPage: this.pagination.current
} }
...@@ -129,7 +129,12 @@ export default { ...@@ -129,7 +129,12 @@ export default {
this.$message.error(res.data.message) this.$message.error(res.data.message)
} }
}) })
} },
// 分页
handleTableChange (pagination, filters, sorter) {
this.pagination.current = pagination.current
this.getStatisticalProductPage()
},
} }
} }
</script> </script>
......
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