소스 검색

安徒生特殊处理

twt 1 년 전
부모
커밋
8c64328c66

+ 15 - 0
pages/activity/jkDetail.vue

@@ -1019,6 +1019,21 @@
 		   		   openId:this.wxOpenData.openid
 		   		  },'POST').then(res => {
 		   			var data = res.data;
+					if(data.newCustomer){
+						uni.showModal({
+							title: '提示',
+							content: data.newCustomerMsg,
+							success: function(resTK) {
+								
+							}
+						});
+						
+						var token=res.data.token
+						data.loginInfo={}
+						data.loginInfo.token=token
+						this.$store.commit('mutationswxOpenData', data);
+						return false;
+					}
 		   			if(data.loginInfo){
 		   				this.userInfo=data.loginInfo.openUser;
 		   				this.wxOpenData=data.loginInfo;

+ 15 - 0
pages/index/couponShare.vue

@@ -239,6 +239,21 @@
 					   openId:this.wxOpenData.openid
 					  },'POST').then(res => {
 						var data = res.data;
+						if(data.newCustomer){
+							uni.showModal({
+								title: '提示',
+								content: data.newCustomerMsg,
+								success: function(resTK) {
+									
+								}
+							});
+							
+							var token=res.data.token
+							data.loginInfo={}
+							data.loginInfo.token=token
+							this.$store.commit('mutationswxOpenData', data);
+							return false;
+						}
 						if(data.loginInfo){
 							this.userInfo=data.loginInfo.openUser;
 							this.wxOpenData=data.loginInfo;

+ 15 - 0
pages/index/onlineBooking.vue

@@ -276,6 +276,21 @@
 					   openId:this.wxOpenData.openid
 					  },'POST').then(res => {
 						var data = res.data;
+						if(data.newCustomer){
+							uni.showModal({
+								title: '提示',
+								content: data.newCustomerMsg,
+								success: function(resTK) {
+									
+								}
+							});
+							
+							var token=res.data.token
+							data.loginInfo={}
+							data.loginInfo.token=token
+							this.$store.commit('mutationswxOpenData', data);
+							return false;
+						}
 						if(data.loginInfo){
 							this.userInfo=data.loginInfo.openUser;
 							this.wxOpenData=data.loginInfo;

+ 15 - 0
pages/index/receiveCoupon.vue

@@ -128,6 +128,21 @@
              		   openId:this.wxOpenData.openid
              		  },'POST').then(res => {
              			var data = res.data;
+						if(data.newCustomer){
+							uni.showModal({
+								title: '提示',
+								content: data.newCustomerMsg,
+								success: function(resTK) {
+									
+								}
+							});
+							
+							var token=res.data.token
+							data.loginInfo={}
+							data.loginInfo.token=token
+							this.$store.commit('mutationswxOpenData', data);
+							return false;
+						}
              			if(data.loginInfo){
              				this.userInfo=data.loginInfo.openUser;
              				this.wxOpenData=data.loginInfo;

+ 15 - 0
pages/index/shopList.vue

@@ -188,6 +188,21 @@
 					   openId:this.wxOpenData.openid
 					  },'POST').then(res => {
 						var data = res.data;
+						if(data.newCustomer){
+							uni.showModal({
+								title: '提示',
+								content: data.newCustomerMsg,
+								success: function(resTK) {
+									
+								}
+							});
+							
+							var token=res.data.token
+							data.loginInfo={}
+							data.loginInfo.token=token
+							this.$store.commit('mutationswxOpenData', data);
+							return false;
+						}
 						if(data.loginInfo){
 							this.userInfo=data.loginInfo.openUser;
 							this.wxOpenData=data.loginInfo;

+ 15 - 0
pages/index/vipCard.vue

@@ -472,6 +472,21 @@
 					   openId:this.wxOpenData.openid
 					  },'POST').then(res => {
 						var data = res.data;
+						if(data.newCustomer){
+							uni.showModal({
+								title: '提示',
+								content: data.newCustomerMsg,
+								success: function(resTK) {
+									
+								}
+							});
+							
+							var token=res.data.token
+							data.loginInfo={}
+							data.loginInfo.token=token
+							this.$store.commit('mutationswxOpenData', data);
+							return false;
+						}
 						if(data.loginInfo){
 							this.userInfo=data.loginInfo.openUser;
 							this.wxOpenData=data.loginInfo;

+ 15 - 0
pages/integral/integral.vue

@@ -152,6 +152,21 @@
 					   openId:this.wxOpenData.openid
 					  },'POST').then(res => {
 						var data = res.data;
+						if(data.newCustomer){
+							uni.showModal({
+								title: '提示',
+								content: data.newCustomerMsg,
+								success: function(resTK) {
+									
+								}
+							});
+							
+							var token=res.data.token
+							data.loginInfo={}
+							data.loginInfo.token=token
+							this.$store.commit('mutationswxOpenData', data);
+							return false;
+						}
 						if(data.loginInfo){
 							this.userInfo=data.loginInfo.openUser;
 							this.wxOpenData=data.loginInfo;

+ 15 - 0
pages/integral/integralgoodsDetail.vue

@@ -371,6 +371,21 @@
 					   openId:this.wxOpenData.openid
 					  },'POST').then(res => {
 						var data = res.data;
+						if(data.newCustomer){
+							uni.showModal({
+								title: '提示',
+								content: data.newCustomerMsg,
+								success: function(resTK) {
+									
+								}
+							});
+							
+							var token=res.data.token
+							data.loginInfo={}
+							data.loginInfo.token=token
+							this.$store.commit('mutationswxOpenData', data);
+							return false;
+						}
 						if(data.loginInfo){
 							this.userInfo=data.loginInfo.openUser;
 							this.wxOpenData=data.loginInfo;

+ 15 - 0
pages/partner/bonus.vue

@@ -111,6 +111,21 @@
 					   openId:this.wxOpenData.openid
 					  },'POST').then(res => {
 						var data = res.data;
+						if(data.newCustomer){
+							uni.showModal({
+								title: '提示',
+								content: data.newCustomerMsg,
+								success: function(resTK) {
+									
+								}
+							});
+							
+							var token=res.data.token
+							data.loginInfo={}
+							data.loginInfo.token=token
+							this.$store.commit('mutationswxOpenData', data);
+							return false;
+						}
 						if(data.loginInfo){
 							this.userInfo=data.loginInfo.openUser;
 							this.wxOpenData=data.loginInfo;

+ 15 - 0
pages/partner/people.vue

@@ -109,6 +109,21 @@
 					   openId:this.wxOpenData.openid
 					  },'POST').then(res => {
 						var data = res.data;
+						if(data.newCustomer){
+							uni.showModal({
+								title: '提示',
+								content: data.newCustomerMsg,
+								success: function(resTK) {
+									
+								}
+							});
+							
+							var token=res.data.token
+							data.loginInfo={}
+							data.loginInfo.token=token
+							this.$store.commit('mutationswxOpenData', data);
+							return false;
+						}
 						if(data.loginInfo){
 							this.userInfo=data.loginInfo.openUser;
 							this.wxOpenData=data.loginInfo;

+ 15 - 0
pages/shop/goodsDetail.vue

@@ -489,6 +489,21 @@
 					   openId:this.wxOpenData.openid
 					  },'POST').then(res => {
 						var data = res.data;
+						if(data.newCustomer){
+							uni.showModal({
+								title: '提示',
+								content: data.newCustomerMsg,
+								success: function(resTK) {
+									
+								}
+							});
+							
+							var token=res.data.token
+							data.loginInfo={}
+							data.loginInfo.token=token
+							this.$store.commit('mutationswxOpenData', data);
+							return false;
+						}
 						if(data.loginInfo){
 							this.userInfo=data.loginInfo.openUser;
 							this.wxOpenData=data.loginInfo;

+ 15 - 0
pages/shop/shop.vue

@@ -266,6 +266,21 @@
 					   openId:this.wxOpenData.openid
 					  },'POST').then(res => {
 						var data = res.data;
+						if(data.newCustomer){
+							uni.showModal({
+								title: '提示',
+								content: data.newCustomerMsg,
+								success: function(resTK) {
+									
+								}
+							});
+							
+							var token=res.data.token
+							data.loginInfo={}
+							data.loginInfo.token=token
+							this.$store.commit('mutationswxOpenData', data);
+							return false;
+						}
 						if(data.loginInfo){
 							this.userInfo=data.loginInfo.openUser;
 							this.wxOpenData=data.loginInfo;

+ 15 - 0
pages/subPack/oldhistoryDetail.vue

@@ -324,6 +324,21 @@
 					openId: this.wxOpenData.openid
 				}, 'POST').then(res => {
 					var data = res.data;
+					if(data.newCustomer){
+						uni.showModal({
+							title: '提示',
+							content: data.newCustomerMsg,
+							success: function(resTK) {
+								
+							}
+						});
+						
+						var token=res.data.token
+						data.loginInfo={}
+						data.loginInfo.token=token
+						this.$store.commit('mutationswxOpenData', data);
+						return false;
+					}
 					if (data.loginInfo) {
 						this.userInfo = data.loginInfo.openUser;
 						this.wxOpenData = data.loginInfo;

+ 17 - 2
pages/subPack/rescueOrderOrderDetail.vue

@@ -85,7 +85,7 @@
 				<view class="informationNum2" v-if="orderData.openShopHelpSheet.hscene==2">车库</view>
 				<view class="informationNum2" v-if="orderData.openShopHelpSheet.hscene==3">其他</view>
 			</view>
-			<view class="informationLine" v-if="orderData.openShopHelpSheet.plateNumber">
+		<!-- 	<view class="informationLine" v-if="orderData.openShopHelpSheet.plateNumber">
 				<view class="informationTxt">车牌号:</view>
 				<view class="informationNum">{{orderData.openShopHelpSheet.plateNumber}}</view>
 			</view>
@@ -96,7 +96,7 @@
 			<view class="informationLine">
 				<view class="informationTxt">救援联系人:</view>
 				<view class="informationNum">{{orderData.openShopHelpSheet.customerName}}/{{orderData.openShopHelpSheet.mobilePhone}}</view>
-			</view>
+			</view> -->
 			
 			<view class="informationLine" >
 				<view class="informationTxt">起点:</view>
@@ -420,6 +420,21 @@
 					   openId:this.wxOpenData.openid
 					  },'POST').then(res => {
 						var data = res.data;
+						if(data.newCustomer){
+							uni.showModal({
+								title: '提示',
+								content: data.newCustomerMsg,
+								success: function(resTK) {
+									
+								}
+							});
+							
+							var token=res.data.token
+							data.loginInfo={}
+							data.loginInfo.token=token
+							this.$store.commit('mutationswxOpenData', data);
+							return false;
+						}
 						if(data.loginInfo){
 							this.userInfo=data.loginInfo.openUser;
 							this.wxOpenData=data.loginInfo;

+ 2 - 2
pages/user/bespeakDetail.vue

@@ -42,10 +42,10 @@
 		<!-- 订单信息 -->
 		<view class="information">
 			<view class="detailedTitle">基本信息</view>
-			<view class="informationLine">
+			<!-- <view class="informationLine">
 				<view class="informationTxt">车牌号:</view>
 				<view class="informationNum">{{orderData.orderSheet.plateNumber}}</view>
-			</view>
+			</view> -->
 			<view class="informationLine">
 				<view class="informationTxt">手机号:</view>
 				<view class="informationNum">{{orderData.orderSheet.mobilePhone}}</view>

+ 15 - 0
pages/user/historyDetail.vue

@@ -385,6 +385,21 @@
 					openId: this.wxOpenData.openid
 				}, 'POST').then(res => {
 					var data = res.data;
+					if(data.newCustomer){
+						uni.showModal({
+							title: '提示',
+							content: data.newCustomerMsg,
+							success: function(resTK) {
+								
+							}
+						});
+						
+						var token=res.data.token
+						data.loginInfo={}
+						data.loginInfo.token=token
+						this.$store.commit('mutationswxOpenData', data);
+						return false;
+					}
 					if (data.loginInfo) {
 						this.userInfo = data.loginInfo.openUser;
 						this.wxOpenData = data.loginInfo;

+ 15 - 0
pages/user/myOrder/activityOrderDetail.vue

@@ -517,6 +517,21 @@
 					   openId:this.wxOpenData.openid
 					  },'POST').then(res => {
 						var data = res.data;
+						if(data.newCustomer){
+							uni.showModal({
+								title: '提示',
+								content: data.newCustomerMsg,
+								success: function(resTK) {
+									
+								}
+							});
+							
+							var token=res.data.token
+							data.loginInfo={}
+							data.loginInfo.token=token
+							this.$store.commit('mutationswxOpenData', data);
+							return false;
+						}
 						if(data.loginInfo){
 							this.userInfo=data.loginInfo.openUser;
 							this.wxOpenData=data.loginInfo;

+ 15 - 0
pages/user/myOrder/mallOrderDetail.vue

@@ -478,6 +478,21 @@
 					   openId:this.wxOpenData.openid
 					  },'POST').then(res => {
 						var data = res.data;
+						if(data.newCustomer){
+							uni.showModal({
+								title: '提示',
+								content: data.newCustomerMsg,
+								success: function(resTK) {
+									
+								}
+							});
+							
+							var token=res.data.token
+							data.loginInfo={}
+							data.loginInfo.token=token
+							this.$store.commit('mutationswxOpenData', data);
+							return false;
+						}
 						if(data.loginInfo){
 							this.userInfo=data.loginInfo.openUser;
 							this.wxOpenData=data.loginInfo;

+ 15 - 0
pages/user/myOrder/paintOrderDetail.vue

@@ -457,6 +457,21 @@
 					   openId:this.wxOpenData.openid
 					  },'POST').then(res => {
 						var data = res.data;
+						if(data.newCustomer){
+							uni.showModal({
+								title: '提示',
+								content: data.newCustomerMsg,
+								success: function(resTK) {
+									
+								}
+							});
+							
+							var token=res.data.token
+							data.loginInfo={}
+							data.loginInfo.token=token
+							this.$store.commit('mutationswxOpenData', data);
+							return false;
+						}
 						if(data.loginInfo){
 							this.userInfo=data.loginInfo.openUser;
 							this.wxOpenData=data.loginInfo;

+ 15 - 0
pages/user/reportUni.vue

@@ -291,6 +291,21 @@
 					openId: this.wxOpenData.openid
 				}, 'POST').then(res => {
 					var data = res.data;
+					if(data.newCustomer){
+						uni.showModal({
+							title: '提示',
+							content: data.newCustomerMsg,
+							success: function(resTK) {
+								
+							}
+						});
+						
+						var token=res.data.token
+						data.loginInfo={}
+						data.loginInfo.token=token
+						this.$store.commit('mutationswxOpenData', data);
+						return false;
+					}
 					if (data.loginInfo) {
 						this.userInfo = data.loginInfo.openUser;
 						this.wxOpenData = data.loginInfo;

+ 15 - 0
pages/user/user.vue

@@ -613,6 +613,21 @@
 					openId: this.wxOpenData.openid
 				}, 'POST').then(res => {
 					var data = res.data;
+					if(data.newCustomer){
+						uni.showModal({
+							title: '提示',
+							content: data.newCustomerMsg,
+							success: function(resTK) {
+								
+							}
+						});
+						
+						var token=res.data.token
+						data.loginInfo={}
+						data.loginInfo.token=token
+						this.$store.commit('mutationswxOpenData', data);
+						return false;
+					}
 					if (data.loginInfo) {
 						this.userInfo = data.loginInfo.openUser;
 						this.wxOpenData = data.loginInfo;