Browse Source

fix: 首次注册的用户下单 绑定电话重复提示

xuyunhui 2 years ago
parent
commit
705dcb0fbf

+ 0 - 1
myPages/realNameAuth/index.vue

@@ -134,7 +134,6 @@ export default {
 
     // 用户信息
     let user = uni.getStorageSync('userInfo');
-    console.log(user,'22222222222222')
     this.userRealNameAuth.name = user.name;
     this.userRealNameAuth.idCard = user.idCard;
   },

+ 0 - 2
myPages/recharge/index.vue

@@ -155,7 +155,6 @@
 			},
 			// 提交订单
 			submitOrder(){
-
 				if (!this.userInfo.phone){
 					uni.showModal({
 						title:'温馨提示',
@@ -280,7 +279,6 @@
 			getUserInfo(){
 				this.$api.getUserInfo().then(res=>{
 					console.log('++++++++++++获取用户信息++++++++++++++++++',res)
-
 					uni.setStorageSync('userInfo',res.data.data)
 					this.userInfo = res.data.data
 				})

+ 0 - 4
orderPages/bookService/index.vue

@@ -245,7 +245,6 @@
 			},1000*60*5)
 		},
 		onShow() {
-
 			this.userInfo = uni.getStorageSync('userInfo')
       // 查询门店信息
       const data = uni.getStorageSync('storeInfo');
@@ -328,7 +327,6 @@
 				//对所有子订单的服务人员及服务时段重新赋值
 				this.getServicePerson(this.periodDate.label,true)
 			},
-
 			openSetting(){
 				if (!this.userInfo.phone){
 					uni.showModal({
@@ -376,7 +374,6 @@
 				})
 			},
 
-
 			getTemplateList(){
 				this.$api.getTemplateList().then(res=>{
 					this.templateId=res.data.data.data.map(item=>{
@@ -793,7 +790,6 @@
 
       getSelectionRules(data){
         this.$api.getSelectionRules(data).then(res=>{
-          console.log(res.data.rows,'222222222222')
           this.takeNumberRules = res.data.rows
         })
       },

+ 1 - 6
orderPages/storeService/index.vue

@@ -170,6 +170,7 @@
       // 查询门店信息
       const data = uni.getStorageSync('storeInfo');
       this.store = uni.getStorageSync('storeInfo')
+      this.userInfo = uni.getStorageSync('userInfo')
       if (!data) {
         // 获取位置信息查询门店列表数据
         this.getLocation();
@@ -246,11 +247,9 @@
 					if (index != i){
 						for (const time of this.orderParam.childService[i].periodTimeList) {
 							if (time.label == oidTime){
-								console.log('++++++++++++++++++++',oidTime)
 								time.total = time.total + 1
 							}
 							if (time.label == items[index2].label) {
-								console.log('------------------', items[index2].label)
 								time.total = time.total - 1
 							}
 						}
@@ -262,7 +261,6 @@
 			// 查询服务对象信息列表
 			listServiceObject() {
 				this.$api.listServiceObject(this.reqParm).then((res) => {
-					console.log(res)
 					this.serviceObjectList = res.data.data
 					this.getImgUrlByBannerOssId(this.serviceObjectList);
 
@@ -316,7 +314,6 @@
 					date: this.orderParam.serviceDate,
 					storeId:this.store.storeId
 				}).then(res=>{
-					console.log("++++++++++++++++++res++++++++++++++++++++",res)
 					this.periodTimeList = res.data.data
 					if (this.periodTimeList.length===0){
 						uni.$u.toast('暂无可预约排班')
@@ -384,12 +381,10 @@
 			},
       getSelectionRules(data){
         this.$api.getSelectionRules(data).then(res=>{
-          console.log(res.data.rows,'222222222222')
           this.takeNumberRules = res.data.rows
         })
       },
 			openSetting(){
-
 				if (!this.userInfo.phone){
 					uni.showModal({
 						title:'温馨提示',

+ 1 - 1
storePages/rights/index.vue

@@ -106,12 +106,12 @@ export default {
 		};
 	},
 	onLoad(option) {
-		this.userInfo = uni.getStorageSync('userInfo')
 		let sysInfo = uni.getSystemInfoSync()
 		this.windowHeight = sysInfo.windowHeight - 50 + 'px'//除标题栏栏外的屏幕可用高度
 		this.windowHeight1 = sysInfo.windowHeight + 'px'//除标题栏栏外的屏幕可用高度
 	},
 	onShow(){
+    this.userInfo = uni.getStorageSync('userInfo')
 		this.listServiceObject()
 		this.equityCardList()
 	},