From 30c411d03fddaddd18ae9e61e859119ed176b488 Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Tue, 27 Feb 2024 15:01:59 +0800 Subject: [PATCH] =?UTF-8?q?lugano=E7=97=85=E7=81=B6=E4=BF=9D=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dicoms/components/Fusion/QuestionItem.vue | 16 +++++++++++++--- .../dicoms/components/Fusion/Questions.vue | 5 +++++ .../components/Fusion/TableQuestionItem.vue | 8 ++++++-- 3 files changed, 24 insertions(+), 5 deletions(-) diff --git a/src/views/trials/trials-panel/reading/dicoms/components/Fusion/QuestionItem.vue b/src/views/trials/trials-panel/reading/dicoms/components/Fusion/QuestionItem.vue index 3374aeb2..0a1ebb29 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/Fusion/QuestionItem.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/Fusion/QuestionItem.vue @@ -33,12 +33,12 @@ - {{ $t('trials:lugano:button:addAnnotation') }} + {{ $t('trials:lugano:button:addAnnotation') }} - {{ $t('trials:lugano:button:clearAnnotation') }} + {{ $t('trials:lugano:button:clearAnnotation') }} { if (!valid) return + const loading = this.$loading({ fullscreen: true }) if (!this.isInsideVolume) { // this.$alert('当前标记在图像外,不允许保存!', '提示', { // callback: action => {} // }) + loading.close() this.$confirm(this.$t('当前标记在图像外,不允许保存!'), { type: 'warning', showCancelButton: false, callback: action => {} }) + return } // 消失、无法评估状态的病灶限制不能测量SUV值 var lesionState = this.getQuestionVal(7) if ((lesionState === 2 || lesionState === 3) && this.questionForm.OtherMeasureData) { + loading.close() this.$confirm(this.$t('评估状态为无法评估或消失的病灶不能测量SUV值!'), { type: 'warning', showCancelButton: false, @@ -750,6 +754,7 @@ export default { if (this.questionForm.OtherMeasureData) { var suvmax = this.getQuestionVal(20) if (suvmax === 0) { + loading.close() this.$confirm(this.$t('当前病灶suv测量值为0,不允许保存!'), { type: 'warning', showCancelButton: false, @@ -759,7 +764,6 @@ export default { } } - const loading = this.$loading({ fullscreen: true }) var otherMeasureData = this.questionForm.OtherMeasureData ? Object.assign({}, this.questionForm.OtherMeasureData) : null if (otherMeasureData) { for (const k in otherMeasureData.data.cachedStats) {