| 
					
				 | 
			
			
				@@ -565,8 +565,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					uni.$u.toast('请填写观影人姓名') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				if(!uni.$u.test.idCard(this.newVisitor.cardId)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					uni.$u.toast('请正确填写观影人身份证') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				// !uni.$u.test.idCard(this.newVisitor.cardId) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				if(!this.newVisitor.cardId){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					uni.$u.toast('请填写观影人身份证') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				// console.log('this.newVisitor.cardId',this.newVisitor.cardId); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -577,18 +578,20 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				console.log('this.newVisitor',this.newVisitor); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				this.$u.api.authID({name:this.newVisitor.name,idcard:this.newVisitor.cardId}).then(res=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					if(res.data.status===1){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						this.visitors.push(this.newVisitor); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						this.newVisitor = {name:'',cardId:''}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					}else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						uni.$u.toast(res.data.errReason) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					// console.log('res',res.data); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}).catch(err=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					uni.$u.toast('认证失败') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					console.log('login',err); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				this.visitors.push(this.newVisitor); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				this.newVisitor = {name:'',cardId:''}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				// this.$u.api.authID({name:this.newVisitor.name,idcard:this.newVisitor.cardId}).then(res=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				// 	if(res.data.status===1){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				// 		this.visitors.push(this.newVisitor); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				// 		this.newVisitor = {name:'',cardId:''}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				// 	}else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				// 		uni.$u.toast(res.data.errReason) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				// 	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				// 	// console.log('res',res.data); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				// }).catch(err=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				// 	uni.$u.toast('认证失败') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				// 	console.log('login',err); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				// }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |