From 169e9b4d59bdd763bb5bd1b5a9b092a1200e327b Mon Sep 17 00:00:00 2001
From: qingyiay <2386314947@qq.com>
Date: 星期一, 17 四月 2023 17:37:18 +0800
Subject: [PATCH] 增加原发信息,修复bug

---
 pages/customer-page/customer-my/customer-my.vue |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/pages/customer-page/customer-my/customer-my.vue b/pages/customer-page/customer-my/customer-my.vue
index ca15628..4558572 100644
--- a/pages/customer-page/customer-my/customer-my.vue
+++ b/pages/customer-page/customer-my/customer-my.vue
@@ -33,6 +33,7 @@
 			</view>
 		</view>
 
+		<view class="statistics"><u-button text="鍙戣繍缁熻" type="primary" @click="statistics"></u-button></view>
 		<view class="logout"><u-button text="閫�鍑虹櫥褰�" type="primary" @click="logout()"></u-button></view>
 
 		<!-- 鏂板缓杞﹂槦寮瑰嚭妗� -->
@@ -182,7 +183,7 @@
 					this.$u.toast('娣诲姞鎴愬姛');
 					this.getFleet();
 				} else {
-					this.$u.toast(res.data ? res.data : '娣诲姞澶辫触');
+					this.$u.toast(res.msg ? res.msg : '娣诲姞澶辫触');
 				}
 			});
 			this.updateGroupShow = false;
@@ -247,6 +248,8 @@
 				console.log('鍒犻櫎杞﹂槦', res);
 				if (res.code == 0) {
 					this.$u.toast('鍒犻櫎鎴愬姛');
+				} else {
+					this.$u.toast(res.msg ? res.msg : '鍒犻櫎澶辫触');
 				}
 				uni.hideLoading();
 				this.getFleet();
@@ -272,12 +275,22 @@
 		},
 		logoutCancel() {
 			this.logoutShow = false;
+		},
+		// 璺宠浆鍙戣繍缁熻椤甸潰
+		statistics() {
+			uni.navigateTo({
+				url: '/pages/customer-page/customer-my/faYunstatistics/faYunstatistics'
+			});
 		}
 	}
 };
 </script>
 
 <style lang="scss" scoped>
+.statistics {
+	margin-top: vww(10);
+	margin-bottom: vww(10);
+}
 ::v-deep.customer-my {
 	width: 94%;
 	margin: 0 auto;

--
Gitblit v1.9.1