肝脏及pet5ps逻辑优化
parent
612724cbea
commit
88f2c34db9
|
@ -664,9 +664,16 @@ export default {
|
||||||
// this.calculatePet5PS = pet5PS
|
// this.calculatePet5PS = pet5PS
|
||||||
// this.setPet5PSCommentDisplay()
|
// this.setPet5PSCommentDisplay()
|
||||||
// this.setUptakeFormBaseline()
|
// this.setUptakeFormBaseline()
|
||||||
this.questionFormChangeState = true
|
|
||||||
})
|
})
|
||||||
|
for (let i = 0; i < this.questions[0].Childrens[0].Childrens.length; i++) {
|
||||||
|
if (this.questions[0].Childrens[0].Childrens[i].QuestionType === 59) {
|
||||||
|
this.questions[0].Childrens[0].Childrens[i].ShowQuestion = 2
|
||||||
|
this.questions[0].Childrens[0].Childrens[i].IsRequired = 3
|
||||||
|
this.questionForm[this.pet5PSCommentsId] = ''
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
this.questionFormChangeState = true
|
||||||
this.loading = false
|
this.loading = false
|
||||||
}).catch(() => { this.loading = false })
|
}).catch(() => { this.loading = false })
|
||||||
},
|
},
|
||||||
|
|
|
@ -283,7 +283,6 @@ export default {
|
||||||
currentSpleenStatus = isNaN(parseInt(currentSpleenStatus)) ? null : parseInt(currentSpleenStatus)
|
currentSpleenStatus = isNaN(parseInt(currentSpleenStatus)) ? null : parseInt(currentSpleenStatus)
|
||||||
var stIdx = this.measurements.findIndex(i => i.QuestionType === 60)
|
var stIdx = this.measurements.findIndex(i => i.QuestionType === 60)
|
||||||
var slIdx = this.measurements.findIndex(i => i.QuestionType === 61)
|
var slIdx = this.measurements.findIndex(i => i.QuestionType === 61)
|
||||||
var chenckVaild = this.checkAnnotationValid(stIdx, slIdx)
|
|
||||||
|
|
||||||
if (currentSpleenLength && currentSpleenStatus === 5) {
|
if (currentSpleenLength && currentSpleenStatus === 5) {
|
||||||
// '脾脏状态为不可评估,不需要添加标记!'
|
// '脾脏状态为不可评估,不需要添加标记!'
|
||||||
|
@ -299,11 +298,6 @@ export default {
|
||||||
this.$alert(this.$t('trials:lugano:message:validSpleen2'), this.$t('trials:lugano:fusionDialog:warning'), {
|
this.$alert(this.$t('trials:lugano:message:validSpleen2'), this.$t('trials:lugano:fusionDialog:warning'), {
|
||||||
callback: _ => {}
|
callback: _ => {}
|
||||||
})
|
})
|
||||||
} else if (!chenckVaild) {
|
|
||||||
// 校验标记是否在同一序列的不同图像上
|
|
||||||
this.$alert(this.$t('trials:lugano:message:validSpleen3'), this.$t('trials:lugano:fusionDialog:warning'), {
|
|
||||||
callback: _ => {}
|
|
||||||
})
|
|
||||||
} else {
|
} else {
|
||||||
this.saveQuestionsList()
|
this.saveQuestionsList()
|
||||||
}
|
}
|
||||||
|
@ -533,6 +527,16 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
saveAnnotation(question) {
|
saveAnnotation(question) {
|
||||||
|
var stIdx = this.measurements.findIndex(i => i.QuestionType === 60)
|
||||||
|
var slIdx = this.measurements.findIndex(i => i.QuestionType === 61)
|
||||||
|
var chenckVaild = this.checkAnnotationValid(stIdx, slIdx)
|
||||||
|
if (!chenckVaild) {
|
||||||
|
// 校验标记是否在同一序列的不同图像上
|
||||||
|
this.$alert(this.$t('trials:lugano:message:validSpleen3'), this.$t('trials:lugano:fusionDialog:warning'), {
|
||||||
|
callback: _ => {}
|
||||||
|
})
|
||||||
|
return
|
||||||
|
}
|
||||||
this.loading = true
|
this.loading = true
|
||||||
// 获取截图
|
// 获取截图
|
||||||
var annotationObj = this.measurements.find(i => i.QuestionType === question.QuestionType)
|
var annotationObj = this.measurements.find(i => i.QuestionType === question.QuestionType)
|
||||||
|
@ -578,6 +582,14 @@ export default {
|
||||||
await saveTaskQuestion(qsType, params)
|
await saveTaskQuestion(qsType, params)
|
||||||
this.$message.success(this.$t('common:message:savedSuccessfully'))
|
this.$message.success(this.$t('common:message:savedSuccessfully'))
|
||||||
await this.setQuestions()
|
await this.setQuestions()
|
||||||
|
for (let i = 0; i < this.questions[0].Childrens.length; i++) {
|
||||||
|
if (this.questions[0].Childrens[i].QuestionType === 58) {
|
||||||
|
this.questions[0].Childrens[i].ShowQuestion = 2
|
||||||
|
this.questions[0].Childrens[i].IsRequired = 3
|
||||||
|
this.questionForm[this.spleenCommentsId] = ''
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
this.loading = false
|
this.loading = false
|
||||||
this.$set(question, 'SaveEnum', 0)
|
this.$set(question, 'SaveEnum', 0)
|
||||||
DicomEvent.$emit('getReportInfo', true)
|
DicomEvent.$emit('getReportInfo', true)
|
||||||
|
|
Loading…
Reference in New Issue