overService.js 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. getOfficeOnHamlet: function () {
  37. return request({
  38. url: "/look/over/getOfficeOnHamlet",
  39. method: "get"
  40. });
  41. },
  42. queryById: function (id) {
  43. return request({
  44. url: "/look/over/queryById",
  45. method: "get",
  46. params: { id: id },
  47. });
  48. },
  49. getNotDisposeList: function (params) {
  50. return request({
  51. url: "/look/over/getNotDisposeList",
  52. method: "get",
  53. params: params,
  54. });
  55. },
  56. getPhotoListByAttachmentAndFlag: function (attachmentIds, attachmentFlag) {
  57. return request({
  58. url: "/look/over/getPhotoListByAttachmentAndFlag",
  59. method: "get",
  60. params: {
  61. attachmentId: attachmentIds,
  62. attachmentFlag: attachmentFlag
  63. },
  64. });
  65. }
  66. };