import { defHttp } from '/@/utils/http/axios'; enum Api { getdelInsByIds='/safety/actProcessIns/delInsByIds/15053', getForm = '/safety/actBusiness/getForm', getHistoricFlow = '/safety/actTask/historicFlow/15015', getRunningProcess = '/safety/actProcessIns/getRunningProcess', } /** * 左侧树接口 * @param params */ export const getRunningProcess = (params) => defHttp.get({ url: Api.getRunningProcess, params }); /** * 审批详情-审批历史 * @param params */ export const getHistoricFlow = () => defHttp.get({ url: Api.getHistoricFlow,}); /** * 审批-表单数据 * @param params */ export const getForm = (params) => defHttp.get({ url: Api.getForm,params}); /** * 审批-删除 * @param params */ export const getdelInsByIds = (params) => defHttp.post({ url: Api.getdelInsByIds,params});