脾尖、脾底标记命名更改

uat_us
caiyiling 2024-03-13 09:30:49 +08:00
parent 88887e5d92
commit ae77e4f048
2 changed files with 15 additions and 15 deletions

View File

@ -1118,7 +1118,7 @@ export default {
} }
}, },
modifyMeasuredData(measureObj) { modifyMeasuredData(measureObj) {
if (measureObj.measureData.data.remark === 'Spleen Tip' || measureObj.measureData.data.remark === 'Spleen Floor') { if (measureObj.measureData.data.remark === 'Spleen Top' || measureObj.measureData.data.remark === 'Spleen Bottom') {
this.$refs['ecrf3'].setMeasuredData(measureObj.measureData) this.$refs['ecrf3'].setMeasuredData(measureObj.measureData)
this.isNonTargetMeasurement = false this.isNonTargetMeasurement = false
} else { } else {
@ -1133,7 +1133,7 @@ export default {
}, },
// //
setMeasuredData(measureData) { setMeasuredData(measureData) {
if (this.isNonTargetMeasurement || measureData.data.remark === 'Spleen Tip' || measureData.data.remark === 'Spleen Floor') { if (this.isNonTargetMeasurement || measureData.data.remark === 'Spleen Top' || measureData.data.remark === 'Spleen Bottom') {
this.$refs['ecrf3'].setMeasuredData(measureData) this.$refs['ecrf3'].setMeasuredData(measureData)
this.isNonTargetMeasurement = false this.isNonTargetMeasurement = false
return return

View File

@ -74,8 +74,8 @@ export default {
spleenStatusId: '', spleenStatusId: '',
spleenLengthId: '', spleenLengthId: '',
spleenCommentsId: '', spleenCommentsId: '',
spleenTipId: '', spleenTopId: '',
spleenFloorId: '', spleenBottomId: '',
isBaseLineTask: false, isBaseLineTask: false,
criterionType: null, criterionType: null,
spleenInfo: null, spleenInfo: null,
@ -179,11 +179,11 @@ export default {
} }
if (v.QuestionType === 60) { if (v.QuestionType === 60) {
// //
this.spleenTipId = v.Id this.spleenTopId = v.Id
} }
if (v.QuestionType === 61) { if (v.QuestionType === 61) {
// //
this.spleenFloorId = v.Id this.spleenBottomId = v.Id
} }
} }
if (v.Childrens.length > 0) { if (v.Childrens.length > 0) {
@ -223,11 +223,11 @@ export default {
} }
if (i.QuestionType === 60) { if (i.QuestionType === 60) {
// //
this.spleenTipId = i.Id this.spleenTopId = i.Id
} }
if (i.QuestionType === 61) { if (i.QuestionType === 61) {
// //
this.spleenFloorId = i.Id this.spleenBottomId = i.Id
} }
} }
if (i.Childrens && i.Childrens.length > 0) { if (i.Childrens && i.Childrens.length > 0) {
@ -409,7 +409,7 @@ export default {
const { Id, QuestionType } = obj const { Id, QuestionType } = obj
this.currentQsId = Id this.currentQsId = Id
var idx = this.measurements.findIndex(i => i.QuestionId === Id) var idx = this.measurements.findIndex(i => i.QuestionId === Id)
var orderMarkName = QuestionType === 60 ? 'Spleen Tip' : QuestionType === 61 ? 'Spleen Floor' : '' var orderMarkName = QuestionType === 60 ? 'Spleen Top' : QuestionType === 61 ? 'Spleen Bottom' : ''
if (idx === -1) { if (idx === -1) {
this.measurements.push({ QuestionId: Id, QuestionType: QuestionType, StudyId: '', SeriesId: '', InstanceId: '', MarkTool: '', PicturePath: '', NumberOfFrames: '', MeasureData: '', OrderMarkName: orderMarkName }) this.measurements.push({ QuestionId: Id, QuestionType: QuestionType, StudyId: '', SeriesId: '', InstanceId: '', MarkTool: '', PicturePath: '', NumberOfFrames: '', MeasureData: '', OrderMarkName: orderMarkName })
} }
@ -451,7 +451,7 @@ export default {
idx = this.measurements.findIndex(i => i.OrderMarkName === measurement.data.remark) idx = this.measurements.findIndex(i => i.OrderMarkName === measurement.data.remark)
} }
if (idx === -1) return if (idx === -1) return
var remark = this.measurements[idx].QuestionType === 60 ? 'Spleen Tip' : this.measurements[idx].QuestionType === 61 ? 'Spleen Floor' : '' var remark = this.measurements[idx].QuestionType === 60 ? 'Spleen Top' : this.measurements[idx].QuestionType === 61 ? 'Spleen Bottom' : ''
measurement.data.remark = remark measurement.data.remark = remark
this.measurements[idx].StudyId = measurement.studyId this.measurements[idx].StudyId = measurement.studyId
this.measurements[idx].SeriesId = measurement.seriesId this.measurements[idx].SeriesId = measurement.seriesId
@ -505,13 +505,13 @@ export default {
getSpleenL() { getSpleenL() {
var length = null var length = null
// //
var st = this.questionForm[this.spleenTipId] var st = this.questionForm[this.spleenTopId]
st = isNaN(parseFloat(st)) ? null : parseFloat(st) st = isNaN(parseFloat(st)) ? null : parseFloat(st)
// //
var sf = this.questionForm[this.spleenFloorId] var sb = this.questionForm[this.spleenBottomId]
sf = isNaN(parseFloat(sf)) ? null : parseFloat(sf) sb = isNaN(parseFloat(sb)) ? null : parseFloat(sb)
if (st && sf) { if (st && sb) {
length = Math.abs(st - sf) length = Math.abs(st - sb)
} }
return length return length
}, },