// 物业管理员
import http from "@/apis/axios";
const api = "admin/";
export default {
  // 添加
  add: (data, params) => http(api + "checkcreate", data, "post", params),
  // 删除
  delete: (data, params) => http(api + "checkedell", data, "post", params),
  // 分页查询
  list: (data, params) => http(api + "list", data, "post", params),
  // 详情
  detail: (data, params) => http(api + "checkinfo", data, "post", params),
  // 更新
  update: (data, params) => http(api + "checkedit", data, "post", params),
  // 修改状态
  status: (data, params) => http(api + "checkestatus", data, "post", params),
  // 盘点结果商品列表
  checkgood: (data, params) => http(api + "checkgood", data, "post", params),
  // 导入盘点结果
  checkimport: (data, params) => http(api + "checkimport", data, "post", params),
};
