Ver código fonte

update

- 心理监测详情
    - 修改 心情等级日历数据接口参数,增加 startDate 和 endDate,删除month参数
master
JinxChen 1 ano atrás
pai
commit
5246762ca6
3 arquivos alterados com 16 adições e 5 exclusões
  1. +9
    -2
      README.md
  2. +2
    -2
      src/config/models.js
  3. +5
    -1
      src/views/health/psychological/index.vue

+ 9
- 2
README.md Ver arquivo

@@ -1,7 +1,7 @@
<!-- <!--
* @Date: 2022-08-17 16:19:13 * @Date: 2022-08-17 16:19:13
* @LastEditors: JinxChen * @LastEditors: JinxChen
* @LastEditTime: 2023-07-08 16:26:33
* @LastEditTime: 2023-07-12 16:52:18
* @FilePath: \TelpoH5FrontendWeb\README.md * @FilePath: \TelpoH5FrontendWeb\README.md
* @description: 项目说明 * @description: 项目说明
--> -->
@@ -650,4 +650,11 @@ update
`2023.7.10` `2023.7.10`
update update
- 心理监测详情 - 心理监测详情
- 修改 饼状图右边百分比取整方式,四舍五入
- 修改 饼状图右边百分比取整方式,四舍五入


## v1.0.81
`2023.7.12`
update
- 心理监测详情
- 修改 心情等级日历数据接口参数,增加 startDate 和 endDate,删除month参数

+ 2
- 2
src/config/models.js Ver arquivo

@@ -1,11 +1,11 @@
/* /*
* @Date: 2021-11-20 10:26:39 * @Date: 2021-11-20 10:26:39
* @LastEditors: JinxChen * @LastEditors: JinxChen
* @LastEditTime: 2023-07-08 16:26:44
* @LastEditTime: 2023-07-12 16:52:30
* @FilePath: \TelpoH5FrontendWeb\src\config\models.js * @FilePath: \TelpoH5FrontendWeb\src\config\models.js
* @description: * @description:
*/ */
export const VERSION_MODEL = '1.0.80F'; //版本号
export const VERSION_MODEL = '1.0.81F'; //版本号
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/',


+ 5
- 1
src/views/health/psychological/index.vue Ver arquivo

@@ -690,10 +690,14 @@ export default {
}, },
// 获取这个月中有数据的日期,控制日历组件的日期样式 // 获取这个月中有数据的日期,控制日历组件的日期样式
getCalendarData() { getCalendarData() {
let currentDate = new Date();
// 获取最近30天的心情等级日历数据
let dateList = this.getPostDate(currentDate, 30, true);
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: this.uid, uid: this.uid,
month: this.$dayjs(new Date()).format('YYYY-MM')
startDate: dateList[0],
endDate: dateList[1],
}; };
axios.get(reqUrl, { axios.get(reqUrl, {
params: { ...reqParams }, params: { ...reqParams },


Carregando…
Cancelar
Salvar