This commit is contained in:
@@ -1055,6 +1055,7 @@ export default {
|
|||||||
i.MeasureData = JSON.parse(i.MeasureData)
|
i.MeasureData = JSON.parse(i.MeasureData)
|
||||||
if (this.criterionType === 0) {
|
if (this.criterionType === 0) {
|
||||||
i.MeasureData.id = i.Id
|
i.MeasureData.id = i.Id
|
||||||
|
i.MeasureData.markId = i.MarkId
|
||||||
}
|
}
|
||||||
annotationUIDs.push(i.MeasureData.annotationUID)
|
annotationUIDs.push(i.MeasureData.annotationUID)
|
||||||
}
|
}
|
||||||
@@ -1589,6 +1590,7 @@ export default {
|
|||||||
params.MarkId = annotation.annotationUID
|
params.MarkId = annotation.annotationUID
|
||||||
const res = await submitCustomTag(params)
|
const res = await submitCustomTag(params)
|
||||||
annotation.id = res.Result
|
annotation.id = res.Result
|
||||||
|
annotation.markId = params.MarkId
|
||||||
})
|
})
|
||||||
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
@@ -1655,8 +1657,8 @@ export default {
|
|||||||
annotation.data.label +
|
annotation.data.label +
|
||||||
'?'
|
'?'
|
||||||
)
|
)
|
||||||
if (annotation.annotationUID) {
|
if (annotation.markId) {
|
||||||
deleteCustomTag(annotation.annotationUID)
|
deleteCustomTag(annotation.markId)
|
||||||
}else if (annotation.id) {
|
}else if (annotation.id) {
|
||||||
deleteCustomTag(annotation.id)
|
deleteCustomTag(annotation.id)
|
||||||
}
|
}
|
||||||
@@ -1727,6 +1729,7 @@ export default {
|
|||||||
i.MeasureData = JSON.parse(i.MeasureData)
|
i.MeasureData = JSON.parse(i.MeasureData)
|
||||||
if (this.criterionType === 0) {
|
if (this.criterionType === 0) {
|
||||||
i.MeasureData.id = i.Id
|
i.MeasureData.id = i.Id
|
||||||
|
i.MeasureData.markId = i.MarkId
|
||||||
}
|
}
|
||||||
annotationUIDs.push(i.MeasureData.annotationUID)
|
annotationUIDs.push(i.MeasureData.annotationUID)
|
||||||
}
|
}
|
||||||
@@ -1752,6 +1755,7 @@ export default {
|
|||||||
i.MeasureData = JSON.parse(i.MeasureData)
|
i.MeasureData = JSON.parse(i.MeasureData)
|
||||||
if (this.criterionType === 0) {
|
if (this.criterionType === 0) {
|
||||||
i.MeasureData.id = i.Id
|
i.MeasureData.id = i.Id
|
||||||
|
i.MeasureData.markId = i.MarkId
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return i
|
return i
|
||||||
|
|||||||
Reference in New Issue
Block a user