// 物业管理员
import http from "@/apis/axios";
const api = "admin/";
export default {
  // 添加
  add: (data, params) => http(api + "specadd", data, "post", params),
  // 删除
  delete: (data, params) => http(api + "delete", data, "post", params),
  // 分页查询
  list: (data, params) => http(api + "speclist", data, "post", params),
  // 详情
  detail: (data, params) => http(api + "specinfo", data, "post", params),
  // 更新
  update: (data, params) => http(api + "specsave", data, "post", params),
  // 审核
  check: (data, params) => http(api + "specex", data, "post", params),
  // 修改状态
  status: (data, params) => http(api + 'specstatus', data, 'post', params),
  // 提交审核申请
  again: (data, params) => http(api + 'specagain', data, 'post', params),
  // 审核人提交审核结果
  exam: (data, params) => http(api + 'specex', data, 'post', params),
};
