flow.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. import {httpApi} from "../../request/httpApi";
  2. export default {
  3. //分页数据
  4. async getPageData(form) {
  5. return httpApi({
  6. url: '/api/blade-business/fixedFlow/page',
  7. method: 'get',
  8. params: form
  9. })
  10. },
  11. //获取系统所有角色划分
  12. async queryAllRoleList(form) {
  13. return httpApi({
  14. url: '/api/blade-business/fixedFlow/queryAllRoleList',
  15. method: 'get',
  16. params: form
  17. });
  18. },
  19. //详情
  20. async queryFixedFlowDetail(form) {
  21. return httpApi({
  22. url: '/api/blade-business/fixedFlow/detail',
  23. method: 'get',
  24. params: form
  25. });
  26. },
  27. //新增
  28. async addFixedFlowData(form) {
  29. return httpApi({
  30. url: '/api/blade-business/fixedFlow/save',
  31. method: 'post',
  32. data: form
  33. });
  34. },
  35. //修改
  36. async updateFixedFlowData(form) {
  37. return httpApi({
  38. url: '/api/blade-business/fixedFlow/update',
  39. method: 'post',
  40. data: form
  41. });
  42. },
  43. }