From c7d362e1d07d215cba175755bbd028833b81eec3 Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Fri, 29 Mar 2024 09:23:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B6=88=E6=81=AF=E6=8F=90=E7=A4=BA=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reading/dicoms/components/Fusion/Questions.vue | 8 +++++--- .../dicoms/components/Fusion/TableQuestionItem.vue | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/views/trials/trials-panel/reading/dicoms/components/Fusion/Questions.vue b/src/views/trials/trials-panel/reading/dicoms/components/Fusion/Questions.vue index 17f09335..56f8ff39 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/Fusion/Questions.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/Fusion/Questions.vue @@ -293,10 +293,11 @@ export default { // questionMarkInfoList } saveImageQuality(params).then(async res => { - this.$message({ message: this.$t('common:message:savedSuccessfully'), type: 'success', duration: 1000 }) window.opener.postMessage({ type: 'petctLesionUpdate' }, window.location) this.loading = false this.questionFormChangeState = false + this.$message({ message: this.$t('common:message:savedSuccessfully'), type: 'success', duration: 2000 }) + }).catch(() => { this.loading = false }) @@ -401,10 +402,11 @@ export default { questionMarkInfoList } saveImageQuality(params).then(async res => { - this.$message({ message: this.$t('common:message:savedSuccessfully'), type: 'success', duration: 1000 }) - loading.close() this.$set(question, 'SaveEnum', 0) window.opener.postMessage({ type: 'petctLesionUpdate' }, window.location) + this.$message({ message: this.$t('common:message:savedSuccessfully'), type: 'success', duration: 2000 }) + loading.close() + }).catch(() => { loading.close() }) diff --git a/src/views/trials/trials-panel/reading/dicoms/components/Fusion/TableQuestionItem.vue b/src/views/trials/trials-panel/reading/dicoms/components/Fusion/TableQuestionItem.vue index 4150b260..13a86d68 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/Fusion/TableQuestionItem.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/Fusion/TableQuestionItem.vue @@ -848,8 +848,6 @@ export default { params.rowId = '' } submitTableQuestion(params).then(async res => { - // 保存成功! - this.$message({ message: this.$t('common:message:savedSuccessfully'), type: 'success', duration: 1000 }) this.currentMarkTool = otherMeasureData ? otherMeasureData.type : '' // saveTypeEnum 0:未保存过(新建病灶);1:已保存,信息不完整(随访初始化病灶/分裂病灶,通过状态判断);2:已保存,信息完整 @@ -868,6 +866,8 @@ export default { FusionEvent.$emit('resetSuvQuestions') window.opener.postMessage({ type: 'petctLesionUpdate' }, window.location) this.$emit('close') + loading.close() + this.$message({ message: this.$t('common:message:savedSuccessfully'), type: 'success', duration: 2000 }) }).catch(() => { loading.close() }) }) })