| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -50,10 +50,11 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					// 0-无参考范围,1-数字型,2-字符型,3-性激素 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import { mapState } from "vuex"; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import { getapi, postapi, putapi, deletapi } from "@/api/api"; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import { deepCopy } from '../../utlis/proFunc' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  components: {}, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  props:["isCheckPicture"], | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  props:["isCheckPicture","registerCheckId"], | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  data() { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    return { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      resultStatus:[], //结果状态提示数据 | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -88,7 +89,7 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  computed: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    ...mapState(["window", "dict", "doctorCheck"]), | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    ...mapState(["window","dataTransOpts", "dict", "doctorCheck"]), | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  methods: { | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -223,7 +224,7 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    //检查组合项目下所包含的明细项目 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    checkItemList(RegisterCheckId) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      this.doctorCheck.checkItem = null | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      // this.doctorCheck.checkItem = null | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      if(!RegisterCheckId){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        this.doctorCheck.checkItemList = [] | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        return | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -235,10 +236,12 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        `/api/app/registercheckitem/getlistinregistercheckid?RegisterCheckId=${RegisterCheckId}` | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      ) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        .then((res) => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          console.log("checkItemList", res.data); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          // console.log("checkItemList", res.data); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          if (res.code == 1) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            this.doctorCheck.checkItemList = res.data; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					             | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            this.doctorCheck.checkItemList.forEach((e,i) => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              this.madeTooltips(i) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            }); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            this.enterToTab(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        }) | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -248,7 +251,7 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    querySearch(queryString, cb) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      var restaurants = [...this.restaurants]; //[{ value: '阴性' },{ value: '阳性' }] | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      var restaurants = deepCopy(this.restaurants); //[{ value: '阴性' },{ value: '阳性' }] | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      restaurants.forEach((item) => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        return (item.value = item.result); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      }); | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -317,17 +320,26 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  //监听事件 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  watch: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    //检查项目切换 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    "doctorCheck.RegisterCheckId":{ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    // "doctorCheck.RegisterCheckId":{ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    //   immediate:true, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    //   handler(newVal, oldVal) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    //     console.log( | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    //       "watch doctorCheck.RegisterCheckId newVal:", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    //       newVal, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    //       " oldVal:", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    //       oldVal | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    //     );         | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    //     this.checkItemList(newVal); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    //   }   | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    // }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    //检查项目未切换换时 也可以强制刷新数据 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    "dataTransOpts.refresh.register_check_item":{ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      immediate:true, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      handler(newVal, oldVal) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        console.log( | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          "watch doctorCheck.RegisterCheckId newVal:", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          newVal, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          " oldVal:", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          oldVal | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        );         | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        this.checkItemList(newVal); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      }   | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        console.log(`watch dataTransOpts.refresh.register_check_item newVal:${newVal} oldVal:${oldVal} registerCheckId: ${this.registerCheckId}`);        | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        this.checkItemList(this.registerCheckId); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					}; | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |