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)