update
init
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
// 路径前缀
|
||||
export const apiPrefix = {
|
||||
healthAnswer: 'health-answer', //健康答题
|
||||
healthFoodExercise: 'health-food-exercise', // 运动统计
|
||||
};
|
||||
@@ -0,0 +1,106 @@
|
||||
import { get, post } from '/@/views/mobile/api/api';
|
||||
|
||||
// 登录
|
||||
export const login = (params) => post('login', params);
|
||||
|
||||
// 获取个人信息
|
||||
export const getUserBaseInfo = (params) => get('health-intervene/rest/health-survey/assess/getUserBaseInfo', params);
|
||||
|
||||
// 获取问卷
|
||||
export const questionnaire = (params) => get('health-intervene/rest/health-survey/assess/questionnaire2', params);
|
||||
|
||||
// 提交问卷
|
||||
export const psychologicalEvaluationSubmit = (params) => post('health-intervene/rest/health-survey/assess/psychological-evaluation/submit', params);
|
||||
|
||||
// 获取评估结果
|
||||
export const psychologicalEvaluationGetConclusion = (params) => get('health-intervene/rest/health-survey/assess/psychological-evaluation/getConclusion', params);
|
||||
|
||||
// 提交趣味答题
|
||||
export const funResultSubmit = (params) => post('health-intervene/rest/health-survey/assess/fun-result/submit', params);
|
||||
|
||||
// 获取历史测评
|
||||
export const getHistory = (params) => get('health-intervene/rest/health-survey/assess/psychological-evaluation/getList', params);
|
||||
|
||||
// 是否打开档案
|
||||
export const getBaseInfoStatus = (params) => get('health-intervene/rest/health-eating/analysis/getBaseInfoStatus', params);
|
||||
|
||||
// 健康自助管理
|
||||
export const healthManageHome = (params) => get('health-intervene/rest/health-eating/analysis/healthManageHome', params);
|
||||
|
||||
// 糖尿病首页
|
||||
export const disbetManageHome = (params) => get('health-intervene/rest/health-diabetes/analysis/healthManageHome', params);
|
||||
|
||||
// 糖尿病干预列表
|
||||
export const disbetProposalList = (params) => get('health-intervene/rest/health-diabetes/analysis/getSuggestionsDiabetesIntervention', params);
|
||||
|
||||
// 查询健康检测信息列表
|
||||
export const list = (params) => get('health-intervene/rest/health-eating/input/checkInfo/list/byUserId', params);
|
||||
|
||||
// 糖尿病检测历史数据
|
||||
export const listDiabetes = (params) => get('health-intervene/rest/health-diabetes/input/checkInfoDiabetes/list/byUserId', params);
|
||||
|
||||
// 新增编辑健康检测信息
|
||||
export const addOrEdit = (params) => post('health-intervene/rest/health-eating/input/checkInfo/addOrEdit', params);
|
||||
|
||||
// 新增编辑糖尿病
|
||||
export const addOrEditDiabetes = (params) => post('health-intervene/rest/health-diabetes/input/checkInfoDiabetes/addOrEdit', params);
|
||||
|
||||
// 新增编辑健康检测信息
|
||||
export const checkInfo = (params) => get('health-intervene/rest/health-eating/input/checkInfo', params);
|
||||
|
||||
// 糖尿病检测历史回填数据
|
||||
export const checkInfoDiabetes = (params) => get('health-intervene/rest/health-diabetes/input/checkInfoDiabetes', params);
|
||||
|
||||
// 糖尿病回填题
|
||||
export const diabetesInfo = (params) => get('health-intervene/rest/health-diabetes/input/getDietaryExerciseInfo', params);
|
||||
|
||||
// 吃动平衡回填题
|
||||
export const eatingInfo = (params) => get('health-intervene/rest/health-eating/input/getDietaryExerciseInfo', params);
|
||||
|
||||
// 监测报告 日报
|
||||
export const monitoringReportsOneDay = (params) => get('health-intervene/rest/health-eating/analysis/monitoringReportsOneDay', params);
|
||||
|
||||
// 监测报告 周报
|
||||
export const monitoringReportsOneWeek = (params) => get('health-intervene/rest/health-eating/analysis/monitoringReportsOneWeek', params);
|
||||
|
||||
// 膳食结构调整建议
|
||||
export const getSuggestionsDietaryAdjustment = (params) => get('health-intervene/rest/health-eating/analysis/getSuggestionsDietaryAdjustment', params);
|
||||
|
||||
// 吃动平衡建议
|
||||
export const getSuggestionsOnEating = (params) => get('health-intervene/rest/health-eating/analysis/getSuggestionsOnEating', params);
|
||||
|
||||
// 获取员工基本信息档案和高血压所有详细信息
|
||||
export const getAllInfoByUserId = (params) => get('health-intervene/rest/health-eating/input/getAllInfo/byUserId', params);
|
||||
|
||||
// 获取员工基本信息档案和高血压所有详细信息
|
||||
export const addOrEditByUser = (params) => post('health-intervene/rest/health-eating/input/addOrEdit', params);
|
||||
|
||||
// 获取员工基本信息档案和高血压所有详细信息
|
||||
export const getUserInfo = (params) => post('health-intervene/webjars/health-common/info/userInfo', params);
|
||||
|
||||
// 规律起居 —— 岗位提交
|
||||
export const postStation_living = (params) => post('health-intervene/health-common/user/addOrEdit', params);
|
||||
|
||||
// 规律起居 —— 岗位回显
|
||||
export const getStation_living = (params) => get('health-intervene/health-common/user', params);
|
||||
|
||||
//规律起居 —— 上次监测时间
|
||||
export const times_living = (params) => get('health-intervene/rest/health-rulelife/assess/home', params);
|
||||
|
||||
// 规律起居 —— 历史列表
|
||||
export const history_living = (params) => get('health-intervene/rest/health-rulelife/assess/list', params);
|
||||
|
||||
//规律起居 ——周报回填
|
||||
export const historyById_living = (params) => get('health-intervene/rest/health-rulelife/assess/history', params);
|
||||
|
||||
//规律起居 —— 起居计划
|
||||
export const plan_living = (params) => post('health-intervene/rest/health-rulelife/plan/addOrEdit', params);
|
||||
|
||||
//规律起居 —— 起居计划获取
|
||||
export const getPlan_living = (params) => get('health-intervene/rest/health-rulelife/plan', params);
|
||||
|
||||
//规律起居 —— 周报
|
||||
export const weekly_living = (params) => post('health-intervene/rest/health-rulelife/assess/add', params);
|
||||
|
||||
//规律起居 —— 报告
|
||||
export const report_living = (params) => get('health-intervene/rest/health-rulelife/assess/report', params);
|
||||
Reference in New Issue
Block a user