processInspection.js 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. import req from '@/utils/request.js'
  2. /**
  3. * 查询用户序检信息
  4. * @param userId
  5. */
  6. export function getProcessInspecionList(data) {
  7. return req.request({
  8. url: '/business/inspecion/list',
  9. method: 'post',
  10. data: data
  11. })
  12. }
  13. /**
  14. * 查询产品技术负责人
  15. */
  16. export function getProductConsult(data) {
  17. return req.request({
  18. url: '/business/inspecion/getProductConsult',
  19. method: 'post',
  20. data: data
  21. })
  22. }
  23. /**
  24. * 结束报工保存
  25. * @param {Object} data
  26. */
  27. export function saveProcessInspecion(data) {
  28. return req.request({
  29. url: '/business/inspecion/saveProcessInspecion',
  30. method: 'post',
  31. data: data
  32. })
  33. }
  34. /**
  35. * 结束报工保存
  36. * @param {Object} data
  37. */
  38. export function saveOutsourcedInspecion(data) {
  39. return req.request({
  40. url: '/business/inspecion/saveOutsourcedInspecion',
  41. method: 'post',
  42. data: data
  43. })
  44. }
  45. /**
  46. * 查询咨询信息
  47. */
  48. export function selectInspecion(data) {
  49. return req.request({
  50. url: '/business/inspecion/selectInspecion',
  51. method: 'post',
  52. data: data
  53. })
  54. }
  55. /**
  56. * 查询箱号绑定批次
  57. */
  58. export function getCarrierInfo(data) {
  59. return req.request({
  60. url: '/business/inspecion/getCarrierInfo',
  61. method: 'post',
  62. data: data
  63. })
  64. }
  65. /**
  66. * 根据箱号查询批
  67. */
  68. export function getLotOutsourcedInfo(data) {
  69. return req.request({
  70. url: '/business/inspecion/getLotOutsourcedInfo',
  71. method: 'post',
  72. data: data
  73. })
  74. }
  75. /**
  76. * 根据箱号查询批次信息
  77. */
  78. export function getLotInfo(data) {
  79. return req.request({
  80. url: '/business/inspecion/getLotInfo',
  81. method: 'post',
  82. data: data
  83. })
  84. }