From 3fca2e76cb4b67510eaa247436126bde827f7ba1 Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Mon, 2 Mar 2026 11:13:29 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E8=AE=A1=E7=AE=97ROI?= =?UTF-8?q?=E6=B5=8B=E9=87=8F=E5=80=BC=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dicoms/components/IVUS/QuestionList.vue | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/views/trials/trials-panel/reading/dicoms/components/IVUS/QuestionList.vue b/src/views/trials/trials-panel/reading/dicoms/components/IVUS/QuestionList.vue index c4ac6726..c6925575 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/IVUS/QuestionList.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/IVUS/QuestionList.vue @@ -681,16 +681,16 @@ export default { }, setFormItemData(obj) { this.qsForm[obj.key] = obj.val - // if (obj.key === this.eemId || obj.key === this.lumenId) { - // const eem = this.qsForm[this.eemId] - // const lumen = this.qsForm[this.lumenId] - // if (isNaN(parseFloat(eem)) || isNaN(parseFloat(lumen))) { - // this.$set(this.qsForm, this.diffId, null) - // } else { - // const diff = parseFloat(eem) - parseFloat(lumen) - // this.$set(this.qsForm, this.diffId, this.numberToFixed(diff)) - // } - // } + if (obj.key === this.eemId || obj.key === this.lumenId) { + const eem = this.qsForm[this.eemId] + const lumen = this.qsForm[this.lumenId] + if (isNaN(parseFloat(eem)) || isNaN(parseFloat(lumen))) { + this.$set(this.qsForm, this.diffId, null) + } else { + const diff = parseFloat(eem) - parseFloat(lumen) + this.$set(this.qsForm, this.diffId, this.numberToFixed(diff)) + } + } }, handleAddOrEdit(type, row, index) { this.addOrEdit.title = row.QuestionName