This commit is contained in:
zk
2024-09-23 16:43:57 +08:00
parent ca4a9a8c28
commit 278e91c262
26 changed files with 376 additions and 45 deletions
+16 -5
View File
@@ -2,7 +2,7 @@ import { get, post } from '/@/api/request.ts';
enum Api {
server = '/health-emergency/emergency/tblUserHelp/statistics',
getDetail = '/health-medical/medical/hospital/getMedicalHospital',
getDetail = '/health-medical/medical/hospital/getMedicalHospitalNew',
getMonitorList = '/health-watch/watch/watchMonitorData/getMonitorList',
statisticsNew = '/health-emergency/emergency/LargeScreenNew/statisticsNew',
phoneListNew = '/health-emergency/emergency/LargeScreenNew/phoneListNew',
@@ -27,20 +27,31 @@ export const medicalCenterNew = (params: any) => post(Api.medicalCenterNew, para
* @param params
*/
export const userHealthCenterNew = (params: any) => get(Api.userHealthCenterNew, params);
export const userHealthCenterNew = (params: any) => {
return post(Api.userHealthCenterNew, params);
};
/**
* @description 获取体检数据
* @param params
*/
export const getPhysicalData = (params: any) => get(Api.getDetail, params);
export const getPhysicalData = (params: any) => {
let { centerId, ...other } = params;
return post(Api.getDetail, other);
};
/**
* @description 呼入电话、受理电话
* @param params
*/
export const getPhoneList = (params: any) => post(Api.phoneListNew, params);
//健康终端报警
export const getMonitorList = (params: any) => get(Api.getMonitorList, params);
/**
* @description 健康终端报警
* @param params
*/
export const getMonitorList = (params: any) => {
let { orgCodeList, ...otherParams } = params;
return get(Api.getMonitorList + '?orgCodeList=' + orgCodeList, otherParams);
};
/**
* @description 获取地图所有资源