血透系统PC前端

inspection.js 899B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. import request from '@/utils/request'
  2. export function fetchInspectionReference(id){
  3. return request({
  4. url:'/api/patient/inspection/reference?patient='+id,
  5. method:'get',
  6. })
  7. }
  8. export function CreatePatientInspection(id, data){
  9. return request({
  10. url:'/api/patient/inspection/create?patient='+id,
  11. method:'post',
  12. data:data,
  13. })
  14. }
  15. export function EditPatientInspection(id, data){
  16. return request({
  17. url:'/api/patient/inspection/edit?patient='+id,
  18. method:'put',
  19. data:data,
  20. })
  21. }
  22. export function DeletePatientInspection(params){
  23. return request({
  24. url:'/api/patient/inspection/delete',
  25. method:'delete',
  26. params:params,
  27. })
  28. }
  29. export function fetchPatientInspections(params){
  30. return request({
  31. url:'/api/patient/inspection/list',
  32. method:'get',
  33. params:params,
  34. })
  35. }