diff --git a/src/views/health/psychological/index.scss b/src/views/health/psychological/index.scss index d69d08f..c2c9b89 100644 --- a/src/views/health/psychological/index.scss +++ b/src/views/health/psychological/index.scss @@ -123,6 +123,22 @@ $newBlue: #638EE4; font-size: 18px; } } + + .title-right{ + display: flex; + + .title-right-button{ + color: #638EE4; + font-size: 16px; + border: 1px solid #638EE4; + padding: 2px 10px; + margin-right: 5px; + + &:last-child{ + margin-right: 0; + } + } + } } .monitoring-count { text-align: left; diff --git a/src/views/health/psychological/index.vue b/src/views/health/psychological/index.vue index a67b981..62b3ee3 100644 --- a/src/views/health/psychological/index.vue +++ b/src/views/health/psychological/index.vue @@ -42,7 +42,8 @@ {{ titleLeft }}
-

历史监测

+
量表记录
+
历史监测
@@ -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; diff --git a/src/views/psychological-scale/list.vue b/src/views/psychological-scale/list.vue index 14b00a0..74b392e 100644 --- a/src/views/psychological-scale/list.vue +++ b/src/views/psychological-scale/list.vue @@ -2,7 +2,7 @@