From 78a58d5f65d930c091d7f5967747c7fb9cf06449 Mon Sep 17 00:00:00 2001 From: chenJinxu <2183691628@qq.com> Date: Thu, 28 Dec 2023 14:36:52 +0800 Subject: [PATCH] =?UTF-8?q?update=20-=20=E5=BF=83=E7=90=86=E7=9B=91?= =?UTF-8?q?=E6=B5=8B=E9=A6=96=E9=A1=B5=20=20=20=20=20-=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=20=E6=A0=87=E9=A2=98=E4=B8=BA=E5=BF=83=E7=90=86?= =?UTF-8?q?=E5=91=B5=E6=8A=A4=20=20=20=20=20-=20=E4=BF=AE=E6=94=B9=20?= =?UTF-8?q?=E4=B8=89=E4=B8=AA=E6=8C=87=E6=A0=87=E6=96=87=E5=AD=97?= 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-main/index.vue | 19 +++++++++---------- 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index fa06267..a105704 100644 --- a/README.md +++ b/README.md @@ -871,3 +871,10 @@ update update - 心理监测周报列表 - 增加 无数据文字提示 + +## v1.0.110 +`2023.12.28` +update +- 心理监测首页 + - 修改 标题为心理呵护 + - 修改 三个指标文字 \ No newline at end of file diff --git a/src/config/models.js b/src/config/models.js index 8259e79..f4a304c 100644 --- a/src/config/models.js +++ b/src/config/models.js @@ -5,7 +5,7 @@ * @FilePath: \TelpoH5FrontendWeb\src\config\models.js * @description: */ -export const VERSION_MODEL = '1.0.111F'; //版本号 +export const VERSION_MODEL = '1.0.112F'; //版本号 export const IMAGE_URL = { production: 'http://zfb.ssjlai.com/web/', test: 'http://zfb.ssjlai.com/web/', diff --git a/src/views/health/psychological-main/index.vue b/src/views/health/psychological-main/index.vue index 6aff031..61e43e7 100644 --- a/src/views/health/psychological-main/index.vue +++ b/src/views/health/psychological-main/index.vue @@ -50,9 +50,9 @@ export default { data(){ return { healhtList: [ - /* { value: 40, name: '抑郁倾向', class: 'depression',result: '无抑郁倾向', time: '17:52', img: require('@/assets/img/regardless.png') }, - { value: 55, name: '压力', class: 'stress', result: '轻度压力', time: '17:52', img: require('@/assets/img/regardless.png') }, - { value: 75, name: '疲劳', class: 'tiredness', result: '中度疲劳', time: '17:52', img: require('@/assets/img/moderate.png') }, */ + /* { value: 40, name: '抑郁指数', class: 'depression',result: '无抑郁倾向', time: '17:52', img: require('@/assets/img/regardless.png') }, + { value: 55, name: '压力指数', class: 'stress', result: '轻度压力', time: '17:52', img: require('@/assets/img/regardless.png') }, + { value: 75, name: '疲劳指数', class: 'tiredness', result: '中度疲劳', time: '17:52', img: require('@/assets/img/moderate.png') }, */ ], uid: '', routeDate: '', @@ -68,7 +68,7 @@ export default { mounted() { this.loadParams(); this.$store.commit('tabClick', 0); - window.document.title = '心理监测'; + window.document.title = '心理呵护'; }, methods: { // 获取b端token @@ -115,19 +115,18 @@ export default { params: { ...reqParams }, headers: { 'AccessToken': this.$store.getters.ssjlToken } }).then(res => { - console.log("res", res); const data = res.data.response; if(!data) { return this.$toast.fail(res.data.msg); } this.healhtList = [ // 2023.12.5 修改菜单顺序 - // 疲劳 - { value: data.TirScore, name: '疲劳', class: 'tiredness', result: data.TirDesc, time: data.TirMeasureUpdateTime ? this.$dayjs(data.TirMeasureUpdateTime).format('HH:mm') : '', level: data.TirLevel, img: data.TirScore ? this.calcImg(data.TirLevel, 'tiredness') : '' }, - // 压力 - { value: data.StressScore, name: '压力', class: 'stress', result: data.StressDesc, time: data.StressMeasureUpdateTime ? this.$dayjs(data.StressMeasureUpdateTime).format('HH:mm') : '', level: data.StressLevel, img: data.StressScore ? this.calcImg(data.StressLevel, 'stress') : ''}, + // 疲劳指数 + { value: data.TirScore, name: '疲劳指数', class: 'tiredness', result: data.TirDesc, time: data.TirMeasureUpdateTime ? this.$dayjs(data.TirMeasureUpdateTime).format('HH:mm') : '', level: data.TirLevel, img: data.TirScore ? this.calcImg(data.TirLevel, 'tiredness') : '' }, + // 压力指数 + { value: data.StressScore, name: '压力指数', class: 'stress', result: data.StressDesc, time: data.StressMeasureUpdateTime ? this.$dayjs(data.StressMeasureUpdateTime).format('HH:mm') : '', level: data.StressLevel, img: data.StressScore ? this.calcImg(data.StressLevel, 'stress') : ''}, // 抑郁 - { value: data.DepScore, name: '抑郁倾向', class: 'depression', result: data.DepDesc, time: data.DepMeasureUpdateTime ? this.$dayjs(data.DepMeasureUpdateTime).format('HH:mm'): '', level: data.DepLevel, img: data.DepScore ? this.calcImg(data.DepLevel, 'depression') : ''}, + { value: data.DepScore, name: '抑郁指数', class: 'depression', result: data.DepDesc, time: data.DepMeasureUpdateTime ? this.$dayjs(data.DepMeasureUpdateTime).format('HH:mm'): '', level: data.DepLevel, img: data.DepScore ? this.calcImg(data.DepLevel, 'depression') : ''}, ]; this.$toast.success('数据加载完成'); }).catch(() =>{}).finally(() => { })