标注标记更改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
e35f6c5471
commit
3137bca8f6
|
|
@ -1091,6 +1091,7 @@ export default {
|
|||
|
||||
if (annotation.id) {
|
||||
let res = await deleteTrialFileType(annotation.id)
|
||||
this.$emit('getMarkedFileIds', { type: "remove", visitTaskId: this.taskInfo.VisitTaskId, fileId: annotation.noneDicomFileId })
|
||||
if (!res.IsSuccess) throw ''
|
||||
}
|
||||
if (annotation.metadata.toolName === 'Lengthscale') {
|
||||
|
|
@ -1113,7 +1114,6 @@ export default {
|
|||
// const errorMsg = { message: 'annotation Not allowed to operate' }
|
||||
// throw errorMsg
|
||||
// }
|
||||
this.$emit('getMarkedFileIds', { type: "remove", visitTaskId: this.taskInfo.VisitTaskId, fileId: annotation.noneDicomFileId })
|
||||
} catch (err) {
|
||||
cornerstoneTools.annotation.state.addAnnotation(annotation)
|
||||
const renderingEngine = getRenderingEngine(renderingEngineId)
|
||||
|
|
@ -1123,7 +1123,7 @@ export default {
|
|||
viewport.render()
|
||||
}
|
||||
console.log(e)
|
||||
}
|
||||
}addNoneDicomMark
|
||||
})
|
||||
|
||||
}
|
||||
|
|
@ -1268,7 +1268,6 @@ export default {
|
|||
// }
|
||||
}
|
||||
})
|
||||
this.$emit('getMarkedFileIds', { type: "add", visitTaskId: this.taskInfo.VisitTaskId, fileId: annotation.noneDicomFileId })
|
||||
},
|
||||
annotationSelectionChangeListener(e) {
|
||||
console.log('selection')
|
||||
|
|
@ -1321,6 +1320,8 @@ export default {
|
|||
annotation.markId = params.MarkId
|
||||
annotation.id = res.Result
|
||||
if (!isNaN(parseFloat(ps))) this.$emit('getEcrf', { type: "changePlottingScaleChangeAnswer", VisitTaskId: this.taskInfo.VisitTaskId, noneDicomFileId: annotation.noneDicomFileId, path: annotation.path || '', picturePath, psArr: this.psArr, isRemovePlottingScale: ps < 0 ? true : false })
|
||||
|
||||
this.$emit('getMarkedFileIds', { type: "add", visitTaskId: this.taskInfo.VisitTaskId, fileId: annotation.noneDicomFileId })
|
||||
})
|
||||
|
||||
} catch (e) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue