| 
					
				 | 
			
			
				@ -217,11 +217,112 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        mounted: function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          console.log('screeningTitle', this.screeningTitle) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          this.getHealth() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          if (this.screeningType != '6bcd306aaafb4e4381071346d86fadbb1') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            this.getHealth() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          this.getQuestion() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          this.getDoctorInfo() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        methods: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          getInitData() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            var vm = this 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            console.log('sssssssssssxxxxxxxxx', vm.questions) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            httpRequest.get('doctor/screen/physicalList', { data: { patient: vm.screeningResidents } }).then(function (res) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				              var data = res.data 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				              if (res.status == 200 && data) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                for (var i in vm.questions) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  if (vm.questions[i].question.thirdKey == 'height' && data.height) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    vm.questions[i].question.content = data.height + '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  if (vm.questions[i].question.thirdKey == 'weight' && data.weight) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    vm.questions[i].question.content = data.weight + '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  if (vm.questions[i].question.thirdKey == 'bmi' && data.BodyMassIndex) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    vm.questions[i].question.content = data.BodyMassIndex + '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  if (vm.questions[i].question.thirdKey == 'systolicPressure' && data.systolicPressure) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    vm.questions[i].question.content = data.systolicPressure + '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  if (vm.questions[i].question.thirdKey == 'diastolicPressure' && data.diastolicPressure) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    vm.questions[i].question.content = data.diastolicPressure + '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  if (vm.questions[i].question.thirdKey == 'totalCholesterol' && data.totalCholesterol) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    vm.questions[i].question.content = data.totalCholesterol + '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  if (vm.questions[i].question.thirdKey == 'hdlc' && data.HDL) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    vm.questions[i].question.content = data.HDL + '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  if (vm.questions[i].question.thirdKey == 'ldlc' && data.LDL) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    vm.questions[i].question.content = data.LDL + '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  if (vm.questions[i].question.thirdKey == 'ckd34' && data.height) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    vm.questions[i].question.content = data.height + '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  if (vm.questions[i].question.title == '既往有心肌梗死病史' && data.AMI) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    var index = data.AMI == 1 ? 0 : data.AMI == 2 ? 1 : '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    vm.selectItem(vm.questions[i].question, vm.questions[i].option[Number(index)]) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  if (vm.questions[i].question.title == '缺血性脑卒中病史' && data.CerebralIschemicStroke) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    var index = data.CerebralIschemicStroke == 1 ? 0 : data.CerebralIschemicStroke == 2 ? 1 : '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    vm.selectItem(vm.questions[i].question, vm.questions[i].option[Number(index)]) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  if (vm.questions[i].question.title == '高血压' && data.hypertension) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    var index = data.hypertension == 1 ? 0 : data.hypertension == 2 ? 1 : '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    vm.selectItem(vm.questions[i].question, vm.questions[i].option[index]) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  if (vm.questions[i].question.title == '糖尿病' && data.Diabetes) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    var index = data.Diabetes == 1 ? 0 : data.Diabetes == 2 ? 1 : '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    vm.selectItem(vm.questions[i].question, vm.questions[i].option[Number(index)]) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  if (vm.questions[i].question.title == '吸烟' && data.smoke) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    var index = data.smoke == 1 ? 0 : data.smoke == 2 ? 1 : '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    vm.selectItem(vm.questions[i].question, vm.questions[i].option[Number(index)]) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				              } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				              httpRequest.get('doctor/screen/checkUpList', { data: { patient: vm.screeningResidents } }).then(function (res) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                console.log(res) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                var obj = res.data 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                if (res.status == 200 && obj) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  for (var i in vm.questions) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    if (vm.questions[i].question.thirdKey == 'hdlc' && !vm.questions[i].question.content) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                      vm.questions[i].question.content = obj.hdlc 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    if (vm.questions[i].question.thirdKey == 'ldlc' && !vm.questions[i].question.content) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                      vm.questions[i].question.content = obj.ldlc 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    if (vm.questions[i].question.thirdKey == 'totalCholesterol' && !vm.questions[i].question.content) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                      vm.questions[i].question.content = obj.totalCholesterol 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                      console.log('ssssssssssyyyyyyyyyyyyy', obj.totalCholesterol) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    if (vm.questions[i].question.thirdKey == 'diastolicPressure' && !vm.questions[i].question.content) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                      vm.questions[i].question.content = obj.diastolicPressure 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    if (vm.questions[i].question.thirdKey == 'systolicPressure' && !vm.questions[i].question.content) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                      vm.questions[i].question.content = obj.systolicPressure 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                // var data = res.data 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                // if (!vm.form.totalCholesterol) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                //   vm.form.totalCholesterol = data.totalCholesterol 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                // if (!vm.form.hdlc) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                //   vm.form.hdlc = data.hdlc 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                // if (!vm.form.ldlc) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                //   vm.form.ldlc = data.ldlc 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                // if (!vm.form.systolicPressure) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                //   vm.form.systolicPressure = data.systolicPressure 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                // if (!vm.diastolicPressure) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                //   vm.form.diastolicPressure = data.diastolicPressure 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				              }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          getDoctorInfo: function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            var vm = this 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            var data = { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -237,6 +338,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          //计算选中个数,组装成后台接收格式 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          selectItem: function (qst, select, num) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            console.log('ssssssssssss99999999999999999999', qst, select) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            var vm = this 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            var isFlag = 1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            if (qst.title == '抗栓药物其他名称' && vm.screeningTitle == '大肠癌筛查问卷(OB筛查)') { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -574,6 +676,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                if (vm.screeningType == '6bcd306aaafb4e4381071346d86fadbb1') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  vm.getInitData() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				              } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          }, 
			 |