From 199fe6aed33b45d1230fa81e943245e12a5427fa Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Thu, 30 Oct 2025 15:04:28 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E8=87=AA=E5=AE=9A=E4=B9=89=E9=9D=9Edi?= =?UTF-8?q?com=E3=80=91=E6=A0=87=E8=AE=B0=E5=B7=B2=E4=B8=8E=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E7=BB=91=E5=AE=9A=EF=BC=8C=E5=88=A0=E9=99=A4=E6=AF=94?= =?UTF-8?q?=E4=BE=8B=E5=B0=BA=E5=90=8E=EF=BC=8C=E9=97=AE=E9=A2=98=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=E5=80=BC=E5=BA=94=E8=AF=A5=E6=81=A2=E5=A4=8D=E4=B8=BA?= =?UTF-8?q?px?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reading/visit-review/components/FileViewer.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/trials/trials-panel/reading/visit-review/components/FileViewer.vue b/src/views/trials/trials-panel/reading/visit-review/components/FileViewer.vue index bb0d943b..89401e3b 100644 --- a/src/views/trials/trials-panel/reading/visit-review/components/FileViewer.vue +++ b/src/views/trials/trials-panel/reading/visit-review/components/FileViewer.vue @@ -1008,11 +1008,11 @@ export default { let res = await deleteTrialFileType(annotation.id) if (!res.IsSuccess) throw '' } - let psIndex = this.psArr.findIndex(item => item.Path === annotation.path) - if (psIndex > -1) { - this.psArr.splice(psIndex, 1) - } if (annotation.metadata.toolName === 'Lengthscale') { + let psIndex = this.psArr.findIndex(item => item.Path === annotation.path) + if (psIndex > -1) { + this.psArr.splice(psIndex, 1) + } this.$emit('getEcrf', { type: "changePlottingScaleChangeAnswer", VisitTaskId: this.taskInfo.VisitTaskId, noneDicomFileId: annotation.noneDicomFileId, path: annotation.path || '', picturePath: null, psArr: this.psArr, isRemovePlottingScale: false }) this.setToolsPassive() }