阅片标准更改
continuous-integration/drone/push Build is passing Details

uat
caiyiling 2025-05-21 10:37:12 +08:00
parent dbdd18dcf6
commit 9e2255e324
3 changed files with 55 additions and 17 deletions

View File

@ -1600,7 +1600,7 @@ export default {
} else { } else {
annotations[idx].data.label = obj.name annotations[idx].data.label = obj.name
} }
annotations[idx].data.status = obj.status
const renderingEngine = getRenderingEngine(renderingEngineId) const renderingEngine = getRenderingEngine(renderingEngineId)
const viewportId = `${this.viewportKey}-${this.activeViewportIndex}` const viewportId = `${this.viewportKey}-${this.activeViewportIndex}`
const viewport = renderingEngine.getViewport(viewportId) const viewport = renderingEngine.getViewport(viewportId)
@ -1614,7 +1614,8 @@ export default {
} }
const textLines = [] const textLines = []
if (data.label) { if (data.label) {
textLines.push(data.label) // textLines.push(data.label)
textLines.push(data.status ? `${data.label}(${data.status})` : data.label)
} }
textLines.push(`${parseFloat(length).toFixed(this.digitPlaces)} ${unit}`) textLines.push(`${parseFloat(length).toFixed(this.digitPlaces)} ${unit}`)
return textLines return textLines
@ -1676,7 +1677,7 @@ export default {
const textLines = [] const textLines = []
if (data.label) { if (data.label) {
textLines.push(data.label) textLines.push(data.status ? `${data.label}(${data.status})` : data.label)
} }
// textLines.push(`Area: ${parseFloat(area).toFixed(this.digitPlaces)} ${areaUnit}`) // textLines.push(`Area: ${parseFloat(area).toFixed(this.digitPlaces)} ${areaUnit}`)
@ -1695,7 +1696,8 @@ export default {
// textLines.push(label); // textLines.push(label);
// } // }
if (label) { if (label) {
textLines.push(label) // textLines.push(label)
textLines.push(data.status ? `${label}(${data.status})` : label)
} }
if (length === undefined) { if (length === undefined) {
return textLines return textLines
@ -1725,7 +1727,8 @@ export default {
} = cachedVolumeStats } = cachedVolumeStats
const textLines = [] const textLines = []
if (data.label) { if (data.label) {
textLines.push(data.label) // textLines.push(data.label)
textLines.push(data.status ? `${data.label}(${data.status})` : data.label)
} }
if (radius) { if (radius) {

View File

@ -543,11 +543,8 @@ export default {
} }
} }
this.$set(this.innerFormData[`${tableId}_${rowIndex}`], 'SaveTypeEnum', innerForm.RowId ? 1 : 0) this.$set(this.innerFormData[`${tableId}_${rowIndex}`], 'SaveTypeEnum', innerForm.RowId ? 1 : 0)
this.$emit('setMarkName', { this.setMarkName(this.innerFormData[`${tableId}_${rowIndex}`].LesionType, this.innerFormData[`${tableId}_${rowIndex}`][stateId], this.innerFormData[`${tableId}_${rowIndex}`].LesionName, annotation)
annotationUID: annotation.annotationUID,
name: this.innerFormData[`${tableId}_${rowIndex}`].LesionName
}
)
} }
} else { } else {
if (this.isBaseLineTask) { if (this.isBaseLineTask) {
@ -628,9 +625,24 @@ export default {
} }
} }
} }
this.setMarkName(this.innerFormData[`${tableId}_${rowIndex}`].LesionType, this.innerFormData[`${tableId}_${rowIndex}`][stateId], this.innerFormData[`${tableId}_${rowIndex}`].LesionName, annotation)
this.$set(this.innerFormData[`${tableId}_${rowIndex}`], 'SaveTypeEnum', formData.RowId ? 1 : 0) this.$set(this.innerFormData[`${tableId}_${rowIndex}`], 'SaveTypeEnum', formData.RowId ? 1 : 0)
this.activeName = `${tableId}_${rowIndex}` this.activeName = `${tableId}_${rowIndex}`
}, },
setMarkName(lesionType, lesionState, lesionName, annotation) {
let status = ''
if (lesionType === 0 && lesionState === 1) {
status = 'T'
}
if ((lesionType === 0 && lesionState === 3) || (lesionType === 1 && lesionState === 3) || (lesionType === 2 && lesionState === 3)) {
status = 'D'
}
this.$emit('setMarkName', {
annotationUID: annotation.annotationUID,
name: lesionName,
status
})
},
// //
addTarget(tableInfo, annotation) { addTarget(tableInfo, annotation) {
// //
@ -1374,6 +1386,11 @@ export default {
if (obj.questionMark === 7) { if (obj.questionMark === 7) {
this.$set(this.innerFormData[`${obj.tableId}_${obj.rowIndex}`], 'LesionState', obj.val) this.$set(this.innerFormData[`${obj.tableId}_${obj.rowIndex}`], 'LesionState', obj.val)
let annotation = this.innerFormData[`${obj.tableId}_${obj.rowIndex}`].MeasureData
if (annotation) {
this.setMarkName(this.innerFormData[`${obj.tableId}_${obj.rowIndex}`].LesionType, obj.val, this.innerFormData[`${obj.tableId}_${obj.rowIndex}`].LesionName, annotation)
}
} }
if (obj.questionMark === 8) { if (obj.questionMark === 8) {
this.$set(this.innerFormData[`${obj.tableId}_${obj.rowIndex}`], 'LesionPart', obj.val) this.$set(this.innerFormData[`${obj.tableId}_${obj.rowIndex}`], 'LesionPart', obj.val)

View File

@ -555,11 +555,11 @@ export default {
} }
} }
this.$set(this.innerFormData[`${tableId}_${rowIndex}`], 'SaveTypeEnum', innerForm.RowId ? 1 : 0) this.$set(this.innerFormData[`${tableId}_${rowIndex}`], 'SaveTypeEnum', innerForm.RowId ? 1 : 0)
this.$emit('setMarkName', { // this.$emit('setMarkName', {
annotationUID: annotation.annotationUID, // annotationUID: annotation.annotationUID,
name: this.innerFormData[`${tableId}_${rowIndex}`].LesionName // name: this.innerFormData[`${tableId}_${rowIndex}`].LesionName
} // })
) this.setMarkName(this.innerFormData[`${tableId}_${rowIndex}`].LesionType, this.innerFormData[`${tableId}_${rowIndex}`][stateId], this.innerFormData[`${tableId}_${rowIndex}`].LesionName, annotation)
} }
} else { } else {
if (this.isBaseLineTask) { if (this.isBaseLineTask) {
@ -644,9 +644,24 @@ export default {
} }
} }
} }
this.setMarkName(this.innerFormData[`${tableId}_${rowIndex}`].LesionType, this.innerFormData[`${tableId}_${rowIndex}`][stateId], this.innerFormData[`${tableId}_${rowIndex}`].LesionName, annotation)
this.$set(this.innerFormData[`${tableId}_${rowIndex}`], 'SaveTypeEnum', formData.RowId ? 1 : 0) this.$set(this.innerFormData[`${tableId}_${rowIndex}`], 'SaveTypeEnum', formData.RowId ? 1 : 0)
this.activeName = `${tableId}_${rowIndex}` this.activeName = `${tableId}_${rowIndex}`
}, },
setMarkName(lesionType, lesionState, lesionName, annotation) {
let status = ''
if (lesionType === 0 && lesionState === 1) {
status = 'T'
}
if ((lesionType === 0 && lesionState === 3) || (lesionType === 1 && lesionState === 3) || (lesionType === 2 && lesionState === 3)) {
status = 'D'
}
this.$emit('setMarkName', {
annotationUID: annotation.annotationUID,
name: lesionName,
status
})
},
// //
addTarget(tableInfo, annotation) { addTarget(tableInfo, annotation) {
// //
@ -721,8 +736,7 @@ export default {
this.$emit('setMarkName', { this.$emit('setMarkName', {
annotationUID: annotation.annotationUID, annotationUID: annotation.annotationUID,
name: answer.LesionName name: answer.LesionName
} })
)
} }
this.$set(this.innerFormData, `${tableInfo.Id}_${answer.RowIndex}`, {}) this.$set(this.innerFormData, `${tableInfo.Id}_${answer.RowIndex}`, {})
for (const key in answer) { for (const key in answer) {
@ -1462,6 +1476,10 @@ export default {
if (obj.questionMark === 7) { if (obj.questionMark === 7) {
this.$set(this.innerFormData[`${obj.tableId}_${obj.rowIndex}`], 'LesionState', obj.val) this.$set(this.innerFormData[`${obj.tableId}_${obj.rowIndex}`], 'LesionState', obj.val)
let annotation = this.innerFormData[`${obj.tableId}_${obj.rowIndex}`].MeasureData
if (annotation) {
this.setMarkName(this.innerFormData[`${obj.tableId}_${obj.rowIndex}`].LesionType, obj.val, this.innerFormData[`${obj.tableId}_${obj.rowIndex}`].LesionName, annotation)
}
} }
if (obj.questionMark === 8) { if (obj.questionMark === 8) {
this.$set(this.innerFormData[`${obj.tableId}_${obj.rowIndex}`], 'LesionPart', obj.val) this.$set(this.innerFormData[`${obj.tableId}_${obj.rowIndex}`], 'LesionPart', obj.val)