From 8b73cc807383e774b4481f0de35976269ef50b7a Mon Sep 17 00:00:00 2001
From: qingyiay <2386314947@qq.com>
Date: 星期五, 03 十一月 2023 14:22:46 +0800
Subject: [PATCH] 修改称重余量不足判断 增加从其他车队选择司机

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

diff --git a/pages/customer-page/customer-my/customer-my.vue b/pages/customer-page/customer-my/customer-my.vue
index df96ad3..228e11d 100644
--- a/pages/customer-page/customer-my/customer-my.vue
+++ b/pages/customer-page/customer-my/customer-my.vue
@@ -227,13 +227,6 @@
 			init() {
 				this.getAllHuoDaiByCustomerId();
 				this.getFleet();
-				this.getUserEntity();
-			},
-			// 鑾峰彇鐢ㄦ埛淇℃伅
-			getUserEntity() {
-				this.$reqGet('getUserEntity').then(res => {
-					this.userEntity = res.data;
-				});
 			},
 			// 鑾峰彇璐т唬鍒楄〃
 			getAllHuoDaiByCustomerId() {
@@ -381,51 +374,6 @@
 				uni.navigateTo({
 					url: `/pages/customer-page/fleet-management/fleet-management?id=${id}`
 				});
-			},
-			updateInfo() {
-				this.$reqPost('updateUser', this.userEntity, 'json').then(res => {
-					uni.hideLoading()
-					if (res.code == 0) {
-						uni.showToast({
-							title: '閲嶇疆鎴愬姛',
-							duration: 2000,
-							icon: 'success'
-						})
-					} else {
-						this.$u.toast(res.msg ? res.msg : '淇敼澶辫触');
-					}
-				}).catch(err => {
-					this.$u.toast('淇敼澶辫触');
-				});
-			},
-			initPwd() {
-				this.initPwdShow = true
-			},
-			initPwdConfirm() {
-				this.initPwdShow = false
-				uni.showLoading({
-					title: '鍔犺浇涓�'
-				})
-				this.userEntity.password = '123456'
-				this.updateInfo()
-			},
-			initPwdCancel() {
-				this.initPwdShow = false
-			},
-			modifyPwd() {
-				this.modifyPwdShow = true
-				this.passwordModified = ''
-			},
-			modifyPwdConfirm() {
-				if (this.passwordModified.length === 0) {
-					return this.$u.toast('瀵嗙爜涓嶈兘涓虹┖')
-				}
-				this.modifyPwdShow = false
-				this.userEntity.password = this.passwordModified
-				this.updateInfo()
-			},
-			modifyPwdCancel() {
-				this.modifyPwdShow = false
 			},
 			logout() {
 				this.logoutShow = true;

--
Gitblit v1.9.1