update
This commit is contained in:
@@ -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 获取地图所有资源
|
||||
|
||||
Reference in New Issue
Block a user