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 };