This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user