progressLc.api.ts 831 B

1234567891011121314151617181920212223242526272829303132
  1. import { defHttp } from '/@/utils/http/axios';
  2. enum Api {
  3. getdelInsByIds='/safety/actProcessIns/delInsByIds/15053',
  4. getForm = '/safety/actBusiness/getForm',
  5. getHistoricFlow = '/safety/actTask/historicFlow/15015',
  6. getRunningProcess = '/safety/actProcessIns/getRunningProcess',
  7. }
  8. /**
  9. * 左侧树接口
  10. * @param params
  11. */
  12. export const getRunningProcess = (params) => defHttp.get({ url: Api.getRunningProcess, params });
  13. /**
  14. * 审批详情-审批历史
  15. * @param params
  16. */
  17. export const getHistoricFlow = () => defHttp.get({ url: Api.getHistoricFlow,});
  18. /**
  19. * 审批-表单数据
  20. * @param params
  21. */
  22. export const getForm = (params) => defHttp.get({ url: Api.getForm,params});
  23. /**
  24. * 审批-删除
  25. * @param params
  26. */
  27. export const getdelInsByIds = (params) => defHttp.post({ url: Api.getdelInsByIds,params});