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 d9e9a5e6..25dd73e2 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 @@ -348,6 +348,7 @@ export default { this.questionForm[this.pet5PSId] = pet5PS this.calculatePet5PS = pet5PS this.setPet5PSCommentDisplay() + this.setUptakeFormBaseline() FusionEvent.$emit('removeAnnotation', { otherMeasureData: this.measurements[idx].OtherMeasureData, type: 'clear' }) var remark = this.measurements[idx].OtherMeasureData.data.remark remark === 'Liver' ? this.liverIsInsideVolume = true : remark === 'Mediastinum' ? this.lungIsInsideVolume = true : '' @@ -454,13 +455,14 @@ export default { } if (measurement.type === 'CircleROI') { const suvMax = measurement.suvMax - - if(this.questionForm[obj.QuestionId] !== suvMax){ + + if (this.questionForm[obj.QuestionId] !== suvMax) { this.setPet5PSCommentDisplay() this.$set(this.questionForm, obj.QuestionId, suvMax || null) var pet5PS = this.setpet5PS() this.questionForm[this.pet5PSId] = pet5PS this.calculatePet5PS = pet5PS + this.setUptakeFormBaseline() } } FusionEvent.$emit('addOrUpdateAnnotations', { data }) @@ -517,11 +519,12 @@ export default { OrderMarkName: remark } if (measurement.type === 'CircleROI') { + this.setPet5PSCommentDisplay() this.$set(this.questionForm, obj.QuestionId, null) var pet5PS = this.setpet5PS() this.questionForm[this.pet5PSId] = pet5PS this.calculatePet5PS = pet5PS - this.setPet5PSCommentDisplay() + this.setUptakeFormBaseline() } FusionEvent.$emit('addOrUpdateAnnotations', { data }) this.questionFormChangeState = true @@ -535,6 +538,7 @@ export default { this.questionForm[this.pet5PSId] = pet5PS this.calculatePet5PS = pet5PS this.setPet5PSCommentDisplay() + this.setUptakeFormBaseline() this.measurements[idx].OtherMeasureData = '' this.currentQsId = this.measurements[idx].QuestionId // const { QuestionId, QuestionType } = this.measurements[idx] @@ -548,16 +552,7 @@ export default { this.questionForm[obj.key] = obj.val if (obj.key === this.pet5PSId) { this.setPet5PSCommentDisplay() - // 自动计算与基线相比摄取值变化 - if (!this.isBaseLineTask && this.questionForm[this.pet5PSId] > 0) { - // 当前访视的PET 5ps评分大于基线的PET 5ps评分 增大 - // 当前访视的PET 5ps评分小于基线的PET 5ps评分 减小 - if (this.questionForm[this.pet5PSId] > this.baseLinePET5PS) { - this.questionForm[this.uptakeFromBaselineId] = '1' - } else if (this.questionForm[this.pet5PSId] < this.baseLinePET5PS) { - this.questionForm[this.uptakeFromBaselineId] = '2' - } - } + this.setUptakeFormBaseline() } }, setPet5PSCommentDisplay() { @@ -577,6 +572,18 @@ export default { } } }, + setUptakeFormBaseline() { + // 自动计算与基线相比摄取值变化 + if (!this.isBaseLineTask && this.questionForm[this.pet5PSId] > 0) { + // 当前访视的PET 5ps评分大于基线的PET 5ps评分 增大 + // 当前访视的PET 5ps评分小于基线的PET 5ps评分 减小 + if (this.questionForm[this.pet5PSId] > this.baseLinePET5PS) { + this.questionForm[this.uptakeFromBaselineId] = '1' + } else if (this.questionForm[this.pet5PSId] < this.baseLinePET5PS) { + this.questionForm[this.uptakeFromBaselineId] = '2' + } + } + }, setpet5PS() { console.log('setpet5PS') // 无需标记,自主选择 1分 diff --git a/src/views/trials/trials-panel/reading/dicoms/components/Lugano/QuestionForm.vue b/src/views/trials/trials-panel/reading/dicoms/components/Lugano/QuestionForm.vue index 66eb3c82..407c2ec6 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/Lugano/QuestionForm.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/Lugano/QuestionForm.vue @@ -28,11 +28,11 @@ >