| 
					
					
						
							
						
					
					
				 | 
				@ -391,23 +391,103 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				        return | 
				 | 
				 | 
				        return | 
			
		
		
	
		
			
				 | 
				 | 
				      } | 
				 | 
				 | 
				      } | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				      //更新明细 | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				      this.updateCheckItemList(); | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      // //更新明细 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      // this.updateCheckItemList(); | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				      //更新检查项目与医生 | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				      this.updateDoctorCheck(); | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      // //更新检查项目与医生 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      // this.updateDoctorCheck(); | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				      //更新小结         | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				      this.saveCheckSummary(); | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      // //更新小结         | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      // this.saveCheckSummary(); | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      // //更新建议       | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      // this.saveCheckSuggestion(true); | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      // 合并成一个事务 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      // { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      //   "registerCheckId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      //   "checkDoctorId": "string", | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      //   "checkDate": "2024-04-17T14:13:24.889Z", | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      //   "registerCheckItems": [ | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      //     { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      //       "itemId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      //       "result": "string", | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      //       "criticalValue": "string", | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      //       "checkDoctorName": "string", | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      //       "checkDate": "string" | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      //     } | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      //   ], | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      //   "summarys": [ | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      //     { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      //       "summary": "string", | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      //       "summaryFlag": "string" | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      //     } | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      //   ], | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      //   "suggestions": [ | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      //     { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      //       "suggestion": "string" | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      //     } | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      //   ] | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      // } | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      let checkDate = this.doctorCheck.RegisterCheckEdit.checkDate || new Date(); | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      checkDate = moment(new Date(checkDate)).format('yyyy-MM-DD HH:mm:ss'); //yyyy-MM-DD HH:mm:ss | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      let checkDoctorId = this.doctorCheck.RegisterCheckEdit.checkDoctorId || window.sessionStorage.getItem("user"); | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      let registerCheckId = this.doctorCheck.RegisterCheckEdit.id | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      // 明细 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      let registerCheckItems = [] | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      this.doctorCheck.checkItemList.forEach(e => { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        registerCheckItems.push({ | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				          itemId: e.itemId, | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				          result: e.result, | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				          checkDoctorName: checkDoctorId, | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				          checkDate, | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        }) | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      }); | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      // 小结 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      let summarys = [] | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      this.doctorCheck.checkSummaryList.forEach(item => { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        summarys.push({ | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				          summary: item.summary, | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				          summaryFlag: item.summaryFlag, | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        }) | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      }); | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      // 建议 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      let suggestions = [] | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      this.doctorCheck.checkSuggestionList.forEach(item => { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        suggestions.push({ | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				          suggestion: item.suggestion | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        }) | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      }); | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      let body = { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        registerCheckId, | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        checkDoctorId, | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        checkDate, | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        registerCheckItems, | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        summarys, | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        suggestions | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      } | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      postapi('/api/app/registercheck/UpdateCheckResult', body) | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        .then(res => { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				          if (res.code > -1) { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				            this.doctorCheck.RegisterCheckEdit.completeFlag = '1'; | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				            //更新组合项目列表记录状态 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				            let lfind = arrayExistObj(this.doctorCheck.RegisterCheckList, 'id', body.registerCheckId) | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				            if (lfind > -1) this.doctorCheck.RegisterCheckList[lfind].completeFlag = '1' | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				            console.log('操作成功') | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				          } else { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				            this.$message.error({ showClose: true, message: res.message }) | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				          } | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        }) | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				      //更新建议       | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				      this.saveCheckSuggestion(true); | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				    }, | 
				 | 
				 | 
				    }, | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				    //更新检查医生 | 
				 | 
				 | 
				    //更新检查医生 | 
			
		
		
	
		
			
				 | 
				 | 
				    updateDoctorCheck(successTip) { | 
				 | 
				 | 
				    updateDoctorCheck(successTip) { | 
			
		
		
	
		
			
				 | 
				 | 
				      let checkDate = this.doctorCheck.RegisterCheckEdit.checkDate || new Date(); | 
				 | 
				 | 
				      let checkDate = this.doctorCheck.RegisterCheckEdit.checkDate || new Date(); | 
			
		
		
	
		
			
				 | 
				 | 
				      checkDate = moment(new Date(checkDate)).format('yyyy-MM-DD'); //yyyy-MM-DD HH:mm:ss | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      checkDate = moment(new Date(checkDate)).format('yyyy-MM-DD HH:mm:ss'); //yyyy-MM-DD HH:mm:ss | 
			
		
		
	
		
			
				 | 
				 | 
				      let checkDoctorId = this.doctorCheck.RegisterCheckEdit.checkDoctorId || window.sessionStorage.getItem("user"); | 
				 | 
				 | 
				      let checkDoctorId = this.doctorCheck.RegisterCheckEdit.checkDoctorId || window.sessionStorage.getItem("user"); | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				      let body = { | 
				 | 
				 | 
				      let body = { | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
					
				 | 
				
  |