processInspection.js 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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. * @param userId
  16. */
  17. export function getOutsourcedInspection(data) {
  18. return req.request({
  19. url: '/business/inspecion/outsourcedlist',
  20. method: 'post',
  21. data: data
  22. })
  23. }
  24. /**
  25. * 查询产品技术负责人
  26. */
  27. export function getProductConsult(data) {
  28. return req.request({
  29. url: '/business/inspecion/getProductConsult',
  30. method: 'post',
  31. data: data
  32. })
  33. }
  34. /**
  35. * 结束报工保存
  36. * @param {Object} data
  37. */
  38. export function saveProcessInspecion(data) {
  39. return req.request({
  40. url: '/business/inspecion/saveProcessInspecion',
  41. method: 'post',
  42. data: data
  43. })
  44. }
  45. /**
  46. * 结束报工保存
  47. * @param {Object} data
  48. */
  49. export function saveOutsourcedInspecion(data) {
  50. return req.request({
  51. url: '/business/inspecion/saveOutsourcedInspecion',
  52. method: 'post',
  53. data: data
  54. })
  55. }
  56. /**
  57. * 查询咨询信息
  58. */
  59. export function selectInspecion(data) {
  60. return req.request({
  61. url: '/business/inspecion/selectInspecion',
  62. method: 'post',
  63. data: data
  64. })
  65. }
  66. /**
  67. * 查询咨询信息
  68. */
  69. export function selectOutsourcedInspecion(data) {
  70. return req.request({
  71. url: '/business/inspecion/selectOutsourcedInspecion',
  72. method: 'post',
  73. data: data
  74. })
  75. }
  76. /**
  77. * 查询箱号绑定批次
  78. */
  79. export function getCarrierInfo(data) {
  80. return req.request({
  81. url: '/business/inspecion/getCarrierInfo',
  82. method: 'post',
  83. data: data
  84. })
  85. }
  86. /**
  87. * 根据箱号查询批
  88. */
  89. export function getLotOutsourcedInfo(data) {
  90. return req.request({
  91. url: '/business/inspecion/getLotOutsourcedInfo',
  92. method: 'post',
  93. data: data
  94. })
  95. }
  96. /**
  97. * 根据箱号查询批次信息
  98. */
  99. export function getLotInfo(data) {
  100. return req.request({
  101. url: '/business/inspecion/getLotInfo',
  102. method: 'post',
  103. data: data
  104. })
  105. }