diff --git a/src/views/home/data_credit.vue b/src/views/home/data_credit.vue index a106ba5..7f18b88 100644 --- a/src/views/home/data_credit.vue +++ b/src/views/home/data_credit.vue @@ -16,7 +16,7 @@ :value="item.value" /> - + 查询 @@ -119,7 +119,10 @@ export default { this.getTableData() }, methods: { - + search() { + this.tableData.page = 1 + this.getTableData() + }, /** * 获取挂账人列表 */ diff --git a/src/views/home/data_creditDetail.vue b/src/views/home/data_creditDetail.vue index 496c012..df68663 100644 --- a/src/views/home/data_creditDetail.vue +++ b/src/views/home/data_creditDetail.vue @@ -27,13 +27,13 @@ - 查询 + 查询 重置 @@ -161,6 +161,10 @@ export default { // this.tbShopCategoryGet() }, methods: { + search() { + this.query.page = 1 + this.getTableData() + }, /** * 获取明细数据 */ @@ -172,6 +176,7 @@ export default { let params = { page: this.query.page, size: this.query.size, + status: this.query.status, creditBuyerId: this.query.creditBuyerId } if (this.query.createdAt.length > 0) {