// 物业管理员
import http from "@/apis/axios";
const api = "admin/";
export default {
  // 详情
  detail: (data, params) => http(api + "consultzxinfo", data, "post", params),
  // 更新
  update: (data, params) => http(api + "zxedit", data, "post", params),
  // 修改状态
  status: (data, params) => http(api + "consultbar", data, "post", params),
  // 分页查询 反馈列表
  feedList: (data, params) => http(api + "consultbidlist", data, "post", params),
  // 添加
  add: (data, params) => http(api + "consultcreate", data, "post", params),
  // 分页查询项目列表
  plist: (data, params) => http(api + "projectlist", data, "post", params),

  // 删除
  delete: (data, params) => http(api + "delete", data, "post", params),
  // 分页查询
  list: (data, params) => http(api + "consultlists", data, "post", params),
  // 项目详情
  pdetail: (data, params) => http(api + "projectinfo", data, "post", params),
  // 议价单创建
  bargain_add: (data, params) => http(api + "consultbaradd", data, "post", params),
  // 竞价单选定商品
  bidscheck: (data, params) => http(api + "bidscheck", data, "post", params),
  // 竞价商品下单
  consultorder: (data, params) => http(api + "consultorder", data, "post", params),
  // 区编码获取省市区汉字
  addrall: (data, params) => http(api + "addrall", data, "post", params),
  // 取实时金价
  golpricelast: (data, params) => http(api + "golpricelast", data, "post", params),
};
