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 f9f7a265..c70a2358 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,7 +1008,6 @@ export default { if (psIndex > -1) { this.psArr.splice(psIndex, 1) } - console.log(this.psArr, psIndex) if (annotation.metadata.toolName === 'Lengthscale') { this.$emit('getEcrf', { type: "changePlottingScaleChangeAnswer", VisitTaskId: this.taskInfo.VisitTaskId, noneDicomFileId: annotation.noneDicomFileId, path: annotation.path || '', picturePath: null, psArr: this.psArr, isRemovePlottingScale: false }) } @@ -1018,10 +1017,12 @@ export default { const viewport = renderingEngine.getViewport(viewportId) viewport.render() } - } else { - const errorMsg = { message: 'annotation Not allowed to operate' } - throw errorMsg } + // else { + // console.log(1234567) + // const errorMsg = { message: 'annotation Not allowed to operate' } + // throw errorMsg + // } } catch (err) { cornerstoneTools.annotation.state.addAnnotation(annotation) const renderingEngine = getRenderingEngine(renderingEngineId) diff --git a/src/views/trials/trials-panel/reading/visit-review/components/ReadPage.vue b/src/views/trials/trials-panel/reading/visit-review/components/ReadPage.vue index eaa9ee44..20ce1971 100644 --- a/src/views/trials/trials-panel/reading/visit-review/components/ReadPage.vue +++ b/src/views/trials/trials-panel/reading/visit-review/components/ReadPage.vue @@ -211,7 +211,7 @@ export default { return i }) this.$set(this.visitTaskList[taskIdx], 'Annotations', annotations) - // this.$refs.fileViewer.resetAnnotations({ annotations, visitTaskId }) + this.$refs.fileViewer.resetAnnotations({ annotations, visitTaskId }) }, setReadingTaskState(state) { this.readingTaskState = state