From 62dd650447d7e226d7a48ce5f04a5fee724fb151 Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Fri, 12 Apr 2024 17:24:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BD=93=E7=BA=B5=E9=9A=94=E6=88=96=E8=82=9D?= =?UTF-8?q?=E8=84=8F=E8=A1=80=E6=B1=A0suvmax=E6=9C=AA=E5=8F=91=E7=94=9F?= =?UTF-8?q?=E6=94=B9=E5=8F=98=E6=97=B6=E4=B8=8D=E8=AE=A1=E7=AE=97PET=205PS?= =?UTF-8?q?=E8=AF=84=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reading/dicoms/components/Fusion/PetCt.vue | 2 +- .../reading/dicoms/components/Fusion/Questions.vue | 13 ++++++++----- .../dicoms/components/Fusion/TableQuestionItem.vue | 3 ++- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/views/trials/trials-panel/reading/dicoms/components/Fusion/PetCt.vue b/src/views/trials/trials-panel/reading/dicoms/components/Fusion/PetCt.vue index 8dea8a6d..dd7c24a3 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/Fusion/PetCt.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/Fusion/PetCt.vue @@ -776,7 +776,7 @@ export default { // } }, 120) eventTarget.addEventListener(cornerstoneTools.Enums.Events.ANNOTATION_MODIFIED, (e) => { - console.log('ANNOTATION_MODIFIED') + // console.log('ANNOTATION_MODIFIED') debouncedCallback(e) }) eventTarget.addEventListener(cornerstoneTools.Enums.Events.ANNOTATION_SELECTION_CHANGE, (e) => { 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 be54c48b..e9aa831d 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 @@ -454,11 +454,14 @@ export default { } if (measurement.type === 'CircleROI') { const suvMax = measurement.suvMax - this.$set(this.questionForm, obj.QuestionId, suvMax || null) - var pet5PS = this.setpet5PS() - this.questionForm[this.pet5PSId] = pet5PS - this.calculatePet5PS = pet5PS - this.setPet5PSCommentDisplay() + + if(this.questionForm[obj.QuestionId] !== suvMax){ + var pet5PS = this.setpet5PS() + this.questionForm[this.pet5PSId] = pet5PS + this.calculatePet5PS = pet5PS + this.setPet5PSCommentDisplay() + this.$set(this.questionForm, obj.QuestionId, suvMax || null) + } } FusionEvent.$emit('addOrUpdateAnnotations', { data }) this.questionFormChangeState = true 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 d23dc4c2..111993b8 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 @@ -624,7 +624,8 @@ export default { } } } - if (this.firstRenderAnnotation) { + var lesionState = this.getQuestionVal(7) + if (this.firstRenderAnnotation && !isNaN(parseInt(lesionState))) { this.$set(this.questionForm, 'saveTypeEnum', 2) } else { this.$set(this.questionForm, 'saveTypeEnum', 1)