import request from '@/utils/httpRequest'

export default class ProgramTypeDictService {
  list (params) {
    return request({
      url: '/program/project/list',
      method: 'post',
      data: params
    })
  }
  queryById (id) {
    return request({
      url: '/program/project/findByFileId',
      method: 'get',
      params: {id: id}
    })
  }
  getFileList (inputForm) {
    return request({
      url: '/program/project/getFileList',
      method: 'post',
      data: inputForm
    })
  }
  save (inputForm) {
    return request({
      url: `/program/project/save`,
      method: 'post',
      data: inputForm
    })
  }
  delete (ids) {
    return request({
      url: '/program/project/deleteById',
      method: 'delete',
      params: {id: ids}
    })
  }
}
