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

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