| 
					
				 | 
			
			
				@ -364,17 +364,31 @@ methods:{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						var otherCode,otherName; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						var planDetailId=''; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						if(data.specialistDoctorCode==data.executeDoctorCode){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							layer.msg('无法与自己聊天',{icon:5});  
			 | 
		
	
		
			
				 | 
				 | 
			
			
							return ; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						if(data.isMyTask==1){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							otherCode=data.specialistDoctorCode; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							otherName=data.specialistDoctorName; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				//		if(data.specialistDoctorCode==data.executeDoctorCode){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				//			layer.msg('无法与自己聊天',{icon:5});  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				//			return ; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				//		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						if(docInfo.doctorType==1){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							if(docInfo.uid == data.specialistDoctorCode) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
								//当前医生为创建计划的专科医生,与全科医生聊天 
			 | 
		
	
		
			
				 | 
				 | 
			
			
								otherCode = data.familyDoctorCode; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
								otherName = data.familyDoctorName; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							}else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
								//当前医生为专科,当前医生不是创建计划的专科医生,没反应 
			 | 
		
	
		
			
				 | 
				 | 
			
			
								return false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						}else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							otherCode=data.executeDoctorCode; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							otherName=data.executeDoctorCode; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							//全科医生与专科医生聊天 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							otherCode = data.specialistDoctorCode; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							name = data.specialistDoctorName; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				//		if(data.isMyTask==1){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				//			otherCode=data.specialistDoctorCode; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				//			otherName=data.specialistDoctorName; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				//		}else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				//			otherCode=data.executeDoctorCode; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				//			otherName=data.executeDoctorCode; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				//		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						planDetailId=data.planDetaiId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						layer.open({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							type: 2, 
			 |