import { getAction, deleteAction, putAction, postAction, httpAction } from '@/api/manage'

// const addRole = (params)=>postAction("/sys/role/add",params);
// const checkRoleCode = (params)=>getAction("/sys/role/checkRoleCode",params);
// const addPermission= (params)=>postAction("/sys/permission/add",params);
// const deleteByDepartId   = (params)=>deleteAction("/sys/sysDepart/delete",params);

// 项目成本自定义列
const columnsSelect = (params)=>getAction("/customColumns/customColumns/select", params);
const columnsEdit = (params)=>postAction("/customColumns/customColumns/update", params);

// 项目成本成本汇集
// const projectCostHuiji = (params)=>getAction("/projectCostHuiji/projectCostHuiji/list", params);

// 项目成本成本详情-合同额
const proCostContractdetail = (params)=>getAction("/xmcbDetail/comContractInfoExchange/getCrmHteDetail", params);
// 项目成本成本详情-已收款
const proCostYSKdetail = (params)=>getAction("/xmcbDetail/comContractInfoExchange/getCrmYskDetail", params);

// 项目成本对比————总体对比
const getDbList = (params)=>getAction("/projectCost/projectCost/compareList", params);
// 项目汇集对比————总体对比
const getHjList = (params)=>getAction("/projectCostHuiji/projectCostHuiji/compareList", params);
// 项目成本对比————材料费对比
const getDbClList = (params)=>getAction("wzOutboundOrder/wzOutboundOrderH/compareCLFDetailList", params);


export {
  columnsSelect,
  columnsEdit,
  // projectCostHuiji,
  proCostContractdetail,
  proCostYSKdetail,
  getDbList,
  getHjList,
  getDbClList
}



