mRecist病灶验证更改

uat
caiyiling 2025-04-16 15:55:13 +08:00
parent 23feb84e30
commit b069c881f2
2 changed files with 23 additions and 1 deletions

View File

@ -1102,6 +1102,7 @@ export default {
annotation.studyId = series.StudyId annotation.studyId = series.StudyId
annotation.seriesId = series.Id annotation.seriesId = series.Id
annotation.instanceId = params.instanceId annotation.instanceId = params.instanceId
annotation.sliceThickness = series.SliceThickness
annotation.numberOfFrames = isNaN(parseInt(params.frame)) ? null : parseInt(params.frame) annotation.numberOfFrames = isNaN(parseInt(params.frame)) ? null : parseInt(params.frame)
annotation.markTool = annotation.metadata.toolName annotation.markTool = annotation.metadata.toolName
this.$refs['ecrf'].setAnnotation({ annotation, toolName: annotation.metadata.toolName }) this.$refs['ecrf'].setAnnotation({ annotation, toolName: annotation.metadata.toolName })

View File

@ -724,6 +724,7 @@ export default {
this.$set(this.innerFormData[`${table.Id}_${rowIndex}`], 'MeasureData', null) this.$set(this.innerFormData[`${table.Id}_${rowIndex}`], 'MeasureData', null)
// //
this.$set(this.innerFormData[`${table.Id}_${rowIndex}`], 'SaveTypeEnum', innerForm.RowId ? 1 : 0) this.$set(this.innerFormData[`${table.Id}_${rowIndex}`], 'SaveTypeEnum', innerForm.RowId ? 1 : 0)
this.$refs[`${table.Id}_${rowIndex}`][0].getOrganList()
}, },
// //
async deleteLesion(table, rowIndex) { async deleteLesion(table, rowIndex) {
@ -816,7 +817,7 @@ export default {
} }
} else { } else {
// 10mm2 // 10mm2
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))) {
// 使10mm2 // 使10mm2
this.$confirm(this.$t('trials:reading:warnning:msg20'), { this.$confirm(this.$t('trials:reading:warnning:msg20'), {
type: 'warning', type: 'warning',
@ -1127,6 +1128,16 @@ export default {
loading.close() loading.close()
return 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() loading.close()
return 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
}
} }
} }