From 711d4a4e90c9f8c46f26415c3d5b2dd564e13d48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BD=90=E5=A4=A9=E5=A4=A7=E5=9C=A3?= <17615834396@163.com> Date: Mon, 18 Dec 2023 11:14:51 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=A0=B8=E9=94=80=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cardExchange/service/CardExchangeRecordService.java | 2 +- gasStation-uni/pagesHome/oilRecharge/oilRecharge.vue | 8 ++++++++ gasStation-uni/pagesMy/Coupons/Coupons.vue | 7 ++++++- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardExchange/service/CardExchangeRecordService.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardExchange/service/CardExchangeRecordService.java index ea00f3be6..95f8db5e9 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardExchange/service/CardExchangeRecordService.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardExchange/service/CardExchangeRecordService.java @@ -36,7 +36,7 @@ public interface CardExchangeRecordService extends IService /** * 核销记录(小程序端) * @param page - * @param cardExchangeRecord + * @param cardExchangeRecordDTO * @return */ IPage selectCancelRecords (Page page, CardExchangeRecordDTO cardExchangeRecordDTO); diff --git a/gasStation-uni/pagesHome/oilRecharge/oilRecharge.vue b/gasStation-uni/pagesHome/oilRecharge/oilRecharge.vue index 27873ca73..209453e62 100644 --- a/gasStation-uni/pagesHome/oilRecharge/oilRecharge.vue +++ b/gasStation-uni/pagesHome/oilRecharge/oilRecharge.vue @@ -196,6 +196,13 @@ }, onLoad(option) { this.actinput = option.id + if (option.id == 0) { + this.getValueCars(); + } + if (option.id == 1) { + this.getFuelCars(); + + } }, onShow() { this.getValueCars(); @@ -287,6 +294,7 @@ this.cardValueList = [] if (res.code == 200) { this.cardFuleList = res.data.records + console.log('213'); this.fuleindex(0, this.cardValueList[0].rechargeBalance, this.cardValueList[0] .fringeBenefit, this.cardFuleList[0].rechargeBalance, this.cardFuleList[0].points, this diff --git a/gasStation-uni/pagesMy/Coupons/Coupons.vue b/gasStation-uni/pagesMy/Coupons/Coupons.vue index 54c52302a..9ac677e05 100644 --- a/gasStation-uni/pagesMy/Coupons/Coupons.vue +++ b/gasStation-uni/pagesMy/Coupons/Coupons.vue @@ -26,7 +26,7 @@ {{item.couponContent}} 有效期:2023-11-30 - + 立即使用 @@ -85,6 +85,11 @@ this.getGiftRecords() }, methods: { + goRecharge() { + uni.navigateTo({ + url: '/pagesHome/oilRecharge/oilRecharge' + }) + }, click(item) { console.log('item', item); From aed22bb5a05d91d4e16a227487da6e902ded0ebe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BD=90=E5=A4=A9=E5=A4=A7=E5=9C=A3?= <17615834396@163.com> Date: Mon, 18 Dec 2023 11:15:19 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=A0=B8=E9=94=80=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gasStation-uni/pagesMy/writeOff/writeOff.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gasStation-uni/pagesMy/writeOff/writeOff.vue b/gasStation-uni/pagesMy/writeOff/writeOff.vue index 13b7dc7f2..dae8d4027 100644 --- a/gasStation-uni/pagesMy/writeOff/writeOff.vue +++ b/gasStation-uni/pagesMy/writeOff/writeOff.vue @@ -60,7 +60,7 @@ return { cardsList: [], query: { - cardType: '', + cardType: '兑换券', pageNo: 1, pageSize: 10 }, @@ -250,4 +250,4 @@ font-size: 14px; border-radius: 15px; } - \ No newline at end of file +