瀏覽代碼

疾病筛查

zyz 6 年之前
父節點
當前提交
c2f3a02b06

+ 2 - 2
api/jbsc-api.js

@ -18,7 +18,7 @@
		},
		//获取医生团队下的居民
		patientsByTeam: function(data){
			return httpRequest.get('doctor/patient_label_info/patients_by_team',{data:data})
			return httpRequest.post('doctor/patient_label_info/patients_by_team',{data:data})
		},
		//获取医生团队信息
		getDoctorTeam: function(uid){
@ -41,7 +41,7 @@
			return httpRequest.get('/patient/health_index/last',{data:data})
		},
//		获取医生基础信息
		baseinfo: function(data){
		doctorBaseinfo: function(data){
			return httpRequest.get('doctor/baseinfo',{data:data})
		},
//		获取模板下所有问卷问题

+ 1 - 0
app/jbsc/html/filter_type.html

@ -176,6 +176,7 @@
			   					}
			   				}else{
			   					top.layer.msg(res.msg, {icon: 5});
			   					vm.getPatientSignByDoctor();
			   				}
			   			})
			   		},

+ 1 - 1
app/jbsc/html/questionnaire.html

@ -129,7 +129,7 @@
						var data={
							code:vm.doctorInfo.code
						}
						jbscAPI.baseinfo(data).then(function(res){
						jbscAPI.doctorBaseinfo(data).then(function(res){
							if(res.status==200){
								vm.doctorInfo=res.data
							}else{

+ 6 - 5
app/jbsc/html/view_screening_results.html

@ -165,6 +165,7 @@
		<script src="../../../js/vue.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../../js/jquery-2.2.4.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../../api/http-request.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript" src="../../../api/jbsc-api.js" ></script>
		<script src="../../../js/underscore.js" type="text/javascript" charset="utf-8"></script>
	    <script src="../../../js/util.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
@ -191,7 +192,7 @@
						var data={
							code:vm.doctorInfo.code
						}
						httpRequest.get('doctor/baseinfo',{data:data}).then(function(res){
						jbscAPI.doctorBaseinfo(data).then(function(res){
							if(res.status==200){
								vm.doctorInfo=res.data
							}else{
@ -202,8 +203,8 @@
					jkjy:function(){
						var vm=this
				  		var receiver={"code":vm.userInfo.patient_code,name:vm.userInfo.patient_name}
				  		sessionStorage.setItem("jbsc-jkwzreceiver",JSON.stringify(receiver))
				  		location.href="../../../../health-education/index.html?origin=jbsc"
						sessionStorage.setItem("jbsc-jkwzreceiver",JSON.stringify(receiver))
						location.href="../../../../health-education/login.html?origin=jbsc"
				  	},
					getScreenResultDetail:function(){
						var vm=this;
@ -211,7 +212,7 @@
						var data={
							code: vm.resultCode
						}
						httpRequest.get('doctor/screen/getScreenResultDetail',{data:data}).then(function(res){
						jbscAPI.getScreenResultDetail(data).then(function(res){
							top.layer.close(loadding);
							if(res.status==200){
								var data=res.data;
@ -227,7 +228,7 @@
						var data={
							patient: code
						}
						httpRequest.get('/patient/health_index/last',{data:data}).then(function(res){
						jbscAPI.getHealth(data).then(function(res){
							if(res.status == 200) {
								vm.tizhongRecord = _.find(res.data,function(o) {
									return o.type =="3";

+ 0 - 1
app/jbsc/js/statistics.js

@ -114,7 +114,6 @@ new Vue({
  	shaicha:function(data,isNew){
  		var vm=this
  		if(isNew){
  			console.log(data)
  			//再次筛查数+1
  			vm.Statics.againCount++
			var vm=this