饮食健康模块新增日历查询,饮水模块新增日历查询,封装日历组件,体重新增曲线页面及接口记录,新增初始体重
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
* @LastEditTime: 2022-01-12 17:13:45
|
||||
*/
|
||||
import { request } from '../index'
|
||||
|
||||
/**
|
||||
* @description:称量体重模块首页
|
||||
*/
|
||||
@@ -15,6 +16,16 @@ const weights = (page) => {
|
||||
data: { page: page }
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* @description:获取曲线进度
|
||||
*/
|
||||
const curves = () => {
|
||||
return request({
|
||||
url: 'health/weights/bight'
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* @description:记录体重
|
||||
* @Date: 2022-01-12 16:46:19
|
||||
@@ -26,7 +37,9 @@ const addWeight = (data) => {
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
export {
|
||||
weights,
|
||||
addWeight
|
||||
addWeight,
|
||||
curves
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user