diff --git a/README.md b/README.md index eb806e1..c681b7a 100644 --- a/README.md +++ b/README.md @@ -920,4 +920,9 @@ update ## v1.0.118 `2024.3.25` fix -- 修复 心理监测详情中间组件颜色与接口返回的等级颜色不一致的问题 \ No newline at end of file +- 修复 心理监测详情中间组件颜色与接口返回的等级颜色不一致的问题 + +## v1.0.119 +`2024.3.26` +fix +- 修复 心理监测详情心理组件切换历史检测数据没有发生变化的问题 \ No newline at end of file diff --git a/src/config/models.js b/src/config/models.js index 9237bce..4512a64 100644 --- a/src/config/models.js +++ b/src/config/models.js @@ -8,7 +8,7 @@ import store from "@/store"; // 情绪模型 const appTypeList = ['1']; -export const VERSION_MODEL = '1.0.118F'; //版本号 +export const VERSION_MODEL = '1.0.119F'; //版本号 export const IMAGE_URL = { production: 'http://zfb.ssjlai.com/web/', test: 'http://zfb.ssjlai.com/web/', diff --git a/src/views/health/psychological/index.vue b/src/views/health/psychological/index.vue index 99e232f..9b9d726 100644 --- a/src/views/health/psychological/index.vue +++ b/src/views/health/psychological/index.vue @@ -823,7 +823,7 @@ export default { let data = res.data.response; // const mergedArr = [...new Set([...arr1, ...arr2, ...arr3])]; /* let name = this.params.name.charAt(0).toUpperCase()+ this.params.name.slice(1); */ - let currentName = this.params.name; + let currentName = this.currentEmoName; let list = []; if (currentName === "stress") { list = data.Stress; @@ -1286,8 +1286,10 @@ export default { // 即点击了周报,此时调用获取周报接口 this.getWeekResult(); } else { + this.getPsychologiclData(this.selectDate, this.startDate, this.endDate); } + this.getCalendarData(); }, getCurrentMonthStaAndEnd(currentDate) { let list = [];