import request from '/@/utils/request';

export function saveCheck(params: string) {
	return request({
		url: '/patient/body/check/save',
		method: 'post',
		data: params,
	});
}
export function editCheck(params: string) {
	return request({
		url: '/patient/body/check/update',
		method: 'post',
		data: params,
	});
}
export function deleteCheck(id: string) {
	return request({
		url: '/patient/body/check/delete',
		method: 'post',
        headers: {
            'Content-Type': 'application/x-www-form-urlencoded'
        },
		params: {
			id
		},
	});
}
export function getCheckList(params: object) {
    return request({
      url: '/patient/body/check/list',
      method: 'post',
      params
    })
}