| 
					
				 | 
			
			
				@@ -59,7 +59,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			  <view class="jyKK" :class="{jyKKActive:jykkNum==3}" @click="jykk(3)">其他</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		  </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	  </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	  <view class="kkline"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	  <view class="kkline" v-if="this.userInfo"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		  <view class="kklineLeft"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			<span class="stars">*</span> <span>车牌号</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		  </view> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -68,7 +68,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			  <img src="../../static/img/big_rightArrow.png" alt="" class="rightJt"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		  </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	  </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	  <view class="kkline"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	  <view class="kkline" v-if="this.userInfo"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	  		  <view class="kklineLeft"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	  			<span class="stars">*</span> <span>车型</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	  		  </view> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -77,7 +77,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	  			  <img src="../../static/img/big_rightArrow.png" alt="" class="rightJt"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	  		  </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	  </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	  <view class="kkline"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	  <view class="kkline" v-if="this.userInfo"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	  		  <view class="kklineLeft"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	  			<span class="stars">*</span><span>救援联系人</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	  		  </view> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -131,21 +131,28 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				mobilePhone:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				isGoing:false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				orderId:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				ext:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		onLoad(opt) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			this.themeColor = uni.getStorageSync("themeColor"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			//this.userInfo = uni.getStorageSync("userInfo"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			var customerInfo=uni.getStorageSync("wxOpenData").loginInfo.customerInfo; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			this.customerName=customerInfo.customerName; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			this.mobilePhone=customerInfo.mobilePhone; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			this.userInfo = this.$store.state.userInfo; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			this.ext=this.$common.getExtStoreId(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			this.shopName=opt.shopName; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			this.opt=opt; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			if(this.opt.type==2){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				this.calculateDistance() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			console.log(opt) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			this.userInfo = this.$store.state.userInfo; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			if(this.userInfo){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				var customerInfo=uni.getStorageSync("wxOpenData").loginInfo.customerInfo; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				this.customerName=customerInfo.customerName; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				this.mobilePhone=customerInfo.mobilePhone; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		onShow() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			this.carInfo=this.$store.state.carInfo; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -164,22 +171,22 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				if(this.isGoing){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					return false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				if(!this.carInfo.carModel){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				/* if(!this.carInfo.carModel){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					uni.showToast({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						title: '请输选择车型', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						icon: 'none', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						duration: 3000 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					return false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				if(!this.customerName){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				} */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				/* if(!this.customerName){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					uni.showToast({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						title: '请输入救援联系人', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						icon: 'none', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						duration: 3000 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					return false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				} */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				if(!this.mobilePhone){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					uni.showToast({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						title: '请输入手机号', 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -211,28 +218,54 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					var id=res.data 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					console.log(id) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					 if(res.code==0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						 uni.showModal({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						     title: '提示', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						     content: '救援信息提交成功', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						 	confirmText:'返回首页', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						 	cancelText:'查看订单', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						     success: function (res) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								  this.isGoing=false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						         if (res.confirm) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						            // console.log('用户点击确定'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						 		   uni.switchTab({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						 		   	url:'index' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						 		   }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						         } else if (res.cancel) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									// uni.hideLoading(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						           uni.redirectTo({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						           		url:'../subPack/rescueOrderOrderDetail?id='+id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						           })  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						 		    
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						 }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						 if(this.userInfo){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							 uni.showModal({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							     title: '提示', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							     content: '救援信息提交成功', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							 	confirmText:'返回首页', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							 	cancelText:'查看订单', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							     success: function (res) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							 								  this.isGoing=false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							 								 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							         if (res.confirm) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							            // console.log('用户点击确定'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							 		   uni.switchTab({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							 		   	url:'index' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							 		   }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							         } else if (res.cancel) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							 									// uni.hideLoading(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							           uni.redirectTo({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							           		url:'../subPack/rescueOrderOrderDetail?id='+id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							           })  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							 		    
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							 }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						 }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							 uni.showModal({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							     title: '提示', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							     content: '救援信息提交成功', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							 	confirmText:'返回首页', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							 	showCancel:false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							     success: function (res) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							 		 this.isGoing=false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							 								 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							         if (res.confirm) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							            // console.log('用户点击确定'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							 		   uni.switchTab({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							 		   	url:'index' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							 		   }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							         } else if (res.cancel) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							 									// uni.hideLoading(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							           uni.redirectTo({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							           		url:'../subPack/rescueOrderOrderDetail?id='+id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							           })  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							 		    
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							 }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					 }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						 this.isGoing=false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					 } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -265,29 +298,56 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					    that.orderId=res.data 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						this.isGoing=false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						if(res.code==0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							uni.showModal({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							    title: '提示', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							    content: '预约成功', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								confirmText:'返回首页', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								cancelText:'查看订单', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							    success: function (res) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							        if (res.confirm) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							           // console.log('用户点击确定'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									   uni.switchTab({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									   	url:'index' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									   }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							        } else if (res.cancel) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							           // console.log('用户点击取消'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									   // uni.reLaunch({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-										  //  url:'../user/bespeakDetail?id='+id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									   // }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									   uni.redirectTo({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									   		url:'../subPack/rescueOrderOrderDetail?id='+that.orderId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									   }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									    
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							if(this.userInfo){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								uni.showModal({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								    title: '提示', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								    content: '预约成功', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									confirmText:'返回首页', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								    success: function (res) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								        if (res.confirm) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								           // console.log('用户点击确定'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										   uni.switchTab({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										   	url:'index' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										   }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								        } else if (res.cancel) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								           // console.log('用户点击取消'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										   // uni.reLaunch({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+											  //  url:'../user/bespeakDetail?id='+id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										   // }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										   uni.redirectTo({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										   		url:'../subPack/rescueOrderOrderDetail?id='+that.orderId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										   }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										    
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							}else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								uni.showModal({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								    title: '提示', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								    content: '预约成功', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									confirmText:'返回首页', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									showCancel:false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								    success: function (res) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								        if (res.confirm) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								           // console.log('用户点击确定'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										   uni.switchTab({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										   	url:'index' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										   }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								        } else if (res.cancel) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								           // console.log('用户点击取消'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										   // uni.reLaunch({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+											  //  url:'../user/bespeakDetail?id='+id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										   // }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										   uni.redirectTo({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										   		url:'../subPack/rescueOrderOrderDetail?id='+that.orderId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										   }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										    
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						}else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							uni.showToast({ 
			 |