@@ -159,7 +159,7 @@ export default { | |||||
// 抑郁指数 | // 抑郁指数 | ||||
{ | { | ||||
value: data.DepScore, | value: data.DepScore, | ||||
name: `${anxietyText}指数`, | |||||
name: this.$replaceAll(`抑郁指数`, '抑郁', '焦虑'), | |||||
class: "depression", | class: "depression", | ||||
result: this.$replaceAll(data.DepDesc, '抑郁', '焦虑'), | result: this.$replaceAll(data.DepDesc, '抑郁', '焦虑'), | ||||
time: data.DepMeasureUpdateTime | time: data.DepMeasureUpdateTime | ||||
@@ -685,13 +685,13 @@ export default { | |||||
return this.params.name ? EmotionModel[this.params.name].title1 : '' | return this.params.name ? EmotionModel[this.params.name].title1 : '' | ||||
}, | }, | ||||
article1() { | article1() { | ||||
return EmotionModel[this.params.name].article1; | |||||
return this.params.name ? EmotionModel[this.params.name].article1 : '' | |||||
}, | }, | ||||
title2() { | title2() { | ||||
return EmotionModel[this.params.name].title2; | |||||
return this.params.name ? EmotionModel[this.params.name].title2 : '' | |||||
}, | }, | ||||
article2() { | article2() { | ||||
return EmotionModel[this.params.name].article2; | |||||
return this.params.name ? EmotionModel[this.params.name].article2 : '' | |||||
}, | }, | ||||
// 当前情绪颜色 | // 当前情绪颜色 | ||||
currentColor() { | currentColor() { | ||||