Rap 原分销系统代码Web
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

fad3591704b947036c7fc9349c7225abd19dd24b.svn-base 568B

5 maanden geleden
12345678910111213141516171819202122232425262728293031323334353637383940
  1. import request from '@/utils/request'
  2. export function getAllJob() {
  3. const params = {
  4. page: 0,
  5. size: 9999,
  6. enabled: true
  7. }
  8. return request({
  9. url: 'api/job',
  10. method: 'get',
  11. params
  12. })
  13. }
  14. export function add(data) {
  15. return request({
  16. url: 'api/job',
  17. method: 'post',
  18. data
  19. })
  20. }
  21. export function del(ids) {
  22. return request({
  23. url: 'api/job',
  24. method: 'delete',
  25. data: ids
  26. })
  27. }
  28. export function edit(data) {
  29. return request({
  30. url: 'api/job',
  31. method: 'put',
  32. data
  33. })
  34. }
  35. export default { add, edit, del }