|
|
@@ -42,7 +42,8 @@ |
|
|
|
{{ titleLeft }}<van-icon name="question-o" @click="onHelp" /> |
|
|
|
</div> |
|
|
|
<div class="title-right" v-show="currentDays === 0"> |
|
|
|
<p @click="onHistory">历史监测</p> |
|
|
|
<div class="title-right-button" @click="onPsychologicalScale">量表记录</div> |
|
|
|
<div class="title-right-button" @click="onHistory">历史监测</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!-- 日历 --> |
|
|
@@ -1366,6 +1367,17 @@ export default { |
|
|
|
this.echarts = this.$echarts.init(this.$refs.charts); |
|
|
|
this.echarts.setOption(this.defaultOptions); |
|
|
|
}, |
|
|
|
// 点击心理量表记录 |
|
|
|
onPsychologicalScale(){ |
|
|
|
this.$router.push({ |
|
|
|
name: "PsychologicalScaleList", |
|
|
|
query: { |
|
|
|
uid: this.uid, |
|
|
|
accessToken: this.$store.getters.ssjlToken, |
|
|
|
showLeftArrow:1, |
|
|
|
}, |
|
|
|
}); |
|
|
|
}, |
|
|
|
// 点击历史监测,打开日历 |
|
|
|
onHistory() { |
|
|
|
this.calendarDialogShow = true; |
|
|
|