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' }