jitairibaobiao.js 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. import service from '@/utils/request'
  2. export const getTab = (data) => {
  3. return service({
  4. url: '/mes_server/packaging_process_output/getTab',
  5. method: 'get',
  6. data
  7. })
  8. }
  9. export const getList = (params) => {
  10. return service({
  11. url: '/mes_server/packaging_process_output/getList',
  12. method: 'get',
  13. params
  14. })
  15. }
  16. export const getInspectCount = (data) => {
  17. return service({
  18. url: '/mes_server/inspect/getInspectCount',
  19. method: 'get',
  20. data
  21. })
  22. }
  23. export const getDateList = (params) => {
  24. return service({
  25. url: '/mes_server/inspect/getDateList',
  26. method: 'get',
  27. params
  28. })
  29. }
  30. export const getMachineCount = (data) => {
  31. return service({
  32. url:'/mes_server/inspect/getMachineCount',
  33. method: 'get',
  34. data
  35. })
  36. }
  37. export const getDateMachine = (params) => {
  38. return service({
  39. url:'/mes_server/inspect/getDateMachine',
  40. method: 'get',
  41. params
  42. })
  43. }
  44. export const getproductionCount = (data) => {
  45. return service({
  46. url:'/mes_server/machine_production_report/getTab',
  47. method: 'get',
  48. data
  49. })
  50. }
  51. export const getproductionList = (params) => {
  52. return service({
  53. url:'/mes_server/machine_production_report/getList',
  54. method: 'get',
  55. params
  56. })
  57. }
  58. export const getproductionaddCount = (data) => {
  59. return service({
  60. url:'/mes_server/machine_production_report_add/getTab',
  61. method: 'get',
  62. data
  63. })
  64. }
  65. export const getproductionaddList = (params) => {
  66. return service({
  67. url:'/mes_server/machine_production_report_add/getList',
  68. method: 'get',
  69. params
  70. })
  71. }