overService.js 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. getPhotoListByIdAndAttachmentFlag: function (ids, attachmentFlag) {
  67. return request({
  68. url: "/look/over/getPhotoListByIdAndAttachmentFlag",
  69. method: "get",
  70. params: {
  71. ids: ids,
  72. attachmentFlag: attachmentFlag
  73. },
  74. });
  75. }
  76. };