From 536fc7bbc83428cfea5a65ad33301b37b13ed32d Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Fri, 30 Jan 2026 18:02:52 +0800 Subject: [PATCH 1/2] 1 --- .../reading/visit-review/components/FileViewer.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 931ddabc..9eec9d07 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 @@ -1057,7 +1057,7 @@ export default { // 临时标记 return } - this.$emit('getMarkedFileIds', { type: "remove", visitTaskId: this.taskInfo.VisitTaskId, fileId: annotation.noneDicomFileId}) + if (annotation.visitTaskId === this.taskInfo.VisitTaskId) { this.$emit('getEcrf', { type: "verifyAnnotationIsBound", VisitTaskId: annotation.visitTaskId, annotation }) this.$nextTick(async () => { @@ -1102,6 +1102,7 @@ export default { viewport.render() } } + this.$emit('getMarkedFileIds', { type: "remove", visitTaskId: this.taskInfo.VisitTaskId, fileId: annotation.noneDicomFileId}) // else { // console.log(1234567) // const errorMsg = { message: 'annotation Not allowed to operate' } From 0d2bfa8d827ec81eb3fdec60007e9d92a2407226 Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Fri, 30 Jan 2026 18:08:55 +0800 Subject: [PATCH 2/2] 1 --- .../reading/visit-review/components/FileViewer.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 931ddabc..49e7cf4d 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 @@ -1057,7 +1057,7 @@ export default { // 临时标记 return } - this.$emit('getMarkedFileIds', { type: "remove", visitTaskId: this.taskInfo.VisitTaskId, fileId: annotation.noneDicomFileId}) + // this.$emit('getMarkedFileIds', { type: "remove", visitTaskId: this.taskInfo.VisitTaskId, fileId: annotation.noneDicomFileId}) if (annotation.visitTaskId === this.taskInfo.VisitTaskId) { this.$emit('getEcrf', { type: "verifyAnnotationIsBound", VisitTaskId: annotation.visitTaskId, annotation }) this.$nextTick(async () => { @@ -1107,6 +1107,7 @@ 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)