31 lines
917 B
TypeScript
31 lines
917 B
TypeScript
import { get } from '/@/api/request.ts';
|
|
|
|
enum Api {
|
|
server = '/health-emergency/emergency/tblUserHelp/statistics',
|
|
getWorkDaily = '/health-emergency/emergency/ycLargeScreen/medicalCenter',
|
|
getTeamHealth = '/health-emergency/emergency/ycLargeScreen/userHealthCenter',
|
|
getDetail = '/health-medical/medical/hospital/getMedicalHospital',
|
|
}
|
|
|
|
/**
|
|
* @description: 服务详情数据
|
|
* @param params
|
|
*/
|
|
export const serverApi = (params: any) => get(Api.server, params);
|
|
|
|
/**
|
|
* @description 一线医疗点每日工作动态
|
|
* @param params
|
|
*/
|
|
export const getWorkDaily = (params: any) => get(Api.getWorkDaily, params);
|
|
/**
|
|
* @description 员工队伍健康状况
|
|
* @param params
|
|
*/
|
|
export const getTeamHealthApi = (params: any) => get(Api.getTeamHealth, params);
|
|
/**
|
|
* @description 获取体检数据
|
|
* @param params
|
|
*/
|
|
export const getPhysicalData = (params: any) => get(Api.getDetail, params);
|