From bd0b9311fde7f1311f095bc93225858c9604f9df Mon Sep 17 00:00:00 2001 From: GaoHao <1210693421@qq.com> Date: Wed, 27 Nov 2024 14:14:16 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AD=9B=E9=80=89=E6=9D=A1=E4=BB=B6=E8=B0=83?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/home/data_credit.vue | 7 +++++-- src/views/home/data_creditDetail.vue | 9 +++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) 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) {