//采购部门报表
import http from "@/apis/axios";
const api = "admin/";
export default {
  // 添加
  add: (data, params) => http(api + "add", data, "post", params),
  // 分页查询
  list: (data, params) => http(api + "cgdlist", data, "post", params),
  // 删除
  delete: (data, params) => http(api + "delete", data, "post", params),
  // 详情
  detail: (data, params) => http(api + "cgdinfo", data, "post", params),
  // 更新
  update: (data, params) => http(api + "cgdedit", data, "post", params),
  
   //咨询单总数
   reportzixuntotal: (data, params) => http(api + "reportzixuntotal", data, "post", params),
   //采购订单总金额
   reportpurcheaseordersum: (data, params) => http(api + "reportpurcheaseordersum", data, "post", params),
   //采购员回复咨询单数
   reportconsultbidssum: (data, params) => http(api + "reportconsultbidssum", data, "post", params),
   //采购员订单金额
   reportpurcheaseordersumbyuser: (data, params) => http(api + "reportpurcheaseordersumbyuser", data, "post", params),
   //已采反报价信息
   reportconsultinfobidssum: (data, params) => http(api + "reportconsultinfobidssum", data, "post", params),
   
};