import { defHttp } from '/@/utils/http/axios';

enum Api {
  archivesVitalsHistoryQueryList = '/archives/vitalsHistory/query/list',
  archivesVitalsHistoryAddOrEdit = '/archives/vitalsHistory/addOrEdit',
}

/**
 *
 * @author fan
 * @date  2023/07/11 13:59
 * @description: 添加体征数据,权限 - archives:vitalsHistory:edit
 * @method: POST
 */
export const archivesVitalsHistoryAddOrEdit = (params?: object) => {
  return defHttp.post({ url: Api.archivesVitalsHistoryAddOrEdit, params: params });
};

/**
 *
 * @author fan
 * @date  2023/07/11 13:59
 * @description: 查询体征历史数据,权限 -
 * @method: POST
 */
export const archivesVitalsHistoryQueryList = (params?: object) => {
  return defHttp.post({ url: Api.archivesVitalsHistoryQueryList, params: params });
};
