From 17940d484eb613416c0e6c1a2cc9dc01f7bf85db Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Thu, 18 Sep 2025 09:22:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8D=90=E6=AC=BE=E8=AE=B0=E5=BD=95-=E7=AD=9B?= =?UTF-8?q?=E9=80=89-=E6=B8=85=E7=A9=BA=E9=80=89=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../institutionalStructure/donationRecord.vue | 23 +++++++++++++------ 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/pages/institutionalStructure/donationRecord.vue b/pages/institutionalStructure/donationRecord.vue index 62fa2ef..2b4dbb4 100644 --- a/pages/institutionalStructure/donationRecord.vue +++ b/pages/institutionalStructure/donationRecord.vue @@ -57,7 +57,7 @@ 'custom-radio-button', filter.orderAmount === 'desc' ? 'checked' : '', ]" - @click="changeorderAmount('desc')" + @click="changeOrderAmount('desc')" > 由高到低 @@ -66,7 +66,7 @@ 'custom-radio-button', filter.orderAmount === 'asc' ? 'checked' : '', ]" - @click="changeorderAmount('asc')" + @click="changeOrderAmount('asc')" > 由低到高 @@ -78,7 +78,7 @@ 'custom-radio-button', filter.orderTime === 'asc' ? 'checked' : '', ]" - @click="changeorderTime('asc')" + @click="changeOrderTime('asc')" > 由远及近 @@ -87,7 +87,7 @@ 'custom-radio-button', filter.orderTime === 'desc' ? 'checked' : '', ]" - @click="changeorderTime('desc')" + @click="changeOrderTime('desc')" > 由近及远 @@ -135,7 +135,7 @@ - + 清空选择 @@ -212,7 +212,7 @@ export default { this.loadMoreDonationRecords(); }, methods: { - changeorderAmount(order) { + changeOrderAmount(order) { this.filter.orderAmount = order; this.filter.orderTime = ""; @@ -221,7 +221,7 @@ export default { console.log("当前选择的排序方式:", order); // 触发排序操作 }, - changeorderTime(order) { + changeOrderTime(order) { this.filter.orderTime = order; this.filter.orderAmount = ""; this.filter.sortAmount = ""; @@ -229,6 +229,15 @@ export default { console.log("当前选择的排序方式:", order); // 触发排序操作 }, + resetFilter() { + this.filter.orderTime = ""; + this.filter.orderAmount = ""; + this.filter.sortAmount = ""; + this.filter.sortTime = ""; + this.filter.minAmount = ""; + this.filter.maxAmount = ""; + }, + // 选择金额区间 selectRange(item) { this.selectedRange = { ...item };