| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -526,7 +526,7 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        patientId: "00000000-0000-0000-0000-000000000000", //档案号ID 选择了档案就传档案号,未选就传00000-0000... | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        patientNo: "", //档案号 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        customerOrgId: ["00000000-0000-0000-0000-000000000001"], //单位编号 默认个人  | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        customerOrgRegisterId:"00000000-0000-0000-0000-000000000001", //默认单位体检次数 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        customerOrgRegisterId: "00000000-0000-0000-0000-000000000001", //默认单位体检次数 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        customerOrgGroupId: null, //分组 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        medicalPackageId: null, //套餐 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        patientName: "", //姓名 | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -1228,7 +1228,6 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      // Invalid date | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      delete body.registerManType;       | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      delete body.id; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      delete body.patientRegisterNo; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      delete body.medicalTimes; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      // delete body.completeFlag; | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -1283,27 +1282,30 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          this.$message.warning("身份证号填写不合法!"); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          return false | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        let body = this.madePrBody() | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        body.registerCheckAsbitems = this.dataTransOpts.tableM.register_check_asbitem | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if (this.form.id) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          // 更新时,先保存明细,再更新主表 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          this.prAsbOpraOpts.prAsbSave++  //触发组合项目保存 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          // this.prAsbOpraOpts.prAsbSave++  //触发组合项目保存 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          body.patientRegisterId = body.id; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } else { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          let body = this.madePrBody() | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          body.registerCheckAsbitems = this.dataTransOpts.tableM.register_check_asbitem | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          //id为空则新增 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          delete body.id; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        // console.log(`/api/patientregister/createreturninfo`, body); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        postapi(`/api/PatientRegister/CreatePatientRegister`, body) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          .then(res => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            if (res.code == 1) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              this.dataTransOpts.tableS.patient_register = deepCopy(res.data) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                //触发已选组合项目保存 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                this.prAsbOpraOpts.formId = res.data.id | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                setTimeout(() => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                  this.dataTransOpts.refresh.register_check_asbitem.D++ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                }, 10); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              delete this.dataTransOpts.tableS.patient_register.registerCheckAsbitems | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					               | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              this.dataTransOpts.tableM.register_check_asbitem = deepCopy(res.data.registerCheckAsbitems) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              // //触发已选组合项目保存 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              // this.prAsbOpraOpts.formId = res.data.id | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              // setTimeout(() => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              //   this.dataTransOpts.refresh.register_check_asbitem.D++ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              // }, 10); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              // 用于刷新登记的列表 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              // this.refreshRegister(Object.assign({}, res.data)) | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -1313,7 +1315,6 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          ); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      }); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |