import request from '@/utils/httpRequest'
import { FLOW_PATH as prefix } from "../../AppPath";

export default class FlowService {
  getHistoicFlowList (procInsId) {
    return request({
      url: prefix+'/ccpm_flow/getHistoicFlowList',
      method: 'get',
      params: {procInsId: procInsId}
    })
  }
  getFlowChart (procInsId) {
    return request({
      url: prefix+'/ccpm_flow/getFlowChart',
      method: 'get',
      params: {procInsId: procInsId}
    })
  }
}
