overService.js 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. import request from "../../common/request"
  2. export default {
  3. save: function (inputForm) {
  4. return request({
  5. url: "/look/over/save",
  6. method: "post",
  7. data: inputForm,
  8. });
  9. },
  10. savePhoto: function (inputForm) {
  11. return request({
  12. url: "/look/over/savePhoto",
  13. method: "post",
  14. data: inputForm,
  15. });
  16. },
  17. getMaxNo: function () {
  18. return request({
  19. url: "/look/over/getMaxNo",
  20. method: "get",
  21. });
  22. },
  23. getProcessingUnit: function () {
  24. return request({
  25. url: "/look/over/getProcessingUnit",
  26. method: "get",
  27. });
  28. },
  29. getUserInfoByOffId: function (officeId) {
  30. return request({
  31. url: "/look/over/getUserInfoByOffId",
  32. method: "get",
  33. params: {officeId: officeId}
  34. });
  35. },
  36. queryById: function (id) {
  37. return request({
  38. url: "/look/over/queryById",
  39. method: "get",
  40. params: { id: id },
  41. });
  42. },
  43. getNotDisposeList: function (params) {
  44. return request({
  45. url: "/look/over/getNotDisposeList",
  46. method: "get",
  47. params: params,
  48. });
  49. },
  50. getPhotoListByAttachmentAndFlag: function (attachmentIds, attachmentFlag) {
  51. return request({
  52. url: "/look/over/getPhotoListByAttachmentAndFlag",
  53. method: "get",
  54. params: {
  55. attachmentId: attachmentIds,
  56. attachmentFlag: attachmentFlag
  57. },
  58. });
  59. }
  60. };