diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue b/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue index a8b68e57..df4a38e3 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue @@ -1055,6 +1055,7 @@ export default { i.MeasureData = JSON.parse(i.MeasureData) if (this.criterionType === 0) { i.MeasureData.id = i.Id + i.MeasureData.markId = i.MarkId } annotationUIDs.push(i.MeasureData.annotationUID) } @@ -1589,6 +1590,7 @@ export default { params.MarkId = annotation.annotationUID const res = await submitCustomTag(params) annotation.id = res.Result + annotation.markId = params.MarkId }) } catch (e) { @@ -1655,8 +1657,8 @@ export default { annotation.data.label + '?' ) - if (annotation.annotationUID) { - deleteCustomTag(annotation.annotationUID) + if (annotation.markId) { + deleteCustomTag(annotation.markId) }else if (annotation.id) { deleteCustomTag(annotation.id) } @@ -1727,6 +1729,7 @@ export default { i.MeasureData = JSON.parse(i.MeasureData) if (this.criterionType === 0) { i.MeasureData.id = i.Id + i.MeasureData.markId = i.MarkId } annotationUIDs.push(i.MeasureData.annotationUID) } @@ -1752,6 +1755,7 @@ export default { i.MeasureData = JSON.parse(i.MeasureData) if (this.criterionType === 0) { i.MeasureData.id = i.Id + i.MeasureData.markId = i.MarkId } } return i