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