| 
					
				 | 
			
			
				@ -26,17 +26,35 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if (Request.userAgent) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            window.localStorage.setItem(httpRequest.agentName, decodeURIComponent(Request.userAgent)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        var version1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        var version2; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if (Request.type == '5' || Request.type == '6') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            fangshiAPI.getPostpartumVisitDetails({ followupId: followupId || '3' }).then(function (res) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                if (res.status == 200) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    version = isAdd != '1' ? res.data.version : lastedVersion 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    location.replace('../../app/followup/' + version + '/html/fangshi-detail-5,6.html?id=' + followupId + "&version=" + version) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     version1=res.data?res.data.version:'' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     bindEvent() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    top.toastr.error(res.msg); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            fangshiAPI.getNewbornFamilyVisitRecord({ followupId: followupId || '2' }).then(function (res) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                if (res.status == 200) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    version2=res.data?res.data.version:'' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    bindEvent() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    top.toastr.error(res.msg); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } if (Request.type == '7') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        function bindEvent(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            if(isAdd==1){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                version=lastedVersion 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                version=version1||version2 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                location.replace('../../app/followup/' + version + '/html/fangshi-detail-5,6.html?id=' + followupId + "&version=" + version) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if (Request.type == '7') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            fangshiAPI.getFollowupSevereMentalDisorder({ followupId: followupId || '1' }).then(function (res) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                if (res.status == 200) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    version = res.data != null ? res.data.version : lastedVersion 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -56,13 +74,13 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } if (Request.type == '9') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            fangshiAPI.getPhthisisFirstCheckRecord({ followupId:followupId }).then(function (res) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            fangshiAPI.getPhthisisFirstCheckRecord({ followupId: followupId }).then(function (res) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                if (res.status == 200) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    if (isAdd=='1') {//第一次肺结核 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        version =lastedVersion 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    if (isAdd == '1') {//第一次肺结核 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        version = lastedVersion 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        location.replace('../../app/followup/' + version + '/html/fangshi-detail-9.html?id=' + followupId + "&version=" + version) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        version =res.data.version  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        version = res.data.version 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        location.replace('../../app/followup/' + version + '/html/fangshi-detail-10.html?id=' + followupId + "&version=" + version) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } else { 
			 |