import request from '@/plugin/axios'
// 获取下拉选项
// export function getEquipStyleOptions (data) {
//   return request({
//     url: '/equipment/getIdNm',
//     method: 'post',
//     data
//   })
// }
//查询列表
export function getMangeEquipmentList (data) {
  return request({
    url: '/carFacility/getCarFacilityByPage',
    method: 'post',
    data
  })
}
// 新增修改
export function saveOrUpdateEquipment (data) {
  return request({
    url: '/carFacility/saveOrUpdFacility',
    method: 'post',
    data
  })
}
// 查询详细
export function getEquipmentById (data) {
  return request({
    url: '/carFacility/getCarFacilityById',
    method: 'post',
    data
  })
}
// 删除
export function onDeleteEquiment (data) {
  return request({
    url: '/carFacility/deleteCarFacilityById',
    method: 'post',
    data
  })
}