Browse Source

Merge branch 'feat' into test

test
JinxChen 3 months ago
parent
commit
3ea237719e
1 changed files with 7 additions and 3 deletions
  1. +7
    -3
      src/views/health/psychological/reportDetails/index.vue

+ 7
- 3
src/views/health/psychological/reportDetails/index.vue View File

@@ -906,12 +906,16 @@ export default {
/* this.initEchart(); */ /* this.initEchart(); */
if(this.params.current) { if(this.params.current) {
this.current = Number(this.params.current); this.current = Number(this.params.current);
this.currentDays = this.calcDaysByTabClick(
Number(this.params.current)
);
} else { } else {
this.current = Number(this.$store.getters.tabClick) || 0; this.current = Number(this.$store.getters.tabClick) || 0;
this.currentDays = this.calcDaysByTabClick(
Number(this.$store.getters.tabClick)
);
} }
this.currentDays = this.calcDaysByTabClick(
Number(this.$store.getters.tabClick)
);
this.psyCurrent = this.calcPsyTabindex(EmotionModel[this.params.name].type); this.psyCurrent = this.calcPsyTabindex(EmotionModel[this.params.name].type);
window.document.title = "心理监测"; window.document.title = "心理监测";
/* window.addEventListener("resize", this.onResize, false); */ /* window.addEventListener("resize", this.onResize, false); */


Loading…
Cancel
Save