sortDaywork.js 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. import req from '@/utils/request.js'
  2. /**
  3. * 获取分选报工信息
  4. * @param {Object} data
  5. */
  6. export function getSortingDayworkItem(data) {
  7. return req.request({
  8. url: '/business/sortDaywork/start',
  9. method: 'POST',
  10. data: data
  11. })
  12. }
  13. export function getInspectionList(data) {
  14. return req.request({
  15. url: '/business/sortDaywork/getInspectionList',
  16. method: 'POST',
  17. data: data
  18. })
  19. }
  20. export function selectInstructionList(data) {
  21. return req.request({
  22. url: '/business/sortDaywork/selectInstructionList',
  23. method: 'POST',
  24. data: data
  25. })
  26. }
  27. export function getInstructionInfo(data) {
  28. return req.request({
  29. url: '/business/sortDaywork/getInstructionList',
  30. method: 'POST',
  31. data: data
  32. })
  33. }
  34. export function getStandardList(data) {
  35. return req.request({
  36. url: '/business/sortDaywork/getStandardList',
  37. method: 'Get',
  38. data: data
  39. })
  40. }
  41. export function saveConsult(data) {
  42. return req.request({
  43. url: '/business/sortDaywork/saveConsult',
  44. method: 'POST',
  45. data: data
  46. })
  47. }
  48. export function finish(data) {
  49. return req.request({
  50. url: '/business/sortDaywork/finish',
  51. method: 'POST',
  52. data: data
  53. })
  54. }
  55. export function update(data) {
  56. return req.request({
  57. url: '/business/sortDaywork/update',
  58. method: 'POST',
  59. data: data
  60. })
  61. }
  62. export function showDayworkSave(data) {
  63. return req.request({
  64. url: '/business/sortDaywork/showDayworkSave',
  65. method: 'POST',
  66. data: data
  67. })
  68. }