Commit 8dda0ede authored by WindyWTH's avatar WindyWTH

代码审核内容修改完成

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