From ff6396b25e7054c792b21f9c8279c0c04fcf4aa3 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: Thu, 4 Jan 2024 15:12:35 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
gasStation-uni/pages/my/my.vue | 18 +++---------------
.../pagesMy/oilBalance/oilBalance.vue | 9 +++++++++
2 files changed, 12 insertions(+), 15 deletions(-)
diff --git a/gasStation-uni/pages/my/my.vue b/gasStation-uni/pages/my/my.vue
index 4ca1b2134..9732be37a 100644
--- a/gasStation-uni/pages/my/my.vue
+++ b/gasStation-uni/pages/my/my.vue
@@ -167,12 +167,12 @@
return {
query: {
storeId: '',
+ chainStoreId: '',
couponType: '',
useStatus: 0,
pageNo: 1,
pageSize: 10
},
- chainStoreId: uni.getStorageSync('chainStoreId'),
myPoints: 0,
cardsList: [],
refuelMoney: [],
@@ -190,6 +190,7 @@
},
onShow() {
this.query.storeId = uni.getStorageSync("storeId")
+ this.query.chainStoreId = uni.getStorageSync('chainStoreId')
this.getUserBalance();
this.getGiftRecords();
this.getUserInfoList();
@@ -314,19 +315,6 @@
})
},
// 查询我的积分
- getUserInfoList() {
- request({
- url: 'business/userManager/user/getByUniApp',
- method: 'get',
- params: {
- chainStoreId: this.chainStoreId
- }
- }).then((res) => {
- if (res.code == 200 && res.data != null) {
- //this.myPoints = res.data.points
- }
- })
- },
toCoupons() {
uni.navigateTo({
url: '/pagesMy/Coupons/Coupons'
@@ -500,4 +488,4 @@
.centenr-size {
font-size: 14px;
}
-
+
\ No newline at end of file
diff --git a/gasStation-uni/pagesMy/oilBalance/oilBalance.vue b/gasStation-uni/pagesMy/oilBalance/oilBalance.vue
index 1219c7464..e6ebbd317 100644
--- a/gasStation-uni/pagesMy/oilBalance/oilBalance.vue
+++ b/gasStation-uni/pagesMy/oilBalance/oilBalance.vue
@@ -28,6 +28,14 @@
加油站名称
充值成功
+
+ 油品类型
+ ¥{{item.type}}
+
+
+ 油品名称
+ ¥{{item.oilName}}
+
订单金额
¥{{item.rechargeBalance}}
@@ -78,6 +86,7 @@
},
onShow() {
+ this.storeId = uni.getStorageSync("storeId");
this.list = []
this.getAllOrderList();
this.getUserBalance()