标记截图名称未显示

main
wangxiaoshuang 2025-07-11 11:04:00 +08:00
parent 9b4f4d4419
commit c5c096a592
1 changed files with 4 additions and 3 deletions

View File

@ -1540,7 +1540,7 @@ export default {
if (this.isNumber(operateStateEnum)) { if (this.isNumber(operateStateEnum)) {
this.$refs[`ecrf_${series.TaskInfo.VisitTaskId}`][0].bindAnnotationToQuestion(annotation) this.$refs[`ecrf_${series.TaskInfo.VisitTaskId}`][0].bindAnnotationToQuestion(annotation)
} else { } else {
this.saveCustomAnnotation(annotation) setTimeout(()=>{this.saveCustomAnnotation(annotation)},500)
} }
} }
} }
@ -1622,7 +1622,8 @@ export default {
if (annotation.visitTaskId === this.taskInfo.VisitTaskId) { if (annotation.visitTaskId === this.taskInfo.VisitTaskId) {
const isBound = this.$refs[`ecrf_${annotation.visitTaskId}`][0].verifyAnnotationIsBound(annotation) const isBound = this.$refs[`ecrf_${annotation.visitTaskId}`][0].verifyAnnotationIsBound(annotation)
if (isBound && this.activeTool === 'Eraser') { if (isBound && this.activeTool === 'Eraser') {
this.$alert('该标记已与问题进行绑定,不允许删除!') // ''
this.$alert(this.$t('dicom3D:ReadPage:alert:MarkToQuestionNoDel'))
const errorMsg = { message: 'annotation Not allowed to operate' } const errorMsg = { message: 'annotation Not allowed to operate' }
throw errorMsg throw errorMsg
} }
@ -3167,7 +3168,7 @@ export default {
}) })
.catch(() => {}) .catch(() => {})
}, },
async uploadScreenshots(fileName, file) { async uploadScreenshots(fileName, file) {
try { try {
file = this.convertBase64ToBlob(file) file = this.convertBase64ToBlob(file)
const trialId = this.$route.query.trialId const trialId = this.$route.query.trialId