work.js 882 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. import request from '@/utils/request.js'
  2. const preUrl = '/clientServices.do?iscrypt=1'
  3. // 获取流程 宫格 列表
  4. export function getFlowList(staffId, unitId) {
  5. return request({
  6. url: preUrl,
  7. method: 'post',
  8. data: {
  9. 'serviceId': 'bpm_20150319001GetFlowList',
  10. 'params': {
  11. "staffId": staffId,
  12. "unitid": unitId
  13. }
  14. }
  15. })
  16. }
  17. // 获取流程信息
  18. export function getFlowInfo(staffId, unitId) {
  19. return request({
  20. url: preUrl,
  21. method: 'post',
  22. data: {
  23. 'serviceId': 'bpm_20150319001GetFlowList',
  24. 'params': {
  25. "staffId": staffId,
  26. "unitid": unitId
  27. }
  28. }
  29. })
  30. }
  31. // 获取流程 表单
  32. export function getFlowForm(staffId, unitId) {
  33. return request({
  34. url: preUrl,
  35. method: 'post',
  36. data: {
  37. 'serviceId': 'bpm_20150319001GetFlowList',
  38. 'params': {
  39. "staffId": staffId,
  40. "unitid": unitId
  41. }
  42. }
  43. })
  44. }