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() }) }) })