与基线摄取值变化bug修复
parent
8618b188ae
commit
3646acf378
|
@ -574,13 +574,17 @@ export default {
|
||||||
},
|
},
|
||||||
setUptakeFormBaseline() {
|
setUptakeFormBaseline() {
|
||||||
// 自动计算与基线相比摄取值变化
|
// 自动计算与基线相比摄取值变化
|
||||||
if (!this.isBaseLineTask && this.questionForm[this.pet5PSId] > 0) {
|
if (!this.isBaseLineTask) {
|
||||||
// 当前访视的PET 5ps评分大于基线的PET 5ps评分 增大
|
if (this.questionForm[this.pet5PSId] > 0) {
|
||||||
// 当前访视的PET 5ps评分小于基线的PET 5ps评分 减小
|
// 当前访视的PET 5ps评分大于基线的PET 5ps评分 增大
|
||||||
if (this.questionForm[this.pet5PSId] > this.baseLinePET5PS) {
|
// 当前访视的PET 5ps评分小于基线的PET 5ps评分 减小
|
||||||
this.questionForm[this.uptakeFromBaselineId] = '1'
|
if (this.questionForm[this.pet5PSId] > this.baseLinePET5PS) {
|
||||||
} else if (this.questionForm[this.pet5PSId] < this.baseLinePET5PS) {
|
this.questionForm[this.uptakeFromBaselineId] = '1'
|
||||||
this.questionForm[this.uptakeFromBaselineId] = '2'
|
} else if (this.questionForm[this.pet5PSId] < this.baseLinePET5PS) {
|
||||||
|
this.questionForm[this.uptakeFromBaselineId] = '2'
|
||||||
|
}
|
||||||
|
} else if (this.questionForm[this.pet5PSId] === '' || this.questionForm[this.pet5PSId] === null) {
|
||||||
|
this.questionForm[this.uptakeFromBaselineId] = ''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue