// 物业管理员
import http from "@/apis/axios";
const api = "admin/";
export default {
  // 添加
  add: (data, params) => http(api + "projectcreate", data, "post", params),
  // 删除
  delete: (data, params) => http(api + "Consultdel", data, "post", params),
  // 分页查询
  list: (data, params) => http(api + "projectlist", data, "post", params),
  // 详情
  detail: (data, params) => http(api + "projectinfo", data, "post", params),
  // 更新
  update: (data, params) => http(api + "update", data, "post", params),
  // 修改状态
  status: (data, params) => http(api + "accountstatus", data, "post", params),
  // 分类详情
  catinfo: (data, params) => http(api + "catinfo", data, "post", params),

  // 毛利率修改
  rateEdit: (data, params) => http(api + "projectrate", data, "post", params),
  // 项目返回商品分页查询
  back_good_list: (data, params) => http(api + "projectfeedlist", data, "post", params),
  // 反馈商品选择
  back_good_submit: (data, params) => http(api + "projectfeeddheck", data, "post", params),
  // 查询方案列表
  get_project_plan: (data, params) => http(api + "projectplan", data, "post", params),
  // 选定方案
  change_project_plan: (data, params) => http(api + "plandheck", data, "post", params),
};
