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

export default class ProgramTypeDictService {
  list (params) {
    return request({
      url: prefix + '/program/configuration/type/list',
      method: 'get',
      params: params
    })
  }
  queryById (id) {
    return request({
      url: prefix + '/program/configuration/type/queryById',
      method: 'get',
      params: {id: id}
    })
  }
  getList () {
    return request({
      url: prefix + '/program/configuration/type/getList',
      method: 'get',
      params: {}
    })
  }
  save (inputForm) {
    return request({
      url: prefix + `/program/configuration/type/save`,
      method: 'post',
      data: inputForm
    })
  }
  delete (ids) {
    return request({
      url: prefix + '/program/configuration/type/delete',
      method: 'delete',
      params: {ids: ids}
    })
  }
}
