From 3646acf378d73e36a2ddfcd1f846f7f42495096b Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Fri, 19 Apr 2024 11:09:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8E=E5=9F=BA=E7=BA=BF=E6=91=84=E5=8F=96?= =?UTF-8?q?=E5=80=BC=E5=8F=98=E5=8C=96bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dicoms/components/Fusion/Questions.vue | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) 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 25dd73e2..7307673c 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 @@ -574,13 +574,17 @@ 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' + if (!this.isBaseLineTask) { + if (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' + } + } else if (this.questionForm[this.pet5PSId] === '' || this.questionForm[this.pet5PSId] === null) { + this.questionForm[this.uptakeFromBaselineId] = '' } } },