mRecist病灶验证更改

This commit is contained in:
2025-04-16 15:55:13 +08:00
parent 23feb84e30
commit b069c881f2
2 changed files with 23 additions and 1 deletions
@@ -1102,6 +1102,7 @@ export default {
annotation.studyId = series.StudyId
annotation.seriesId = series.Id
annotation.instanceId = params.instanceId
annotation.sliceThickness = series.SliceThickness
annotation.numberOfFrames = isNaN(parseInt(params.frame)) ? null : parseInt(params.frame)
annotation.markTool = annotation.metadata.toolName
this.$refs['ecrf'].setAnnotation({ annotation, toolName: annotation.metadata.toolName })
@@ -724,6 +724,7 @@ export default {
this.$set(this.innerFormData[`${table.Id}_${rowIndex}`], 'MeasureData', null)
// 重置保存标志
this.$set(this.innerFormData[`${table.Id}_${rowIndex}`], 'SaveTypeEnum', innerForm.RowId ? 1 : 0)
this.$refs[`${table.Id}_${rowIndex}`][0].getOrganList()
},
// 删除病灶
async deleteLesion(table, rowIndex) {
@@ -816,7 +817,7 @@ export default {
}
} else {
// 非淋巴结靶病灶 直径测量工具 长径须大于等于10mm且不小于2倍层厚
if (!(measureData && measureData.markTool === 'Length' && lesionLength >= 10 && (measureData.thick && lesionLength >= 2 * measureData.thick || !measureData.thick))) {
if (!(measureData && measureData.markTool === 'Length' && lesionLength >= 10 && (measureData.sliceThickness && lesionLength >= 2 * measureData.sliceThickness || !measureData.sliceThickness))) {
// 评估状态为存在的非淋巴结靶病灶需使用直径测量工具添加标记,长径须大于10mm且不小于2倍层厚!
this.$confirm(this.$t('trials:reading:warnning:msg20'), {
type: 'warning',
@@ -1127,6 +1128,16 @@ export default {
loading.close()
return
}
if (measureData && measureData.markTool === 'Length' && innerForm.IntrahepaticLesion && lesionLength < 10) {
// 病灶状态为“明确”的典型肝内病灶,长径应不小于10mm。
this.$confirm(this.$t('trials:mRecist:warnning:msg3'), {
type: 'warning',
showCancelButton: false,
callback: action => {}
})
loading.close()
return
}
}
}
@@ -1156,6 +1167,16 @@ export default {
loading.close()
return
}
if (measureData && measureData.markTool === 'Length' && innerForm.IntrahepaticLesion && lesionLength >= 10) {
// 病灶状态为“疑似”的典型肝内病灶,长径应小于10mm。
this.$confirm(this.$t('trials:mRecist:warnning:msg4'), {
type: 'warning',
showCancelButton: false,
callback: action => {}
})
loading.close()
return
}
}
}