diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/customize/QuestionFormItem.vue b/src/views/trials/trials-panel/reading/dicoms3D/components/customize/QuestionFormItem.vue index b8232fa4..ea31b1bc 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/customize/QuestionFormItem.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/customize/QuestionFormItem.vue @@ -1366,10 +1366,10 @@ export default { let ps = annotation.ps if (prop === 'area') { value = this.reRound(csUtils.roundNumber(value * ps * ps), this.digitPlaces) - } else if (prop === 'length' || prop === 'perimeter') { + } else if (prop === 'length' || prop === 'perimeter' || prop === 'width') { value = this.reRound(csUtils.roundNumber(value * ps), this.digitPlaces) } else { - value = this.reRound(csUtils.roundNumber(value * ps), this.digitPlaces) + value = this.reRound(csUtils.roundNumber(value), this.digitPlaces) } } else if (this.isNoneDicom && value !== null) { value = this.reRound(csUtils.roundNumber(value), this.digitPlaces) diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/customize/QuestionList.vue b/src/views/trials/trials-panel/reading/dicoms3D/components/customize/QuestionList.vue index c0834044..15dc957f 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/customize/QuestionList.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/customize/QuestionList.vue @@ -1066,10 +1066,10 @@ export default { let ps = annotation.ps if (prop === 'area') { value = this.reRound(csUtils.roundNumber(value * ps * ps), this.digitPlaces) - } else if (prop === 'length' || prop === 'perimeter') { + } else if (prop === 'length' || prop === 'perimeter' || prop === 'width') { value = this.reRound(csUtils.roundNumber(value * ps), this.digitPlaces) } else { - value = this.reRound(csUtils.roundNumber(value * ps), this.digitPlaces) + value = this.reRound(csUtils.roundNumber(value), this.digitPlaces) } } else if (this.isNoneDicom && value !== null) { value = this.reRound(csUtils.roundNumber(value), this.digitPlaces) @@ -1212,7 +1212,7 @@ export default { this.questionMarkInfoList.forEach(item => { DicomEvent.$emit('closeAddTableCol', { RowId: item.RowId }) let prop = this.questionImageToolAttributeInfo[item.QuestionId] || this.questionImageToolAttributeInfo[item.TableQuestionId] - if (item.Path === path && ['length', 'perimeter', 'area'].includes(prop)) { + if (item.Path === path && ['length', 'perimeter', 'area', 'width'].includes(prop)) { const referencedImageId = item?.MeasureData?.metadata?.referencedImageId if (!referencedImageId) return null const cacheKey = `imageId:${referencedImageId}` @@ -1228,7 +1228,7 @@ export default { } if (ps) { if (prop === 'area') value = this.reRound(csUtils.roundNumber(value * ps * ps), this.digitPlaces) - if (prop === 'length' || prop === 'perimeter') value = this.reRound(csUtils.roundNumber(value * ps), this.digitPlaces) + if (prop === 'length' || prop === 'perimeter' || prop === 'width') value = this.reRound(csUtils.roundNumber(value * ps), this.digitPlaces) } else { value = this.reRound(csUtils.roundNumber(value), this.digitPlaces) }