【非dicom】重置crf时,需要清除所有标记,包括标尺
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
b6bc22af72
commit
fe0ba42736
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue