Bladeren bron

修复 心理周报汇总心理菜单切换异常的问题

test
JinxChen 3 maanden geleden
bovenliggende
commit
14462bcb37
1 gewijzigde bestanden met toevoegingen van 7 en 3 verwijderingen
  1. +7
    -3
      src/views/health/psychological/reportDetails/index.vue

+ 7
- 3
src/views/health/psychological/reportDetails/index.vue Bestand weergeven

@@ -906,12 +906,16 @@ export default {
/* this.initEchart(); */
if(this.params.current) {
this.current = Number(this.params.current);
this.currentDays = this.calcDaysByTabClick(
Number(this.params.current)
);
} else {
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);
window.document.title = "心理监测";
/* window.addEventListener("resize", this.onResize, false); */


Laden…
Annuleren
Opslaan