From c25cb097ab4011ca4f37e0595231716fd7f95c17 Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Tue, 18 Mar 2025 15:28:13 +0800 Subject: [PATCH] 1 --- .../visit-review/components/FileViewer.vue | 26 ------------------- 1 file changed, 26 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 c5f698a0..ee739451 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 @@ -517,36 +517,13 @@ export default { this.renderHistoryAnnotationTaskIds.push(obj.VisitTaskId) // let arr = [] obj.Annotations.map(i => { - // if (typeof i.MeasureData === 'string') { - // const annotation = JSON.parse(i.MeasureData) const annotation = i.MeasureData annotation.annotationId = i.Id - // if (annotation.metadata.toolName === 'Length') { - // let annotations = obj.Annotations.filter(item=>{ - // const annotation = JSON.parse(item.MeasureData) - // item.metadata.referencedImageId === annotation.metadata.referencedImageId - // }) - // annotations.map(i=>{ - // return { - // i, - // 'i.data.ps': annotation.data.handles.ps - // } - // }) - // console.log(annotations) - // } cornerstoneTools.annotation.state.addAnnotation(annotation) if (obj.ReadingTaskState === 2) { cornerstoneTools.annotation.locking.setAnnotationLocked(annotation.annotationUID) } - }) - // arr.map(i=>{ - // cornerstoneTools.annotation.state.addAnnotation(i) - // if (obj.ReadingTaskState === 2) { - // cornerstoneTools.annotation.locking.setAnnotationLocked(i.annotationUID) - // } - // }) - }, // 渲染图片 async renderImage(imageIds, canvasIndex, sliceIndex) { @@ -942,9 +919,6 @@ export default { viewport.render() // 保存成功 // this.$message.success(this.$t('common:message:savedSuccessfully')) - }, - calculateCachedStats(imageId) { - }, getLengthToolTextLines(data, targetId) { const cachedVolumeStats = data.cachedStats[targetId]