|
@@ -143,7 +143,7 @@ |
|
|
|
|
|
|
|
|
<p class="title-emo" :style="{color: currentColor}">{{ result }}</p> |
|
|
<p class="title-emo" :style="{color: currentColor}">{{ result }}</p> |
|
|
|
|
|
|
|
|
<span class="font-28">继续保持积极乐观,培养健康的生活习惯,预防消极事件对情绪带来的不良影响。</span> |
|
|
|
|
|
|
|
|
<span class="font-28"><!-- 继续保持积极乐观,培养健康的生活习惯,预防消极事件对情绪带来的不良影响。 -->{{ advice }}</span> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="friendly-reminder"> |
|
|
<div class="friendly-reminder"> |
|
@@ -309,7 +309,8 @@ export default { |
|
|
], |
|
|
], |
|
|
// 选中的日历日期 |
|
|
// 选中的日历日期 |
|
|
selectDate: '', |
|
|
selectDate: '', |
|
|
uid: '' |
|
|
|
|
|
|
|
|
uid: '', |
|
|
|
|
|
advice: '' |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
computed: { |
|
|
computed: { |
|
@@ -801,11 +802,12 @@ export default { |
|
|
// x轴显示数据 |
|
|
// x轴显示数据 |
|
|
this.xAxisData = data.ChartDatas.map(item => { |
|
|
this.xAxisData = data.ChartDatas.map(item => { |
|
|
return this.$dayjs(item.Key.replace(/-/g, "/")).format( |
|
|
return this.$dayjs(item.Key.replace(/-/g, "/")).format( |
|
|
"hh:mm" |
|
|
|
|
|
|
|
|
"HH:mm" |
|
|
); |
|
|
); |
|
|
}); |
|
|
}); |
|
|
// 结果解读 |
|
|
// 结果解读 |
|
|
this.result = data.Result; |
|
|
this.result = data.Result; |
|
|
|
|
|
this.advice = data.Advice; |
|
|
this.$toast.loading({ |
|
|
this.$toast.loading({ |
|
|
message: '数据加载完成' |
|
|
message: '数据加载完成' |
|
|
}); |
|
|
}); |
|
|