From 7aac68a96c258d2e8e4b9e77a056017d4982bbb7 Mon Sep 17 00:00:00 2001 From: chenJinxu <2183691628@qq.com> Date: Mon, 27 May 2024 14:54:26 +0800 Subject: [PATCH] update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 增加 周报详情不显示对比条件 --- README.md | 7 +++++++ src/config/models.js | 2 +- src/views/health/psychological/report/index.vue | 9 +++++---- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4f2a4cd..eff5d86 100644 --- a/README.md +++ b/README.md @@ -1152,3 +1152,10 @@ update update - ‘7天’,‘30天’文字 改成 ‘前7天’,‘前30天’, + +## v1.0.125 + +`2024.5.27` +update + +- 增加 周报详情不显示对比条件 diff --git a/src/config/models.js b/src/config/models.js index 1d95514..67960a8 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.124F'; //版本号 +export const VERSION_MODEL = '1.0.125F'; //版本号 export const IMAGE_URL = { production: 'http://zfb.ssjlai.com/web/', test: 'http://zfb.ssjlai.com/web/', diff --git a/src/views/health/psychological/report/index.vue b/src/views/health/psychological/report/index.vue index 790ed1a..36d6633 100644 --- a/src/views/health/psychological/report/index.vue +++ b/src/views/health/psychological/report/index.vue @@ -63,7 +63,7 @@ }} -
+
- - {{ + + {{ calcWeekImg(item.days, item.lastDay, true) }}

@@ -250,7 +250,7 @@ export default { weekResult: {}, upImg: require("@/assets/img/psychological/up.png"), downImg: require("@/assets/img/psychological/down.png"), - + isShowCompare: null, //是否显示周对比 }; }, created() { @@ -695,6 +695,7 @@ export default { this.weekResult.Summary = this.$replaceAll(data.Summary, '抑郁', '忧郁') this.weekResult.Advice = this.$replaceAll(data.Advice, '抑郁', '忧郁') this.emoName = this.calcTitle(data.Type); + this.isShowCompare = data.LastweekData; } let None = { count: data.None,