From f7cc8ec8b62a26c660022b8f99989f4b72f59daa Mon Sep 17 00:00:00 2001 From: pengjun <158915633@qq.com> Date: Fri, 17 May 2024 19:27:46 +0800 Subject: [PATCH] check seo --- src/views/doctorCheck/doctorCheck.vue | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) 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) {