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

export default class ReimbursementTypeService {
  list (param) {
    return request({
      url: prefix + '/consultancyReimbursement/type/list',
      method: 'get',
      params: param
    })
  }
  bxList (param) {
    return request({
      url: prefix + '/consultancyReimbursement/type/bxList',
      method: 'get',
      params: param
    })
  }
  cgList (param) {
    return request({
      url: prefix + '/consultancyReimbursement/type/cgList',
      method: 'get',
      params: param
    })
  }
  save (param) {
    return request({
      url: prefix + '/consultancyReimbursement/type/save',
      method: 'post',
      data: param
    })
  }
  findById (id) {
    return request({
      url: prefix + '/consultancyReimbursement/type/findById',
      method: 'get',
      params: {id: id}
    })
  }
  remove (id) {
    return request({
      url: prefix + '/consultancyReimbursement/type/deleteById',
      method: 'get',
      params: {id: id}
    })
  }
}
