Browse Source

check seo

master
pengjun 1 year ago
parent
commit
f7cc8ec8b6
  1. 22
      src/views/doctorCheck/doctorCheck.vue

22
src/views/doctorCheck/doctorCheck.vue

@ -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) {
@ -601,6 +588,7 @@ export default {
} }
}) })
}, },
// //
updateDoctorCheck(successTip) { updateDoctorCheck(successTip) {

Loading…
Cancel
Save