肝分段保存状态维护
continuous-integration/drone/push Build is passing Details

uat_us
caiyiling 2025-01-10 12:31:54 +08:00
parent 85b3960f97
commit 0a473dcae3
1 changed files with 4 additions and 1 deletions

View File

@ -316,7 +316,7 @@ export default {
// saveTypeEnum 01访/2
let isMeasurable = this.getQuestionVal(1105)
const mean = this.getQuestionVal(1104)
if (this.questionForm.saveTypeEnum !== 1) {
if (this.questionForm.saveTypeEnum !== 1 && this.isCurrentTask && this.readingTaskState < 2) {
this.$set(this.questionForm, 'saveTypeEnum', parseInt(isMeasurable) === 1 && isNaN(parseFloat(mean)) ? 1 : 2)
}
this.lesionName = this.getLesionInfo(this.orderMark, this.rowIndex)
@ -346,6 +346,9 @@ export default {
let meanId = this.getQuestionId(1104)
this.$set(this.questionForm, meanId, newMean ? newMean : '')
}
if (this.questionForm.saveTypeEnum === 1 && this.isCurrentTask && this.readingTaskState < 2) {
this.setQuestions()
}
this.isRender = true
// loading.close()
},