Browse Source

Merge branch 'develop' into test

test
JinxChen 1 year ago
parent
commit
d1a1d1abf9
4 changed files with 16 additions and 6 deletions
  1. +9
    -1
      README.md
  2. +1
    -1
      src/config/models.js
  3. +4
    -2
      src/views/health/psychological/index.vue
  4. +2
    -2
      src/views/psychological-questionnaire/index.vue

+ 9
- 1
README.md View File

@@ -447,4 +447,12 @@ update
update update
- 心理监测详情页面 - 心理监测详情页面
- 优化 图表显示内容,两边增加留白区域 - 优化 图表显示内容,两边增加留白区域
- 优化 7天和30天图表圆角柱形图展示
- 优化 7天和30天图表圆角柱形图展示

## v1.0.55
`2023.5.31`
update
- 心理监测详情页面
- 增加 动态填充uid
- 问卷调查页面
- 修复 toast无限加载的问题

+ 1
- 1
src/config/models.js View File

@@ -5,7 +5,7 @@
* @FilePath: \TelpoH5FrontendWeb\src\config\models.js * @FilePath: \TelpoH5FrontendWeb\src\config\models.js
* @description: * @description:
*/ */
export const VERSION_MODEL = '1.0.54F'; //版本号
export const VERSION_MODEL = '1.0.55F'; //版本号
export const IMAGE_URL = { export const IMAGE_URL = {
production: 'http://zfb.ssjlai.com/web/', production: 'http://zfb.ssjlai.com/web/',
test: 'http://zfb.ssjlai.com/web/', test: 'http://zfb.ssjlai.com/web/',


+ 4
- 2
src/views/health/psychological/index.vue View File

@@ -309,6 +309,7 @@ export default {
], ],
// 选中的日历日期 // 选中的日历日期
selectDate: '', selectDate: '',
uid: ''
}; };
}, },
computed: { computed: {
@@ -630,6 +631,7 @@ export default {
if (params) { if (params) {
this.emoName = EmotionModel[params.name].name; this.emoName = EmotionModel[params.name].name;
this.emoType = EmotionModel[params.name].type; this.emoType = EmotionModel[params.name].type;
this.uid = params.uid;
console.log("当前情绪是", EmotionModel[params.name].name); console.log("当前情绪是", EmotionModel[params.name].name);
} }
}, },
@@ -637,7 +639,7 @@ export default {
getCalendarData() { getCalendarData() {
let reqUrl = `https://dbmq.rzliot.com/heart/api/Data/GetCalendarData`; let reqUrl = `https://dbmq.rzliot.com/heart/api/Data/GetCalendarData`;
let reqParams = { let reqParams = {
uid: "tenghao",
uid: this.uid,
month: this.$dayjs(new Date()).format('YYYY-MM') month: this.$dayjs(new Date()).format('YYYY-MM')
}; };
axios.get(reqUrl, { axios.get(reqUrl, {
@@ -672,7 +674,7 @@ export default {
? this.$dayjs(date).format("YYYY-MM-DD") ? this.$dayjs(date).format("YYYY-MM-DD")
: this.$dayjs(this.defaultDate).format("YYYY-MM-DD") /* "2023-05-23" */; : this.$dayjs(this.defaultDate).format("YYYY-MM-DD") /* "2023-05-23" */;
let reqParams = { let reqParams = {
uid: "tenghao",
uid: this.uid,
startDate: reqDate, startDate: reqDate,
endDate: reqDate, endDate: reqDate,
type: this.emoType type: this.emoType


+ 2
- 2
src/views/psychological-questionnaire/index.vue View File

@@ -177,7 +177,7 @@ export default {
} }
} else { } else {
this.$toast(re.msg) this.$toast(re.msg)
}
}
}, },
async submit() { async submit() {
let temp = { let temp = {
@@ -226,7 +226,7 @@ export default {
this.$toast.loading({ this.$toast.loading({
message: '', message: '',
forbidClick: true, forbidClick: true,
duration: 0,
duration: 1500,
}) })
}, 100) }, 100)
let baseUrl = 'https://dbmq.rzliot.com/heart' let baseUrl = 'https://dbmq.rzliot.com/heart'


Loading…
Cancel
Save