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