From 3137bca8f638d0fee41ea774a8065185f45316f6 Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Mon, 2 Feb 2026 15:08:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E6=B3=A8=E6=A0=87=E8=AE=B0=E6=9B=B4?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reading/visit-review/components/FileViewer.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 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 5240577f..92988712 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 @@ -1091,6 +1091,7 @@ export default { if (annotation.id) { let res = await deleteTrialFileType(annotation.id) + this.$emit('getMarkedFileIds', { type: "remove", visitTaskId: this.taskInfo.VisitTaskId, fileId: annotation.noneDicomFileId }) if (!res.IsSuccess) throw '' } if (annotation.metadata.toolName === 'Lengthscale') { @@ -1113,7 +1114,6 @@ export default { // const errorMsg = { message: 'annotation Not allowed to operate' } // throw errorMsg // } - this.$emit('getMarkedFileIds', { type: "remove", visitTaskId: this.taskInfo.VisitTaskId, fileId: annotation.noneDicomFileId }) } catch (err) { cornerstoneTools.annotation.state.addAnnotation(annotation) const renderingEngine = getRenderingEngine(renderingEngineId) @@ -1123,7 +1123,7 @@ export default { viewport.render() } console.log(e) - } + }addNoneDicomMark }) } @@ -1268,7 +1268,6 @@ export default { // } } }) - this.$emit('getMarkedFileIds', { type: "add", visitTaskId: this.taskInfo.VisitTaskId, fileId: annotation.noneDicomFileId }) }, annotationSelectionChangeListener(e) { console.log('selection') @@ -1321,6 +1320,8 @@ export default { annotation.markId = params.MarkId annotation.id = res.Result if (!isNaN(parseFloat(ps))) this.$emit('getEcrf', { type: "changePlottingScaleChangeAnswer", VisitTaskId: this.taskInfo.VisitTaskId, noneDicomFileId: annotation.noneDicomFileId, path: annotation.path || '', picturePath, psArr: this.psArr, isRemovePlottingScale: ps < 0 ? true : false }) + + this.$emit('getMarkedFileIds', { type: "add", visitTaskId: this.taskInfo.VisitTaskId, fileId: annotation.noneDicomFileId }) }) } catch (e) {