lugano病灶保存验证
parent
29e535a10a
commit
74a8fa2524
|
@ -263,6 +263,7 @@ export default {
|
|||
mounted() {
|
||||
this.trialId = this.$route.query.trialId
|
||||
this.initForm()
|
||||
console.log(this.getQuestionVal(7))
|
||||
},
|
||||
beforeDestroy() {
|
||||
|
||||
|
@ -661,7 +662,8 @@ export default {
|
|||
var idx = this.questions.findIndex(i => i.QuestionMark === questionMark)
|
||||
if (idx > -1) {
|
||||
var questionId = this.questions[idx].Id
|
||||
return this.questionForm[questionId]
|
||||
var answer = this.questionForm[questionId] ? this.questionForm[questionId] : this.answers[questionId]
|
||||
return answer
|
||||
} else {
|
||||
return ''
|
||||
}
|
||||
|
@ -723,6 +725,7 @@ export default {
|
|||
return new Blob([bytesCode], { type: imgtype })
|
||||
},
|
||||
handleSave() {
|
||||
console.log('handleSave')
|
||||
this.$refs.measurementForm.validate(async valid => {
|
||||
if (!valid) return
|
||||
const loading = this.$loading({ fullscreen: true })
|
||||
|
@ -741,6 +744,8 @@ export default {
|
|||
}
|
||||
// 消失、无法评估状态的病灶限制不能测量SUV值
|
||||
var lesionState = this.getQuestionVal(7)
|
||||
console.log(lesionState)
|
||||
lesionState = parseInt(lesionState)
|
||||
if ((lesionState === 2 || lesionState === 3) && this.questionForm.OtherMeasureData) {
|
||||
loading.close()
|
||||
this.$confirm(this.$t('评估状态为无法评估或消失的病灶不能测量SUV值!'), {
|
||||
|
|
Loading…
Reference in New Issue