NoticeService.js 870 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. import request from '@/utils/httpRequest'
  2. export default class NoticeService {
  3. list (params) {
  4. return request({
  5. url: '/flowable/notice/list',
  6. method: 'get',
  7. params: params
  8. })
  9. }
  10. addInfo (params) {
  11. return request({
  12. url: '/flowable/notice/add',
  13. method: 'get',
  14. params: params
  15. })
  16. }
  17. update (params) {
  18. return request({
  19. url: '/flowable/notice/update',
  20. method: 'get',
  21. params: params
  22. })
  23. }
  24. stockUpdate (params) {
  25. return request({
  26. url: '/flowable/notice/stockUpdate',
  27. method: 'get',
  28. params: params
  29. })
  30. }
  31. portionRead (ids) {
  32. return request({
  33. url: '/flowable/notice/portionRead',
  34. method: 'post',
  35. params: {ids: ids}
  36. })
  37. }
  38. readAll () {
  39. return request({
  40. url: '/flowable/notice/readAll',
  41. method: 'post'
  42. })
  43. }
  44. }