// 物业管理员
import http from "@/apis/axios";
const api = "admin/invoiceInfo/";
export default {
  // 分页查询
  list: (data, params) => http(api + "list", data, "post", params),
  batch: (data, params) => http(api + "status", data, "post", params),
  download: (data, params) => http(api + "download", data, "post", params),
  // 添加
  add: (data, params) => http(api + "unitcreate", data, "post", params),
  // 更新
  update: (data, params) => http(api + "unitedit", data, "post", params),
  // 删除
  delete: (data, params) => http(api + "unitdelete", data, "post", params),
  // 修改状态
  status: (data, params) => http(api + 'unitstatus', data, 'post', params),
};
