1
continuous-integration/drone/push Build is passing Details

uat
caiyiling 2025-03-18 15:28:13 +08:00
parent 070db5158d
commit c25cb097ab
1 changed files with 0 additions and 26 deletions

View File

@ -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]