report.js 887 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. import request from '@/utils/request'
  2. // 查询报告信息列表
  3. export function listInformation(query) {
  4. return request({
  5. url: '/lims/laboratory/reportInformation/list',
  6. method: 'get',
  7. params: query
  8. })
  9. }
  10. // 查询报告信息详细
  11. export function getInformation(id) {
  12. return request({
  13. url: '/lims/laboratory/reportInformation/' + id,
  14. method: 'get'
  15. })
  16. }
  17. // 新增报告信息
  18. export function addInformation(data) {
  19. return request({
  20. url: '/lims/laboratory/reportInformation',
  21. method: 'post',
  22. data: data
  23. })
  24. }
  25. // 修改报告信息
  26. export function updateInformation(data) {
  27. return request({
  28. url: '/lims/laboratory/reportInformation',
  29. method: 'put',
  30. data: data
  31. })
  32. }
  33. // 删除报告信息
  34. export function delInformation(id) {
  35. return request({
  36. url: '/lims/laboratory/reportInformation' + id,
  37. method: 'delete'
  38. })
  39. }