| 
					
					
						
							
						
					
					
				 | 
				@ -853,10 +853,10 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				        medicalCenterId: [ | 
				 | 
				 | 
				        medicalCenterId: [ | 
			
		
		
	
		
			
				 | 
				 | 
				          { required: true, message: "请填写体检中心", trigger: "blur" }, | 
				 | 
				 | 
				          { required: true, message: "请填写体检中心", trigger: "blur" }, | 
			
		
		
	
		
			
				 | 
				 | 
				        ], | 
				 | 
				 | 
				        ], | 
			
		
		
	
		
			
				 | 
				 | 
				        mobileTelephone: [ | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				          { required: true, message: "请填写手机号", trigger: "blur" }, | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				          { validator: validateMobileTelephone, trigger: 'blur' } | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				        ], | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        // mobileTelephone: [ | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        //   { required: true, message: "请填写手机号", trigger: "blur" }, | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        //   { validator: validateMobileTelephone, trigger: 'blur' } | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        // ], | 
			
		
		
	
		
			
				 | 
				 | 
				      }, | 
				 | 
				 | 
				      }, | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				      dialogVisible: false, | 
				 | 
				 | 
				      dialogVisible: false, | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
						
							
						
					
					
				 | 
				@ -1884,6 +1884,7 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				    // 获取职业病信息 | 
				 | 
				 | 
				    // 获取职业病信息 | 
			
		
		
	
		
			
				 | 
				 | 
				    getOccDiseaseData() { | 
				 | 
				 | 
				    getOccDiseaseData() { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      return new Promise((resolve, reject) => { | 
			
		
		
	
		
			
				 | 
				 | 
				        let patientRegisterId = this.form.id | 
				 | 
				 | 
				        let patientRegisterId = this.form.id | 
			
		
		
	
		
			
				 | 
				 | 
				        postapi('/api/app/OccupationalDisease/GetOccupationalDiseaseWithDetailByPatientRegisterId', { patientRegisterId }) | 
				 | 
				 | 
				        postapi('/api/app/OccupationalDisease/GetOccupationalDiseaseWithDetailByPatientRegisterId', { patientRegisterId }) | 
			
		
		
	
		
			
				 | 
				 | 
				          .then(res => { | 
				 | 
				 | 
				          .then(res => { | 
			
		
		
	
	
		
			
				| 
					
					
					
						
							
						
					
				 | 
				@ -1902,8 +1903,16 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				                poisonIds.push(e.poisonId) | 
				 | 
				 | 
				                poisonIds.push(e.poisonId) | 
			
		
		
	
		
			
				 | 
				 | 
				              }); | 
				 | 
				 | 
				              }); | 
			
		
		
	
		
			
				 | 
				 | 
				              this.form.poisonIds = poisonIds | 
				 | 
				 | 
				              this.form.poisonIds = poisonIds | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				              resolve('') | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				            }else{ | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				              reject(res.message) | 
			
		
		
	
		
			
				 | 
				 | 
				            } | 
				 | 
				 | 
				            } | 
			
		
		
	
		
			
				 | 
				 | 
				          }) | 
				 | 
				 | 
				          }) | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				          .catch(error => { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				            reject(error) | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				          }) | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      }) | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				    }, | 
				 | 
				 | 
				    }, | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				    // 列表数据生成 分组 select | 
				 | 
				 | 
				    // 列表数据生成 分组 select | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
						
							
						
					
					
				 | 
				@ -2879,6 +2888,13 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				        } | 
				 | 
				 | 
				        } | 
			
		
		
	
		
			
				 | 
				 | 
				      ) | 
				 | 
				 | 
				      ) | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      // 人寿接口,甲方需求:岗位数据导入人员类别 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      // personnelTypeId   --> positionName | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      // dict.personnelType" :key="item.id" :label="item.displayName"  | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      let lfind = arrayExistObj(this.dict.personnelType,'displayName',appoint_patient_register.positionName) | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      if(lfind > -1) this.form.personnelTypeId = this.dict.personnelType[lfind].id | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				      console.log('this.form', JSON.stringify(this.form)) | 
				 | 
				 | 
				      console.log('this.form', JSON.stringify(this.form)) | 
			
		
		
	
		
			
				 | 
				 | 
				      // 明细必填项 | 
				 | 
				 | 
				      // 明细必填项 | 
			
		
		
	
		
			
				 | 
				 | 
				      // "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", | 
				 | 
				 | 
				      // "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
						
							
						
					
					
				 | 
				@ -2910,6 +2926,13 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				      if (this.form.customerOrgGroupId) this.changeCustomerOrgGroupId() | 
				 | 
				 | 
				      if (this.form.customerOrgGroupId) this.changeCustomerOrgGroupId() | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				      this.changeIdNo() //  触发身份证查询档案号 | 
				 | 
				 | 
				      this.changeIdNo() //  触发身份证查询档案号 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      //  | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      setTimeout(() => { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        this.form.customerOrgGroupId = appoint_patient_register.customerOrgGroupId | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      }, 500); | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				    }, | 
				 | 
				 | 
				    }, | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
						
							
						
					
					
				 | 
				@ -2964,9 +2987,9 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				    //人员ID未切换换时 也可以强制刷新数据 | 
				 | 
				 | 
				    //人员ID未切换换时 也可以强制刷新数据 | 
			
		
		
	
		
			
				 | 
				 | 
				    "dataTransOpts.refresh.patient_register.S": { | 
				 | 
				 | 
				    "dataTransOpts.refresh.patient_register.S": { | 
			
		
		
	
		
			
				 | 
				 | 
				      // immediate: true, | 
				 | 
				 | 
				      // immediate: true, | 
			
		
		
	
		
			
				 | 
				 | 
				      async handler(newVal, oldVal) { | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      handler(newVal, oldVal) { | 
			
		
		
	
		
			
				 | 
				 | 
				        // console.log(`watch 人员登记 newVal:${newVal} oldVal:${oldVal} registerCheckId: ${this.dataTransOpts.tableS.patient_register.id}`); | 
				 | 
				 | 
				        // console.log(`watch 人员登记 newVal:${newVal} oldVal:${oldVal} registerCheckId: ${this.dataTransOpts.tableS.patient_register.id}`); | 
			
		
		
	
		
			
				 | 
				 | 
				        if (newVal != oldVal) await this.initFormData(this.dataTransOpts.tableS.patient_register.id) | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        if (newVal != oldVal) this.initFormData(this.dataTransOpts.tableS.patient_register.id) | 
			
		
		
	
		
			
				 | 
				 | 
				      } | 
				 | 
				 | 
				      } | 
			
		
		
	
		
			
				 | 
				 | 
				    }, | 
				 | 
				 | 
				    }, | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
					
				 | 
				
  |