disposeRubbishService.js 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. import request from "../../common/request"
  2. export default {
  3. save: function (inputForm) {
  4. console.log('提交的数据',inputForm)
  5. return request({
  6. url: "/dispose/rubbish/save",
  7. method: "post",
  8. data: inputForm,
  9. });
  10. },
  11. queryById: function (id) {
  12. return request({
  13. url: "/dispose/rubbish/queryById",
  14. method: "get",
  15. params: { id: id },
  16. });
  17. },
  18. getMaxNo: function () {
  19. return request({
  20. url: "/dispose/rubbish/getMaxNo",
  21. method: "get",
  22. });
  23. },
  24. getProcessingUnit: function () {
  25. return request({
  26. url: "/dispose/rubbish/getProcessingUnit",
  27. method: "get",
  28. });
  29. },
  30. getUserInfoByOffId: function (officeId) {
  31. return request({
  32. url: "/dispose/rubbish/getUserInfoByOffId",
  33. method: "get",
  34. params: {officeId: officeId}
  35. });
  36. },
  37. getRubbishStation: function () {
  38. return request({
  39. url: "/dispose/rubbish/getRubbishStation",
  40. method: "get",
  41. });
  42. },
  43. getByProcInsId: function (procInsIdList) {
  44. return request({
  45. url: "/dispose/rubbish/getByProcInsId",
  46. method: "get",
  47. params: {procInsIds: procInsIdList.join(",")},
  48. });
  49. },
  50. };