ylrq.js 1022 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. import request from '@/utils/request'
  2. // 查询特种设备压力容器台账历史列表
  3. export function listYlrq(query) {
  4. return request({
  5. url: '/his/ylrq/list',
  6. method: 'get',
  7. params: query
  8. })
  9. }
  10. // 查询特种设备压力容器台账历史详细
  11. export function getYlrq(id) {
  12. return request({
  13. url: '/his/ylrq/' + id,
  14. method: 'get'
  15. })
  16. }
  17. // 新增特种设备压力容器台账历史
  18. export function addYlrq(data) {
  19. return request({
  20. url: '/his/ylrq',
  21. method: 'post',
  22. data: data
  23. })
  24. }
  25. // 修改特种设备压力容器台账历史
  26. export function updateYlrq(data) {
  27. return request({
  28. url: '/his/ylrq',
  29. method: 'put',
  30. data: data
  31. })
  32. }
  33. // 删除特种设备压力容器台账历史
  34. export function delYlrq(id) {
  35. return request({
  36. url: '/his/ylrq/' + id,
  37. method: 'delete'
  38. })
  39. }
  40. // 导出特种设备压力容器台账历史
  41. export function exportYlrq(query) {
  42. return request({
  43. url: '/his/ylrq/export',
  44. method: 'get',
  45. params: query
  46. })
  47. }