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 c9756686..cf0adc29 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 @@ -901,6 +901,7 @@ export default { } this.setToolsPassive() } + if (this.customizeStandardsNoneDicom.find(item => item.toolName === annotation.metadata?.toolName)) return false const params = { id: annotation.annotationId, visitTaskId: this.viewportInfos[i].taskInfo.VisitTaskId, @@ -943,7 +944,7 @@ export default { this.setToolsPassive() return } - + if (this.customizeStandardsNoneDicom.find(item => item.toolName === annotation.metadata?.toolName)) return false const params = { id: '', visitTaskId: this.viewportInfos[i].taskInfo.VisitTaskId, @@ -978,6 +979,7 @@ export default { cornerstoneTools.annotation.state.removeAnnotation(annotation.annotationUID) return } + if (this.customizeStandardsNoneDicom.find(item => item.toolName === annotation.metadata?.toolName)) return false const params = { id: '', visitTaskId: this.form.annotationObj.visitTaskId,