Commit 8dda0ede authored by WindyWTH's avatar WindyWTH

代码审核内容修改完成

parent ded1aee0
// 用户管理函数库
import apis from "../apis_moudles";
import req from "../request";
import { toQuery } from '@/utils/index'
function toQuery(params) {
if (!params) {
return "";
}
let query = [];
for (let i in params) {
query.push(`${i}=${params[i]}`);
}
return query.join("&");
}
// 对象数组
const GETVERIFYIMG = function () {
const getVerifyImg = function () {
return req.get(apis.getVerifyImg, { responseType: "blob" });
};
const GETVERIFYEMAIL = function (params) {
const getVerifyEmail = function (params) {
const queryStr = toQuery(params);
return req.post(apis.getVerifyEmail + "?" + queryStr);
};
const LOGIN = function (params) {
const login = function (params) {
const queryStr = toQuery(params);
return req.post(apis.login + "?" + queryStr);
};
const LOGINOUT = function () {
const loginOut = function () {
return req.get(apis.loginOut);
};
const RESETPASSWORD = function (params) {
const resetPassword = function (params) {
const queryStr = toQuery(params);
return req.post(apis.pwdReset + "?" + queryStr);
};
export default { GETVERIFYIMG, GETVERIFYEMAIL, LOGIN, LOGINOUT, RESETPASSWORD };
export default { getVerifyImg, getVerifyEmail, login, loginOut, resetPassword };
......@@ -2,56 +2,55 @@
import apis from "../apis_moudles/index";
import req from "../request";
// 示例:获取用户信息
const GETUSERINFO = (params) => {
// 获取用户信息
const getUserInfo = (params) => {
return req.get(apis.getUserInfo, {
params,
});
};
// 保险公司下拉数据
const GETPAYORCODE = (data) => {
const getPayorCode = (data) => {
return req.post(apis.payorCodeList, {
data,
});
};
// get corporate Code 根据保险公司获取客户公司
const GETCORPORATECODEBYPAYOR = (data) => {
const getCorporateCodeByPayor = (data) => {
return req.post(apis.corporateCodeList, data);
};
// get plan Code 根据客户公司获取保险计划
const GETPLANCODEBYCORP = (data) => {
const getPlanCodeByCorp = (data) => {
return req.post(apis.planCodeList, data);
};
// 科室信息
const GETSPECIALTYLIST = (data) => {
const getSpecialtyList = (data) => {
return req.post(apis.specialtyList, data);
};
// 上传图片
const UPLOADIMG = (data) => {
const uploadImg = (data) => {
return req.post(apis.uploadImg, data);
};
// 责任累类型列表
const GETCOVERAGECODE = (data) => {
const getCoverageCode = (data) => {
return req.post(apis.coverageCode, data);
};
// 公共获取码表列表
const GETREFCDBYREFGRP = (data) => {
const getRefcdByRefgrp = (data) => {
return req.post(apis.getRefcdByRefgrp, data);
};
// 校验用户邮箱
const CHECKUSEREMAIL = (data) => {
const checkUserEmail = (data) => {
return req.post(`${apis.checkUserEmail}?userName=${data.userName}`);
};
//
const receiptCount = (data) => {
return req.post(`${apis.receiptCount}`, data);
......@@ -64,16 +63,16 @@ const queryBackReceiptCount = (data) => {
};
// 对象数组
export default {
GETUSERINFO,
GETPAYORCODE,
GETCORPORATECODEBYPAYOR,
GETPLANCODEBYCORP,
GETSPECIALTYLIST,
UPLOADIMG,
getUserInfo,
getPayorCode,
getCorporateCodeByPayor,
getPlanCodeByCorp,
getSpecialtyList,
uploadImg,
receiptCount,
queryBackReceiptCount,
backMoneyReportCount,
GETCOVERAGECODE,
GETREFCDBYREFGRP,
CHECKUSEREMAIL,
getCoverageCode,
getRefcdByRefgrp,
checkUserEmail,
};
......@@ -2,91 +2,91 @@
import apis from "../apis_moudles/";
import req from "../request";
// 查询寄送列表
const QUERYSENDINFOLIST = function (data) {
const querySendInfoList = function (data) {
return req.post(apis.querySendInfoList, data);
};
// 删除寄送信息
const DELETERECEIPTSENDINFO= function (data) {
const DeleteReceiptSendInfo= function (data) {
return req.post(apis.deleteReceiptSendInfo, data);
};
// 删除寄送信息下的账单信息
const DELETESENDRECEIPT= function (data) {
const deleteSendReceipt= function (data) {
return req.post(apis.deleteSendReceipt, data);
};
// 保存理赔件账单寄送信息
const SAVERECEIPSENDINFO= function (data) {
const saceReceipSendInfo= function (data) {
return req.post(apis.saveReceipSendInfo, data);
};
// 查询寄送包含账单列表
const QUERYSENDRECEIPLIST = function (data) {
const querySendReceipList = function (data) {
return req.post(apis.querySendReceipList, data);
};
// 待寄送账单查询
const QUERYNOSENDRECEIPLIST = function (data) {
const queryNoSendReceipList = function (data) {
return req.post(apis.queryNoSendReceipList, data);
};
// get charge list
const GETCHARGELIST = function (data) {
const getChargeList = function (data) {
return req.post(apis.getChargeList, data);
};
//获取保险公司数据
const GETCOMPANYOPTIONS = function (data) {
const getCompanyOptions = function (data) {
return req.post(apis.getCompanyOptions, data);
};
// 获取医生列表
const GETDOCTORlISTNOPAGE= function (data) {
const getDoctorListNoPage= function (data) {
return req.post(apis.getDoctorListNoPage, data);
};
// get charge detail list
const GETCHARGELISTDETAIL = function (data) {
const getChargeListDetail = function (data) {
return req.post(apis.getChargeListDetail, data);
};
// 获取费用支付明细
const GETRECEIPTPAYMENTDETAIL= function (data) {
const getReceiptPaymentDetail= function (data) {
return req.post(apis.getReceiptPaymentDetail, data);
};
// 理赔件账单寄送查询
const QUERYCIRECEIPSENDLIST= function (data) {
const queryCiReceipSendList= function (data) {
return req.post(apis.queryCiReceipSendList, data);
};
// 账单结算
const RECEIPTSETTLEMENT= function (data) {
const receiptSettlement= function (data) {
return req.post(apis.receiptSettlement, data);
};
// 寄送关联账单导出
const SENDRECEIPTLISTEXPORT= function (data) {
const sendReceipListExport= function (data) {
return req.post(apis.sendReceipListExport, data, { responseType: "blob" });
};
// 寄送关联账单导出
const NOSENDRECEIPTLISTEXPORT= function (data) {
const noSendReceipListExport= function (data) {
return req.post(apis.noSendReceipListExport, data, { responseType: "blob" });
};
// 账单打印
const RECEIPTPRINT= function (data) {
const receiptPrint= function (data) {
return req.post(apis.receiptPrint, data);
};
// 账单导出报表
const RceiptListReport = (data) => {
const rceiptListReport = (data) => {
return req.post(apis.rceiptListReport, data, {responseType: 'blob'});
};
// 对象数组
export default {
QUERYSENDINFOLIST,
DELETERECEIPTSENDINFO,
DELETESENDRECEIPT,
SAVERECEIPSENDINFO,
QUERYSENDRECEIPLIST,
QUERYNOSENDRECEIPLIST,
GETCHARGELIST,
GETCOMPANYOPTIONS,
GETDOCTORlISTNOPAGE,
GETCHARGELISTDETAIL,
GETRECEIPTPAYMENTDETAIL,
QUERYCIRECEIPSENDLIST,
RECEIPTSETTLEMENT,
SENDRECEIPTLISTEXPORT,
RECEIPTPRINT,
RceiptListReport,
NOSENDRECEIPTLISTEXPORT,
querySendInfoList,
DeleteReceiptSendInfo,
deleteSendReceipt,
saceReceipSendInfo,
querySendReceipList,
queryNoSendReceipList,
getChargeList,
getCompanyOptions,
getDoctorListNoPage,
getChargeListDetail,
getReceiptPaymentDetail,
queryCiReceipSendList,
receiptSettlement,
sendReceipListExport,
receiptPrint,
rceiptListReport,
noSendReceipListExport,
};
......@@ -3,45 +3,45 @@ import apis from "../apis_moudles/";
import req from "../request";
// get custom list
const GETCUSTOMERLIST = function (data) {
const getCustomerList = function (data) {
return req.post(apis.getCustomerList, data);
};
// get custom detail
const GETCUSTOMERDETAIL = function (data) {
const getCustomerDetail = function (data) {
return req.post(apis.customerDetail, data);
};
// add or update custom data
const UPDATECUSTOMDATA = function (data) {
const updateCustomData = function (data) {
return req.post(apis.updateCustomList, data);
};
// 创建新用户
const CREATENEWCUSTOMER = function (data) {
const createNewCustomer = function (data) {
return req.post(apis.createCustomer, data);
};
// 删除客户
const DELETECUSTOM = function (data) {
const deleteCustomer = function (data) {
return req.post(apis.deleteCustom, data);
};
// 获取用户理赔申请书
const CREATECUSTOMERCLAIMPGF = function (data) {
const createCustomerClaimPdf = function (data) {
return req.post(apis.createClaimPdf, data, { responseType: "blob" });
};
// 获取跳转eccsurl getJumpEccsUrl
const GETJUMPECCSURL = function (data) {
const getJumpEccsUrl = function (data) {
return req.post(apis.getJumpEccsUrl, data);
};
export default {
GETCUSTOMERLIST,
GETCUSTOMERDETAIL,
UPDATECUSTOMDATA,
CREATENEWCUSTOMER,
DELETECUSTOM,
CREATECUSTOMERCLAIMPGF,
GETJUMPECCSURL
getCustomerList,
getCustomerDetail,
updateCustomData,
createNewCustomer,
deleteCustomer,
createCustomerClaimPdf,
getJumpEccsUrl
};
......@@ -3,111 +3,111 @@ import apis from "../apis_moudles/index";
import req from "../request";
//医疗机构列表
const PROVIDERDETAIL = (data) => {
const providerDetail = (data) => {
return req.post(apis.providerDetail, data);
};
//医疗机构修改
const PROVIDERUPDATE = (data) => {
const providerUpdate = (data) => {
return req.post(apis.providerUpdate, data);
};
//医生列表
const DOCTORLIST = (data) => {
const getDoctorList = (data) => {
return req.post(apis.doctorList, data);
};
//删除医生
const DOCTORDELETE = (data) => {
const doctorDelete = (data) => {
return req.post(apis.doctorDelete, data);
};
//新增医生
const DOCTORCREATE = (data) => {
const doctorCreate = (data) => {
return req.post(apis.doctorCreate, data);
};
//修改医生
const DOCTORUPDATE = (data) => {
const doctorUpdate = (data) => {
return req.post(apis.doctorUpdate, data);
};
/*-------------保险公司-----------------*/
//保险公司列表
const PAYORLIST = (data) => {
const getPayorList = (data) => {
return req.post(apis.payorList, data);
};
//新增保险公司
const CREATEPAY = (data) => {
const createPayor = (data) => {
return req.post(apis.createPayor, data);
};
//保险公司详情
const PAYORDETAIL = (data) => {
const getPayorDetail = (data) => {
return req.post(apis.payorDetail, data);
};
//保险公司修改
const PAYORUPDATE = (data) => {
const payorUpdate = (data) => {
return req.post(apis.payorUpdate, data);
};
//保险公司删除
const PAYORDELETE = (data) => {
const payorDelete = (data) => {
return req.post(apis.payorDelete, data);
};
/*-------------折扣信息-----------------*/
//新增折扣信息
const PAYORADDDISCOUNT = (data) => {
const payorAddDiscount = (data) => {
return req.post(apis.payorAddDiscount, data);
};
//编辑折扣信息
const PAYORADDDISCOUNTBENEFIT = (data) => {
const payorAddDiscountBenefit = (data) => {
return req.post(apis.payorAddDiscountBenefit, data);
};
//删除折扣信息
const PAYORDISCOUNTDELETE = (data) => {
const payorDiscountDelete = (data) => {
return req.post(apis.payorDiscountDelete, data);
};
/*-------------科室信息-----------------*/
//创建科室
const SPECIALTYCREATE = (data) => {
const specialtyCreate = (data) => {
return req.post(apis.specialtyCreate, data);
};
//修改科室
const SPECIALTYUPDATE = (data) => {
const specialtyUpdate = (data) => {
return req.post(apis.specialtyUpdate, data);
};
//科室列表
const SPECIALTYLISTPAGE = (data) => {
const specialtyListPage = (data) => {
return req.post(apis.specialtyListPage, data);
};
//科室删除
const SPECIALTYDELETE = (data) => {
const specialtyDelete = (data) => {
return req.post(apis.specialtyDelete, data);
};
// 对象数组
export default {
PROVIDERDETAIL,
PROVIDERUPDATE,
DOCTORLIST,
DOCTORDELETE,
DOCTORCREATE,
DOCTORUPDATE,
PAYORLIST,
CREATEPAY,
PAYORDETAIL,
PAYORUPDATE,
PAYORDELETE,
PAYORADDDISCOUNT,
PAYORADDDISCOUNTBENEFIT,
PAYORDISCOUNTDELETE,
SPECIALTYCREATE,
SPECIALTYUPDATE,
SPECIALTYLISTPAGE,
SPECIALTYDELETE
providerDetail,
providerUpdate,
getDoctorList,
doctorDelete,
doctorCreate,
doctorUpdate,
getPayorList,
createPayor,
getPayorDetail,
payorUpdate,
payorDelete,
payorAddDiscount,
payorAddDiscountBenefit,
payorDiscountDelete,
specialtyCreate,
specialtyUpdate,
specialtyListPage,
specialtyDelete
};
......@@ -3,77 +3,77 @@ import apis from "../apis_moudles/index";
import req from "../request";
//患者列表无分页
const PATIENTLISTNOPAGE = (data) => {
const patientListNoPage = (data) => {
return req.post(apis.patientListNoPage, data);
};
//根据患者查询保司列表
const PATIENTPAYORLIST = (data) => {
const patientPayorList = (data) => {
return req.post(apis.patientPayorList, data);
};
//根据患者查询保单列表
const PATIENTPOLICYLIST = (data) => {
const patientPolicyList = (data) => {
return req.post(apis.patientPolicyList, data);
};
//创建预授权
const AUTHORIZECREATE = function (data) {
const createAuthorize = function (data) {
return req.post(apis.createAuthorize, data);
};
//预授权列表
const AUTHORIZELIST = function (data) {
const getAuthorizeList = function (data) {
return req.post(apis.authorizeList, data);
};
//预授权详情
const AUTHORIZEDETAIL = function (data) {
const getAuthorizeDetail = function (data) {
return req.post(apis.authorizeDetail, data);
};
//预授权修改
const AUTHORIZEUPDATE = function (data) {
const authorizeUpdate = function (data) {
return req.post(apis.authorizeUpdate, data);
};
//预授权删除
const AUTHORIZEDELETE = function (data) {
const authorizeDelete = function (data) {
return req.post(apis.authorizeDelete, data);
};
//预授权使用列表
const AUTHORIZEUSELIST = function (data) {
const authorizeUseList = function (data) {
return req.post(apis.authorizeUseList, data);
};
//新增预授权使用
const AUTHORIZEUSEADD = function (data) {
const authorizeUseAdd = function (data) {
return req.post(apis.authorizeUseAdd, data);
};
//预授权邮件
const AUTHORIZESENDEMAIL = function (data) {
const authorizeSendEmail = function (data) {
return req.post(apis.authorizeSendEmail, data);
};
//预览邮件
const AUTHORIZEVIEWEMAIL = function (data) {
const authorizeEmailView = function (data) {
return req.post(apis.authorizeEmailView, data);
};
// 对象数组
export default {
PATIENTLISTNOPAGE,
PATIENTPAYORLIST,
PATIENTPOLICYLIST,
AUTHORIZECREATE,
AUTHORIZELIST,
AUTHORIZEDETAIL,
AUTHORIZEUPDATE,
AUTHORIZEDELETE,
AUTHORIZEUSELIST,
AUTHORIZEUSEADD,
AUTHORIZESENDEMAIL,
AUTHORIZEVIEWEMAIL,
patientListNoPage,
patientPayorList,
patientPolicyList,
createAuthorize,
getAuthorizeList,
getAuthorizeDetail,
authorizeUpdate,
authorizeDelete,
authorizeUseList,
authorizeUseAdd,
authorizeSendEmail,
authorizeEmailView,
};
......@@ -3,12 +3,12 @@ import apis from "../apis_moudles/index";
import req from "../request";
// 理赔报表数据查询
const RECEIPTREPORTLIST = (data) => {
const receiptReportList = (data) => {
return req.post(apis.receiptReportList, data);
};
// 理赔报表数据导出
const EXPORTRECEIPTREPORTLIST = (data) => {
const exportReceiptReportList = (data) => {
return req.post(apis.exportReceiptReportList, data, {responseType: 'blob'});
};
......@@ -24,8 +24,8 @@ const exportBackMoneyReport = (data) => {
// 对象数组
export default {
RECEIPTREPORTLIST,
EXPORTRECEIPTREPORTLIST,
receiptReportList,
exportReceiptReportList,
backMoneyReport,
exportBackMoneyReport,
};
......@@ -3,96 +3,96 @@ import apis from "../apis_moudles/verification.js";
import req from "../request";
//EOB列表查询
const QUERYEOBLIST = (data) => {
const queryEobList = (data) => {
return req.post(apis.queryEobList, data);
};
//EOB待核销账单查询
const QUERYEOBRECEIPTLIST = (data) => {
const queryEobReceiptList = (data) => {
return req.post(apis.queryEobReceiptList, data);
};
//EOB待确认账单列表查询
const QUERYEOBNEEDRECEIPTLIST = (data) => {
const queryEobNeedReceiptList = (data) => {
return req.post(apis.queryEobNeedReceiptList, data);
};
//EOB新建
const SAVEEOBRECEIPTINFO = (data) => {
const saveEobReceiptInfo = (data) => {
return req.post(apis.saveEobReceiptInfo, data);
};
//删除EOB
const DELEOBRECEIPTINFO = (data) => {
const deleteEobReceiptInfo = (data) => {
return req.post(apis.deleteEobReceiptInfo, data);
};
//回款列表
const QUERYBACKMONEYLIST = (data) => {
const queryBackMoneyList = (data) => {
return req.post(apis.queryBackMoneyList, data);
};
//回款关联EOB列表查询
const QUERYBACKEOBLIST = (data) => {
const queryBackEobList = (data) => {
return req.post(apis.queryBackEobList, data);
};
//待回款EOB列表查询
const QUERYEOBINFOLIST = (data) => {
const queryEobInfoList = (data) => {
return req.post(apis.queryEobInfoList, data);
};
//新建回款
const SAVEBACKMONEY = (data) => {
const saveBackMoney = (data) => {
return req.post(apis.saveBackMoney, data);
};
//删除回款
const DELETEBACKMONEY = (data) => {
const deleteBackMoney = (data) => {
return req.post(apis.deleteBackMoney, data);
};
//EOB关联账单导出
const EOBRECEIPLISTEXPORT = (data={}) => {
const eobReceipListExport = (data={}) => {
return req.post(apis.eobReceipListExport, data, { responseType: "blob" });
};
//回销关联账单列表查询
const QUERYBACKRECEIPTLIST = (data) => {
const queryBackReceiptList = (data) => {
return req.post(apis.queryBackReceiptList, data);
};
//回销账单列表查询
const QUERYBACKRECEIPTINFOLIST = (data) => {
const queryReceiptInfoList = (data) => {
return req.post(apis.queryReceiptInfoList, data);
};
// 删除已关联账单
const DELETERECEIPTRECORD = (data) => {
const deleteReceiptRecord = (data) => {
return req.post(apis.deleteReceiptRecord, data);
};
// 回款列表导出
const EXPORTBACKMONEYREPORT = (data) => {
const backMoneyListExport = (data) => {
return req.post(apis.backMoneyListExport, data, { responseType: "blob" });
};
// 关联账单导出
const EXPORTBACKRECEIPTLIST = (data) => {
const exportBackReceiptList = (data) => {
return req.post(apis.exportBackReceiptList, data, { responseType: "blob" });
};
// 对象数组
export default {
QUERYEOBLIST,
QUERYEOBRECEIPTLIST,
QUERYEOBNEEDRECEIPTLIST,
SAVEEOBRECEIPTINFO,
DELEOBRECEIPTINFO,
QUERYBACKMONEYLIST,
QUERYBACKEOBLIST,
QUERYEOBINFOLIST,
SAVEBACKMONEY,
DELETEBACKMONEY,
EOBRECEIPLISTEXPORT,
QUERYBACKRECEIPTLIST,
QUERYBACKRECEIPTINFOLIST,
DELETERECEIPTRECORD,
EXPORTBACKMONEYREPORT,
EXPORTBACKRECEIPTLIST
queryEobList,
queryEobReceiptList,
queryEobNeedReceiptList,
saveEobReceiptInfo,
deleteEobReceiptInfo,
queryBackMoneyList,
queryBackEobList,
queryEobInfoList,
saveBackMoney,
deleteBackMoney,
eobReceipListExport,
queryBackReceiptList,
queryReceiptInfoList,
deleteReceiptRecord,
backMoneyListExport,
exportBackReceiptList
};
\ No newline at end of file
......@@ -50,7 +50,7 @@ const EDITBENEFITLIST = (data) => {
return req.post(apis.editBenefit, data);
};
const GETCOVERAGECODE = (data) => {
const getWelfareCoverageCode = (data) => {
return req.post(apis.coverageCode, data);
};
......@@ -89,7 +89,7 @@ export default {
GETBENEFITSHOWLIST,
ADDBENEFITLIST,
EDITBENEFITLIST,
GETCOVERAGECODE,
getWelfareCoverageCode,
ADDCOVERAGEDATA,
EDITCOVERAGEDATA,
GETFREQUENCYCODE,
......
......@@ -9,14 +9,14 @@ const sexOptions = [{
}];
//寄送状态
const SendStatusOptions = [
const sendStatusOptions = [
{ name: '未寄送', value: '1'},
{ name: '寄送', value: '2'},
{ name: '待寄送', value: '3'},
];
//理赔状态
const ClaimsStatusOptions = [
const claimsStatusOptions = [
{ name: '赔付', value: '01'},
{ name: '部分赔付', value: '02'},
{ name: '拒赔', value: '03'},
......@@ -24,14 +24,14 @@ const ClaimsStatusOptions = [
];
//EOB状态
const EOBStatusOptions = [
const eobStatusOptions = [
{ name: '待回款', value: '1'},
{ name: '已回款', value: '2'},
{ name: '未回款', value: '3'}
];
//申请状态
const ApplyStatusOptions = [
const applyStatusOptions = [
{ name: '申请中', value: '01'},
{ name: '预授权批准', value: '02'},
{ name: '预授权拒绝', value: '03'},
......@@ -39,13 +39,13 @@ const ApplyStatusOptions = [
];
//审批结果
const ApproveStatusOptions = [
const approveStatusOptions = [
{ name: '未通过', value: '1'},
{ name: '已通过', value: '2'}
];
//monetUnit
const MoneyUnitOptions = [
const moneyUnitOptions = [
{ name: '', value: '01'},
{ name: '美元', value: '02'},
{ name: '英镑', value: '03'},
......@@ -61,11 +61,11 @@ const receiptTypeOptions = [
module.exports = {
sexOptions,
SendStatusOptions,
ClaimsStatusOptions,
EOBStatusOptions,
ApplyStatusOptions,
ApproveStatusOptions,
MoneyUnitOptions,
sendStatusOptions,
claimsStatusOptions,
eobStatusOptions,
applyStatusOptions,
approveStatusOptions,
moneyUnitOptions,
receiptTypeOptions
}
\ No newline at end of file
import bus from "../utils/bus";
import {sexOptions, SendStatusOptions, ClaimsStatusOptions, EOBStatusOptions,
ApplyStatusOptions,ApproveStatusOptions} from '@/utils/utilsdictOptions.js'
import {sexOptions, sendStatusOptions, claimsStatusOptions, eobStatusOptions,
applyStatusOptions,approveStatusOptions} from '@/assets/js/utilsdictOptions.js'
// 全局混入将会影响每个单文件组件,请慎重思考是否要混入
export default {
......@@ -25,7 +25,7 @@ export default {
if (!val) {
return;
}
const item = SendStatusOptions.find((item) => {
const item = sendStatusOptions.find((item) => {
return item.value == val;
});
return item? item.name: "";
......@@ -35,7 +35,7 @@ export default {
if (!val) {
return;
}
const item = ClaimsStatusOptions.find((item) => {
const item = claimsStatusOptions.find((item) => {
return item.value == val;
});
return item? item.name: "";
......@@ -45,7 +45,7 @@ export default {
if (!val) {
return;
}
const item = EOBStatusOptions.find((item) => {
const item = eobStatusOptions.find((item) => {
return item.value == val;
});
return item? item.name: "";
......@@ -55,7 +55,7 @@ export default {
if (!val) {
return;
}
const item = ApplyStatusOptions.find((item) => {
const item = applyStatusOptions.find((item) => {
return item.value == val;
});
return item? item.name: "";
......@@ -65,7 +65,7 @@ export default {
if (!val) {
return;
}
const item = ApproveStatusOptions.find((item) => {
const item = approveStatusOptions.find((item) => {
return item.value == val;
});
return item? item.name: "";
......
import NProgress from "nprogress";
import "nprogress/nprogress.css";
// import store from "@/store/index";
import getPageTitle from "@/utils/get-page-title";
// 路由页面路由首位配置
......@@ -14,9 +13,7 @@ export default (VueRouter, router) => {
return VueRouterPush.call(this, to).catch((err) => err);
};
// 页面路由切换时进度条
// let router = new VueRouter();
router.beforeEach((to, from, next) => {
// console.log(store);
NProgress.start();
document.title = getPageTitle(to.fullPath);
next();
......
......@@ -64,12 +64,6 @@ export function downloadFile(response, file_name = "ExportFile") {
url,
file_name
}
// let link = document.createElement('a');
// link.setAttribute('href', url);
// link.setAttribute('download', file_name);
// document.body.appendChild(link);
// link.click();
// document.body.removeChild(link);
}
}
......@@ -91,6 +85,17 @@ export function exportFile(res, file_name) {
export const numValid = /^([1-9][0-9]*|0)([.][0-9]+)?$/
// 对象转换成query字符串
export const toQuery = (params) => {
if (!params) {
return "";
}
let query = [];
for (let i in params) {
query.push(`${i}=${params[i]}`);
}
return query.join("&");
}
// 数值计算
export const accuracy = {
division(arg1, arg2) {
......
......@@ -129,7 +129,7 @@ export default {
//校验用户邮箱
checkUserEmail(data){
return new Promise((resolve,reject)=>{
this.$apis.CHECKUSEREMAIL({
this.$apis.checkUserEmail({
userName: data.userName
})
.then((res)=>{
......@@ -151,7 +151,7 @@ export default {
okText: "确认",
cancelText: "取消",
onOk: () => {
this.$apis.GETVERIFYEMAIL(data).then((res) => {
this.$apis.getVerifyEmail(data).then((res) => {
if (res.returnCode === "0000") {
this.$message.success(res.returnMsg || "发送成功");
} else {
......@@ -164,7 +164,7 @@ export default {
}
},
_reset(data) {
this.$apis.RESETPASSWORD(data).then((res) => {
this.$apis.resetPassword(data).then((res) => {
if (res.returnCode === "0000") {
this.$message.success(res.returnMsg || "修改成功");
this.$router.replace("/login");
......
......@@ -75,13 +75,13 @@ export default {
});
},
_getVerifyImg() {
this.$apis.GETVERIFYIMG().then((res) => {
this.$apis.getVerifyImg().then((res) => {
const { url } = downloadFile(res);
this.verifyImg = url || "";
});
},
_login() {
this.$apis.LOGIN(this.form).then((res) => {
this.$apis.login(this.form).then((res) => {
if (res.returnCode === "0000") {
this.$store.commit("common/setUserInfo", res.content);
const path = this.$route.query && this.$route.query.redirect || "/home";
......
......@@ -33,16 +33,6 @@
<a-date-picker value-format="YYYY-MM-DD 00:00:00" v-model="form.receiptDate" placeholder="就诊时间" disabled/>
</a-form-model-item>
</a-col>
<!-- <a-col :xl="16" :lg="12" :sm="12" class="none-label">
<a-form-model-item label="button">
<a-button class="mar-left10" type="primary" @click="handlerReset">
<Icon name="ssireset" :size="14" />重置
</a-button>
<a-button class="mar-left10" type="primary" @click="handlerSearch">
<Icon name="ssisearch_active" :size="14" />查询
</a-button>
</a-form-model-item>
</a-col> -->
</a-row>
</a-form-model>
......@@ -60,23 +50,6 @@
<!--分页-->
<BurtPagination :pagination="pagination" @pageChange="_getChargeListDetail" />
<!-- <div class="title-div">费用支付明细</div>
<a-table :columns="payColumns" :data-source="payDataList" :scroll="{ x: true }" :pagination="false" class="payTable">
<template slot="paymentType" slot-scope="text">
<a-button class="danger">{{ text | payStyleFilters }}</a-button>
</template>
</a-table>
<a-row :gutter="30">
<a-col :sm="24">
<div class="btn-div flex">
<a-button type="primary" @click="receiptEvt">
<Icon name="ssibaocun" :size="14" />结算</a-button>
<a-button type="primary" class="mar-left10" @click="printEvt">
<Icon name="ssidayinji_o" :size="14" />打印</a-button>
</div>
</a-col>
</a-row> -->
<a-modal title="编辑" :visible="dialogShow" width="700px" :maskClosable="false"
okText="确定" cancelText="取消"
@ok="handleEditOK" @cancel="dialogShow = false">
......@@ -92,8 +65,8 @@
</template>
<script>
import Goback from "@/components/CUSTOMER/goback";
import BurtPagination from "@/components/CUSTOMER/pagation";
import Goback from "@/components/Customer/goback";
import BurtPagination from "@/components/Customer/pagation";
import { mapState } from "vuex"
export default {
data() {
......@@ -105,14 +78,8 @@ export default {
{ title: "单位", dataIndex: "itemUnitDesc", width: 180 },
{ title: "金额", dataIndex: "chargeAmount", width: 180 },
{ title: "折扣(%)", dataIndex: "discountAmount", width: 180 },
// { title: "折后金额", dataIndex: "actualAmount", width: 180 },
{ title: "减免金额", dataIndex: "reduceAmount", width: 180 },
{ title: "实际金额", dataIndex: "paidAmount", width: 180 },
// { title: "免赔额", dataIndex: "deductible", width: 180 },
// { title: "自付额", dataIndex: "selfPaid", width: 180 },
// { title: "其他费用", dataIndex: "otherPaid", width: 180 },
// { title: "理赔金额", dataIndex: "actualPaid", width: 180 },
// { title: "操作", key: "operation", width: "175px", fixed: "right", scopedSlots: { customRender: "operation" },align: "center"},
];
const payColumns = [
{ title: "免赔额", dataIndex: "deductible", width: 180 },
......@@ -218,7 +185,7 @@ export default {
basereceiptId: this.form.externalId,
...this.pager,
};
this.$apis.GETCHARGELISTDETAIL(data).then((res) => {
this.$apis.getChargeListDetail(data).then((res) => {
console.log("11111111111获取table信息=", res);
if (res.returnCode == "0000") {
this.dataList = (res.content && res.content.list) || [];
......@@ -230,7 +197,7 @@ export default {
},
// 获取保险公司下拉选项
_getCompanyOptions() {
this.$apis.GETCOMPANYOPTIONS().then((res) => {
this.$apis.getCompanyOptions().then((res) => {
console.log("获取保险公司下拉选项", res);
if (res.returnCode == "0000") {
let existPayor = false
......@@ -254,7 +221,7 @@ export default {
},
// 获取看诊医生下拉选项
_getDoctorListNoPage(){
this.$apis.GETDOCTORlISTNOPAGE({"providerId": this.userInfo.providerId}).then((res) => {
this.$apis.getDoctorListNoPage({"providerId": this.userInfo.providerId}).then((res) => {
if (res.returnCode === "0000") {
this.doctorOptions = res.content || [];
}else{
......@@ -269,7 +236,7 @@ export default {
receiptNo: this.receiptNo,
...this.payPager,
};
this.$apis.GETRECEIPTPAYMENTDETAIL(params).then((res) => {
this.$apis.getReceiptPaymentDetail(params).then((res) => {
console.log("获取费用支付明细", res);
if (res.returnCode == "0000") {
let content = res.content || {};
......@@ -287,7 +254,7 @@ export default {
okText: "确定",
cancelText: "取消",
onOk: () => {
this.$apis.RECEIPTSETTLEMENT({
this.$apis.receiptSettlement({
id: this.form.id
}).then((res) => {
if (res.returnCode === "0000") {
......@@ -303,7 +270,7 @@ export default {
},
//打印
printEvt(){
this.$apis.RECEIPTPRINT({
this.$apis.receiptPrint({
id: this.form.id
}).then(res => {
if(res.returnCode == '0000'){
......
......@@ -118,11 +118,7 @@
{{ index + 1 }}
</template>
<template slot="operation" slot-scope="record">
<!-- <a-button type="link" @click.stop="receiptEvt(record)">结算</a-button> -->
<a-button type="link" class="success" @click.stop="detailEvt(record)">查看</a-button>
<!-- <a-popconfirm title="你确定要关闭吗?" ok-text="确定" cancel-text="取消" @confirm="deleteData" >
<a-button type="link" class="danger">删除</a-button>
</a-popconfirm> -->
</template>
<template slot="isSend" slot-scope="text">
{{ text == 'Y' ? '' : text == 'N' ? '' : '' }}
......@@ -146,10 +142,10 @@
</template>
<script>
import BurtPagination from '@/components/CUSTOMER/pagation';
import BurtPagination from '@/components/Customer/pagation';
import { mapState } from 'vuex';
import moment from 'moment';
import { receiptTypeOptions } from '@/utils/utilsdictOptions.js';
import { receiptTypeOptions } from '@/assets/js/utilsdictOptions.js';
import { exportFile } from '@/utils/index';
export default {
data() {
......@@ -294,7 +290,7 @@ export default {
...this.pageForm,
...this.pagination
};
this.$apis.GETCHARGELIST(data).then((res) => {
this.$apis.getChargeList(data).then((res) => {
let content = res.content || {};
this.dataList =
content.list.map((item) => {
......@@ -306,13 +302,13 @@ export default {
},
// 获取保险公司下拉选项
_getCompanyOptions() {
this.$apis.GETCOMPANYOPTIONS().then((res) => {
this.$apis.getCompanyOptions().then((res) => {
this.companyOptions = res.content || [];
});
},
// 获取看诊医生下拉选项
_getDoctorListNoPage() {
this.$apis.GETDOCTORlISTNOPAGE({ providerId: this.userInfo.providerId }).then((res) => {
this.$apis.getDoctorListNoPage({ providerId: this.userInfo.providerId }).then((res) => {
if (res.returnCode === '0000') {
this.doctorOptions = res.content || [];
} else {
......@@ -348,7 +344,7 @@ export default {
cancelText: '取消',
onOk: () => {
this.$apis
.RECEIPTSETTLEMENT({
.receiptSettlement({
id: record.id
})
.then((res) => {
......@@ -383,7 +379,7 @@ export default {
let filter = {
...this.form
};
this.$apis.RceiptListReport(filter).then((res) => {
this.$apis.rceiptListReport(filter).then((res) => {
exportFile(res, '账单报表.xls');
});
}
......
......@@ -103,7 +103,7 @@
</template>
<script>
import BurtPagination from "@/components/CUSTOMER/pagation";
import BurtPagination from "@/components/Customer/pagation";
import moment from 'moment'
export default {
data() {
......@@ -171,7 +171,7 @@ export default {
receiptStartDate: this.form.billDate[0] ? moment(this.form.billDate[0]).format('YYYY-MM-DD 00:00:00'):''
}
delete filter.dateRange;
this.$apis.QUERYSENDINFOLIST(filter)
this.$apis.querySendInfoList(filter)
.then((res) => {
if (res.returnCode == "0000") {
let content = res.content || {};
......@@ -184,13 +184,13 @@ export default {
},
// 获取保险公司下拉选项
_getCompanyOptions() {
this.$apis.GETCOMPANYOPTIONS().then((res) => {
this.$apis.getCompanyOptions().then((res) => {
this.companyOptions = res.content || [];
});
},
// 获取快递列表
getRefcdByRefgrp() {
this.$apis.GETREFCDBYREFGRP({
this.$apis.getRefcdByRefgrp({
modid: "CI",
refgrp: "SEND_COMPANY"
}).then((res) => {
......@@ -230,7 +230,7 @@ export default {
okText: "确定",
cancelText: "取消",
onOk: () => {
this.$apis.DELETERECEIPTSENDINFO({
this.$apis.DeleteReceiptSendInfo({
sendBatchNo: this.dataList[index].sendBatchNo,
})
.then((res) => {
......
......@@ -202,8 +202,8 @@
</template>
<script>
import Goback from "@/components/CUSTOMER/goback";
import BurtPagination from "@/components/CUSTOMER/pagation";
import Goback from "@/components/Customer/goback";
import BurtPagination from "@/components/Customer/pagation";
import moment from 'moment'
import Big from 'big.js';
// import { numValid } from "@/utils/index"
......@@ -338,7 +338,7 @@ export default {
},
// 全选
checkAll() {
this.$apis.QUERYNOSENDRECEIPLIST({
this.$apis.queryNoSendReceipList({
pageNum: 1,
pageSize: this.pagination.total,
payorCode: this.form.payorCode,
......@@ -381,7 +381,7 @@ export default {
sendBatchNo: this.sendBatchNo || undefined,
...this.searchData
}
this.$apis.QUERYSENDRECEIPLIST(filter)
this.$apis.querySendReceipList(filter)
.then((res) => {
if (res.returnCode == "0000") {
let content = res.content || {};
......@@ -417,13 +417,13 @@ export default {
},
// 获取保险公司下拉选项
_getCompanyOptions() {
this.$apis.GETCOMPANYOPTIONS().then((res) => {
this.$apis.getCompanyOptions().then((res) => {
this.companyOptions = res.content || [];
});
},
// 获取快递列表
getRefcdByRefgrp() {
this.$apis.GETREFCDBYREFGRP({
this.$apis.getRefcdByRefgrp({
modid: "CI",
refgrp: "SEND_COMPANY"
}).then((res) => {
......@@ -458,7 +458,7 @@ export default {
handleEditOK() {
this.$refs.editForm.validate((valid) => {
if (valid) {
this.$apis.SAVERECEIPSENDINFO({
this.$apis.saceReceipSendInfo({
...this.editFormObj,
sendDate: moment(this.editFormObj.sendDate).format('YYYY-MM-DD 00:00:00')
})
......@@ -496,7 +496,7 @@ export default {
okText: "确定",
cancelText: "取消",
onOk: () => {
this.$apis.DELETESENDRECEIPT({
this.$apis.deleteSendReceipt({
ciReceiptSendVos: [
{receiptNo: data.receiptNo}
],
......@@ -520,9 +520,9 @@ export default {
let api = ''
if(!this.isEditNewBill) { // 新增时添加了账单信息 那分页也应该是调账单信息接口
api = this.$apis.SENDRECEIPTLISTEXPORT
api = this.$apis.sendReceipListExport
} else {
api = this.$apis.NOSENDRECEIPTLISTEXPORT
api = this.$apis.noSendReceipListExport
}
api({
sendBatchNo: this.sendBatchNo || undefined,
......@@ -566,7 +566,7 @@ export default {
}
},
_getNewBillList() {
this.$apis.QUERYNOSENDRECEIPLIST({
this.$apis.queryNoSendReceipList({
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize,
payorCode: this.form.payorCode,
......@@ -640,7 +640,7 @@ export default {
reject()
return false;
}
this.$apis.SAVERECEIPSENDINFO(formData)
this.$apis.saceReceipSendInfo(formData)
.then((res) => {
if (res.returnCode == "0000") {
this.sendBatchNo = res.content;
......
......@@ -42,14 +42,6 @@
<a-form-model-item label="出生日期" prop="birthday">
<a-date-picker v-model="form.birthday" allow-clear placeholder="请选择出生日期" value-format="YYYY-MM-DD 00:00:00"></a-date-picker>
</a-form-model-item>
<!-- <a-form-model-item label="客户公司名称" prop="corpName">
<a-select v-model="form.corpName" placeholder="请选择客户公司名称" show-search allow-clear
:filterOption="filterCode" @change="corpChange" @search="corpSearch">
<a-select-option v-for="item in comCorpCode" :key="item.id" :value="item.id + '$_' + item.longName">
{{ item.longName }}
</a-select-option>
</a-select>
</a-form-model-item> -->
<a-form-model-item label="保单生效日期" prop="startDate">
<a-date-picker allow-clear v-model="form.startDate" placeholder="请选择保单生效日期" value-format="YYYY-MM-DD 00:00:00" @change="startDateChange"></a-date-picker>
</a-form-model-item>
......@@ -85,16 +77,6 @@
<a-date-picker allow-clear v-model="form.endDate" placeholder="请选择保单终止日期" value-format="YYYY-MM-DD 00:00:00"></a-date-picker>
</a-form-model-item>
</a-col>
<!-- <a-col :xl="6" :lg="6" :sm="12">
<a-form-model-item label="保险计划" prop="planName">
<a-select v-model="form.planName" placeholder="请选择保险计划" show-search allow-clear :filterOption="filterCode" @search="codeSearch"
>
<a-select-option v-for="item in comPlanCode" :key="item.id + '_' + item.longName" :value="item.longName">
{{ item.longName }}
</a-select-option>
</a-select>
</a-form-model-item>
</a-col> -->
<a-col :xl="6" :lg="6" :sm="12">
<a-form-model-item label="其他备注" prop="remark">
<a-input allow-clear v-model="form.remark" placeholder="请输入备注信息"></a-input>
......@@ -153,9 +135,6 @@
<a-row>
<a-col :xl="24" :lg="18" :sm="12" class="none-label clearfix">
<a-form-model-item label="button">
<!-- <a-button type="primary">
<Icon name="ssiprint" :size="14" />打印理赔申请书
</a-button> -->
<a-button class="mar-left10 text-r" type="primary" @click="handlerSave">
<Icon name="ssidownload" :size="14" />保存
</a-button>
......@@ -232,7 +211,7 @@ export default {
if (!valid) {
return false;
}
const fn = this.form.id || this.form.id === 0 ? this.$apis.UPDATECUSTOMDATA : this.$apis.CREATENEWCUSTOMER
const fn = this.form.id || this.form.id === 0 ? this.$apis.updateCustomData : this.$apis.createNewCustomer
fn(this.form).then((res) => {
if (res.returnCode === "0000") {
this.$message.success("操作成功");
......@@ -241,7 +220,6 @@ export default {
name: "welfareInfo",
query: { id: id || this.form.id, patientPolicyId: patientPolicyId || this.form.patientPolicyId },
});
// this.$router.push("/customer");
} else {
this.$message.error(res.returnMsg || "操作失败");
}
......@@ -281,13 +259,12 @@ export default {
}
},
getCustomerDetail(params) {
// this.queryForm = this.$lodash.cloneDeep(this.form);
const { id, patientPolicyId, type } = params;
const data = {
id: id && id * 1,
patientPolicyId: patientPolicyId * 1,
};
this.$apis.GETCUSTOMERDETAIL(data).then((res) => {
this.$apis.getCustomerDetail(data).then((res) => {
if (res.returnCode === "0000") {
let data = res.content || {};
// type === '2'说明是新增保单,需要把客户信息清空
......@@ -318,8 +295,6 @@ export default {
})
this.form = data;
}
// this.dataList = (res.content && res.content.list) || [];
// this.total = (res.content && res.content.total) || 0;
});
},
codeSearch(val) {
......@@ -368,7 +343,7 @@ export default {
uploadFile(file, type) {
let formData = new FormData();
formData.append("file", file);
this.$apis.UPLOADIMG(formData).then((res) => {
this.$apis.uploadImg(formData).then((res) => {
if (res.state === "SUCCESS") {
const { original, title, url } = res;
let fileItem = {
......@@ -449,13 +424,13 @@ export default {
);
},
_getPayorCode() {
this.$apis.GETPAYORCODE({}).then((res) => {
this.$apis.getPayorCode({}).then((res) => {
this.companyCode = res.content || [];
});
},
_getCorporateCode(val) {
this.$apis
.GETCORPORATECODEBYPAYOR({
.getCorporateCodeByPayor({
longName: "",
payorId: val,
})
......@@ -466,7 +441,7 @@ export default {
},
_getPlanCode(val) {
this.$apis
.GETPLANCODEBYCORP({
.getPlanCodeByCorp({
longName: "",
corpId: val,
})
......@@ -479,7 +454,7 @@ export default {
if (this[prop] && this[prop].length) {
return true
}
this.$apis.GETREFCDBYREFGRP(data).then((res) => {
this.$apis.getRefcdByRefgrp(data).then((res) => {
this[prop] = res.content || [];
});
},
......
<template>
<div class="customer">
<!-- 客户信息 -->
<!-- 客户信息
<a-button>按钮</a-button>
<a-input placeholder="按需"></a-input>
<a-button @click="() => openNotificationWithIcon('success')">
Success
</a-button>
<a-button @click="() => openNotificationWithIcon('info')"> Info </a-button>
<a-button @click="() => openNotificationWithIcon('warning')">
Warning
</a-button>
<a-button @click="() => openNotificationWithIcon('error')">
Error
</a-button>
<Icon :name="'ssisuccess'" :size="50" /> -->
<router-view></router-view>
</div>
</template>
......@@ -36,7 +22,7 @@ export default {
},
},
mounted() {
// console.log("this.apis", this.$apis.GETUSERINFO(), this.$lodash);
// console.log("this.apis", this.$apis.getUserInfo(), this.$lodash);
},
};
</script>
......
......@@ -71,7 +71,7 @@
</template>
<script>
import BurtPagination from "@/components/CUSTOMER/pagation";
import BurtPagination from "@/components/Customer/pagation";
import {downloadFile} from '@/utils/index'
import moment from 'moment'
import mixins from "@/mixins";
......@@ -149,7 +149,7 @@ export default {
return true;
}
if((record.cardNo || '').startsWith('80001428')){
this.$apis.GETJUMPECCSURL({
this.$apis.getJumpEccsUrl({
cardNo: record.cardNo
})
.then(res => {
......@@ -192,7 +192,7 @@ export default {
});
},
printClaimPdf(data) {
this.$apis.CREATECUSTOMERCLAIMPGF(data).then(res => {
this.$apis.createCustomerClaimPdf(data).then(res => {
const {url, file_name} = downloadFile(res);
console.log(url, file_name)
let link = document.createElement('a');
......@@ -206,7 +206,7 @@ export default {
})
},
deleteData(data) {
this.$apis.DELETECUSTOM({id: data.id}).then(res => {
this.$apis.deleteCustomer({id: data.id}).then(res => {
if (res.returnCode === "0000") {
this.$message.success(res.returnMsg || "操作成功");
this._getCustomerList();
......@@ -220,7 +220,7 @@ export default {
this.$router.push("/customer/edit");
},
_getPayorCode() {
this.$apis.GETPAYORCODE({}).then((res) => {
this.$apis.getPayorCode({}).then((res) => {
this.companyCode = res.content || [];
});
},
......@@ -229,7 +229,7 @@ export default {
...this.pageForm,
...this.pager,
};
this.$apis.GETCUSTOMERLIST(data).then((res) => {
this.$apis.getCustomerList(data).then((res) => {
this.pager.total = (res.content && res.content.total) || 0;
const data = (res.content && res.content.list) || [];
data.forEach(item => {
......
......@@ -56,7 +56,7 @@
</template>
<script>
import BurtPagination from "@/components/CUSTOMER/pagation";
import BurtPagination from "@/components/Customer/pagation";
export default {
data() {
......@@ -108,7 +108,7 @@ export default {
methods: {
// 获取国家列表
getRefcdByRefgrp() {
this.$apis.GETREFCDBYREFGRP({
this.$apis.getRefcdByRefgrp({
modid: "CI",
refgrp: "COUNTRY_MAPPING"
}).then((res) => {
......@@ -118,7 +118,7 @@ export default {
//获取列表
getData() {
this.$apis
.PAYORLIST({
.getPayorList({
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize,
})
......@@ -156,7 +156,7 @@ export default {
this.$refs.editForm.validate((valid) => {
if (valid) {
this.$apis
.PAYORUPDATE(this.editFormObj)
.payorUpdate(this.editFormObj)
.then((res) => {
if (res.returnCode == "0000") {
this.$message.success("编辑成功");
......@@ -178,7 +178,7 @@ export default {
cancelText: "取消",
onOk: () => {
this.$apis
.PAYORDELETE({
.payorDelete({
id: this.dataList[index].id,
})
.then((res) => {
......@@ -205,7 +205,7 @@ export default {
//没有编辑
if (!record.edit) {
this.$apis
.PAYORDETAIL({
.getPayorDetail({
id: record.id,
})
.then((res) => {
......
......@@ -34,7 +34,7 @@ export default {
methods: {
//获取详细信息
getDetail() {
this.$apis.PAYORDETAIL({
this.$apis.getPayorDetail({
id: this.id,
})
.then((res) => {
......
......@@ -5,9 +5,6 @@
<div class="title-div">折扣信息</div>
<div class="flex btns">
<a-button type="primary" icon="plus" @click.stop="editEvt({})">新增折扣信息</a-button>
<!-- <a-button type="primary">医科理赔申请书模版</a-button>
<a-button type="primary">齿科理赔申请书模版</a-button>
<a-button type="primary">预授权申请书模版</a-button> -->
</div>
</div>
<a-table :columns="columns" :data-source="tableList" :scroll="{ x: 'max-content' }" :pagination="false" >
......@@ -58,7 +55,7 @@
</template>
<script>
import BurtPagination from "@/components/CUSTOMER/pagation";
import BurtPagination from "@/components/Customer/pagation";
const columns = [
{ title: "序号", dataIndex: "id", width: 205},
{ title: "项目",dataIndex: "benefits", ellipsis: true, scopedSlots: { customRender: "benefits" },width: 310, },
......@@ -167,7 +164,7 @@ export default {
handleEditOK() {
this.$refs.editForm.validate((valid) => {
if (valid) {
let funcName = this.editFormObj.id? 'PAYORADDDISCOUNTBENEFIT': 'PAYORADDDISCOUNT';
let funcName = this.editFormObj.id? 'payorAddDiscountBenefit': 'payorAddDiscount';
this.$apis[funcName]({
payorId: this.detailObj.id,
id: this.editFormObj.id,
......@@ -200,7 +197,7 @@ export default {
okText: "确定",
cancelText: "取消",
onOk: () => {
this.$apis.PAYORDISCOUNTDELETE({
this.$apis.payorDiscountDelete({
id: this.tableList[index].id,
})
.then((res) => {
......
......@@ -151,7 +151,7 @@
</template>
<script>
import Goback from "@/components/CUSTOMER/goback";
import Goback from "@/components/Customer/goback";
import moment from "moment";
export default {
props: {
......@@ -196,7 +196,7 @@ export default {
},
// 获取国家列表
getRefcdByRefgrp() {
this.$apis.GETREFCDBYREFGRP({
this.$apis.getRefcdByRefgrp({
modid: "CI",
refgrp: "COUNTRY_MAPPING"
}).then((res) => {
......@@ -214,7 +214,7 @@ export default {
claimApplicationTemplate: this.detailObj.claimApplicationTemplate.length>0? this.detailObj.claimApplicationTemplate[0].url: '',
authApplicationTemplate: this.detailObj.authApplicationTemplate.length>0? this.detailObj.authApplicationTemplate[0].url: '',
}
let api = this.detailObj.id? 'PAYORUPDATE': 'CREATEPAY';
let api = this.detailObj.id? 'payorUpdate': 'createPayor';
this.$apis[api](formData)
.then((res) => {
if (res.returnCode == "0000") {
......@@ -249,7 +249,7 @@ export default {
uploadPdf(fileData, type=1){
let formData = new FormData();
formData.append("file", fileData.file);
this.$apis.UPLOADIMG(formData)
this.$apis.uploadImg(formData)
.then((res)=>{
fileData.onSuccess();
let fileList = [
......
......@@ -71,7 +71,7 @@
</template>
<script>
import BurtPagination from "@/components/CUSTOMER/pagation";
import BurtPagination from "@/components/Customer/pagation";
export default{
props: {
detailObj: {
......@@ -148,7 +148,7 @@ export default{
},
//获取科室
getSpecialtyList() {
this.$apis.GETSPECIALTYLIST().then((res) => {
this.$apis.getSpecialtyList().then((res) => {
if (res.returnCode == "0000") {
this.specialtyList = res.content || [];
(res.content || []).forEach((item) => {
......@@ -161,14 +161,14 @@ export default{
},
getRefcdByRefgrp() {
// 获取国家列表
this.$apis.GETREFCDBYREFGRP({
this.$apis.getRefcdByRefgrp({
modid: "CI",
refgrp: "COUNTRY_MAPPING"
}).then((res) => {
this.countyList = res.content || [];
});
// 获取语言列表
this.$apis.GETREFCDBYREFGRP({
this.$apis.getRefcdByRefgrp({
modid: "CI",
refgrp: "LANGUAGE_TYPE"
}).then((res) => {
......@@ -178,7 +178,7 @@ export default{
//获取医生列表
getDoctorList() {
this.$apis
.DOCTORLIST({
.getDoctorList({
providerId: this.detailObj.id,
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize,
......@@ -220,7 +220,7 @@ export default{
handleEditOK() {
this.$refs.editForm.validate((valid) => {
if (valid) {
const fn = this.editFormObj.id ? this.$apis.DOCTORUPDATE : this.$apis.DOCTORCREATE
const fn = this.editFormObj.id ? this.$apis.doctorUpdate : this.$apis.doctorCreate
fn({
...this.editFormObj,
language: this.editFormObj.language.join(','),
......@@ -251,7 +251,7 @@ export default{
cancelText: "取消",
onOk: () => {
this.$apis
.DOCTORDELETE({
.doctorDelete({
id: this.dataList[index].id,
})
.then((res) => {
......
......@@ -42,7 +42,7 @@
</template>
<script>
import BurtPagination from "@/components/CUSTOMER/pagation";
import BurtPagination from "@/components/Customer/pagation";
const columns = [
{ title: "序号", dataIndex: "id", ellipsis: true, width: 150 },
{ title: "科室名称", dataIndex: "specialtyDesc", ellipsis: true, width: 150 },
......@@ -87,7 +87,7 @@ export default{
return txt.join("");
},
getData(){
this.$apis.SPECIALTYLISTPAGE({
this.$apis.specialtyListPage({
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize,
})
......@@ -110,7 +110,7 @@ export default{
},
//获取责任列表
getCoverageCode() {
this.$apis.GETCOVERAGECODE().then((res) => {
this.$apis.getCoverageCode().then((res) => {
this.coverageCode = res.content || [];
});
},
......@@ -129,7 +129,7 @@ export default{
handleEditOK() {
this.$refs.editForm.validate((valid) => {
if (valid) {
let api = this.editFormObj.id? 'SPECIALTYUPDATE': 'SPECIALTYCREATE';
let api = this.editFormObj.id? 'specialtyUpdate': 'specialtyCreate';
this.$apis[api]({
...this.editFormObj,
coverageMasterList: this.editFormObj.coverageCode.map(item => {
......@@ -158,7 +158,7 @@ export default{
okText: "确定",
cancelText: "取消",
onOk: () => {
this.$apis.SPECIALTYDELETE({
this.$apis.specialtyDelete({
id: this.dataList[index].id,
})
.then((res) => {
......
......@@ -91,12 +91,7 @@
</a-col>
</a-row>
</a-form-model>
<!-- 暂时不用
<div class="flex borderBox upload-div">
<a-upload name="file">
<a-button type="primary">上传价目表文件</a-button>
</a-upload>
</div> -->
<!-- 暂时不用 -->
<a-tabs type="card" v-model="activeKey" @change="paneChange">
<a-tab-pane v-for="pane in panes" :key="pane.key" :tab="pane.title">
<component v-if="detailObj.id && pane.show" :detailObj="detailObj" :is="pane.content"></component>
......@@ -150,7 +145,7 @@ export default {
//获取详细信息
getDetail() {
return new Promise((resolve, reject) => {
this.$apis.PROVIDERDETAIL().then((res) => {
this.$apis.providerDetail().then((res) => {
if (res.returnCode == "0000") {
this.detailObj = res.content || {};
resolve();
......@@ -165,7 +160,7 @@ export default {
saveEvt(){
this.$refs.form.validate((valid) => {
if(valid){
this.$apis.PROVIDERUPDATE({...this.detailObj})
this.$apis.providerUpdate({...this.detailObj})
.then((res) => {
if (res.returnCode == "0000") {
this.$message.success("保存成功");
......
......@@ -42,7 +42,7 @@ export default {
return document.querySelector(".avator");
},
loginOut() {
this.$apis.LOGINOUT().then((res) => {
this.$apis.loginOut().then((res) => {
if (res.returnCode) {
this.$store.commit("common/setMenuStack", []);
this.$router.push("/login");
......
......@@ -14,7 +14,7 @@
<script>
import Header from "./components/Header.vue";
import Menu from "./components/menu";
import Loading from "@/components/Loading/Loading.vue";
import Loading from "./components/Loading.vue";
export default {
components: {
......
......@@ -65,7 +65,7 @@
<div class="flex input-div">
<a-input v-model="form.authorAmount" placeholder="请输入费用" type="number" :min="0" :disabled="!!id" />
<a-select v-model="form.authorAmountUnit" style="width:90px;" :disabled="!!id">
<a-select-option v-for="(item) in MoneyUnitOptions" :key="item.value" :value="item.value">{{item.name}}</a-select-option>
<a-select-option v-for="(item) in moneyUnitOptions" :key="item.value" :value="item.value">{{item.name}}</a-select-option>
</a-select>
</div>
</a-form-model-item>
......@@ -116,7 +116,7 @@
<a-col :lg="6" :sm="12">
<a-form-model-item label="申请状态">
<a-select v-model="form.authorStatus" placeholder="请选择申请状态">
<a-select-option v-for="(item) in ApplyStatusOptions" :key="item.value" :value="item.value">{{item.name}}</a-select-option>
<a-select-option v-for="(item) in applyStatusOptions" :key="item.value" :value="item.value">{{item.name}}</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
......@@ -183,7 +183,7 @@
</template>
<script>
import {MoneyUnitOptions,ApplyStatusOptions} from '@/utils/utilsdictOptions';
import {moneyUnitOptions,applyStatusOptions} from '@/assets/js/utilsdictOptions';
import FeeDetail from './components/feeDetail.vue';
import debounce from 'lodash/debounce';
import moment from 'moment';
......@@ -195,8 +195,8 @@ export default{
return{
loading: false,
loading2: false,
MoneyUnitOptions,
ApplyStatusOptions,
moneyUnitOptions,
applyStatusOptions,
id: '', //预授权id
form: {
mrnNo: '',
......@@ -261,7 +261,7 @@ export default{
},
//获取预授权详情
getDetail(){
this.$apis.AUTHORIZEDETAIL({
this.$apis.getAuthorizeDetail({
id: this.id
})
.then((res)=>{
......@@ -296,7 +296,7 @@ export default{
},
// 获取看诊医生下拉选项
_getDoctorListNoPage(){
this.$apis.GETDOCTORlISTNOPAGE({"providerId": this.userInfo.providerId}).then((res) => {
this.$apis.getDoctorListNoPage({"providerId": this.userInfo.providerId}).then((res) => {
if (res.returnCode === "0000") {
this.doctorOptions = res.content || [];
}else{
......@@ -308,7 +308,7 @@ export default{
this.lastFetchId += 1;
this.fetching = true;
const fetchId = this.lastFetchId;
this.$apis.PATIENTLISTNOPAGE({
this.$apis.patientListNoPage({
mrnNo: value
})
.then((res)=>{
......@@ -334,7 +334,7 @@ export default{
},
// 获取保险公司下拉选项
_getCompanyOptions() {
this.$apis.PATIENTPAYORLIST({
this.$apis.patientPayorList({
patientId: this.form.patientId
}).then((res) => {
this.companyOptions = res.content || [];
......@@ -342,7 +342,7 @@ export default{
},
// 获取保单号码下拉选项
_getPatientPolicyList() {
this.$apis.PATIENTPOLICYLIST({
this.$apis.patientPolicyList({
patientId: this.form.patientId,
payorCode: this.form.payorId,
}).then((res) => {
......@@ -352,21 +352,21 @@ export default{
// 获取码表
getRefcdByRefgrp() {
//预授权项目
this.$apis.GETREFCDBYREFGRP({
this.$apis.getRefcdByRefgrp({
modid: "CI",
refgrp: "AUTH_PROJECT"
}).then((res) => {
this.ProjectList = res.content || [];
});
//拒绝原因
this.$apis.GETREFCDBYREFGRP({
this.$apis.getRefcdByRefgrp({
modid: "CI",
refgrp: "REJECT_REASON"
}).then((res) => {
this.rejectReason = res.content || [];
});
//治疗方案
this.$apis.GETREFCDBYREFGRP({
this.$apis.getRefcdByRefgrp({
modid: "CI",
refgrp: "TREATMENT_PLAN"
}).then((res) => {
......@@ -411,7 +411,7 @@ export default{
uploadFile(fileData, type){
let formData = new FormData();
formData.append("file", fileData.file);
this.$apis.UPLOADIMG(formData)
this.$apis.uploadImg(formData)
.then((res)=>{
fileData.onSuccess();
let tmp = {
......@@ -431,7 +431,7 @@ export default{
//保存
saveEvt(){
this.loading = true;
let api = this.id? 'AUTHORIZEUPDATE': 'AUTHORIZECREATE';
let api = this.id? 'authorizeUpdate': 'createAuthorize';
this.$apis[api]({
...this.form,
medicalRecord: this.form.medicalRecord.map((item)=>{
......@@ -463,7 +463,7 @@ export default{
//发送邮件
sendEmailEvt(){
this.loading2 = true;
this.$apis.AUTHORIZESENDEMAIL({
this.$apis.authorizeSendEmail({
id: this.id
})
.then((res)=>{
......@@ -477,7 +477,7 @@ export default{
},
//预览邮件
previewEmailEvt(){
this.$apis.AUTHORIZEVIEWEMAIL({
this.$apis.authorizeEmailView({
id: this.id
})
.then((res)=>{
......
......@@ -93,7 +93,7 @@ export default{
this.getData();
},
getData(){
this.$apis.AUTHORIZEUSELIST({
this.$apis.authorizeUseList({
authorizeId: this.detailObj.id
})
.then((res)=>{
......@@ -116,7 +116,7 @@ export default{
handleEditOK() {
this.$refs.editForm.validate((valid) => {
if (valid) {
this.$apis.AUTHORIZEUSEADD({
this.$apis.authorizeUseAdd({
authorizeId: this.detailObj.id,
...this.editFormObj
})
......
......@@ -27,7 +27,7 @@
<a-col :lg="6" :sm="12">
<a-form-model-item label="申请状态">
<a-select v-model="form.authorStatus" placeholder="请选择申请状态" allowClear>
<a-select-option v-for="(item,i) in ApplyStatusOptions" :key="i" :value="item.value">{{item.name}}</a-select-option>
<a-select-option v-for="(item,i) in applyStatusOptions" :key="i" :value="item.value">{{item.name}}</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
......@@ -75,7 +75,6 @@
</template>
<template slot="operation" slot-scope="text, record, index">
<a-button type="link" @click.stop="editEvt(record)">修改</a-button>
<!-- <a-button type="link" class="success" @click.stop="addEvt(record)">新增</a-button> -->
<a-button type="link" class="danger" @click.stop="delRecord(index)">删除</a-button>
</template>
</a-table>
......@@ -87,10 +86,10 @@
</template>
<script>
import BurtPagination from "@/components/CUSTOMER/pagation";
import BurtPagination from "@/components/Customer/pagation";
import authorizeVoList from './components/authorizeVoList';
import moment from 'moment'
import {ApplyStatusOptions} from '@/utils/utilsdictOptions';
import {applyStatusOptions} from '@/assets/js/utilsdictOptions';
import mixins from '@/mixins/index';
export default{
data(){
......@@ -110,7 +109,7 @@ export default{
];
return {
columns,
ApplyStatusOptions,
applyStatusOptions,
form: {
dateRange: [],
dateRange2: [],
......@@ -182,21 +181,21 @@ export default{
},
// 获取保险公司下拉选项
_getCompanyOptions() {
this.$apis.GETCOMPANYOPTIONS().then((res) => {
this.$apis.getCompanyOptions().then((res) => {
this.companyOptions = res.content || [];
});
},
// 获取码表
getRefcdByRefgrp() {
//拒绝原因
this.$apis.GETREFCDBYREFGRP({
this.$apis.getRefcdByRefgrp({
modid: "CI",
refgrp: "REJECT_REASON"
}).then((res) => {
this.rejectReason = res.content || [];
});
//预授权项目
this.$apis.GETREFCDBYREFGRP({
this.$apis.getRefcdByRefgrp({
modid: "CI",
refgrp: "AUTH_PROJECT"
}).then((res) => {
......@@ -216,7 +215,7 @@ export default{
}
delete filter.dateRange;
delete filter.dateRange2;
this.$apis.AUTHORIZELIST(filter)
this.$apis.getAuthorizeList(filter)
.then((res) => {
if (res.returnCode == "0000") {
let content = res.content || {};
......@@ -250,7 +249,7 @@ export default{
okText: "确认",
cancelText: "取消",
onOk: () => {
this.$apis.AUTHORIZEDELETE({
this.$apis.authorizeDelete({
id: this.dataList[index].id,
})
.then((res) => {
......
......@@ -10,17 +10,6 @@
</template>
<script>
// import PaymentClaims from "./components/PaymentClaims.vue";
// import Insurance from "./components/Insurance.vue";
// import Verification from "./components/Verification.vue";
// import CollectionRate from "./components/CollectionRate.vue";
// import CollectionDays from "./components/CollectionDays.vue";
// import PersonalFee from "./components/PersonalFee.vue";
// import MaterialSupplement from "./components/MaterialSupplement.vue";
// import AppealCase from "./components/AppealCase.vue";
// import MailingList from "./components/MailingList.vue";
// import PreAuth from "./components/PreAuth.vue";
// import Benefit from "./components/Benefit.vue";
import PayBill from "./components/PayBill.vue";
export default {
......@@ -28,26 +17,13 @@ export default {
return {
activeKey: '0',
panes: [
// { title: "理赔数据", key: '0', show: true, content: 'PaymentClaims'},
// { title: "保险应收", key: '1', show: false, content: 'Insurance'},
// { title: "核销", key: '2', show: false, content: 'Verification'},
// { title: "回款率", key: '3', show: false, content: 'CollectionRate'},
// { title: "回款天数", key: '4', show: false, content: 'CollectionDays'},
{ title: "财务账单", key: '0', show: true, content: 'PayBill'},
// { title: "个人欠费", key: '5', show: false, content: 'PersonalFee'},
// { title: "材料补充", key: '6', show: false, content: 'MaterialSupplement'},
// { title: "申诉案件", key: '7', show: false, content: 'AppealCase'},
// { title: "寄送清单", key: '8', show: false, content: 'MailingList'},
// { title: "预授权", key: '9', show: false, content: 'PreAuth'},
// { title: "福利查询", key: '10', show: false, content: 'Benefit'}
],
companyOptions: [], //保险公司
expressList: [], //快递公司
};
},
components: {
// PaymentClaims, Insurance, Verification, CollectionRate, CollectionDays,
// PersonalFee, MaterialSupplement, AppealCase, MailingList, PreAuth, Benefit,
PayBill
},
created() {
......@@ -68,13 +44,13 @@ export default {
},
// 获取保险公司下拉选项
_getCompanyOptions() {
this.$apis.GETCOMPANYOPTIONS().then((res) => {
this.$apis.getCompanyOptions().then((res) => {
this.companyOptions = res.content || [];
});
},
// 获取快递列表
getRefcdByRefgrp() {
this.$apis.GETREFCDBYREFGRP({
this.$apis.getRefcdByRefgrp({
modid: "CI",
refgrp: "SEND_COMPANY"
}).then((res) => {
......
......@@ -49,9 +49,9 @@
</template>
<script>
import BurtPagination from "@/components/CUSTOMER/pagation";
import BurtPagination from "@/components/Customer/pagation";
import moment from 'moment'
import {ClaimsStatusOptions} from '@/utils/utilsdictOptions';
import {claimsStatusOptions} from '@/assets/js/utilsdictOptions';
import {exportFile} from '@/utils/index';
export default{
props: {
......@@ -74,7 +74,7 @@ export default{
];
return {
columns,
ClaimsStatusOptions,
claimsStatusOptions,
form: {
dateRange: [],
payorCode: '',
......@@ -112,7 +112,7 @@ export default{
...this.form,
}
delete filter.dateRange;
this.$apis.QUERYSENDINFOLIST(filter)
this.$apis.querySendInfoList(filter)
.then((res) => {
if (res.returnCode == "0000") {
let content = res.content || {};
......
......@@ -39,9 +39,9 @@
</template>
<script>
import BurtPagination from "@/components/CUSTOMER/pagation";
import BurtPagination from "@/components/Customer/pagation";
import moment from 'moment'
import {ClaimsStatusOptions} from '@/utils/utilsdictOptions';
import {claimsStatusOptions} from '@/assets/js/utilsdictOptions';
import {exportFile} from '@/utils/index';
export default{
props: {
......@@ -62,7 +62,7 @@ export default{
];
return {
columns,
ClaimsStatusOptions,
claimsStatusOptions,
form: {
dateRange: [],
payorCode: '',
......@@ -100,7 +100,7 @@ export default{
...this.form,
}
delete filter.dateRange;
this.$apis.QUERYSENDINFOLIST(filter)
this.$apis.querySendInfoList(filter)
.then((res) => {
if (res.returnCode == "0000") {
let content = res.content || {};
......
......@@ -20,7 +20,7 @@
<a-col :lg="8" :sm="12">
<a-form-model-item label="理赔状态">
<a-select v-model="form.sendSts" placeholder="请选择理赔状态" allowClear>
<a-select-option v-for="(item,i) in ClaimsStatusOptions" :key="i" :value="item.value">{{item.name}}</a-select-option>
<a-select-option v-for="(item,i) in claimsStatusOptions" :key="i" :value="item.value">{{item.name}}</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
......@@ -61,9 +61,9 @@
</template>
<script>
import BurtPagination from "@/components/CUSTOMER/pagation";
import BurtPagination from "@/components/Customer/pagation";
import moment from 'moment'
import {ClaimsStatusOptions} from '@/utils/utilsdictOptions';
import {claimsStatusOptions} from '@/assets/js/utilsdictOptions';
import {exportFile} from '@/utils/index';
export default{
props: {
......@@ -99,7 +99,7 @@ export default{
];
return {
columns,
ClaimsStatusOptions,
claimsStatusOptions,
form: {
dateRange: [],
payorCode: '',
......@@ -137,7 +137,7 @@ export default{
...this.form,
}
delete filter.dateRange;
this.$apis.QUERYSENDINFOLIST(filter)
this.$apis.querySendInfoList(filter)
.then((res) => {
if (res.returnCode == "0000") {
let content = res.content || {};
......
<template>
<div>
<!-- form -->
<!-- <a-form-model ref="form" layout="vertical" :model="form">
<a-row :gutter="30">
<a-col :lg="6" :sm="12">
<a-form-model-item label="就诊日期">
<a-range-picker format="YYYY年MM月DD日" v-model="form.dateRange" :placeholder="['开始日期', '结束日期']" />
</a-form-model-item>
</a-col>
<a-col :lg="6" :sm="12">
<a-form-model-item label="保险公司">
<a-select v-model="form.payorCode" placeholder="请选择保险公司" allowClear>
<a-select-option v-for="item in companyOptions" :key="item.id" :value="item.payorCode">
{{ item.longName }}
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
<a-col :lg="12" :sm="12" class="none-label">
<a-form-model-item label="button">
<a-button class="mar-left10" type="primary" @click="handlerSearch">
<Icon name="ssisearch_active" :size="14" />查询
</a-button>
<a-button class="mar-left10" type="primary" @click="exportExcel">
<Icon name="ssidaochu" :size="14" />导出报表</a-button>
</a-form-model-item>
</a-col>
</a-row>
</a-form-model> -->
<div class="text-right">
<a-button class="mar-left10" type="primary" @click="exportExcel">
<Icon name="ssidaochu" :size="14" />导出报表</a-button>
......@@ -43,9 +15,9 @@
</template>
<script>
import BurtPagination from "@/components/CUSTOMER/pagation";
import BurtPagination from "@/components/Customer/pagation";
import moment from 'moment'
import {ClaimsStatusOptions} from '@/utils/utilsdictOptions';
import {claimsStatusOptions} from '@/assets/js/utilsdictOptions';
import {exportFile} from '@/utils/index';
export default{
props: {
......@@ -79,7 +51,7 @@ export default{
];
return {
columns,
ClaimsStatusOptions,
claimsStatusOptions,
form: {
},
dataList: [],
......@@ -109,7 +81,7 @@ export default{
pageSize: this.pagination.pageSize,
...this.form,
}
this.$apis.RECEIPTREPORTLIST(filter)
this.$apis.receiptReportList(filter)
.then((res) => {
if (res.returnCode == "0000") {
let content = res.content || {};
......@@ -125,7 +97,7 @@ export default{
let filter = {
...this.form,
}
this.$apis.EXPORTRECEIPTREPORTLIST(filter).then(res => {
this.$apis.exportReceiptReportList(filter).then(res => {
exportFile(res, '保险应收报表.xls');
})
}
......
......@@ -20,7 +20,7 @@
<a-col :lg="6" :sm="12">
<a-form-model-item label="理赔状态">
<a-select v-model="form.sendSts" placeholder="请选择理赔状态" allowClear>
<a-select-option v-for="(item,i) in ClaimsStatusOptions" :key="i" :value="item.value">{{item.name}}</a-select-option>
<a-select-option v-for="(item,i) in claimsStatusOptions" :key="i" :value="item.value">{{item.name}}</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
......@@ -79,9 +79,9 @@
</template>
<script>
import BurtPagination from "@/components/CUSTOMER/pagation";
import BurtPagination from "@/components/Customer/pagation";
import moment from 'moment'
import {ClaimsStatusOptions} from '@/utils/utilsdictOptions';
import {claimsStatusOptions} from '@/assets/js/utilsdictOptions';
import {exportFile} from '@/utils/index';
export default{
props: {
......@@ -117,7 +117,7 @@ export default{
];
return {
columns,
ClaimsStatusOptions,
claimsStatusOptions,
form: {
dateRange: [],
payorCode: '',
......@@ -155,7 +155,7 @@ export default{
...this.form,
}
delete filter.dateRange;
this.$apis.QUERYSENDINFOLIST(filter)
this.$apis.querySendInfoList(filter)
.then((res) => {
if (res.returnCode == "0000") {
let content = res.content || {};
......
......@@ -25,7 +25,7 @@
<a-col :lg="6" :sm="12">
<a-form-model-item label="EOB状态">
<a-select v-model="form.sendSts" placeholder="请选择状态" allowClear>
<a-select-option v-for="(item,i) in ClaimsStatusOptions" :key="i" :value="item.value">{{item.name}}</a-select-option>
<a-select-option v-for="(item,i) in claimsStatusOptions" :key="i" :value="item.value">{{item.name}}</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
......@@ -37,7 +37,7 @@
<a-col :lg="6" :sm="12">
<a-form-model-item label="银行入账状态">
<a-select v-model="form.sendSts" placeholder="请选择状态" allowClear>
<a-select-option v-for="(item,i) in ClaimsStatusOptions" :key="i" :value="item.value">{{item.name}}</a-select-option>
<a-select-option v-for="(item,i) in claimsStatusOptions" :key="i" :value="item.value">{{item.name}}</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
......@@ -68,9 +68,9 @@
</template>
<script>
import BurtPagination from "@/components/CUSTOMER/pagation";
import BurtPagination from "@/components/Customer/pagation";
import moment from 'moment'
import {ClaimsStatusOptions} from '@/utils/utilsdictOptions';
import {claimsStatusOptions} from '@/assets/js/utilsdictOptions';
import {exportFile} from '@/utils/index';
export default{
props: {
......@@ -106,7 +106,7 @@ export default{
];
return {
columns,
ClaimsStatusOptions,
claimsStatusOptions,
form: {
dateRange: [],
payorCode: '',
......@@ -144,7 +144,7 @@ export default{
...this.form,
}
delete filter.dateRange;
this.$apis.QUERYSENDINFOLIST(filter)
this.$apis.querySendInfoList(filter)
.then((res) => {
if (res.returnCode == "0000") {
let content = res.content || {};
......
......@@ -36,7 +36,7 @@
:placeholder="['开始时间', '结束时间']" @change="onSelectReturnTime" />
</a-form-model-item>
</a-col>
<a-col :xl="6" :lg="10" :sm="12" class="none-label">
<a-col :span="24" class="none-label">
<a-form-model-item label="button">
<a-button class="mar-left10" type="primary" @click="handlerReset">
<Icon name="ssireset" :size="14" />重置
......@@ -76,7 +76,7 @@
</template>
<script>
import BurtPagination from '@/components/CUSTOMER/pagation';
import BurtPagination from '@/components/Customer/pagation';
import { exportFile } from '@/utils/index';
export default {
......@@ -189,7 +189,7 @@ export default {
},
// 获取保险公司下拉选项
_getCompanyOptions() {
this.$apis.GETCOMPANYOPTIONS().then((res) => {
this.$apis.getCompanyOptions().then((res) => {
this.companyOptions = res.content || [];
});
},
......
......@@ -122,7 +122,7 @@
</template>
<script>
import BurtPagination from "@/components/CUSTOMER/pagation";
import BurtPagination from "@/components/Customer/pagation";
import moment from "moment";
import { exportFile } from '@/utils/index';
const columns = [
......@@ -228,7 +228,7 @@ export default {
},
// 获取保险公司下拉选项
_getCompanyOptions() {
this.$apis.GETCOMPANYOPTIONS().then((res) => {
this.$apis.getCompanyOptions().then((res) => {
this.companyOptions = res.content || [];
});
},
......@@ -243,7 +243,7 @@ export default {
},
getData() {
this.$apis
.QUERYBACKMONEYLIST({
.queryBackMoneyList({
...this.form,
dateRange: undefined,
pageNum: this.pagination.pageNum,
......@@ -317,7 +317,7 @@ export default {
cancelText: "取消",
onOk: () => {
this.$apis
.DELETEBACKMONEY({
.deleteBackMoney({
backMoneyNo: this.dataList[index].backMoneyNo,
})
.then((res) => {
......@@ -338,7 +338,7 @@ export default {
...this.form,
dateRange: undefined,
}
this.$apis.EXPORTBACKMONEYREPORT(filter).then(res => {
this.$apis.backMoneyListExport(filter).then(res => {
exportFile(res, '回款列表.xls');
})
}
......
......@@ -315,9 +315,9 @@
<script>
import { Empty } from 'ant-design-vue';
import Goback from '@/components/CUSTOMER/goback';
import BurtPagination from '@/components/CUSTOMER/pagation';
import { EOBStatusOptions } from '@/utils/utilsdictOptions.js';
import Goback from '@/components/Customer/goback';
import BurtPagination from '@/components/Customer/pagation';
import { eobStatusOptions } from '@/assets/js/utilsdictOptions.js';
import { exportFile, accuracy } from '@/utils/index';
import moment from 'moment';
import mixins from '@/mixins';
......@@ -330,7 +330,7 @@ export default {
return {
accuracy,
isEdit: false,
EOBStatusOptions,
eobStatusOptions,
dialogShow: false,
ciReceiptTotalVo:{},
form: {
......@@ -733,7 +733,7 @@ export default {
selectAllList() {
let billDate = this.searchForm.billDate || [];
this.$apis
.QUERYBACKRECEIPTINFOLIST({
.queryReceiptInfoList({
pageNum: 1,
pageSize: this.pagination.total,
backMoneyNo: this.backMoneyNo,
......@@ -782,7 +782,7 @@ export default {
});
if (receiptVoList.length === 0) return;
this.$apis
.DELETERECEIPTRECORD({
.deleteReceiptRecord({
backMoneyNo: this.backMoneyNo,
receiptVoList
})
......@@ -820,7 +820,7 @@ export default {
},
// 获取保险公司下拉选项
_getCompanyOptions() {
this.$apis.GETCOMPANYOPTIONS().then((res) => {
this.$apis.getCompanyOptions().then((res) => {
this.companyOptions = res.content || [];
});
},
......@@ -834,7 +834,7 @@ export default {
}
let billDate = this.searchForm.billDate || [];
this.$apis
.QUERYBACKRECEIPTLIST({
.queryBackReceiptList({
pageNum: 1,
pageSize: 999,
backMoneyNo: this.backMoneyNo,
......@@ -870,7 +870,7 @@ export default {
_getNewEOBList() {
let billDate = this.searchForm.billDate || [];
this.$apis
.QUERYBACKRECEIPTINFOLIST({
.queryReceiptInfoList({
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize,
backMoneyNo: this.backMoneyNo,
......@@ -951,7 +951,7 @@ export default {
return file;
});
this.$apis.SAVEBACKMONEY(formData).then((res) => {
this.$apis.saveBackMoney(formData).then((res) => {
const msg = backStatus === 1 ? '结案' : '暂存';
if (res.returnCode == '0000') {
this.backMoneyNo = res.content;
......@@ -993,7 +993,7 @@ export default {
uploadFile(fileData) {
let formData = new FormData();
formData.append('file', fileData.file);
this.$apis.UPLOADIMG(formData).then((res) => {
this.$apis.uploadImg(formData).then((res) => {
fileData.onSuccess();
let tmp = {
uid: Math.random() * 10000,
......@@ -1012,7 +1012,7 @@ export default {
backMoneyNo: this.backMoneyNo,
payorCode: this.form.payorCode
};
this.$apis.EXPORTBACKRECEIPTLIST(filter).then((res) => {
this.$apis.exportBackReceiptList(filter).then((res) => {
exportFile(res, '已关联账单.xls');
});
},
......
......@@ -15,7 +15,7 @@
<a-col :lg="6" :sm="12">
<a-form-model-item label="EOB状态">
<a-select v-model="form.eobSts" placeholder="请选择EOB状态" allowClear>
<a-select-option v-for="(item,i) in EOBStatusOptions" :key="i" :value="item.value">{{item.name}}</a-select-option>
<a-select-option v-for="(item,i) in eobStatusOptions" :key="i" :value="item.value">{{item.name}}</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
......@@ -61,9 +61,9 @@
</template>
<script>
import BurtPagination from "@/components/CUSTOMER/pagation";
import BurtPagination from "@/components/Customer/pagation";
import moment from "moment";
import {EOBStatusOptions} from '@/utils/utilsdictOptions.js'
import {eobStatusOptions} from '@/assets/js/utilsdictOptions.js'
import mixins from "@/mixins";
const columns = [
{ title: "EOB编号", dataIndex: "eobNo", ellipsis: true, width: 100 },
......@@ -79,7 +79,7 @@ export default {
data() {
return {
columns,
EOBStatusOptions,
eobStatusOptions,
form: {
payorCode: '',
eobSts: '',
......@@ -120,12 +120,12 @@ export default {
},
// 获取保险公司下拉选项
_getCompanyOptions() {
this.$apis.GETCOMPANYOPTIONS().then((res) => {
this.$apis.getCompanyOptions().then((res) => {
this.companyOptions = res.content || [];
});
},
getData() {
this.$apis.QUERYEOBLIST({
this.$apis.queryEobList({
...this.form,
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize,
......@@ -148,7 +148,7 @@ export default {
okText: "确认",
cancelText: "取消",
onOk: () => {
this.$apis.DELEOBRECEIPTINFO({
this.$apis.deleteEobReceiptInfo({
eobNo: this.dataList[index].eobNo,
})
.then((res) => {
......
......@@ -36,7 +36,7 @@
<a-col :lg="6" :sm="12">
<a-form-model-item label="EOB状态">
<a-select v-model="form.eobSts" placeholder="请选择" allow-clear :disabled="!isEdit">
<a-select-option v-for="(item,i) in EOBStatusOptions" :key="i" :value="item.value">{{item.name}}</a-select-option>
<a-select-option v-for="(item,i) in eobStatusOptions" :key="i" :value="item.value">{{item.name}}</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
......@@ -130,7 +130,7 @@
<a-col :lg="12" :sm="24">
<a-form-model-item label="理赔状态" prop="claimsStatus">
<a-select v-model="editFormObj.claimsStatus" placeholder="请选择理赔状态" allow-clear>
<a-select-option v-for="(item,i) in ClaimsStatusOptions" :key="i" :value="item.value">{{item.name}}</a-select-option>
<a-select-option v-for="(item,i) in claimsStatusOptions" :key="i" :value="item.value">{{item.name}}</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
......@@ -157,10 +157,10 @@
</template>
<script>
import Goback from "@/components/CUSTOMER/goback";
import BurtPagination from "@/components/CUSTOMER/pagation";
import Goback from "@/components/Customer/goback";
import BurtPagination from "@/components/Customer/pagation";
import moment from "moment";
import {ClaimsStatusOptions,EOBStatusOptions} from '@/utils/utilsdictOptions.js'
import {claimsStatusOptions,eobStatusOptions} from '@/assets/js/utilsdictOptions.js'
import mixins from "@/mixins";
export default {
......@@ -168,8 +168,8 @@ export default {
return {
dialogShow: false,
isEdit: false,
ClaimsStatusOptions,
EOBStatusOptions,
claimsStatusOptions,
eobStatusOptions,
eobNo: '', //eob编号
form: {
eobDate: '',
......@@ -292,7 +292,7 @@ export default {
},
// 获取保险公司下拉选项
_getCompanyOptions() {
this.$apis.GETCOMPANYOPTIONS().then((res) => {
this.$apis.getCompanyOptions().then((res) => {
this.companyOptions = res.content || [];
});
},
......@@ -309,7 +309,7 @@ export default {
this.getData();
},
getData() {
this.$apis.QUERYEOBRECEIPTLIST({
this.$apis.queryEobReceiptList({
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize,
eobNo: this.eobNo,
......@@ -347,7 +347,7 @@ export default {
handleEditOK() {
this.$refs.editForm.validate((valid) => {
if (valid) {
this.$apis.SAVEEOBRECEIPTINFO({
this.$apis.saveEobReceiptInfo({
...this.form,
eobFile: this.form.eobFile.length>0? this.form.eobFile[0].url: '',
eobReceiptList: [this.editFormObj],
......@@ -373,7 +373,7 @@ export default {
okText: "确认",
cancelText: "取消",
onOk: () => {
this.$apis.DELEOBRECEIPTINFO({
this.$apis.deleteEobReceiptInfo({
eobNo: this.dataList[index].eobNo,
})
.then((res) => {
......@@ -390,7 +390,7 @@ export default {
},
//导出
exportEvt(){
this.$apis.EOBRECEIPLISTEXPORT({
this.$apis.eobReceipListExport({
eobNo: this.eobNo
})
.then(res => {
......@@ -422,7 +422,7 @@ export default {
}
},
_getNewEOBList() {
this.$apis.QUERYEOBNEEDRECEIPTLIST({
this.$apis.queryEobNeedReceiptList({
payorCode: this.form.payorCode,
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize,
......@@ -464,7 +464,7 @@ export default {
visitTimeStart: visitTimeStart[0] ? moment(visitTimeStart[0]).format('YYYY-MM-DD') + ' 00:00:00' : undefined,
}
return new Promise((resolve,reject)=>{
this.$apis.SAVEEOBRECEIPTINFO(formData)
this.$apis.saveEobReceiptInfo(formData)
.then((res) => {
if (res.returnCode == "0000") {
this.eobNo = res.content;
......@@ -489,7 +489,7 @@ export default {
uploadEvt(fileData){
let formData = new FormData();
formData.append("file", fileData.file);
this.$apis.UPLOADIMG(formData)
this.$apis.uploadImg(formData)
.then((res)=>{
fileData.onSuccess();
let fileList = [
......
......@@ -264,7 +264,7 @@ export default {
},
// 获取币种列表
_getRefcdByRefgrp() {
this.$apis.GETREFCDBYREFGRP({
this.$apis.getRefcdByRefgrp({
modid: "CI",
refgrp: "CURRENCY_TYPE"
}).then((res) => {
......
......@@ -232,7 +232,7 @@ export default {
if (this.coverageCode && this.coverageCode.length) {
return true;
}
this.$apis.GETCOVERAGECODE().then((res) => {
this.$apis.getWelfareCoverageCode().then((res) => {
this.coverageCode = res.content || [];
});
},
......
......@@ -146,7 +146,7 @@
</template>
<script>
import BurtPagination from "@/components/CUSTOMER/pagation";
import BurtPagination from "@/components/Customer/pagation";
import condition from "./components/condition";
import coverages from "./components/coverages";
// import moment from 'moment'
......@@ -359,12 +359,12 @@ export default {
});
},
_getPayorCode() {
this.$apis.GETPAYORCODE({}).then((res) => {
this.$apis.getPayorCode({}).then((res) => {
this.companyCode = res.content || [];
});
},
_getCorporateCode(val) {
this.$apis.GETCORPORATECODEBYPAYOR({
this.$apis.getCorporateCodeByPayor({
longName: "",
payorCode: val,
}).then((res) => {
......@@ -372,7 +372,7 @@ export default {
});
},
_getPlanCode(val) {
this.$apis.GETPLANCODEBYCORP({
this.$apis.getPlanCodeByCorp({
longName: "",
corpCode: val,
}).then((res) => {
......@@ -393,7 +393,7 @@ export default {
if (this[prop] && this[prop].length) {
return true
}
this.$apis.GETREFCDBYREFGRP(data).then((res) => {
this.$apis.getRefcdByRefgrp(data).then((res) => {
this[prop] = res.content || [];
});
},
......
......@@ -77,7 +77,7 @@ export default {
if (this[prop] && this[prop].length) {
return true
}
this.$apis.GETREFCDBYREFGRP(data).then((res) => {
this.$apis.getRefcdByRefgrp(data).then((res) => {
this[prop] = res.content || [];
});
},
......
......@@ -71,7 +71,7 @@ export default {
},
// 获取币种列表
_getRefcdByRefgrp() {
this.$apis.GETREFCDBYREFGRP({
this.$apis.getRefcdByRefgrp({
modid: "CI",
refgrp: "CURRENCY_TYPE"
}).then((res) => {
......
......@@ -151,7 +151,7 @@ export default {
})
},
_getSpecialtyCode() {
this.$apis.GETSPECIALTYLIST().then((res) => {
this.$apis.getSpecialtyList().then((res) => {
this.welfareType = res.content || [];
});
},
......@@ -170,7 +170,7 @@ export default {
if (this.coverageCode && this.coverageCode.length) {
return true;
}
this.$apis.GETCOVERAGECODE().then((res) => {
this.$apis.getWelfareCoverageCode().then((res) => {
this.coverageCode = res.content || [];
});
},
......
......@@ -83,7 +83,7 @@
</template>
<script>
import BurtPagination from "@/components/CUSTOMER/pagation";
import BurtPagination from "@/components/Customer/pagation";
import coverages from "./components/coverages";
import PolicyInfo from "./components/PolicyInfo";
import moment from "moment";
......@@ -166,7 +166,7 @@ export default {
on: {
click: () => {
if((record.cardNo || '').startsWith('80001428')){
this.$apis.GETJUMPECCSURL({
this.$apis.getJumpEccsUrl({
cardNo: record.cardNo
})
.then(res => {
......@@ -191,7 +191,7 @@ export default {
id: id && id * 1,
patientPolicyId: patientPolicyId * 1,
};
this.$apis.GETCUSTOMERDETAIL(data).then((res) => {
this.$apis.getCustomerDetail(data).then((res) => {
if (res.returnCode === "0000") {
const data = res.content || {};
for (let i in this.form) {
......@@ -250,12 +250,12 @@ export default {
);
},
_getPayorCode() {
this.$apis.GETPAYORCODE({}).then((res) => {
this.$apis.getPayorCode({}).then((res) => {
this.companyCode = res.content || [];
});
},
_getCorporateCode(val) {
this.$apis.GETCORPORATECODEBYPAYOR({
this.$apis.getCorporateCodeByPayor({
longName: "",
payorId: val,
}).then((res) => {
......@@ -263,7 +263,7 @@ export default {
});
},
_getPlanCode(val) {
this.$apis.GETPLANCODEBYCORP({
this.$apis.getPlanCodeByCorp({
longName: "",
corpId: val,
}).then((res) => {
......@@ -275,7 +275,7 @@ export default {
...this.queryForm,
...this.cusPager,
};
this.$apis.GETCUSTOMERLIST(data).then((res) => {
this.$apis.getCustomerList(data).then((res) => {
this.customList = (res.content && res.content.list) || [];
this.cusTotal = (res.content && res.content.total) || 0;
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment