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

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