diff --git a/src/views/doctorCheck/doctorCheck.vue b/src/views/doctorCheck/doctorCheck.vue index 969c682..9ec812a 100644 --- a/src/views/doctorCheck/doctorCheck.vue +++ b/src/views/doctorCheck/doctorCheck.vue @@ -568,25 +568,12 @@ export default { suggestions } + 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) .then(res => { if (res.code > -1) { @@ -601,6 +588,7 @@ export default { } }) }, + //更新检查医生 updateDoctorCheck(successTip) {