charge-query.js 2.63 KB
// 收费查询函数库
import apis from "../apis_moudles/";
import req from "../request";
// 查询寄送列表
const querySendInfoList = function (data) {
  return req.post(apis.querySendInfoList, data);
};
// 删除寄送信息
const DeleteReceiptSendInfo= function (data) {
  return req.post(apis.deleteReceiptSendInfo, data);
};
// 删除寄送信息下的账单信息
const deleteSendReceipt= function (data) {
    return req.post(apis.deleteSendReceipt, data);
  };
// 保存理赔件账单寄送信息
const saceReceipSendInfo= function (data) {
  return req.post(apis.saveReceipSendInfo, data);
};
// 查询寄送包含账单列表
const querySendReceipList = function (data) {
  return req.post(apis.querySendReceipList, data);
};
// 待寄送账单查询
const queryNoSendReceipList = function (data) {
  return req.post(apis.queryNoSendReceipList, data);
};
// get charge list
const getChargeList = function (data) {
  return req.post(apis.getChargeList, data);
};
//获取保险公司数据
const getCompanyOptions = function (data) {
  return req.post(apis.getCompanyOptions, data);
};
// 获取医生列表
const getDoctorListNoPage= function (data) {
  return req.post(apis.getDoctorListNoPage, data);
};
// get charge detail list
const getChargeListDetail = function (data) {
  return req.post(apis.getChargeListDetail, data);
};
// 获取费用支付明细
const getReceiptPaymentDetail= function (data) {
  return req.post(apis.getReceiptPaymentDetail, data);
};
// 理赔件账单寄送查询
const queryCiReceipSendList= function (data) {
  return req.post(apis.queryCiReceipSendList, data);
};
// 账单结算
const receiptSettlement= function (data) {
  return req.post(apis.receiptSettlement, data);
};
// 寄送关联账单导出
const sendReceipListExport= function (data) {
  return req.post(apis.sendReceipListExport, data, { responseType: "blob" });
};
// 寄送关联账单导出
const noSendReceipListExport= function (data) {
  return req.post(apis.noSendReceipListExport, data, { responseType: "blob" });
};
// 账单打印
const receiptPrint= function (data) {
  return req.post(apis.receiptPrint, data);
};
// 账单导出报表
const rceiptListReport = (data) => {
	return req.post(apis.rceiptListReport, data, {responseType: 'blob'});
};

// 对象数组
export default {
  querySendInfoList,
  DeleteReceiptSendInfo,
  deleteSendReceipt,
  saceReceipSendInfo,
  querySendReceipList,
  queryNoSendReceipList,
  getChargeList,
  getCompanyOptions,
  getDoctorListNoPage,
  getChargeListDetail,
  getReceiptPaymentDetail,
  queryCiReceipSendList,
  receiptSettlement,
  sendReceipListExport,
  receiptPrint,
	rceiptListReport,
  noSendReceipListExport,
};