|
|
@ -568,25 +568,12 @@ export default { |
|
|
suggestions |
|
|
suggestions |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (summarys.length == 0) { |
|
|
if (summarys.length == 0) { |
|
|
this.$confirm("该检查没有生成小结, 是否强制在无小结情况下保存结果?", "提示", { |
|
|
|
|
|
confirmButtonText: "是", |
|
|
|
|
|
cancelButtonText: "否", |
|
|
|
|
|
type: "warning", |
|
|
|
|
|
}).then(() => { |
|
|
|
|
|
this.saveCheckResult(body) |
|
|
|
|
|
}).catch(err => { |
|
|
|
|
|
if (err == "cancel") { |
|
|
|
|
|
// this.$message.info("已取消删除"); |
|
|
|
|
|
console.log('已取消删除') |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
}else{ |
|
|
|
|
|
this.saveCheckResult(body) |
|
|
|
|
|
|
|
|
this.$message.warning({showClose:true,message:'请生成小结!'}) |
|
|
|
|
|
return |
|
|
} |
|
|
} |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
saveCheckResult(body){ |
|
|
|
|
|
postapi('/api/app/registercheck/UpdateCheckResult', body) |
|
|
postapi('/api/app/registercheck/UpdateCheckResult', body) |
|
|
.then(res => { |
|
|
.then(res => { |
|
|
if (res.code > -1) { |
|
|
if (res.code > -1) { |
|
|
@ -602,6 +589,7 @@ export default { |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//更新检查医生 |
|
|
//更新检查医生 |
|
|
updateDoctorCheck(successTip) { |
|
|
updateDoctorCheck(successTip) { |
|
|
let checkDate = this.doctorCheck.RegisterCheckEdit.checkDate || new Date(); |
|
|
let checkDate = this.doctorCheck.RegisterCheckEdit.checkDate || new Date(); |
|
|
|