Commit 0f4a59df authored by yanglilong's avatar yanglilong

Merge branch 'test' of git.ssish.com:sunhailiang/bims

parents 77e494f8 4fb0b84a
...@@ -19,4 +19,13 @@ ...@@ -19,4 +19,13 @@
3. 登录账密 admin/123456 3. 登录账密 admin/123456
4. 发布目录:/datavg/bims/ 4. 发布目录:/datavg/bims/
### 生产
1. IP: 139.224.200.172
2. 域名 http://bims.medilink-global.com.cn
3. 登录账密 admin/123456
4. 发布目录:/datavg/bims/
### nginx
生产nginx配置文件地址: /usr/local/nginx/conf/
public/favicon.png

3.86 KB | W: | H:

public/favicon.png

18 KB | W: | H:

public/favicon.png
public/favicon.png
public/favicon.png
public/favicon.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" /> <meta name="viewport" content="width=device-width,initial-scale=1.0" />
<!-- <link rel="icon" href="<%= BASE_URL %>favicon2.png" /> --> <link rel="icon" href="<%= BASE_URL %>favicon.png" />
<title><%= webpackConfig.name %></title> <title><%= webpackConfig.name %></title>
<script <script
type="text/javascript" type="text/javascript"
src="//at.alicdn.com/t/font_3020450_5d4bvzz8pmi.js" src="//at.alicdn.com/t/font_3020450_llubsxk8eyf.js"
></script> ></script>
</head> </head>
<body> <body>
......
...@@ -8,4 +8,5 @@ export default { ...@@ -8,4 +8,5 @@ export default {
specialtyList: "/backstage/auth/specialtyList", specialtyList: "/backstage/auth/specialtyList",
coverageCode: "/backstage/auth/coverageMasterList", coverageCode: "/backstage/auth/coverageMasterList",
getRefcdByRefgrp: "/common/getRefcdByRefgrp", // 公共获取码表接口 getRefcdByRefgrp: "/common/getRefcdByRefgrp", // 公共获取码表接口
checkUserEmail: "/backstage/user/checkUserEmail", // 校验用户邮箱
}; };
// 报表api // 报表api
export default {}; export default {
};
...@@ -11,6 +11,7 @@ export default { ...@@ -11,6 +11,7 @@ export default {
getChargeListDetail:"/backstage/auth/receiptDetailList",//账单明细 getChargeListDetail:"/backstage/auth/receiptDetailList",//账单明细
getReceiptPaymentDetail:"/backstage/auth/receiptPaymentDetail",//账单明细 getReceiptPaymentDetail:"/backstage/auth/receiptPaymentDetail",//账单明细
queryCiReceipSendList:"/backstage/auth/queryCiReceipSendList",//理赔件账单寄送查询 queryCiReceipSendList:"/backstage/auth/queryCiReceipSendList",//理赔件账单寄送查询
receiptSettlement:"/backstage/auth/receiptSettlement",//账单结算
sendReceipListExport:"/backstage/auth/sendReceipListExport",//寄送关联账单导出
receiptPrint:"/backstage/auth/receiptPrint",//账单打印
}; };
// 信息管理api // 信息管理api
export default { export default {
providerDetail: "/backstage/auth/providerDetail", //医疗机构列表 providerDetail: "/backstage/auth/providerDetail", //医疗机构列表
providerUpdate: "/backstage/auth/providerUpdate", //医疗机构修改
doctorList: "/backstage/auth/doctorList", //医生列表 doctorList: "/backstage/auth/doctorList", //医生列表
doctorDelete: "/backstage/auth/doctorDelete", //删除医生 doctorDelete: "/backstage/auth/doctorDelete", //删除医生
doctorCreate: "/backstage/auth/doctorCreate", //新增医生 doctorCreate: "/backstage/auth/doctorCreate", //新增医生
...@@ -17,4 +19,10 @@ export default { ...@@ -17,4 +19,10 @@ export default {
payorAddDiscount: "/backstage/auth/payorAddDiscount", //新增折扣信息 payorAddDiscount: "/backstage/auth/payorAddDiscount", //新增折扣信息
payorAddDiscountBenefit: "/backstage/auth/payorAddDiscountBenefit", //编辑折扣信息 payorAddDiscountBenefit: "/backstage/auth/payorAddDiscountBenefit", //编辑折扣信息
payorDiscountDelete: "/backstage/auth/payorDiscountDelete", //删除折扣信息 payorDiscountDelete: "/backstage/auth/payorDiscountDelete", //删除折扣信息
/*-------------科室信息-----------------*/
specialtyCreate: "/backstage/auth/specialtyCreate", //新增科室
specialtyUpdate: "/backstage/auth/specialtyUpdate", //修改科室
specialtyListPage: "/backstage/auth/specialtyListPage", //科室列表
specialtyDelete: "/backstage/auth/specialtyDelete", //科室删除
}; };
// 预授权api // 预授权api
export default {}; export default {
patientListNoPage: "/backstage/auth/patientListNoPage", //患者列表无分页
patientPayorList: "/backstage/auth/patientPayorList", //根据患者查询保司列表
patientPolicyList: "/backstage/auth/patientPolicyList", //根据患者查询保单列表
createAuthorize: "/backstage/auth/createAuthorize", //创建预授权
authorizeList: "/backstage/auth/authorizeList", //预授权列表
authorizeDetail: "/backstage/auth/authorizeDetail", //预授权详情
authorizeUpdate: "/backstage/auth/authorizeUpdate", //预授权修改
authorizeDelete: "/backstage/auth/authorizeDelete", //预授权删除
authorizeUseList: "/backstage/auth/authorizeUseList", //预授权使用列表
authorizeUseAdd: "/backstage/auth/authorizeUseAdd", //新增预授权使用
authorizeSendEmail: "/backstage/auth/authorizeSendEmail", //预授权邮件
};
...@@ -11,4 +11,5 @@ export default { ...@@ -11,4 +11,5 @@ export default {
queryEobInfoList: "/backstage/auth/queryEobInfoList", //待回款EOB列表查询 queryEobInfoList: "/backstage/auth/queryEobInfoList", //待回款EOB列表查询
saveBackMoney: "/backstage/auth/saveBackMoney", //新建回款 saveBackMoney: "/backstage/auth/saveBackMoney", //新建回款
deleteBackMoney: "/backstage/auth/deleteBackMoney", //删除回款 deleteBackMoney: "/backstage/auth/deleteBackMoney", //删除回款
eobReceipListExport: "/backstage/auth/eobReceipListExport", //EOB关联账单导出
}; };
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
export default { export default {
benefitType: "/backstage/auth/benefitMasterList", benefitType: "/backstage/auth/benefitMasterList",
planList: "/backstage/auth/planListPage", planList: "/backstage/auth/planListPage",
addPlan: "/backstage/auth/planCreate",
editPlan: "/backstage/auth/planEdit", editPlan: "/backstage/auth/planEdit",
coverageCode: "/backstage/auth/coverageMasterList", coverageCode: "/backstage/auth/coverageMasterList",
coverageList: "/backstage/auth/coverageList", coverageList: "/backstage/auth/coverageList",
......
...@@ -46,6 +46,11 @@ const GETREFCDBYREFGRP = (data) => { ...@@ -46,6 +46,11 @@ const GETREFCDBYREFGRP = (data) => {
return req.post(apis.getRefcdByRefgrp, data); return req.post(apis.getRefcdByRefgrp, data);
}; };
// 校验用户邮箱
const CHECKUSEREMAIL = (data) => {
return req.post(`${apis.checkUserEmail}?userName=${data.userName}`);
};
// 对象数组 // 对象数组
export default { export default {
GETUSERINFO, GETUSERINFO,
...@@ -56,4 +61,5 @@ export default { ...@@ -56,4 +61,5 @@ export default {
UPLOADIMG, UPLOADIMG,
GETCOVERAGECODE, GETCOVERAGECODE,
GETREFCDBYREFGRP, GETREFCDBYREFGRP,
CHECKUSEREMAIL,
}; };
// 报表函数库 // 报表函数库
// import apis from "../apis_moudles/index"; // import apis from "../apis_moudles/index";
// import req from "../request"; // import req from "../request";
// 对象数组 // 对象数组
export default {}; export default {
};
...@@ -45,6 +45,18 @@ const GETRECEIPTPAYMENTDETAIL= function (data) { ...@@ -45,6 +45,18 @@ const GETRECEIPTPAYMENTDETAIL= function (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) {
return req.post(apis.receiptSettlement, data);
};
// 寄送关联账单导出
const SENDRECEIPTLISTEXPORT= function (data) {
return req.post(apis.sendReceipListExport, data, { responseType: "blob" });
};
// 账单打印
const RECEIPTPRINT= function (data) {
return req.post(apis.receiptPrint, data);
};
// 对象数组 // 对象数组
...@@ -60,6 +72,7 @@ export default { ...@@ -60,6 +72,7 @@ export default {
GETCHARGELISTDETAIL, GETCHARGELISTDETAIL,
GETRECEIPTPAYMENTDETAIL, GETRECEIPTPAYMENTDETAIL,
QUERYCIRECEIPSENDLIST, QUERYCIRECEIPSENDLIST,
RECEIPTSETTLEMENT,
SENDRECEIPTLISTEXPORT,
RECEIPTPRINT,
}; };
...@@ -3,8 +3,12 @@ import apis from "../apis_moudles/index"; ...@@ -3,8 +3,12 @@ import apis from "../apis_moudles/index";
import req from "../request"; import req from "../request";
//医疗机构列表 //医疗机构列表
const PROVIDERDETAIL = () => { const PROVIDERDETAIL = (data) => {
return req.post(apis.providerDetail); return req.post(apis.providerDetail, data);
};
//医疗机构修改
const PROVIDERUPDATE = (data) => {
return req.post(apis.providerUpdate, data);
}; };
//医生列表 //医生列表
...@@ -68,9 +72,28 @@ const PAYORDISCOUNTDELETE = (data) => { ...@@ -68,9 +72,28 @@ const PAYORDISCOUNTDELETE = (data) => {
return req.post(apis.payorDiscountDelete, data); return req.post(apis.payorDiscountDelete, data);
}; };
/*-------------科室信息-----------------*/
//创建科室
const SPECIALTYCREATE = (data) => {
return req.post(apis.specialtyCreate, data);
};
//修改科室
const SPECIALTYUPDATE = (data) => {
return req.post(apis.specialtyUpdate, data);
};
//科室列表
const SPECIALTYLISTPAGE = (data) => {
return req.post(apis.specialtyListPage, data);
};
//科室删除
const SPECIALTYDELETE = (data) => {
return req.post(apis.specialtyDelete, data);
};
// 对象数组 // 对象数组
export default { export default {
PROVIDERDETAIL, PROVIDERDETAIL,
PROVIDERUPDATE,
DOCTORLIST, DOCTORLIST,
DOCTORDELETE, DOCTORDELETE,
DOCTORCREATE, DOCTORCREATE,
...@@ -82,5 +105,9 @@ export default { ...@@ -82,5 +105,9 @@ export default {
PAYORDELETE, PAYORDELETE,
PAYORADDDISCOUNT, PAYORADDDISCOUNT,
PAYORADDDISCOUNTBENEFIT, PAYORADDDISCOUNTBENEFIT,
PAYORDISCOUNTDELETE PAYORDISCOUNTDELETE,
SPECIALTYCREATE,
SPECIALTYUPDATE,
SPECIALTYLISTPAGE,
SPECIALTYDELETE
}; };
// 预授权函数库 // 预授权函数库
// import apis from "../apis_moudles/index"; import apis from "../apis_moudles/index";
// import req from "../request"; import req from "../request";
//患者列表无分页
const PATIENTLISTNOPAGE = (data) => {
return req.post(apis.patientListNoPage, data);
};
//根据患者查询保司列表
const PATIENTPAYORLIST = (data) => {
return req.post(apis.patientPayorList, data);
};
//根据患者查询保单列表
const PATIENTPOLICYLIST = (data) => {
return req.post(apis.patientPolicyList, data);
};
//创建预授权
const AUTHORIZECREATE = function (data) {
return req.post(apis.createAuthorize, data);
};
//预授权列表
const AUTHORIZELIST = function (data) {
return req.post(apis.authorizeList, data);
};
//预授权详情
const AUTHORIZEDETAIL = function (data) {
return req.post(apis.authorizeDetail, data);
};
//预授权修改
const AUTHORIZEUPDATE = function (data) {
return req.post(apis.authorizeUpdate, data);
};
//预授权删除
const AUTHORIZEDELETE = function (data) {
return req.post(apis.authorizeDelete, data);
};
//预授权使用列表
const AUTHORIZEUSELIST = function (data) {
return req.post(apis.authorizeUseList, data);
};
//新增预授权使用
const AUTHORIZEUSEADD = function (data) {
return req.post(apis.authorizeUseAdd, data);
};
//预授权邮件
const AUTHORIZESENDEMAIL = function (data) {
return req.post(apis.authorizeSendEmail, data);
};
// 对象数组 // 对象数组
export default {}; export default {
PATIENTLISTNOPAGE,
PATIENTPAYORLIST,
PATIENTPOLICYLIST,
AUTHORIZECREATE,
AUTHORIZELIST,
AUTHORIZEDETAIL,
AUTHORIZEUPDATE,
AUTHORIZEDELETE,
AUTHORIZEUSELIST,
AUTHORIZEUSEADD,
AUTHORIZESENDEMAIL,
};
...@@ -48,6 +48,11 @@ const DELETEBACKMONEY = (data) => { ...@@ -48,6 +48,11 @@ const DELETEBACKMONEY = (data) => {
return req.post(apis.deleteBackMoney, data); return req.post(apis.deleteBackMoney, data);
}; };
//EOB关联账单导出
const EOBRECEIPLISTEXPORT = (data={}) => {
return req.post(apis.eobReceipListExport, data, { responseType: "blob" });
};
// 对象数组 // 对象数组
export default { export default {
QUERYEOBLIST, QUERYEOBLIST,
...@@ -60,4 +65,5 @@ export default { ...@@ -60,4 +65,5 @@ export default {
QUERYEOBINFOLIST, QUERYEOBINFOLIST,
SAVEBACKMONEY, SAVEBACKMONEY,
DELETEBACKMONEY, DELETEBACKMONEY,
EOBRECEIPLISTEXPORT,
}; };
\ No newline at end of file
...@@ -10,7 +10,11 @@ const GETPLANLIST = (data) => { ...@@ -10,7 +10,11 @@ const GETPLANLIST = (data) => {
return req.post(apis.planList, data); return req.post(apis.planList, data);
}; };
const EDITPLANDATE = (data) => { const ADDTPLANDATA = (data) => {
return req.post(apis.addPlan, data);
};
const EDITPLANDATA = (data) => {
return req.post(apis.editPlan, data); return req.post(apis.editPlan, data);
}; };
...@@ -66,7 +70,8 @@ const GETLIMITCODE = (data) => { ...@@ -66,7 +70,8 @@ const GETLIMITCODE = (data) => {
export default { export default {
GETBENEGITTYPE, GETBENEGITTYPE,
GETPLANLIST, GETPLANLIST,
EDITPLANDATE, ADDTPLANDATA,
EDITPLANDATA,
GETCOVERAGELIST, GETCOVERAGELIST,
GETCONDITIONLIST, GETCONDITIONLIST,
ADDCONDITIONDATA, ADDCONDITIONDATA,
......
...@@ -10,7 +10,7 @@ const service = axios.create({ ...@@ -10,7 +10,7 @@ const service = axios.create({
return status >= 200 && status <= 504; // 合法状态码 return status >= 200 && status <= 504; // 合法状态码
}, },
baseURL: process.env.VUE_APP_API, // 基础请求路径 baseURL: process.env.VUE_APP_API, // 基础请求路径
timeout: 10000, // 请求超时 timeout: 60000, // 请求超时
}); });
// 重复尝试此时 // 重复尝试此时
service.defaults.retry = 3; service.defaults.retry = 3;
...@@ -63,9 +63,9 @@ service.interceptors.response.use( ...@@ -63,9 +63,9 @@ service.interceptors.response.use(
const { config } = response const { config } = response
if (config && config.responseType === 'blob') { if (config && config.responseType === 'blob') {
resolve(response) resolve(response)
return true }else{
resolve(response.data);
} }
resolve(response.data);
} }
} }
}).catch(() => { }).catch(() => {
......
...@@ -244,9 +244,9 @@ select { ...@@ -244,9 +244,9 @@ select {
} }
// .ant-table, // .ant-table,
.ant-table { .ant-table {
thead th{ .ant-table-thead th{
font-weight: bold; font-weight: bold;
background-color: #F8FAFB; background-color: #F8FAFB !important;
} }
.ant-btn { .ant-btn {
// .fs(21); // .fs(21);
......
...@@ -21,6 +21,8 @@ import { ...@@ -21,6 +21,8 @@ import {
modal, modal,
Spin, Spin,
Collapse, Collapse,
Tabs,
Tooltip
} from "ant-design-vue"; } from "ant-design-vue";
export default () => { export default () => {
...@@ -46,6 +48,8 @@ export default () => { ...@@ -46,6 +48,8 @@ export default () => {
modal, modal,
Spin, Spin,
Collapse, Collapse,
Tabs,
Tooltip
]; ];
// 注册 // 注册
els.forEach((item) => { els.forEach((item) => {
......
<template>
<div class="back-container">
<div class="flex left-div">
<span class="title">{{title}}</span>
<span class="back" @click.stop="back">&lt; 返回</span>
</div>
</div>
</template>
<script>
export default{
props: {
title: {
default: ""
}
},
data(){
},
methods: {
back(){
this.$router.go(-1);
}
}
}
</script>
<style lang="less" scoped>
.back-container{
.pa(20, 0, 30, 0);
border-bottom: 1px solid #eee;
margin-bottom: 20px;
.left-div{
font-size: 14px;
font-weight: bold;
.title{
color: #000;
}
.back{
margin-left: 16px;
color: #005ec8;
cursor: pointer;
}
}
}
</style>
...@@ -32,8 +32,8 @@ export default { ...@@ -32,8 +32,8 @@ export default {
created() {}, created() {},
mounted() {}, mounted() {},
methods: { methods: {
clickEvent() { clickEvent(e) {
this.$emit("click"); this.$emit("click", e);
}, },
}, },
}; };
...@@ -49,5 +49,6 @@ export default { ...@@ -49,5 +49,6 @@ export default {
vertical-align: -0.15em; vertical-align: -0.15em;
fill: currentColor; fill: currentColor;
overflow: hidden; overflow: hidden;
color: red;
} }
</style> </style>
import bus from "../utils/bus"; import bus from "../utils/bus";
import {} from '@/utils/utilsdictOptions.js' import {sexOptions, SendStatusOptions, ClaimsStatusOptions, EOBStatusOptions,
ApplyStatusOptions,ApproveStatusOptions} from '@/utils/utilsdictOptions.js'
// 全局混入将会影响每个单文件组件,请慎重思考是否要混入 // 全局混入将会影响每个单文件组件,请慎重思考是否要混入
export default { export default {
...@@ -9,6 +10,65 @@ export default { ...@@ -9,6 +10,65 @@ export default {
}; };
}, },
filters: { filters: {
//过滤性别
formatSex(val){
if (!val) {
return;
}
const item = sexOptions.find((item) => {
return item.value == val;
});
return item? item.name: "";
},
//过滤寄送状态
formatSendStatus(val){
if (!val) {
return;
}
const item = SendStatusOptions.find((item) => {
return item.value == val;
});
return item? item.name: "";
},
//过滤理赔状态
formatClaimsStatus(val){
if (!val) {
return;
}
const item = ClaimsStatusOptions.find((item) => {
return item.value == val;
});
return item? item.name: "";
},
//过滤EOB状态
formatEOBStatus(val){
if (!val) {
return;
}
const item = EOBStatusOptions.find((item) => {
return item.value == val;
});
return item? item.name: "";
},
//过滤申请状态
formatApplyStatus(val){
if (!val) {
return;
}
const item = ApplyStatusOptions.find((item) => {
return item.value == val;
});
return item? item.name: "";
},
//过滤审批结果
formatApproveStatus(val){
if (!val) {
return;
}
const item = ApproveStatusOptions.find((item) => {
return item.value == val;
});
return item? item.name: "";
},
} }
}; };
...@@ -6,6 +6,8 @@ Vue.use(VueRouter); ...@@ -6,6 +6,8 @@ Vue.use(VueRouter);
import Layout from "../views/layout/index.vue"; import Layout from "../views/layout/index.vue";
// 登录模块 // 登录模块
import author from "./modules/author"; import author from "./modules/author";
//主页面
import home from "./modules/home";
// 客户管理 // 客户管理
import customer from "./modules/customer"; import customer from "./modules/customer";
// 福利信息管理 // 福利信息管理
...@@ -30,6 +32,7 @@ const routes = [ ...@@ -30,6 +32,7 @@ const routes = [
path: "/", path: "/",
redirect: "/login", redirect: "/login",
}, },
home,
customer, customer,
welfare, welfare,
preAuth, preAuth,
......
//报表路由表,分包名称:home
export default {
path: "/home",
name: "Home",
component: () => {
return import(/* webpackChunkName: "home" */ "@/views/home");
},
};
export default [ export default [
{
icon: "ssihome",
path: "/home",
title: "主页面",
children: [],
},
{ {
icon: "ssiuser", icon: "ssiuser",
path: "1", path: "1",
...@@ -6,11 +12,11 @@ export default [ ...@@ -6,11 +12,11 @@ export default [
children: [ children: [
{ {
path: "/customer", path: "/customer",
title: "客户信息明细", title: "客户查询",
}, },
{ {
path: "/customer/edit", path: "/customer/edit",
title: "新建客户信息", title: "新建客户",
}, },
], ],
}, },
...@@ -21,12 +27,8 @@ export default [ ...@@ -21,12 +27,8 @@ export default [
children: [ children: [
{ {
path: "/welfare", path: "/welfare",
title: "福利信息明细", title: "福利查询",
}, }
{
path: "/welfare/edit",
title: "福利信息管理",
},
], ],
}, },
{ {
...@@ -39,7 +41,7 @@ export default [ ...@@ -39,7 +41,7 @@ export default [
title: "预授权查询", title: "预授权查询",
}, },
{ {
path: "/pre-auth", path: "/pre-auth/add",
title: "新建预授权", title: "新建预授权",
}, },
], ],
...@@ -77,16 +79,20 @@ export default [ ...@@ -77,16 +79,20 @@ export default [
{ {
icon: "ssidata", icon: "ssidata",
path: "info", path: "info",
title: "信息管理", title: "系统设置",
children: [ children: [
{ {
path: "/info", path: "/info",
title: "医疗机构信息", title: "医疗机构设置",
}, },
{ {
path: "/info/company", path: "/info/company",
title: "保险公司信息", title: "保险公司设置",
}, },
{
path: "/welfare/edit",
title: "福利信息设置",
}
], ],
}, },
{ {
......
// 预授权路由表,分包名称:preAuth // 预授权路由表,分包名称:preAuth
import Layout from '@/layout'
export default { export default {
path: "/pre-auth", path: "/pre-auth",
name: "PreAuth", name: "PreAuth",
component: () => { component: Layout,
return import(/* webpackChunkName: "preAuth" */ "@/views/pre-auth"); children: [
}, {
path: "",
name: "PreAuthIndex",
component: () => import("@/views/pre-auth/index"),
},
{
path: "add",
name: "PreAuthAdd",
component: () => import("@/views/pre-auth/add"),
},
],
}; };
...@@ -71,4 +71,20 @@ export function downloadFile(response, file_name = "ExportFile") { ...@@ -71,4 +71,20 @@ export function downloadFile(response, file_name = "ExportFile") {
// link.click(); // link.click();
// document.body.removeChild(link); // document.body.removeChild(link);
} }
}
//导出excel
export function exportFile(res, file_name) {
let blob = new Blob([res.data], {
type:"application/vnd.ms-excel;charset=utf-8"
});
let url=window.URL.createObjectURL(blob);
let aLink=document.createElement("a");
aLink.style.display="none";
aLink.href=url;
aLink.setAttribute("download", file_name);
document.body.appendChild(aLink);
aLink.click();
document.body.removeChild(aLink);
window.URL.revokeObjectURL(url);
} }
\ No newline at end of file
...@@ -8,9 +8,58 @@ const sexOptions = [{ ...@@ -8,9 +8,58 @@ const sexOptions = [{
value: 'F' value: 'F'
}]; }];
//寄送状态
const SendStatusOptions = [
{ name: '未寄送', value: '1'},
{ name: '寄送', value: '2'},
{ name: '待寄送', value: '3'},
];
//理赔状态
const ClaimsStatusOptions = [
{ name: '赔付', value: '01'},
{ name: '部分赔付', value: '02'},
{ name: '拒赔', value: '03'},
{ name: '补充材料', value: '04'},
];
//EOB状态
const EOBStatusOptions = [
{ name: '待回款', value: '1'},
{ name: '已回款', value: '2'},
{ name: '未回款', value: '3'}
];
//申请状态
const ApplyStatusOptions = [
{ name: '申请中', value: '01'},
{ name: '预授权批准', value: '02'},
{ name: '预授权拒绝', value: '03'},
{ name: '预授权调查', value: '04'},
];
//审批结果
const ApproveStatusOptions = [
{ name: '未通过', value: '1'},
{ name: '已通过', value: '2'}
];
//monetUnit
const MoneyUnitOptions = [
{ name: '', value: '01'},
{ name: '美元', value: '02'},
{ name: '英镑', value: '03'},
{ name: '欧元', value: '04'},
];
module.exports = { module.exports = {
sexOptions, sexOptions,
SendStatusOptions,
ClaimsStatusOptions,
EOBStatusOptions,
ApplyStatusOptions,
ApproveStatusOptions,
MoneyUnitOptions,
} }
\ No newline at end of file
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
</a-form-model-item> </a-form-model-item>
<a-form-model-item prop="verificationCode"> <a-form-model-item prop="verificationCode">
<a-input v-model="form.verificationCode" placeholder="请输入验证码"> <a-input v-model="form.verificationCode" placeholder="请输入验证码">
<a-button type="primary" slot="addonAfter" @click="getVerifyCode" <a-button type="primary" slot="addonAfter" size="small" @click="getVerifyCode"
>发送验证码至邮箱</a-button >发送验证码至邮箱</a-button
> >
</a-input> </a-input>
...@@ -76,7 +76,7 @@ export default { ...@@ -76,7 +76,7 @@ export default {
activeStep: "1", activeStep: "1",
form: {}, form: {},
formRules: { formRules: {
userName: [{ required: true, message: "请输入邮箱" }], userName: [{ required: true, message: "请输入用户名" }],
passWord: [{ required: true, message: "请输入密码" }], passWord: [{ required: true, message: "请输入密码" }],
newPwd: [ newPwd: [
{ required: true, message: "请再次输入新密码" }, { required: true, message: "请再次输入新密码" },
...@@ -111,15 +111,11 @@ export default { ...@@ -111,15 +111,11 @@ export default {
}); });
}, },
handlerNext() { handlerNext() {
this.$refs.form.validateField( this.$refs.form.validate((valid) => {
["userName", "verificationCode"], if (valid) {
(valid) => {
if (valid) {
return false;
}
this.activeStep = "2"; this.activeStep = "2";
} }
); });
}, },
handlerReset() { handlerReset() {
this.$refs.form.validate((valid) => { this.$refs.form.validate((valid) => {
...@@ -130,15 +126,43 @@ export default { ...@@ -130,15 +126,43 @@ export default {
this._reset({ userName, verificationCode, newPwd }); this._reset({ userName, verificationCode, newPwd });
}); });
}, },
_getVerifyEmail(data) { //校验用户邮箱
this.$apis.GETVERIFYEMAIL(data).then((res) => { checkUserEmail(data){
if (res.returnCode === "0000") { return new Promise((resolve,reject)=>{
this.$message.success(res.returnMsg || "发送成功"); this.$apis.CHECKUSEREMAIL({
} else { userName: data.userName
this.$message.error(res.returnMsg || "发送失败"); })
} .then((res)=>{
if (res.returnCode === "0000") {
resolve(res.content);
}else{
this.$message.error(res.returnMsg);
reject();
}
})
}); });
}, },
async _getVerifyEmail(data) {
let email = await this.checkUserEmail(data);
if(email){
this.$modal.confirm({
title: "发送到邮箱",
content: `确认发送至邮箱${email}?`,
okText: "确认",
cancelText: "取消",
onOk: () => {
this.$apis.GETVERIFYEMAIL(data).then((res) => {
if (res.returnCode === "0000") {
this.$message.success(res.returnMsg || "发送成功");
} else {
this.$message.error(res.returnMsg || "发送失败");
}
});
},
onCancel: () => {},
});
}
},
_reset(data) { _reset(data) {
this.$apis.RESETPASSWORD(data).then((res) => { this.$apis.RESETPASSWORD(data).then((res) => {
if (res.returnCode === "0000") { if (res.returnCode === "0000") {
...@@ -175,16 +199,16 @@ export default { ...@@ -175,16 +199,16 @@ export default {
.bd-b(solid, 31, transparent); .bd-b(solid, 31, transparent);
} }
&::before { &::before {
.l(-20); .l(-18.8);
.bd-r(solid, 20, #2b63ff); .bd-r(solid, 20, #2b63ff);
} }
&::after { &::after {
.r(-20); .r(-18.8);
.bd-l(solid, 20, #2b63ff); .bd-l(solid, 20, #2b63ff);
} }
} }
.steps { .steps {
.pa(18, 37, 32, 37); .pa(0, 32, 32, 32);
display: flex; display: flex;
.step-item { .step-item {
.fs(12); .fs(12);
...@@ -229,7 +253,7 @@ export default { ...@@ -229,7 +253,7 @@ export default {
.module-title { .module-title {
.fs(14); .fs(14);
.lh(20); .lh(20);
.mg-b(32); .mg-b(30);
a { a {
color: #373842; color: #373842;
opacity: 0.4; opacity: 0.4;
......
...@@ -23,7 +23,7 @@ export default { ...@@ -23,7 +23,7 @@ export default {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
height: 100vh; min-height: 100vh;
background: url("../../assets/image/login_bg.png") center center no-repeat; background: url("../../assets/image/login_bg.png") center center no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
.title { .title {
...@@ -32,12 +32,15 @@ export default { ...@@ -32,12 +32,15 @@ export default {
.pb(90); .pb(90);
color: #fff; color: #fff;
letter-spacing: 3px; letter-spacing: 3px;
text-align: center;
} }
.login, .login,
.forget { .forget {
.w(394); width: 394px;
max-width: 90%;
// .w(394);
.bd-rd(27); .bd-rd(27);
.pa(50, 63, 10, 63); .pa(50, 47, 18, 47);
margin: 0 auto; margin: 0 auto;
position: relative; position: relative;
background-color: #fff; background-color: #fff;
......
...@@ -84,7 +84,7 @@ export default { ...@@ -84,7 +84,7 @@ export default {
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 || "/customer"; const path = this.$route.query && this.$route.query.redirect || "/home";
this.$router.replace(path); this.$router.replace(path);
} else { } else {
this.$message.error(res.returnMsg || "出现错误"); this.$message.error(res.returnMsg || "出现错误");
......
<template>
<div>申诉案件</div>
</template>
<script>
export default{
data(){
return {
}
},
methods: {
}
}
</script>
<style lang="less" scoped>
</style>
\ No newline at end of file
<template>
<div>福利查询</div>
</template>
<script>
export default{
data(){
return {
}
},
methods: {
}
}
</script>
<style lang="less" scoped>
</style>
\ No newline at end of file
<template>
<div>
<!-- form -->
<a-form-model ref="form" layout="vertical" :model="form">
<a-row :gutter="30">
<a-col :lg="6" :sm="12">
<a-form-model-item label="就诊日期">
<a-range-picker format="YYYY年MM月DD日" v-model="form.dateRange" :placeholder="['开始日期', '结束日期']" />
</a-form-model-item>
</a-col>
<a-col :lg="6" :sm="12">
<a-form-model-item label="保险公司">
<a-select v-model="form.payorCode" placeholder="请选择保险公司" allowClear>
<a-select-option v-for="item in companyOptions" :key="item.id" :value="item.payorCode">
{{ item.longName }}
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
<a-col :lg="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-range-picker format="YYYY年MM月DD日" v-model="form.dateRange" :placeholder="['开始日期', '结束日期']" />
</a-form-model-item>
</a-col>
<a-col :lg="24" 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>
<a-table :columns="columns" :data-source="dataList" :scroll="{ x: true }" :pagination="false">
<template slot="index" slot-scope="text, record, index">
{{ index + 1 }}
</template>
</a-table>
<!--分页-->
<BurtPagination :pagination="pagination" @pageChange="getData" />
</div>
</template>
<script>
import BurtPagination from "@/components/CUSTOMER/pagation";
import moment from 'moment'
import {ClaimsStatusOptions} from '@/utils/utilsdictOptions';
import {exportFile} from '@/utils/index';
export default{
props: {
companyOptions: {
default: []
}
},
data(){
const columns = [
{ title: "月份", dataIndex: "receiptNo", key:"receiptNo",align:'center', width: 136},
{ title: "保险公司", dataIndex: "payorName", width: 110 },
{ title: "保险就诊量", dataIndex: "patientNo", key:"patientNo",align:'center', width: 136},
{ title: "回款天数(天)", dataIndex: "patientName", width: 110 },
{ title: "金额", dataIndex: "chargeAmount", width: 100, align: 'center' },
{ title: "折后金额", dataIndex: "discountAmount", width: 100, align: 'center' },
{ title: "客户自付金额", dataIndex: "paidAmount", width: 120, align: 'center' },
{ title: "保险已回款金额", dataIndex: "paidAmount2", width: 130, align: 'center' },
{ title: "账单寄送日期", dataIndex: "paidAmount3", width: 130, align: 'center' },
{ title: "回款日期", dataIndex: "paidAmount4", width: 130, align: 'center' },
];
return {
columns,
ClaimsStatusOptions,
form: {
dateRange: [],
payorCode: '',
sendBatchNo: '',
sendCompany: '',
trackingNo: '',
sendSts: '',
},
dataList: [],
pagination: {
pageNum: 1,
pageSize: 10,
total: 0,
},
}
},
components: {
BurtPagination,
},
created(){
},
methods: {
moment,
handlerSearch(){
this.pagination.pageNum = 1;
this.getData();
},
// 获取列表数据
getData() {
let filter = {
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize,
...this.form,
}
delete filter.dateRange;
this.$apis.QUERYSENDINFOLIST(filter)
.then((res) => {
if (res.returnCode == "0000") {
let content = res.content || {};
this.pagination.total = content.total || 0;
this.dataList = content.list || [];
} else {
this.$message.error(res.returnMsg);
}
});
},
//导出报表
exportExcel(){
exportFile('保险应收报表.xls');
}
}
}
</script>
<style lang="less" scoped>
/deep/ .ant-input-group-addon{
border-left: 1px solid #d9d9d9;
}
</style>
\ No newline at end of file
<template>
<div>
<!-- form -->
<a-form-model ref="form" layout="vertical" :model="form">
<a-row :gutter="30">
<a-col :lg="6" :sm="12">
<a-form-model-item label="就诊日期">
<a-range-picker format="YYYY年MM月DD日" v-model="form.dateRange" :placeholder="['开始日期', '结束日期']" />
</a-form-model-item>
</a-col>
<a-col :lg="6" :sm="12">
<a-form-model-item label="保险公司">
<a-select v-model="form.payorCode" placeholder="请选择保险公司" allowClear>
<a-select-option v-for="item in companyOptions" :key="item.id" :value="item.payorCode">
{{ item.longName }}
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
<a-col :lg="12" :sm="12" class="none-label">
<a-form-model-item label="button">
<a-button class="mar-left10" type="primary" @click="handlerSearch">
<Icon name="ssisearch_active" :size="14" />查询
</a-button>
<a-button class="mar-left10" type="primary" @click="exportExcel">
<Icon name="ssidaochu" :size="14" />导出报表</a-button>
</a-form-model-item>
</a-col>
</a-row>
</a-form-model>
<a-table :columns="columns" :data-source="dataList" :scroll="{ x: true }" :pagination="false">
<template slot="index" slot-scope="text, record, index">
{{ index + 1 }}
</template>
</a-table>
<!--分页-->
<BurtPagination :pagination="pagination" @pageChange="getData" />
</div>
</template>
<script>
import BurtPagination from "@/components/CUSTOMER/pagation";
import moment from 'moment'
import {ClaimsStatusOptions} from '@/utils/utilsdictOptions';
import {exportFile} from '@/utils/index';
export default{
props: {
companyOptions: {
default: []
}
},
data(){
const columns = [
{ title: "月份", dataIndex: "receiptNo", key:"receiptNo",align:'center', width: 136},
{ title: "保险公司", dataIndex: "payorName", width: 110 },
{ title: "保险就诊量", dataIndex: "patientNo", key:"patientNo",align:'center', width: 136},
{ title: "回款率(%)", dataIndex: "patientName", width: 110 },
{ title: "金额", dataIndex: "chargeAmount", width: 100, align: 'center' },
{ title: "折后金额", dataIndex: "discountAmount", width: 100, align: 'center' },
{ title: "客户自付金额", dataIndex: "paidAmount", width: 120, align: 'center' },
{ title: "保险已回款金额", dataIndex: "paidAmount2", width: 130, align: 'center' },
];
return {
columns,
ClaimsStatusOptions,
form: {
dateRange: [],
payorCode: '',
sendBatchNo: '',
sendCompany: '',
trackingNo: '',
sendSts: '',
},
dataList: [],
pagination: {
pageNum: 1,
pageSize: 10,
total: 0,
},
}
},
components: {
BurtPagination,
},
created(){
},
methods: {
moment,
handlerSearch(){
this.pagination.pageNum = 1;
this.getData();
},
// 获取列表数据
getData() {
let filter = {
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize,
...this.form,
}
delete filter.dateRange;
this.$apis.QUERYSENDINFOLIST(filter)
.then((res) => {
if (res.returnCode == "0000") {
let content = res.content || {};
this.pagination.total = content.total || 0;
this.dataList = content.list || [];
} else {
this.$message.error(res.returnMsg);
}
});
},
//导出报表
exportExcel(){
exportFile('保险应收报表.xls');
}
}
}
</script>
<style lang="less" scoped>
/deep/ .ant-input-group-addon{
border-left: 1px solid #d9d9d9;
}
</style>
\ No newline at end of file
<template>
<div>
<!-- form -->
<a-form-model ref="form" layout="vertical" :model="form">
<a-row :gutter="30">
<a-col :lg="8" :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="8" :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="8" :sm="12">
<a-form-model-item label="理赔状态">
<a-select v-model="form.sendSts" placeholder="请选择理赔状态" allowClear>
<a-select-option v-for="(item,i) in ClaimsStatusOptions" :key="i" :value="item.value">{{item.name}}</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
<a-col :lg="8" :sm="12">
<a-form-model-item label="病历号">
<a-input v-model="form.trackingNo" placeholder="请输入病历号" allow-clear />
</a-form-model-item>
</a-col>
<a-col :lg="8" :sm="12">
<a-form-model-item label="客户姓名">
<a-input v-model="form.sendBatchNo" placeholder="请输入客户姓名" allow-clear />
</a-form-model-item>
</a-col>
<a-col :lg="8" :sm="12">
<a-form-model-item label="账龄">
<a-input v-model="form.sendBatchNo" type="number" placeholder="请输入账龄" allow-clear addon-after="天" />
</a-form-model-item>
</a-col>
<a-col :sm="24" 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>
<a-table :columns="columns" :data-source="dataList" :scroll="{ x: true }" :pagination="false">
<template slot="index" slot-scope="text, record, index">
{{ index + 1 }}
</template>
</a-table>
<!--分页-->
<BurtPagination :pagination="pagination" @pageChange="getData" />
</div>
</template>
<script>
import BurtPagination from "@/components/CUSTOMER/pagation";
import moment from 'moment'
import {ClaimsStatusOptions} from '@/utils/utilsdictOptions';
import {exportFile} from '@/utils/index';
export default{
props: {
companyOptions: {
default: []
}
},
data(){
const columns = [
{ title: "病历号", dataIndex: "receiptNo", key:"receiptNo",align:'center', width: 136},
{ title: "客户姓名", dataIndex: "patientNo", key:"patientNo",align:'center', width: 136},
{ title: "出生日期", dataIndex: "patientName", width: 98 },
{ title: "保险公司", dataIndex: "payorName", width: 110 },
{ title: "会员号", dataIndex: "visitTimeStart", width: 100,scopedSlots: { customRender: "visitTimeStart" } },
{ title: "保单号", dataIndex: "chargeAmount", width: 100, align: 'center' },
{ title: "就诊日期", dataIndex: "discountAmount", width: 100, align: 'center' },
{ title: "金额", dataIndex: "paidAmount", width: 100, align: 'center' },
{ title: "折后金额", dataIndex: "paidAmount2", width: 100, align: 'center' },
{ title: "理赔金额", dataIndex: "paidamoun3", width: 100, align: 'center' },
{ title: "已赔付金额", dataIndex: "paidamoun4", width: 110, align: 'center' },
{ title: "欠费金额", dataIndex: "paidamoun5", width: 100, align: 'center' },
{ title: "理赔状态", dataIndex: "paidamount6", width: 100, align: 'center' },
{ title: "原因", dataIndex: "paidamount7", width: 100, align: 'center' },
{ title: "账单状态", dataIndex: "paidamount8", width: 100, align: 'center' },
{ title: "医生", dataIndex: "paidamount9", width: 100, align: 'center' },
{ title: "科室", dataIndex: "paidamount10", width: 100, align: 'center' },
{ title: "账单编号", dataIndex: "paidamount11", width: 100, align: 'center' },
{ title: "发票号码", dataIndex: "paidamount12", width: 100, align: 'center' },
{ title: "就诊类型", dataIndex: "paidamount13", width: 100, align: 'center' },
{ title: "账单寄送日期", dataIndex: "paidamount14", width: 120, align: 'center' },
{ title: "回款日期", dataIndex: "paidamount15", width: 100, align: 'center' },
{ title: "账龄", dataIndex: "paidamount16", width: 100, align: 'center' },
];
return {
columns,
ClaimsStatusOptions,
form: {
dateRange: [],
payorCode: '',
sendBatchNo: '',
sendCompany: '',
trackingNo: '',
sendSts: '',
},
dataList: [],
pagination: {
pageNum: 1,
pageSize: 10,
total: 0,
},
}
},
components: {
BurtPagination,
},
created(){
},
methods: {
moment,
handlerSearch(){
this.pagination.pageNum = 1;
this.getData();
},
// 获取列表数据
getData() {
let filter = {
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize,
...this.form,
}
delete filter.dateRange;
this.$apis.QUERYSENDINFOLIST(filter)
.then((res) => {
if (res.returnCode == "0000") {
let content = res.content || {};
this.pagination.total = content.total || 0;
this.dataList = content.list || [];
} else {
this.$message.error(res.returnMsg);
}
});
},
//导出报表
exportExcel(){
exportFile('保险应收报表.xls');
}
}
}
</script>
<style lang="less" scoped>
/deep/ .ant-input-group-addon{
border-left: 1px solid #d9d9d9;
}
</style>
\ No newline at end of file
<template>
<div>寄送清单</div>
</template>
<script>
export default{
data(){
return {
}
},
methods: {
}
}
</script>
<style lang="less" scoped>
</style>
\ No newline at end of file
<template>
<div>材料补充</div>
</template>
<script>
export default{
data(){
return {
}
},
methods: {
}
}
</script>
<style lang="less" scoped>
</style>
\ No newline at end of file
<template>
<div>
<!-- form -->
<a-form-model ref="form" layout="vertical" :model="form">
<a-row :gutter="30">
<a-col :lg="6" :sm="12">
<a-form-model-item label="就诊日期">
<a-range-picker format="YYYY年MM月DD日" v-model="form.dateRange" :placeholder="['开始日期', '结束日期']" />
</a-form-model-item>
</a-col>
<a-col :lg="6" :sm="12">
<a-form-model-item label="保险公司">
<a-select v-model="form.payorCode" placeholder="请选择保险公司" allowClear>
<a-select-option v-for="item in companyOptions" :key="item.id" :value="item.payorCode">
{{ item.longName }}
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
<a-col :lg="6" :sm="12">
<a-form-model-item label="理赔状态">
<a-select v-model="form.sendSts" placeholder="请选择理赔状态" allowClear>
<a-select-option v-for="(item,i) in ClaimsStatusOptions" :key="i" :value="item.value">{{item.name}}</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
<a-col :lg="6" :sm="12">
<a-form-model-item label="账单寄送日期">
<a-date-picker allow-clear v-model="form.firstEnrollmentTime" placeholder="请选择账单寄送日期" value-format="YYYY-MM-DD 00:00:00" />
</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="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="6" :sm="12">
<a-form-model-item label="病历号">
<a-input v-model="form.trackingNo" placeholder="请输入病历号" allow-clear />
</a-form-model-item>
</a-col>
<a-col :lg="6" :sm="12">
<a-form-model-item label="客户姓名">
<a-input v-model="form.sendBatchNo" placeholder="请输入客户姓名" allow-clear />
</a-form-model-item>
</a-col>
<a-col :sm="24" 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>
<a-table :columns="columns" :data-source="dataList" :scroll="{ x: true }" :pagination="false">
<template slot="index" slot-scope="text, record, index">
{{ index + 1 }}
</template>
</a-table>
<!--分页-->
<BurtPagination :pagination="pagination" @pageChange="getData" />
</div>
</template>
<script>
import BurtPagination from "@/components/CUSTOMER/pagation";
import moment from 'moment'
import {ClaimsStatusOptions} from '@/utils/utilsdictOptions';
import {exportFile} from '@/utils/index';
export default{
props: {
companyOptions: {
default: []
}
},
data(){
const columns = [
{ title: "病历号", dataIndex: "receiptNo", key:"receiptNo",align:'center', width: 136},
{ title: "客户姓名", dataIndex: "patientNo", key:"patientNo",align:'center', width: 136},
{ title: "出生日期", dataIndex: "patientName", width: 98 },
{ title: "保险公司", dataIndex: "payorName", width: 110 },
{ title: "会员号", dataIndex: "visitTimeStart", width: 100,scopedSlots: { customRender: "visitTimeStart" } },
{ title: "保单号", dataIndex: "chargeAmount", width: 100, align: 'center' },
{ title: "就诊日期", dataIndex: "discountAmount", width: 100, align: 'center' },
{ title: "金额", dataIndex: "paidAmount", width: 100, align: 'center' },
{ title: "折后金额", dataIndex: "paidAmount2", width: 100, align: 'center' },
{ title: "理赔金额", dataIndex: "paidamoun3", width: 100, align: 'center' },
{ title: "已赔付金额", dataIndex: "paidamoun4", width: 110, align: 'center' },
{ title: "欠费金额", dataIndex: "paidamoun5", width: 100, align: 'center' },
{ title: "理赔状态", dataIndex: "paidamount6", width: 100, align: 'center' },
{ title: "原因", dataIndex: "paidamount7", width: 100, align: 'center' },
{ title: "账单状态", dataIndex: "paidamount8", width: 100, align: 'center' },
{ title: "医生", dataIndex: "paidamount9", width: 100, align: 'center' },
{ title: "科室", dataIndex: "paidamount10", width: 100, align: 'center' },
{ title: "账单编号", dataIndex: "paidamount11", width: 100, align: 'center' },
{ title: "发票号码", dataIndex: "paidamount12", width: 100, align: 'center' },
{ title: "就诊类型", dataIndex: "paidamount13", width: 100, align: 'center' },
{ title: "账单寄送日期", dataIndex: "paidamount14", width: 120, align: 'center' },
{ title: "回款日期", dataIndex: "paidamount15", width: 100, align: 'center' },
{ title: "账龄", dataIndex: "paidamount16", width: 100, align: 'center' },
];
return {
columns,
ClaimsStatusOptions,
form: {
dateRange: [],
payorCode: '',
sendBatchNo: '',
sendCompany: '',
trackingNo: '',
sendSts: '',
},
dataList: [],
pagination: {
pageNum: 1,
pageSize: 10,
total: 0,
},
}
},
components: {
BurtPagination,
},
created(){
},
methods: {
moment,
handlerSearch(){
this.pagination.pageNum = 1;
this.getData();
},
// 获取列表数据
getData() {
let filter = {
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize,
...this.form,
}
delete filter.dateRange;
this.$apis.QUERYSENDINFOLIST(filter)
.then((res) => {
if (res.returnCode == "0000") {
let content = res.content || {};
this.pagination.total = content.total || 0;
this.dataList = content.list || [];
} else {
this.$message.error(res.returnMsg);
}
});
},
//导出报表
exportExcel(){
exportFile('理赔数据报表.xls');
}
}
}
</script>
<style lang="less" scoped>
</style>
\ No newline at end of file
<template>
<div>个人欠费</div>
</template>
<script>
export default{
data(){
return {
}
},
methods: {
}
}
</script>
<style lang="less" scoped>
</style>
\ No newline at end of file
<template>
<div>预授权</div>
</template>
<script>
export default{
data(){
return {
}
},
methods: {
}
}
</script>
<style lang="less" scoped>
</style>
\ No newline at end of file
<template>
<div>
<!-- form -->
<a-form-model ref="form" layout="vertical" :model="form">
<a-row :gutter="30">
<a-col :lg="6" :sm="12">
<a-form-model-item label="就诊日期">
<a-range-picker format="YYYY年MM月DD日" v-model="form.dateRange" :placeholder="['开始日期', '结束日期']" />
</a-form-model-item>
</a-col>
<a-col :lg="6" :sm="12">
<a-form-model-item label="保险公司">
<a-select v-model="form.payorCode" placeholder="请选择保险公司" allowClear>
<a-select-option v-for="item in companyOptions" :key="item.id" :value="item.payorCode">
{{ item.longName }}
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
<a-col :lg="6" :sm="12">
<a-form-model-item label="EOB名称">
<a-input v-model="form.trackingNo" placeholder="请输入EOB名称" allow-clear />
</a-form-model-item>
</a-col>
<a-col :lg="6" :sm="12">
<a-form-model-item label="EOB状态">
<a-select v-model="form.sendSts" placeholder="请选择状态" allowClear>
<a-select-option v-for="(item,i) in ClaimsStatusOptions" :key="i" :value="item.value">{{item.name}}</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
<a-col :lg="6" :sm="12">
<a-form-model-item label="EOB核销日期">
<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.sendSts" placeholder="请选择状态" allowClear>
<a-select-option v-for="(item,i) in ClaimsStatusOptions" :key="i" :value="item.value">{{item.name}}</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
<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" 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>
<a-table :columns="columns" :data-source="dataList" :scroll="{ x: true }" :pagination="false">
<template slot="index" slot-scope="text, record, index">
{{ index + 1 }}
</template>
</a-table>
<!--分页-->
<BurtPagination :pagination="pagination" @pageChange="getData" />
</div>
</template>
<script>
import BurtPagination from "@/components/CUSTOMER/pagation";
import moment from 'moment'
import {ClaimsStatusOptions} from '@/utils/utilsdictOptions';
import {exportFile} from '@/utils/index';
export default{
props: {
companyOptions: {
default: []
}
},
data(){
const columns = [
{ title: "病历号", dataIndex: "receiptNo", key:"receiptNo",align:'center', width: 136},
{ title: "客户姓名", dataIndex: "patientNo", key:"patientNo",align:'center', width: 136},
{ title: "出生日期", dataIndex: "patientName", width: 98 },
{ title: "保险公司", dataIndex: "payorName", width: 110 },
{ title: "会员号", dataIndex: "visitTimeStart", width: 100,scopedSlots: { customRender: "visitTimeStart" } },
{ title: "保单号", dataIndex: "chargeAmount", width: 100, align: 'center' },
{ title: "就诊日期", dataIndex: "discountAmount", width: 100, align: 'center' },
{ title: "金额", dataIndex: "paidAmount", width: 100, align: 'center' },
{ title: "折后金额", dataIndex: "paidAmount2", width: 100, align: 'center' },
{ title: "理赔金额", dataIndex: "paidamoun3", width: 100, align: 'center' },
{ title: "已赔付金额", dataIndex: "paidamoun4", width: 110, align: 'center' },
{ title: "欠费金额", dataIndex: "paidamoun5", width: 100, align: 'center' },
{ title: "理赔状态", dataIndex: "paidamount6", width: 100, align: 'center' },
{ title: "原因", dataIndex: "paidamount7", width: 100, align: 'center' },
{ title: "账单状态", dataIndex: "paidamount8", width: 100, align: 'center' },
{ title: "医生", dataIndex: "paidamount9", width: 100, align: 'center' },
{ title: "科室", dataIndex: "paidamount10", width: 100, align: 'center' },
{ title: "账单编号", dataIndex: "paidamount11", width: 100, align: 'center' },
{ title: "发票号码", dataIndex: "paidamount12", width: 100, align: 'center' },
{ title: "就诊类型", dataIndex: "paidamount13", width: 100, align: 'center' },
{ title: "账单寄送日期", dataIndex: "paidamount14", width: 120, align: 'center' },
{ title: "回款日期", dataIndex: "paidamount15", width: 100, align: 'center' },
{ title: "账龄", dataIndex: "paidamount16", width: 100, align: 'center' },
];
return {
columns,
ClaimsStatusOptions,
form: {
dateRange: [],
payorCode: '',
sendBatchNo: '',
sendCompany: '',
trackingNo: '',
sendSts: '',
},
dataList: [],
pagination: {
pageNum: 1,
pageSize: 10,
total: 0,
},
}
},
components: {
BurtPagination,
},
created(){
},
methods: {
moment,
handlerSearch(){
this.pagination.pageNum = 1;
this.getData();
},
// 获取列表数据
getData() {
let filter = {
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize,
...this.form,
}
delete filter.dateRange;
this.$apis.QUERYSENDINFOLIST(filter)
.then((res) => {
if (res.returnCode == "0000") {
let content = res.content || {};
this.pagination.total = content.total || 0;
this.dataList = content.list || [];
} else {
this.$message.error(res.returnMsg);
}
});
},
//导出报表
exportExcel(){
exportFile('保险应收报表.xls');
}
}
}
</script>
<style lang="less" scoped>
/deep/ .ant-input-group-addon{
border-left: 1px solid #d9d9d9;
}
</style>
\ No newline at end of file
<template> <template>
<div> <div class="white_bg burt-container">
<!-- 报表 --> <a-tabs v-model="activeKey" @change="paneChange">
报表 <a-tab-pane v-for="pane in panes" :key="pane.key" :tab="pane.title">
<component v-if="pane.show" :is="pane.content"
:companyOptions="companyOptions" :expressList="expressList"></component>
</a-tab-pane>
</a-tabs>
</div> </div>
</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";
export default { export default {
components: {},
data() { data() {
return {}; return {
activeKey: '0',
panes: [
{ title: "理赔数据", key: '0', show: true, content: 'PaymentClaims'},
{ title: "保险应收", key: '1', show: false, content: 'Insurance'},
{ title: "核销", key: '2', show: false, content: 'Verification'},
{ title: "回款率", key: '3', show: false, content: 'CollectionRate'},
{ title: "回款天数", key: '4', show: false, content: 'CollectionDays'},
{ title: "个人欠费", key: '5', show: false, content: 'PersonalFee'},
{ title: "材料补充", key: '6', show: false, content: 'MaterialSupplement'},
{ title: "申诉案件", key: '7', show: false, content: 'AppealCase'},
{ title: "寄送清单", key: '8', show: false, content: 'MailingList'},
{ title: "预授权", key: '9', show: false, content: 'PreAuth'},
{ title: "福利查询", key: '10', show: false, content: 'Benefit'}
],
companyOptions: [], //保险公司
expressList: [], //快递公司
};
},
components: {
PaymentClaims, Insurance, Verification, CollectionRate, CollectionDays,
PersonalFee, MaterialSupplement, AppealCase, MailingList, PreAuth, Benefit
},
created() {
let type = this.$route.query.type;
if(type){
this.activeKey = type;
this.paneChange();
}
this._getCompanyOptions();
this.getRefcdByRefgrp();
},
methods: {
paneChange(){
this.panes.forEach((item)=>{
item.show = false;
});
this.panes[Number(this.activeKey)].show = true;
},
// 获取保险公司下拉选项
_getCompanyOptions() {
this.$apis.GETCOMPANYOPTIONS().then((res) => {
this.companyOptions = res.content || [];
});
},
// 获取快递列表
getRefcdByRefgrp() {
this.$apis.GETREFCDBYREFGRP({
modid: "CI",
refgrp: "SEND_COMPANY"
}).then((res) => {
this.expressList = res.content || [];
});
},
}, },
created() {},
mounted() {},
methods: {},
}; };
</script> </script>
......
<template> <template>
<!-- -账单明细 --> <!-- -账单明细 -->
<div class="white_bg burt-container custom-info"> <div class="white_bg burt-container custom-info">
<Goback title="账单详情" />
<a-form-model ref="form" layout="vertical" :model="form"> <a-form-model ref="form" layout="vertical" :model="form">
<a-row :gutter="30"> <a-row :gutter="30">
<a-col :xl="4" :lg="6" :sm="12"> <a-col :xl="4" :lg="6" :sm="12">
...@@ -88,6 +89,16 @@ ...@@ -88,6 +89,16 @@
<a-button class="danger">{{ text | payStyleFilters }}</a-button> <a-button class="danger">{{ text | payStyleFilters }}</a-button>
</template> </template>
</a-table> </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="取消"
...@@ -104,6 +115,7 @@ ...@@ -104,6 +115,7 @@
</template> </template>
<script> <script>
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 {
...@@ -113,24 +125,24 @@ export default { ...@@ -113,24 +125,24 @@ export default {
{ title: "项目明细", dataIndex: "itemDesc", width: 180}, { title: "项目明细", dataIndex: "itemDesc", width: 180},
{ title: "单价", dataIndex: "itemPrice", width: 120}, { title: "单价", dataIndex: "itemPrice", width: 120},
{ title: "数量", dataIndex: "itemQty", width: 180 }, { title: "数量", dataIndex: "itemQty", width: 180 },
{ title: "单位", dataIndex: "itemUnit", 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: "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: "deductible", width: 180 },
{ title: "自付额", dataIndex: "selfPaid", width: 180 }, // { title: "自付额", dataIndex: "selfPaid", width: 180 },
{ title: "其他费用", dataIndex: "otherPaid", width: 180 }, // { title: "其他费用", dataIndex: "otherPaid", width: 180 },
{ title: "实际金额", dataIndex: "actualPaid", width: 180 }, // { title: "理赔金额", dataIndex: "actualPaid", width: 180 },
{ title: "操作", key: "operation", width: "175px", fixed: "right", scopedSlots: { customRender: "operation" },align: "center"}, // { 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 },
{ title: "自付额", dataIndex: "selfPaid", width: 180 }, { title: "自付额", dataIndex: "selfPaid", width: 180 },
{ title: "其他费用", dataIndex: "otherPaid", width: 180 }, { title: "其他费用", dataIndex: "otherPaid", width: 180 },
{ title: "个人支付", dataIndex: "personalPaid", width: 180 }, { title: "个人支付", dataIndex: "personalPaid", width: 180 },
{ title: "商保支付", dataIndex: "ciPaid", width: 180 }, { title: "理赔金额", dataIndex: "ciPaid", width: 180 },
{ title: "支付方式", dataIndex: "paymentType", width: 180, scopedSlots: { customRender: "paymentType" }}, { title: "支付方式", dataIndex: "paymentType", width: 180, scopedSlots: { customRender: "paymentType" }},
]; ];
return { return {
...@@ -185,6 +197,7 @@ export default { ...@@ -185,6 +197,7 @@ export default {
}; };
}, },
components: { components: {
Goback,
BurtPagination, BurtPagination,
}, },
computed: { computed: {
...@@ -205,6 +218,8 @@ export default { ...@@ -205,6 +218,8 @@ export default {
created() { created() {
const { receiptNo } = this.$route.query; const { receiptNo } = this.$route.query;
this.receiptNo = receiptNo || ""; this.receiptNo = receiptNo || "";
let chargeQueryDetail = localStorage.getItem('chargeQueryDetail');
this.form = chargeQueryDetail? JSON.parse(chargeQueryDetail): {};
this._getChargeListDetail(); this._getChargeListDetail();
this._getCompanyOptions();//获取保险公司下拉选项 this._getCompanyOptions();//获取保险公司下拉选项
...@@ -266,7 +281,46 @@ export default { ...@@ -266,7 +281,46 @@ export default {
} }
}); });
}, },
//账单结算
receiptEvt(){
this.$modal.confirm({
title: "结算",
content: "确定结算该账单?",
okText: "确定",
cancelText: "取消",
onOk: () => {
this.$apis.RECEIPTSETTLEMENT({
id: this.form.id
}).then((res) => {
if (res.returnCode === "0000") {
this.$message.success('结算成功');
this.pagination.pageNum = 1;
this._getChargeListDetail();
}else{
this.$message.error(res.returnMsg);
}
});
},
});
},
//打印
printEvt(){
this.$apis.RECEIPTPRINT({
id: this.form.id
}).then(res => {
if(res.returnCode == '0000'){
let url = res.content;
let link = document.createElement('a');
link.setAttribute('href', url);
link.setAttribute('target', "_blank");
document.body.appendChild(link);
link.click();
document.body.removeChild(link);
}else{
this.$message.error(res.returnMsg);
}
})
},
// 选中就诊时间 // 选中就诊时间
onSelectVisitTime(date, dateString) { onSelectVisitTime(date, dateString) {
console.log(date, dateString); console.log(date, dateString);
...@@ -326,4 +380,8 @@ export default { ...@@ -326,4 +380,8 @@ export default {
color: #1890ff; color: #1890ff;
} }
} }
.btn-div{
margin-top: 10px;
justify-content: flex-end;
}
</style> </style>
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<a-row :gutter="30"> <a-row :gutter="30">
<a-col :xl="4" :lg="6" :sm="12"> <a-col :xl="4" :lg="6" :sm="12">
<a-form-model-item label="病历号"> <a-form-model-item label="病历号">
<a-input v-model="form.patientNo" placeholder="请输入病历号" allow-clear /> <a-input v-model="form.mrnNo" placeholder="请输入病历号" allow-clear />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :xl="4" :lg="6" :sm="12"> <a-col :xl="4" :lg="6" :sm="12">
...@@ -77,72 +77,52 @@ ...@@ -77,72 +77,52 @@
{{ index + 1 }} {{ index + 1 }}
</template> </template>
<template slot="operation" slot-scope="record"> <template slot="operation" slot-scope="record">
<a-button type="link" @click.stop="editEvt(record)">修改</a-button> <!-- <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-popconfirm title="你确定要关闭吗?" ok-text="确定" cancel-text="取消" @confirm="deleteData" >
<a-button type="link" class="danger">删除</a-button> <a-button type="link" class="danger">删除</a-button>
</a-popconfirm> </a-popconfirm> -->
</template> </template>
</a-table> </a-table>
<!--分页--> <!--分页-->
<BurtPagination :pagination="pagination" @pageChange="_getChargeList" /> <BurtPagination :pagination="pagination" @pageChange="_getChargeList" />
<a-modal title="编辑" :visible="dialogShow" width="700px" :maskClosable="false"
okText="确定" cancelText="取消"
@ok="handleEditOK" @cancel="dialogShow = false">
<a-form-model ref="editForm" :model="editFormObj" :rules="editRules">
<a-row :gutter="30">
<a-col :lg="12" :xs="24">
<a-form-model-item label="病历号" prop="patientNo">
<a-input v-model.trim="editFormObj.patientNo" placeholder="病历号" />
</a-form-model-item>
</a-col>
<a-col :lg="12" :xs="24">
<a-form-model-item label="客户姓名" prop="patientName">
<a-input v-model.trim="editFormObj.patientName" placeholder="客户姓名" />
</a-form-model-item>
</a-col>
</a-row>
</a-form-model>
</a-modal>
</div> </div>
</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";
export default { export default {
data() { data() {
const columns = [ const columns = [
{ title: "序号", dataIndex: "index", key:"index",align:'center', width: 80,scopedSlots: { customRender: "index" }}, { title: "序号", dataIndex: "index", key:"index",align:'center', width: 80,scopedSlots: { customRender: "index" }},
{ title: "收费时间", dataIndex: "receiptDate", width: 180 }, { title: "就诊时间", dataIndex: "visitTimeStart", width: 180 },
{ title: "病历号", dataIndex: "patientNo",width: 180}, { title: "病历号", dataIndex: "mrnNo",width: 180},
{ title: "客户姓名",dataIndex: "patientName",width: 120,}, { title: "客户姓名",dataIndex: "patientName",width: 120,},
{ title: "客户类型", dataIndex: "patientType", width: 180 }, { title: "客户类型", dataIndex: "patientType", width: 180 },
{ title: "保险公司", dataIndex: "payorName", width: 180 }, { title: "保险公司", dataIndex: "payorName", width: 180 },
{ title: "就诊时间", dataIndex: "visitTime", width: 180 },
{ title: "就诊医生", dataIndex: "doctorName", width: 180 }, { title: "就诊医生", dataIndex: "doctorName", 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: "actualAmount", width: 180 },
{ title: "客户自付", dataIndex: "paidAmount", width: 180 }, { title: "客户自付", dataIndex: "selfpaidAmount", width: 180 },
{ title: "减免金额", dataIndex: "reduceamount", width: 180 }, { title: "减免金额", dataIndex: "reduceAmount1", width: 180 },
{ title: "理赔金额", dataIndex: "paidamount", width: 180 }, { title: "理赔金额", dataIndex: "claimsAmount", width: 180 },
{ title: "保险已支付", dataIndex: "insurancePaidAmount", width: 180 }, { title: "保险已支付", dataIndex: "insurancePaidAmount", width: 180 },
{ title: "未清余额", dataIndex: "outstandAmount", width: 180 }, { title: "未清余额", dataIndex: "outstandAmount", width: 180 },
{ title: "保险欠费", dataIndex: "insuranceArrearsAmount", width: 180 }, { title: "保险欠费", dataIndex: "insuranceArrearsAmount", width: 180 },
{ title: "个人欠费", dataIndex: "personalArrearsAmount", width: 180 }, { title: "个人欠费", dataIndex: "personalArrearsAmount", width: 180 },
{ title: "发票号码", dataIndex: "receiptNo", width: 180 }, { title: "发票号码", dataIndex: "receiptNo", width: 180 },
{ title: "操作", key: "operation", width: "175px",fixed: "right",scopedSlots: { customRender: "operation" }}, { title: "操作", key: "operation", width: "175px",fixed: "right",scopedSlots: { customRender: "operation" }, align: "center"},
]; ];
return { return {
dialogShow: false,
columns, columns,
form: {}, form: {},
pageForm: { pageForm: {
doctorCode: "", doctorCode: "",
patientName: "", patientName: "",
patientNo: "", mrnNo: "",
paymentCode: "", paymentCode: "",
payorId: 0, payorId: 0,
visitTimeEnd: "", visitTimeEnd: "",
...@@ -168,15 +148,6 @@ export default { ...@@ -168,15 +148,6 @@ export default {
pageSize: 10, pageSize: 10,
total: 0, total: 0,
}, },
editFormObj: {
id: "",
patientNo: '',
patientName: '',
},
editRules: {
patientNo: [{ required: true, message: "病历号", trigger: "blur" }],
patientName: [{ required: true, message: "客户姓名", trigger: "blur" }],
},
}; };
}, },
components: { components: {
...@@ -193,6 +164,7 @@ export default { ...@@ -193,6 +164,7 @@ export default {
this._getDoctorListNoPage();//获取医生下拉选项 this._getDoctorListNoPage();//获取医生下拉选项
}, },
methods: { methods: {
moment,
// 获取列表数据 // 获取列表数据
_getChargeList() { _getChargeList() {
const data = { const data = {
...@@ -219,7 +191,6 @@ export default { ...@@ -219,7 +191,6 @@ export default {
}else{ }else{
this.$message.success(res.returnMsg); this.$message.success(res.returnMsg);
} }
}); });
}, },
// 选中就诊时间 // 选中就诊时间
...@@ -232,36 +203,32 @@ export default { ...@@ -232,36 +203,32 @@ export default {
}, },
//查看 //查看
detailEvt(record) { detailEvt(record) {
localStorage.setItem('chargeQueryDetail', JSON.stringify(record));
const { receiptNo } = record; const { receiptNo } = record;
this.$router.push({ this.$router.push({
name: "chargeQueryDetail", name: "chargeQueryDetail",
query: { receiptNo }, query: { receiptNo },
}); });
}, },
editEvt(record) { //账单结算
this.editFormObj = { receiptEvt(record){
id: record.id || "", this.$modal.confirm({
patientNo: record.patientNo || "", title: "结算",
patientName: record.patientName || "", content: "确定结算该账单?",
}; okText: "确定",
this.dialogShow = true; cancelText: "取消",
}, onOk: () => {
//编辑保存 this.$apis.RECEIPTSETTLEMENT({
handleEditOK() { id: record.id
this.$refs.editForm.validate((valid) => { }).then((res) => {
if (valid) { if (res.returnCode === "0000") {
//下面接口没有给到 this.$message.success('结算成功');
this.$apis.DOCTORUPDATE(this.editFormObj) this._getChargeList();
.then((res) => { }else{
if (res.returnCode == "0000") { this.$message.error(res.returnMsg);
this.$message.success("编辑成功"); }
this.dialogShow = false; });
this._getChargeList(); },
} else {
this.$message.error(res.returnMsg);
}
});
}
}); });
}, },
handlerSearch() { handlerSearch() {
...@@ -274,9 +241,6 @@ export default { ...@@ -274,9 +241,6 @@ export default {
this._getChargeList(); this._getChargeList();
}); });
}, },
deleteData() {
this.$message.success("删除成功");
},
// 新建账单信息 // 新建账单信息
addNewCharge() { addNewCharge() {
// this.$router.push("/customer/edit"); // this.$router.push("/customer/edit");
......
...@@ -19,8 +19,11 @@ ...@@ -19,8 +19,11 @@
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :lg="8" :sm="12"> <a-col :lg="8" :sm="12">
<a-form-model-item label="寄送批号"> <a-form-model-item label="寄送状态">
<a-input v-model="form.sendBatchNo" placeholder="请输入寄送批号" allow-clear /> <a-select v-model="form.sendSts" placeholder="请选择寄送状态" allowClear>
<a-select-option value="1">已寄送</a-select-option>
<a-select-option value="2">未寄送</a-select-option>
</a-select>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
</a-row> </a-row>
...@@ -38,11 +41,10 @@ ...@@ -38,11 +41,10 @@
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :lg="8" :sm="12"> <a-col :lg="8" :sm="12">
<a-form-model-item label="账单编号"> <a-form-model-item label="寄送批号">
<a-input v-model="form.receiptNo" placeholder="请输入账单编号" allow-clear /> <a-input v-model="form.sendBatchNo" placeholder="请输入寄送批号" allow-clear />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :sm="24" class="none-label"> <a-col :sm="24" class="none-label">
<div class="btn-div flex"> <div class="btn-div flex">
<span></span> <span></span>
...@@ -71,6 +73,7 @@ ...@@ -71,6 +73,7 @@
</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="editEvt(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>
...@@ -91,7 +94,7 @@ export default { ...@@ -91,7 +94,7 @@ export default {
{ title: "寄送日期", dataIndex: "sendDate",width: 130,scopedSlots: { customRender: "sendDate" }}, { title: "寄送日期", dataIndex: "sendDate",width: 130,scopedSlots: { customRender: "sendDate" }},
{ title: "快递单号",dataIndex: "trackingNo",width: 180,}, { title: "快递单号",dataIndex: "trackingNo",width: 180,},
{ title: "寄送备注", dataIndex: "sendRemark", width: 100 }, { title: "寄送备注", dataIndex: "sendRemark", width: 100 },
{ title: "操作", key: "operation", width: "200px",fixed: "right",scopedSlots: { customRender: "operation" }}, { title: "操作", key: "operation", width: "200px",fixed: "right",scopedSlots: { customRender: "operation" }, align: "center"},
]; ];
return { return {
loading: false, loading: false,
...@@ -100,8 +103,9 @@ export default { ...@@ -100,8 +103,9 @@ export default {
dateRange: [], dateRange: [],
payorCode: '', payorCode: '',
sendBatchNo: '', sendBatchNo: '',
sendCompany: '',
trackingNo: '', trackingNo: '',
receiptNo: '', sendSts: '',
}, },
companyOptions: [], //保险公司 companyOptions: [], //保险公司
expressList: [], //快递列表 expressList: [], //快递列表
...@@ -165,8 +169,9 @@ export default { ...@@ -165,8 +169,9 @@ export default {
dateRange: [], dateRange: [],
payorCode: '', payorCode: '',
sendBatchNo: '', sendBatchNo: '',
sendCompany: '',
trackingNo: '', trackingNo: '',
receiptNo: '', sendSts: '',
} }
}, },
//编辑 //编辑
......
<template> <template>
<!-- 收费查询-账单查询 --> <!-- 收费查询-账单查询 -->
<div class="white_bg burt-container custom-info"> <div class="white_bg burt-container custom-info">
<Goback title="理赔件详情" />
<!-- form --> <!-- form -->
<a-form-model ref="form" layout="vertical" :model="form"> <a-form-model ref="form" layout="vertical" :model="form">
<a-row :gutter="30"> <a-row :gutter="30">
...@@ -56,7 +57,12 @@ ...@@ -56,7 +57,12 @@
<a-input v-model="form.sendEmail" placeholder="请输入寄送邮箱" allow-clear /> <a-input v-model="form.sendEmail" placeholder="请输入寄送邮箱" allow-clear />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :sm="8" class="none-label"> <a-col :lg="8" :sm="12">
<a-form-model-item label="寄送备注">
<a-textarea v-model="form.sendRemark" placeholder="请输入寄送备注" :auto-size="{ minRows: 2, maxRows: 5 }" />
</a-form-model-item>
</a-col>
<a-col :sm="24" class="none-label">
<div class="btn-div flex"> <div class="btn-div flex">
<span></span> <span></span>
<a-form-model-item label="button"> <a-form-model-item label="button">
...@@ -74,6 +80,9 @@ ...@@ -74,6 +80,9 @@
<!-- <a-button class="mar-left10" type="primary" @click="handlerSearch"> <!-- <a-button class="mar-left10" type="primary" @click="handlerSearch">
<Icon name="ssisearch_active" :size="14" />查询 <Icon name="ssisearch_active" :size="14" />查询
</a-button> --> </a-button> -->
<a-button type="primary" @click="exportEvt">
<Icon name="ssidaochu" :size="14" />导出
</a-button>
<a-button class="mar-left10" type="primary" @click="addNewBill"> <a-button class="mar-left10" type="primary" @click="addNewBill">
<Icon :name="isEditNewBill?'ssibaocun':'ssiadd'" :size="14" />{{isEditNewBill? '保存账单': '添加账单'}}</a-button> <Icon :name="isEditNewBill?'ssibaocun':'ssiadd'" :size="14" />{{isEditNewBill? '保存账单': '添加账单'}}</a-button>
</a-form-model-item> </a-form-model-item>
...@@ -145,18 +154,20 @@ ...@@ -145,18 +154,20 @@
</template> </template>
<script> <script>
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'
export default { export default {
data() { data() {
const columns = [ const columns = [
{ title: "账单编号", dataIndex: "receiptNo", key:"receiptNo",align:'center', width: 136}, { title: "就诊日期", dataIndex: "visitTimeStart", width: 200,scopedSlots: { customRender: "visitTimeStart" } },
{ title: "病历号", dataIndex: "patientNo", key:"patientNo",align:'center', width: 136}, { title: "病历号", dataIndex: "patientNo", key:"patientNo",align:'center', width: 136},
{ title: "客户姓名", dataIndex: "patientName", width: 98 }, { title: "客户姓名", dataIndex: "patientName", width: 98 },
{ title: "账单编号", dataIndex: "receiptNo", key:"receiptNo",align:'center', width: 136},
{ title: "保险公司", dataIndex: "payorName", width: 110 }, { title: "保险公司", dataIndex: "payorName", width: 110 },
{ title: "就诊日期", dataIndex: "visitTimeStart", width: 200,scopedSlots: { customRender: "visitTimeStart" } }, { title: "应收金额", dataIndex: "chargeAmount", width: 100, align: 'center' },
{ title: "账单金额", dataIndex: "chargeAmount", width: 100, align: 'center' }, { title: "折扣金额", dataIndex: "discountAmount", width: 100, align: 'center' },
{ title: "折后金额", dataIndex: "discountAmount", width: 100, align: 'center' }, { title: "减免金额", dataIndex: "discountAmount2", width: 100, align: 'center' },
{ title: "客户自负", dataIndex: "paidAmount", width: 100, align: 'center' }, { title: "客户自负", dataIndex: "paidAmount", width: 100, align: 'center' },
{ title: "理赔金额", dataIndex: "paidamount", width: 100, align: 'center' }, { title: "理赔金额", dataIndex: "paidamount", width: 100, align: 'center' },
// { title: "操作", key: "operation", width: "175px",fixed: "right",scopedSlots: { customRender: "operation" }}, // { title: "操作", key: "operation", width: "175px",fixed: "right",scopedSlots: { customRender: "operation" }},
...@@ -175,6 +186,7 @@ export default { ...@@ -175,6 +186,7 @@ export default {
trackingNo: '', trackingNo: '',
sendAddress: '', sendAddress: '',
sendEmail: '', sendEmail: '',
sendRemark: ''
}, },
companyOptions: [], //保险公司 companyOptions: [], //保险公司
expressList: [], //快递列表 expressList: [], //快递列表
...@@ -200,6 +212,7 @@ export default { ...@@ -200,6 +212,7 @@ export default {
}; };
}, },
components: { components: {
Goback,
BurtPagination, BurtPagination,
}, },
created() { created() {
...@@ -332,6 +345,26 @@ export default { ...@@ -332,6 +345,26 @@ export default {
}, },
}); });
}, },
//导出
exportEvt(){
this.$apis.SENDRECEIPTLISTEXPORT({
sendBatchNo: this.sendBatchNo
})
.then(res => {
let blob = new Blob([res.data], {
type:"application/vnd.ms-excel;charset=utf-8"
});
let url=window.URL.createObjectURL(blob);
let aLink=document.createElement("a");
aLink.style.display="none";
aLink.href=url;
aLink.setAttribute("download","寄送账单.xls");
document.body.appendChild(aLink);
aLink.click();
document.body.removeChild(aLink);
window.URL.revokeObjectURL(url);
})
},
//添加账单 //添加账单
addNewBill(){ addNewBill(){
this.isEditNewBill = !this.isEditNewBill; this.isEditNewBill = !this.isEditNewBill;
......
This diff is collapsed.
...@@ -32,10 +32,13 @@ ...@@ -32,10 +32,13 @@
</a-col> </a-col>
<a-col :xl="18" :lg="18" :sm="12" class="none-label"> <a-col :xl="18" :lg="18" :sm="12" class="none-label">
<a-form-model-item label="button"> <a-form-model-item label="button">
<a-button type="primary" @click="addNewCustom"><Icon name="ssiadd" :size="14" />新建客户信息</a-button> <a-button type="primary" @click="addNewCustom"><Icon name="ssiadd" :size="14" />新建客户</a-button>
<a-button class="mar-left10" type="primary" @click="handlerSearch"> <a-button class="mar-left10" type="primary" @click="handlerSearch">
<Icon name="ssisearch_active" :size="14" />查询 <Icon name="ssisearch_active" :size="14" />查询
</a-button> </a-button>
<a-button class="mar-left10" type="primary" @click="resetEvt">
<Icon name="ssireset" :size="14" />重置
</a-button>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
</a-row> </a-row>
...@@ -45,18 +48,21 @@ ...@@ -45,18 +48,21 @@
<a-table <a-table
:columns="columns" :columns="columns"
:data-source="dataList" :data-source="dataList"
row-key="mrnNo"
:scroll="{ x: true }" :scroll="{ x: true }"
:pagination="false" :pagination="false"
:customRow="handlerRowClick" :customRow="handlerRowClick"
> >
<template slot="sex" slot-scope="text">
<span>{{text | formatSex}}</span>
</template>
<template slot="operation" slot-scope="record"> <template slot="operation" slot-scope="record">
<a-button type="link" @click.stop="changeDataStatus(record)">修改</a-button> <a-button type="link" @click.stop="changeDataStatus(record)">修改</a-button>
<a-button type="link" @click.stop="printClaimPdf(record)">打印理赔申请书</a-button> <a-button type="link" @click.stop="printClaimPdf(record)">打印理赔申请书</a-button>
<a-button type="link" @click.stop="changeDataStatus(record, '2')">新增保单</a-button>
<!-- <a-button type="link" class="success">新增</a-button> --> <!-- <a-button type="link" class="success">新增</a-button> -->
<a-popconfirm title="你确定要删除吗?" ok-text="确定" cancel-text="取消" @confirm="deleteData(record)"> <!-- <a-popconfirm title="你确定要删除吗?" ok-text="确定" cancel-text="取消" @confirm="deleteData(record)">
<a-button type="link" class="danger" @click.stop>删除</a-button> <a-button type="link" class="danger" @click.stop>删除</a-button>
</a-popconfirm> </a-popconfirm> -->
</template> </template>
</a-table> </a-table>
<!--分页--> <!--分页-->
...@@ -68,7 +74,7 @@ ...@@ -68,7 +74,7 @@
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";
export default { export default {
data() { data() {
const dateFormat = (val) => { const dateFormat = (val) => {
...@@ -78,12 +84,12 @@ export default { ...@@ -78,12 +84,12 @@ export default {
{ title: "病历号", dataIndex: "mrnNo", width: 180, }, { title: "病历号", dataIndex: "mrnNo", width: 180, },
{ title: "客户姓名", dataIndex: "patientName", width: 120,}, { title: "客户姓名", dataIndex: "patientName", width: 120,},
{ title: "出生日期", dataIndex: "birthday", width: 170, customRender: dateFormat}, { title: "出生日期", dataIndex: "birthday", width: 170, customRender: dateFormat},
{ title: "性别", dataIndex: "sex", width: 80 }, { title: "性别", dataIndex: "sex", width: 80, scopedSlots: { customRender: "sex" } },
{ title: "保险公司", dataIndex: "payorName", width: 180 }, { title: "保险公司", dataIndex: "payorName", width: 180 },
{ title: "保单号码", dataIndex: "policyNo", width: 190 }, { title: "保单号码", dataIndex: "policyNo", width: 190 },
{ title: "险有效日期", dataIndex: "startDate", width: 170, customRender: dateFormat }, { title: "单生效日期", dataIndex: "startDate", width: 170, customRender: dateFormat },
{ title: "终止日期", dataIndex: "endDate", width: 170, customRender: dateFormat }, { title: "终止日期", dataIndex: "endDate", width: 170, customRender: dateFormat },
{ title: "操作", key: "operation", width: "260px", fixed: "right", scopedSlots: { customRender: "operation" }}, { title: "操作", key: "operation", width: "270px", fixed: "right", scopedSlots: { customRender: "operation" }, align: 'center'},
]; ];
return { return {
columns, columns,
...@@ -98,6 +104,7 @@ export default { ...@@ -98,6 +104,7 @@ export default {
}, },
}; };
}, },
mixins: [mixins],
components: { components: {
BurtPagination, BurtPagination,
}, },
...@@ -106,6 +113,11 @@ export default { ...@@ -106,6 +113,11 @@ export default {
this._getPayorCode(); this._getPayorCode();
}, },
methods: { methods: {
//重置
resetEvt(){
this.form = {};
this.pageForm = {};
},
handlerRowClick(record) { handlerRowClick(record) {
const { id, patientPolicyId } = record; const { id, patientPolicyId } = record;
return { return {
...@@ -126,11 +138,11 @@ export default { ...@@ -126,11 +138,11 @@ export default {
}; };
}, },
// 修改按钮 // 修改按钮
changeDataStatus(record) { changeDataStatus(record, type) {
const { id, patientPolicyId } = record; const { id, patientPolicyId } = record;
this.$router.push({ this.$router.push({
name: "customerEdit", name: "customerEdit",
query: { id, patientPolicyId }, query: { id, patientPolicyId, type },
}); });
}, },
saveChange(record) { saveChange(record) {
......
<template>
<div class="white_bg burt-container">
<img src="../../assets/image/home_bg.jpg" alt="">
</div>
</template>
<script>
export default{
data(){
return{
}
}
}
</script>
<style lang="less" scoped>
.burt-container{
height: calc(100vh - 116px);
padding: 0;
img{
width: 100%;
height: 100%;
object-fit: contain;
}
}
</style>
\ No newline at end of file
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :lg="12" :xs="24"> <a-col :lg="12" :xs="24">
<a-form-model-item label="医生英文名" prop="englishName"> <a-form-model-item label="公司英文名" prop="englishName">
<a-input v-model.trim="editFormObj.englishName" placeholder="保险医生英文名" /> <a-input v-model.trim="editFormObj.englishName" placeholder="保险医生英文名" />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
...@@ -65,7 +65,7 @@ import BurtPagination from "@/components/CUSTOMER/pagation"; ...@@ -65,7 +65,7 @@ import BurtPagination from "@/components/CUSTOMER/pagation";
const columns = [ const columns = [
{ title: "序号", dataIndex: "id",width: 120}, { title: "序号", dataIndex: "id",width: 120},
{ title: "保险公司名称",dataIndex: "longName", ellipsis: true, scopedSlots: { customRender: "longName" },width: 130}, { title: "保险公司名称",dataIndex: "longName", ellipsis: true, scopedSlots: { customRender: "longName" },width: 130},
{ title: "医生英文名", dataIndex: "englishName",ellipsis: true,scopedSlots: { customRender: "englishName" },width: 105}, { title: "保险公司英文名", dataIndex: "englishName",ellipsis: true,scopedSlots: { customRender: "englishName" },width: 105},
{ title: "联系电话", dataIndex: "contactPhone", scopedSlots: { customRender: "contactPhone" }, width: 125}, { title: "联系电话", dataIndex: "contactPhone", scopedSlots: { customRender: "contactPhone" }, width: 125},
{ title: "联系地址", dataIndex: "address", ellipsis: true, scopedSlots: { customRender: "address" }, width: 180}, { title: "联系地址", dataIndex: "address", ellipsis: true, scopedSlots: { customRender: "address" }, width: 180},
{ title: "Protal链接", dataIndex: "portalUrl", ellipsis: true, scopedSlots: { customRender: "portalUrl" }, width: 155 }, { title: "Protal链接", dataIndex: "portalUrl", ellipsis: true, scopedSlots: { customRender: "portalUrl" }, width: 155 },
...@@ -134,22 +134,9 @@ export default { ...@@ -134,22 +134,9 @@ export default {
}, },
//新增保险公司 //新增保险公司
addCompany(){ addCompany(){
this.$apis.CREATEPAY({ this.$router.push({
...this.detailObj path: '/info/companyDetail'
}) })
.then((res) => {
if (res.returnCode == "0000") {
this.$message.success("新增成功");
this.$router.push({
path: '/info/companyDetail',
query: {
id: res.content
}
})
} else {
this.$message.error(res.returnMsg);
}
});
}, },
//编辑 //编辑
editEvt(record) { editEvt(record) {
......
...@@ -16,6 +16,8 @@ export default { ...@@ -16,6 +16,8 @@ export default {
id: '', //公司id id: '', //公司id
detailObj: { //公司详情 detailObj: { //公司详情
discountList: [], //折扣列表 discountList: [], //折扣列表
claimApplicationTemplate: [],
authApplicationTemplate: []
} }
} }
}, },
...@@ -25,7 +27,9 @@ export default { ...@@ -25,7 +27,9 @@ export default {
}, },
created(){ created(){
this.id = this.$route.query.id; this.id = this.$route.query.id;
this.getDetail(); if(this.id){
this.getDetail();
}
}, },
methods: { methods: {
//获取详细信息 //获取详细信息
...@@ -35,7 +39,32 @@ export default { ...@@ -35,7 +39,32 @@ export default {
}) })
.then((res) => { .then((res) => {
if (res.returnCode == "0000") { if (res.returnCode == "0000") {
this.detailObj = res.content || {}; let data = res.content || {};
if(data.claimApplicationTemplate){
data.claimApplicationTemplate = [
{
uid: Math.random()*10000,
name: data.claimApplicationTemplate.slice(data.claimApplicationTemplate.lastIndexOf('/')+1),
status: 'done',
url: data.claimApplicationTemplate,
}
]
}else{
data.claimApplicationTemplate = [];
}
if(data.authApplicationTemplate){
data.authApplicationTemplate = [
{
uid: Math.random()*10000,
name: data.authApplicationTemplate.slice(data.authApplicationTemplate.lastIndexOf('/')+1),
status: 'done',
url: data.authApplicationTemplate,
}
]
}else{
data.authApplicationTemplate = [];
}
this.detailObj = data;
} else { } else {
this.$message.error(res.returnMsg); this.$message.error(res.returnMsg);
} }
......
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
<div class="flex btns-div"> <div class="flex btns-div">
<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> <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" >
...@@ -42,8 +42,8 @@ ...@@ -42,8 +42,8 @@
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :lg="12" :xs="24"> <a-col :lg="12" :xs="24">
<a-form-model-item label="折扣比例" prop="ratio"> <a-form-model-item label="折扣比例%" prop="ratio">
<a-input v-model.trim="editFormObj.ratio" placeholder="折扣比例" type="number" :min="0" /> <a-input v-model.trim="editFormObj.ratio" placeholder="折扣比例%" type="number" :min="0" />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :xs="24"> <a-col :xs="24">
...@@ -62,9 +62,9 @@ import BurtPagination from "@/components/CUSTOMER/pagation"; ...@@ -62,9 +62,9 @@ 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, },
{ title: "折扣比例", dataIndex: "ratio", ellipsis: true, scopedSlots: { customRender: "ratio" },width: 190,}, { title: "折扣比例%", dataIndex: "ratio", ellipsis: true, scopedSlots: { customRender: "ratio" },width: 190,},
{ title: "备注", dataIndex: "remark", scopedSlots: { customRender: "remark" }, width: 180,}, { title: "备注", dataIndex: "remark", scopedSlots: { customRender: "remark" }, width: 180,},
{ title: "操作", dataIndex: "operation", scopedSlots: { customRender: "operation" },fixed: "right", width: "170px" }, { title: "操作", dataIndex: "operation", scopedSlots: { customRender: "operation" },fixed: "right", width: "170px", align: "center" },
]; ];
export default { export default {
props: { props: {
......
<template> <template>
<div class="info-div"> <div class="info-div">
<a-form-model ref="form" layout="vertical"> <Goback title="保险公司详情" />
<a-form-model ref="form" layout="vertical" :model="detailObj" :rules="formRules">
<a-row :gutter="30"> <a-row :gutter="30">
<a-col :lg="6" :sm="12"> <a-col :lg="6" :sm="12">
<a-form-model-item label="保险公司名称"> <a-form-model-item label="保险公司名称" prop="longName">
<a-input v-model="detailObj.longName" placeholder="保险公司名称" /> <a-input v-model="detailObj.longName" placeholder="保险公司名称" />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
...@@ -14,7 +15,7 @@ ...@@ -14,7 +15,7 @@
</a-col> </a-col>
<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="detailObj.country" placeholder="请选择"> <a-select v-model="detailObj.country" placeholder="请选择" showSearch>
<a-select-option v-for="(item) in countyList" :value="item.descCh" :key="item.id">{{item.descCh}}</a-select-option> <a-select-option v-for="(item) in countyList" :value="item.descCh" :key="item.id">{{item.descCh}}</a-select-option>
</a-select> </a-select>
</a-form-model-item> </a-form-model-item>
...@@ -22,7 +23,7 @@ ...@@ -22,7 +23,7 @@
</a-row> </a-row>
<a-row :gutter="30"> <a-row :gutter="30">
<a-col :lg="3" :sm="12"> <a-col :lg="3" :sm="12">
<a-form-model-item label="有效"> <a-form-model-item label="有效" prop="status">
<a-select v-model="detailObj.status" placeholder="请选择"> <a-select v-model="detailObj.status" placeholder="请选择">
<a-select-option value="1">有效</a-select-option> <a-select-option value="1">有效</a-select-option>
<a-select-option value="2">无效</a-select-option> <a-select-option value="2">无效</a-select-option>
...@@ -44,7 +45,7 @@ ...@@ -44,7 +45,7 @@
</a-row> </a-row>
</a-col> </a-col>
<a-col :lg="10" :sm="12"> <a-col :lg="10" :sm="12">
<a-form-model-item label="保险公司地址"> <a-form-model-item label="保险公司地址" prop="address">
<a-input v-model="detailObj.address" placeholder="保险公司地址" /> <a-input v-model="detailObj.address" placeholder="保险公司地址" />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
...@@ -59,12 +60,12 @@ ...@@ -59,12 +60,12 @@
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :lg="4" :sm="12"> <a-col :lg="4" :sm="12">
<a-form-model-item label="保险公司联系电话"> <a-form-model-item label="保险公司联系电话" prop="contactPhone">
<a-input v-model="detailObj.contactPhone" placeholder="保险公司联系电话"/> <a-input v-model="detailObj.contactPhone" placeholder="保险公司联系电话"/>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :lg="6" :sm="12"> <a-col :lg="6" :sm="12">
<a-form-model-item label="客服电话"> <a-form-model-item label="客服电话" prop="customerTel">
<a-input v-model="detailObj.customerTel" placeholder="客服电话" /> <a-input v-model="detailObj.customerTel" placeholder="客服电话" />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
...@@ -74,7 +75,7 @@ ...@@ -74,7 +75,7 @@
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :lg="6" :sm="12"> <a-col :lg="6" :sm="12">
<a-form-model-item label="保险公司邮件地址"> <a-form-model-item label="保险公司邮件地址" prop="email">
<a-input v-model="detailObj.email" placeholder="保险公司邮件地址" /> <a-input v-model="detailObj.email" placeholder="保险公司邮件地址" />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
...@@ -108,12 +109,32 @@ ...@@ -108,12 +109,32 @@
<a-input type="password" v-model="detailObj.loginPwd" placeholder="密码" /> <a-input type="password" v-model="detailObj.loginPwd" placeholder="密码" />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :lg="6" :sm="12">
<a-form-model-item label="理赔申请书模板">
<a-upload name="file" :multiple="false" accept="application/pdf" :showUploadList="true"
:fileList="detailObj.claimApplicationTemplate"
:customRequest="file => uploadPdf(file, 1)"
:remove="(file)=> removeFile(file, 1)">
<a-button type="primary"> <Icon name="ssiupload" :size="18" />上传模板 </a-button>
</a-upload>
</a-form-model-item>
</a-col>
<a-col :lg="6" :sm="12">
<a-form-model-item label="预授权申请书模板">
<a-upload name="file" :multiple="false" accept="application/pdf" :showUploadList="true"
:fileList="detailObj.authApplicationTemplate"
:customRequest="file => uploadPdf(file, 2)"
:remove="(file)=> removeFile(file, 2)">
<a-button type="primary"> <Icon name="ssiupload" :size="18" />上传模板 </a-button>
</a-upload>
</a-form-model-item>
</a-col>
</a-row> </a-row>
<a-row> <a-row>
<a-col :sm="24" class="none-label"> <a-col :sm="24" class="none-label">
<a-form-model-item label="button"> <a-form-model-item label="button">
<a-button type="primary" @click="handlerSava"> <a-button type="primary" @click="handlerSava">
<Icon name="ssibaocun" :size="14" />保存 <Icon :name="detailObj.id?'ssibaocun':'ssiadd'" :size="14" />{{detailObj.id?'保存':'新建'}}
</a-button> </a-button>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
...@@ -123,19 +144,49 @@ ...@@ -123,19 +144,49 @@
</template> </template>
<script> <script>
import Goback from "@/components/CUSTOMER/goback";
import moment from "moment";
export default { export default {
props: { props: {
detailObj: {} detailObj: {
claimApplicationTemplate: [],
authApplicationTemplate: []
}
}, },
data() { data() {
return { return {
countyList: [], countyList: [],
formRules: {
longName: [{ required: true, message: "请输入保险公司名称", trigger: "blur" }],
status: [{ required: true, message: "请选择是否有效", trigger: "change" }],
address: [{ required: true, message: "请输入保险公司地址", trigger: "blur" }],
contactPhone: [{ required: true, message: "请输入保险公司联系电话", trigger: "blur" }],
customerTel: [{ required: true, message: "请输入客服电话", trigger: "blur" }],
email: [{ required: true, message: "请输入保险公司邮件地址", trigger: "blur" }],
},
} }
}, },
components: {
Goback,
},
created(){ created(){
this.getRefcdByRefgrp(); this.getRefcdByRefgrp();
}, },
methods: { methods: {
comfileList1(){
if(this.detailObj.claimApplicationTemplate){
return [
{
uid: Math.random()*10000,
name: this.detailObj.claimApplicationTemplate.slice(this.detailObj.claimApplicationTemplate.lastIndexOf('/')+1),
status: 'done',
url: this.detailObj.claimApplicationTemplate,
}
]
}else{
return [];
}
},
// 获取国家列表 // 获取国家列表
getRefcdByRefgrp() { getRefcdByRefgrp() {
this.$apis.GETREFCDBYREFGRP({ this.$apis.GETREFCDBYREFGRP({
...@@ -147,25 +198,74 @@ export default { ...@@ -147,25 +198,74 @@ export default {
}, },
//新建保存 //新建保存
handlerSava(){ handlerSava(){
this.$apis.PAYORUPDATE({ this.$refs.form.validate((valid) => {
...this.detailObj if (valid) {
}) let formData = {
.then((res) => { ...this.detailObj,
if (res.returnCode == "0000") { startDate: this.detailObj.startDate?moment(this.detailObj.startDate).format('YYYY-MM-DD HH:mm:ss'):'',
this.$message.success("保存成功"); endDate: this.detailObj.endDate?moment(this.detailObj.endDate).format('YYYY-MM-DD HH:mm:ss'):'',
} else { claimApplicationTemplate: this.detailObj.claimApplicationTemplate.length>0? this.detailObj.claimApplicationTemplate[0].url: '',
this.$message.error(res.returnMsg); authApplicationTemplate: this.detailObj.authApplicationTemplate.length>0? this.detailObj.authApplicationTemplate[0].url: '',
}
let api = this.detailObj.id? 'PAYORUPDATE': 'CREATEPAY';
this.$apis[api](formData)
.then((res) => {
if (res.returnCode == "0000") {
this.$message.success("保存成功");
if(!this.detailObj.id){
this.$router.replace({
path: '/info/companyDetail',
query: {
id: res.content
}
})
}
} else {
this.$message.error(res.returnMsg);
}
});
}
});
},
removeFile(file,type=1){
return new Promise((resolve)=>{
if(type==1){
this.detailObj.claimApplicationTemplate = [];
}else{
this.detailObj.authApplicationTemplate = [];
} }
resolve();
}); });
},
//上传pdf
uploadPdf(fileData, type=1){
let formData = new FormData();
formData.append("file", fileData.file);
this.$apis.UPLOADIMG(formData)
.then((res)=>{
fileData.onSuccess();
let fileList = [
{
uid: Math.random()*10000,
name: res.title,
status: 'done',
url: res.url,
}
]
if(type==1){
this.detailObj.claimApplicationTemplate = fileList;
}else{
this.detailObj.authApplicationTemplate = fileList;
}
this.$forceUpdate();
})
} }
}, },
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.info-div{
margin-top: 16px;
}
.title-div { .title-div {
line-height: 56px; line-height: 56px;
color: #252631; color: #252631;
......
<template>
<div class="info-doctor">
<a-table :columns="columns" :data-source="dataList" :scroll="{ x: 'max-content' }" :pagination="false">
<template slot="specialtyList" slot-scope="text, record">
<span>{{ filterSpecialty(record.specialtyList) }}</span>
</template>
<template slot="operation" slot-scope="text, record, index">
<a-button type="link" @click.stop="editEvt(record)">修改</a-button>
<a-button type="link" class="danger" @click.stop="delRecord(index)">删除</a-button>
</template>
</a-table>
<!--分页-->
<BurtPagination :pagination="pagination" @pageChange="getDoctorList" />
<a-modal title="编辑" :visible="dialogShow" width="60%" :maskClosable="false"
okText="确定" cancelText="取消"
@ok="handleEditOK" @cancel="dialogShow = false">
<a-form-model ref="editForm" :model="editFormObj" :rules="editRules">
<a-row :gutter="30">
<a-col :lg="12" :sm="24">
<a-form-model-item label="工号" prop="doctorCode">
<a-input type="number" :min="0" v-model.trim="editFormObj.doctorCode" placeholder="工号" />
</a-form-model-item>
</a-col>
<a-col :lg="12" :sm="24">
<a-form-model-item label="医生姓名" prop="doctorDesc">
<a-input v-model.trim="editFormObj.doctorDesc" placeholder="医生姓名" />
</a-form-model-item>
</a-col>
<a-col :lg="12" :sm="24">
<a-form-model-item label="医生英文名" prop="doctorDescLang1">
<a-input v-model.trim="editFormObj.doctorDescLang1" placeholder="医生英文名" />
</a-form-model-item>
</a-col>
<a-col :lg="12" :sm="24">
<a-form-model-item label="国家/区域" prop="country">
<a-select v-model="editFormObj.country" placeholder="请选择" showSearch allowClear>
<a-select-option v-for="(item) in countyList" :value="item.descCh" :key="item.id">{{item.descCh}}</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
<a-col :lg="12" :sm="24">
<a-form-model-item label="语言" prop="language">
<a-select v-model="editFormObj.language" placeholder="请选择" mode="multiple" showSearch allowClear>
<a-select-option v-for="(item) in languageList" :value="item.descCh" :key="item.id">{{item.descCh}}</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
<a-col :lg="12" :sm="24">
<a-form-model-item label="科室" prop="specialtyList">
<a-select v-model="editFormObj.specialtyList" placeholder="请选择" mode="multiple" showSearch allowClear>
<a-select-option :value="item.id" v-for="item in specialtyList" :key="item.id">{{ item.specialtyDesc }}</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
</a-row>
</a-form-model>
</a-modal>
</div>
</template>
<script>
import BurtPagination from "@/components/CUSTOMER/pagation";
const columns = [
{ title: "序号", dataIndex: "id", ellipsis: true, width: 150 },
{ title: "工号", dataIndex: "doctorCode", ellipsis: true, width: 95 },
{ title: "医生姓名", dataIndex: "doctorDesc", ellipsis: true, width: 125 },
{ title: "医生英文名", dataIndex: "doctorDescLang1", ellipsis: true, width: 135,},
{ title: "科室", dataIndex: "specialtyList", ellipsis: true, scopedSlots: { customRender: "specialtyList" }, width: 155,},
{ title: "国家/区域", dataIndex: "country", ellipsis: true, width: 110, },
{ title: "语言", dataIndex: "language", ellipsis: true, width: 120 },
{ title: "操作", dataIndex: "operation", scopedSlots: { customRender: "operation" }, fixed: "right", width: "200px", align: "center", },
];
export default{
props: {
detailObj: {
default: {}
}
},
data(){
return {
dialogShow: false,
columns,
dataList: [],
pagination: {
pageNum: 1,
pageSize: 10,
total: 0,
},
specialtyList: [], //科室列表
specialtyObj: {}, //科室对象
countyList: [],
languageList: [],
editFormObj: {
id: "",
doctorCode: '',
doctorDesc: '',
doctorDescLang1: '',
country: '',
language: [],
specialtyList: [],
},
editRules: {
specialtyList: [
{ required: true, message: "请选择", trigger: "change" },
],
},
}
},
components: {
BurtPagination,
},
async created() {
this.getSpecialtyList();
this.getDoctorList();
this.getRefcdByRefgrp();
},
methods: {
filterSpecialty(val) {
let txt = (val || []).map((item) => {
return this.specialtyObj[item] || "";
});
return txt.join(",");
},
//获取科室
getSpecialtyList() {
this.$apis.GETSPECIALTYLIST().then((res) => {
if (res.returnCode == "0000") {
this.specialtyList = res.content || [];
(res.content || []).forEach((item) => {
this.specialtyObj[item.id] = item.specialtyDesc;
});
} else {
this.$message.error(res.returnMsg);
}
});
},
getRefcdByRefgrp() {
// 获取国家列表
this.$apis.GETREFCDBYREFGRP({
modid: "CI",
refgrp: "COUNTRY_MAPPING"
}).then((res) => {
this.countyList = res.content || [];
});
// 获取语言列表
this.$apis.GETREFCDBYREFGRP({
modid: "CI",
refgrp: "LANGUAGE_TYPE"
}).then((res) => {
this.languageList = res.content || [];
});
},
//获取医生列表
getDoctorList() {
this.$apis
.DOCTORLIST({
providerId: this.detailObj.id,
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize,
})
.then((res) => {
if (res.returnCode == "0000") {
let content = res.content || {};
this.pagination.total = content.total || 0;
this.dataList = (content.list || []).map((item) => {
let specialtyList = (item.specialtyList || []).map(
(innerItem) => {
return innerItem.specialtyId;
}
);
return {
...item,
specialtyList: specialtyList || [],
};
});
} else {
this.$message.error(res.returnMsg);
}
});
},
editEvt(record) {
this.editFormObj = {
id: record.id || "",
doctorCode: record.doctorCode || "",
doctorDesc: record.doctorDesc || "",
doctorDescLang1: record.doctorDescLang1 || "",
country: record.country || "",
language: record.language? record.language.split(','): [],
specialtyList: record.specialtyList || [],
};
this.dialogShow = true;
},
//编辑保存
handleEditOK() {
this.$refs.editForm.validate((valid) => {
if (valid) {
this.$apis
.DOCTORUPDATE({
...this.editFormObj,
language: this.editFormObj.language.join(','),
specialtyList: this.editFormObj.specialtyList.map((item) => {
return {
specialtyId: item,
};
}),
})
.then((res) => {
if (res.returnCode == "0000") {
this.$message.success("编辑成功");
this.dialogShow = false;
this.getDoctorList();
} else {
this.$message.error(res.returnMsg);
}
});
}
});
},
//删除医生
delRecord(index) {
this.$modal.confirm({
title: "删除",
content: "确定删除该条记录?",
okText: "确定",
cancelText: "取消",
onOk: () => {
this.$apis
.DOCTORDELETE({
id: this.dataList[index].id,
})
.then((res) => {
if (res.returnCode == "0000") {
this.$message.success("删除成功");
this.dataList.splice(index, 1);
} else {
this.$message.error(res.returnMsg);
}
});
},
});
},
}
}
</script>
<style lang="less" scoped>
</style>
\ No newline at end of file
<template>
<div class="info-special">
<div class="btn-div">
<a-button type="primary" @click="addNewEvt({})">
<Icon name="ssiadd" :size="14" />新建科室
</a-button>
</div>
<a-table :columns="columns" :data-source="dataList" :scroll="{ x: 'max-content' }" :pagination="false">
<template slot="coverageMasterList" slot-scope="text">
<span>{{ filterCoverage(text) }}</span>
</template>
<template slot="operation" slot-scope="text, record, index">
<a-button type="link" @click.stop="addNewEvt(record)">修改</a-button>
<a-button type="link" class="danger" @click.stop="delRecord(index)">删除</a-button>
</template>
</a-table>
<!--分页-->
<BurtPagination :pagination="pagination" />
<a-modal :title="editFormObj.id?'编辑':'新建'" :visible="dialogShow" width="700px" :maskClosable="false"
okText="确定" cancelText="取消"
@ok="handleEditOK" @cancel="dialogShow = false">
<a-form-model ref="editForm" :model="editFormObj" :rules="editRules">
<a-row :gutter="30">
<a-col :lg="12" :xs="24">
<a-form-model-item label="科室名称" prop="specialtyDesc">
<a-input v-model.trim="editFormObj.specialtyDesc" placeholder="科室名称" />
</a-form-model-item>
</a-col>
<a-col :lg="12" :sm="24">
<a-form-model-item label="责任列表" prop="coverageCode">
<a-select v-model="editFormObj.coverageCode" placeholder="请选择责任" search allowClear mode="multiple">
<a-select-option v-for="item in coverageCode" :key="item.coverageCode" :vlaue="item.coverageCode">
{{ item.coverageDesc }}
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
</a-row>
</a-form-model>
</a-modal>
</div>
</template>
<script>
import BurtPagination from "@/components/CUSTOMER/pagation";
const columns = [
{ title: "序号", dataIndex: "id", ellipsis: true, width: 150 },
{ title: "科室名称", dataIndex: "specialtyDesc", ellipsis: true, width: 150 },
{ title: "科室编号", dataIndex: "specialtyCode", ellipsis: true, width: 150 },
{ title: "责任", dataIndex: "coverageMasterList", ellipsis: true, scopedSlots: { customRender: "coverageMasterList" }, width: 155,},
{ title: "操作", dataIndex: "operation", scopedSlots: { customRender: "operation" }, fixed: "right", width: "200px", align: "center", },
];
export default{
data(){
return {
dialogShow: false,
columns,
dataList: [],
pagination: {
pageNum: 1,
pageSize: 10,
total: 0,
},
coverageCode: [], //责任列表
editFormObj: {
id: '',
specialtyDesc: '',
coverageCode: []
},
editRules: {
specialtyDesc: [{ required: true, message: "请输入科室名称", trigger: "blur" }, ]
}
}
},
components: {
BurtPagination
},
created(){
this.getData()
this.getCoverageCode();
},
methods: {
filterCoverage(val) {
let txt = (val || []).map((item) => {
return item.coverageDesc || "";
});
return txt.join("");
},
getData(){
this.$apis.SPECIALTYLISTPAGE({
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize,
})
.then((res) => {
if (res.returnCode == "0000") {
let content = res.content || {};
this.pagination.total = content.total || 0;
this.dataList = (content.list || []).map((item) => {
let coverageCode = (item.coverageMasterList || []).map(item => item.coverageCode);
return {
...item,
coverageCode
};
});
console.log(this.dataList, 111)
} else {
this.$message.error(res.returnMsg);
}
});
},
//获取责任列表
getCoverageCode() {
this.$apis.GETCOVERAGECODE().then((res) => {
this.coverageCode = res.content || [];
});
},
addNewEvt(record){
this.dialogShow = true;
this.$nextTick(()=>{
this.$refs.editForm.resetFields();
this.editFormObj = {
id: record.id || "",
specialtyDesc: record.specialtyDesc || "",
coverageCode: record.coverageCode || [],
};
})
},
//新建/编辑
handleEditOK() {
this.$refs.editForm.validate((valid) => {
if (valid) {
let api = this.editFormObj.id? 'SPECIALTYUPDATE': 'SPECIALTYCREATE';
this.$apis[api]({
...this.editFormObj,
coverageMasterList: this.editFormObj.coverageCode.map(item => {
return {
coverageCode: item
}
})
})
.then((res) => {
if (res.returnCode == "0000") {
this.$message.success(this.editFormObj.id?"编辑成功":'新建成功');
this.dialogShow = false;
this.getData();
} else {
this.$message.error(res.returnMsg);
}
});
}
});
},
//删除科室
delRecord(index) {
this.$modal.confirm({
title: "删除",
content: "确定删除该条记录?",
okText: "确定",
cancelText: "取消",
onOk: () => {
this.$apis.SPECIALTYDELETE({
id: this.dataList[index].id,
})
.then((res) => {
if (res.returnCode == "0000") {
this.$message.success("删除成功");
this.dataList.splice(index, 1);
} else {
this.$message.error(res.returnMsg);
}
});
},
});
},
}
}
</script>
<style lang="less" scoped>
.btn-div{
margin-bottom: 10px;
}
</style>
\ No newline at end of file
This diff is collapsed.
...@@ -2,15 +2,18 @@ ...@@ -2,15 +2,18 @@
<div class="header-container"> <div class="header-container">
<div class="logo">{{title}}</div> <div class="logo">{{title}}</div>
<div class="user-info"> <div class="user-info">
<p class="name"><Icon :name="'ssicb'" :size="24" />{{ userInfo.name }}</p> <p class="flex name">
<Icon :name="'ssicb'" :size="24" />
{{ userInfo.name }}
</p>
<a-dropdown <a-dropdown
class="avator" class="flex avator"
:getPopupContainer="getPopupContainer" :getPopupContainer="getPopupContainer"
placement="bottomRight" placement="bottomRight"
> >
<div @click="(e) => e.preventDefault()"> <div @click="(e) => e.preventDefault()">
<img v-if="userInfo.avator" :src="userInfo.avator" alt="avator" /> <img v-if="userInfo.avator" :src="userInfo.avator" alt="avator" />
<Icon v-else :name="'ssiuser'" :size="36" /> <Icon v-else :name="'ssiuser'" :size="24" />
</div> </div>
<a-menu slot="overlay"> <a-menu slot="overlay">
<a-menu-item key="1" @click="loginOut"> 退出登录 </a-menu-item> <a-menu-item key="1" @click="loginOut"> 退出登录 </a-menu-item>
...@@ -41,6 +44,7 @@ export default { ...@@ -41,6 +44,7 @@ export default {
loginOut() { loginOut() {
this.$apis.LOGINOUT().then((res) => { this.$apis.LOGINOUT().then((res) => {
if (res.returnCode) { if (res.returnCode) {
this.$store.commit("common/setMenuStack", []);
this.$router.push("/login"); this.$router.push("/login");
} else { } else {
this.$message.error(res.returnMsg || "退出失败"); this.$message.error(res.returnMsg || "退出失败");
...@@ -52,6 +56,10 @@ export default { ...@@ -52,6 +56,10 @@ export default {
</script> </script>
<style lang="less"> <style lang="less">
.flex{
display: flex;
align-items: center;
}
.header-container { .header-container {
position: fixed; position: fixed;
width: 100%; width: 100%;
......
function SubMenu(h, menu, selectMenu) { function SubMenu(h, menu, selectMenu) {
let icon; let icon, icon_arrow;
if (menu.icon) { if (menu.icon) {
// 菜单激活的时候图标要变颜色 图标名称要处理好 应该是在默认的基础上加个'_active' // 菜单激活的时候图标要变颜色 图标名称要处理好 应该是在默认的基础上加个'_active'
const iconName = const iconName =
selectMenu.indexOf(menu.path) < 0 ? menu.icon : menu.icon + "_active"; selectMenu.indexOf(menu.path) < 0 ? menu.icon : menu.icon + "_active";
icon = <Icon name={iconName} size={18} />; icon = <Icon name={iconName} size={18} />;
} }
if(menu.children && menu.children.length>0){
icon_arrow = <Icon class="arrow" name={selectMenu.indexOf(menu.path) < 0 ?'ssixiangyou': 'ssixiangyou_active'} size={14} />;
}
console.log(menu, icon_arrow,111)
return ( return (
<a-sub-menu key={menu.path}> <a-sub-menu key={menu.path}>
<span slot="title" class="submenu-title-wrapper"> <span slot="title" class="submenu-title-wrapper">
{icon} {icon}
{menu.title} {menu.title}
{icon_arrow}
</span> </span>
{menu.children.map((item) => { {menu.children.map((item) => {
return createMenu.call(this, h, item); return createMenu.call(this, h, item);
......
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
:to="item.path" :to="item.path"
> >
{{ item.title }} {{ item.title }}
<Icon <Icon v-if="menuStack.length>1"
@click="closeMenu(index)" @click="(e)=>closeMenu(e, index)"
:name="isVisit(item.path) ? 'ssiclose_active' : 'ssiclose'" :name="isVisit(item.path) ? 'ssiclose_active' : 'ssiclose'"
:size="16" :size="16"
/> />
...@@ -31,7 +31,8 @@ export default { ...@@ -31,7 +31,8 @@ export default {
const path = this.$route.path; const path = this.$route.path;
return path === val; return path === val;
}, },
closeMenu(index) { closeMenu(e, index) {
e.stopPropagation();
const menuStack = JSON.parse(JSON.stringify(this.menuStack)); const menuStack = JSON.parse(JSON.stringify(this.menuStack));
const isVisit = this.isVisit(menuStack[index].path); const isVisit = this.isVisit(menuStack[index].path);
menuStack.splice(index, 1); menuStack.splice(index, 1);
......
...@@ -35,6 +35,14 @@ export default { ...@@ -35,6 +35,14 @@ export default {
}; };
</script> </script>
<style>
.icon-class.arrow{
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
}
</style>
<style lang="less" scoped> <style lang="less" scoped>
.menu-layout { .menu-layout {
background-color: #f8fafb; background-color: #f8fafb;
...@@ -59,6 +67,9 @@ export default { ...@@ -59,6 +67,9 @@ export default {
height: calc(100vh - 68px); height: calc(100vh - 68px);
overflow: auto; overflow: auto;
background-color: #fff; background-color: #fff;
li{
position: relative;
}
} }
} }
</style> </style>
This diff is collapsed.
<template>
<!--预授权费用数据-->
<a-modal title="预授权费用数据" :visible="dialogShow1" width="900px" :maskClosable="false"
:footer="null" @cancel="dialogShow1 = false">
<a-table :columns="columns" :data-source="dataList" :pagination="false">
<template slot="title">
<div class="flex header-div">
<div class="flex left-div">
<div class="item">
<span>批准次数/金额: </span>
<span class="val money">{{detailObj.approvalAmount}}</span>
</div>
<div class="item">
<span>是否已使用: </span>
<span class="val">{{detailObj.isUse}}</span>
</div>
</div>
<a-button type="primary" @click="editEvt({})">
<Icon name="ssiadd" :size="14" />添 加
</a-button>
</div>
</template>
<template slot="userTime" slot-scope="text">
{{text? moment(text).format('YYYY-MM-DD'): ''}}
</template>
<template slot="operation" slot-scope="text, record, index">
<a-button type="link" @click.stop="editEvt(index)">修改</a-button>
<!-- <a-button v-if="record.eobNo" type="link" class="danger" @click.stop="delRecord(index)">删除</a-button> -->
</template>
</a-table>
<a-modal title="编辑" :visible="dialogShow2" width="60%" :maskClosable="false"
okText="确定" cancelText="取消"
@ok="handleEditOK" @cancel="dialogShow2 = false">
<a-form-model ref="editForm" :model="editFormObj" :rules="editRules">
<a-row :gutter="30">
<a-col :lg="12" :xs="24">
<a-form-model-item label="次数/金额" prop="userd">
<a-input type="number" v-model.trim="editFormObj.userd" placeholder="次数/金额" />
</a-form-model-item>
</a-col>
<a-col :lg="12" :xs="24">
<a-form-model-item label="日期" prop="userTime">
<a-date-picker allow-clear v-model="editFormObj.userTime" placeholder="请选择日期" value-format="YYYY-MM-DD 00:00:00" />
</a-form-model-item>
</a-col>
<a-col :lg="12" :xs="24">
<a-form-model-item label="剩余次数/金额" prop="surplus">
<a-input type="number" v-model.trim="editFormObj.surplus" placeholder="剩余次数/金额" />
</a-form-model-item>
</a-col>
</a-row>
</a-form-model>
</a-modal>
</a-modal>
</template>
<script>
import moment from 'moment';
export default{
data(){
const columns = [
{ title: "次数/金额", dataIndex: "userd", align: 'center' },
{ title: "日期", dataIndex: "userTime",scopedSlots: { customRender: "userTime" }, align: 'center'},
{ title: "剩余次数/金额", dataIndex: "surplus", align: 'center'},
];
return{
columns,
dialogShow1: false,
dialogShow2: false,
detailObj: {},
dataList: [],
editFormObj: {
userd: '',
userTime: '',
surplus: ''
},
editRules: {
userd: [{ required: true, message: "请输入", trigger: "blur" }],
userTime: [{ required: true, message: "请选择", trigger: "change" }],
surplus: [{ required: true, message: "请输入", trigger: "blur" }],
},
}
},
created(){
},
methods: {
moment,
showModal1(data){
this.dialogShow1 = true;
this.detailObj = data || {};
this.getData();
},
getData(){
this.$apis.AUTHORIZEUSELIST({
authorizeId: this.detailObj.id
})
.then((res)=>{
if (res.returnCode == "0000") {
this.dataList = res.content || [];
} else {
this.$message.error(res.returnMsg);
}
});
},
editEvt(record){
this.editFormObj = {
userd: record.userd || "",
userTime: record.userTime? moment(record.userTime).format('YYYY-MM-DD 00:00:00'): '',
surplus: record.surplus
};
this.dialogShow2 = true;
},
//编辑保存
handleEditOK() {
this.$refs.editForm.validate((valid) => {
if (valid) {
this.$apis.AUTHORIZEUSEADD({
authorizeId: this.detailObj.id,
...this.editFormObj
})
.then((res)=>{
if (res.returnCode == "0000") {
this.dialogShow2 = false;
this.getData();
} else {
this.$message.error(res.returnMsg);
}
});
}
});
},
}
}
</script>
<style lang="less" scoped>
.header-div{
font-weight: bold;
justify-content: space-between;
.item{
&:nth-child(2){
margin-left: 50px;
}
.val{
margin-left: 8px;
}
.money{
color: red;
}
}
}
</style>
\ No newline at end of file
<template>
<div>
<div class="flex title-div">
<span>费用明细</span>
<a-button type="primary" @click.stop="addEvt" v-if="!id">新增</a-button>
</div>
<a-table :columns="columns" :data-source="dataList" :pagination="false">
<template slot="itemCode" slot-scope="text">
{{formatProject(text)}}
</template>
<template slot="operation" slot-scope="text, record, index">
<a-button type="link" @click.stop="editEvt(index)" v-if="!id">修改</a-button>
<a-button type="link" class="danger" @click.stop="delRecord(index)" v-if="!id">删除</a-button>
</template>
<template slot="footer">
<div class="flex footer-div">
<span>预计总费用:</span>
<span class="money">{{totalMoney}}</span>
</div>
</template>
</a-table>
<a-modal title="编辑" :visible="dialogShow" width="700px" :maskClosable="false"
okText="确定" cancelText="取消"
@ok="handleEditOK" @cancel="dialogShow = false">
<a-form-model ref="editForm" :model="editFormObj" :rules="editRules">
<a-row :gutter="30">
<a-col :lg="12" :sm="24">
<a-form-model-item label="预授权项目" prop="itemCode">
<a-select v-model="editFormObj.itemCode" placeholder="请选择预授权项目" allowClear>
<a-select-option v-for="(item,i) in ProjectList" :key="i" :value="item.refcd">{{item.descCh}}</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
<a-col :lg="12" :xs="24">
<a-form-model-item label="单价" prop="salePrice">
<a-input type="number" v-model.trim="editFormObj.salePrice" placeholder="单价" @change="priceChange" />
</a-form-model-item>
</a-col>
<a-col :lg="12" :xs="24">
<a-form-model-item label="次数" prop="times">
<a-input type="number" v-model.trim="editFormObj.times" placeholder="次数" @change="priceChange" />
</a-form-model-item>
</a-col>
<a-col :lg="12" :xs="24">
<a-form-model-item label="总价" prop="totalAmount">
<a-input type="number" v-model.trim="editFormObj.totalAmount" placeholder="总价" disabled />
</a-form-model-item>
</a-col>
</a-row>
</a-form-model>
</a-modal>
</div>
</template>
<script>
export default{
props: {
id: {
default: ''
},
ProjectList: {
default: []
}
},
data(){
const columns = [
{ title: "预授权项目", dataIndex: "itemCode", key:"itemCode",align:'center',scopedSlots: { customRender: "itemCode" }},
{ title: "单价", dataIndex: "salePrice", key:"salePrice",align:'center'},
{ title: "次数", dataIndex: "times" },
{ title: "总价", dataIndex: "totalAmount"},
{ title: "操作", dataIndex: "operation", scopedSlots: { customRender: "operation" }, fixed: "right", width: "200px", align: 'center'},
];
return{
dialogShow: false,
columns,
dataList: [],
chooseIdex: -1,
editFormObj: {
itemCode: '',
salePrice: '',
times: '',
totalAmount: '',
},
editRules: {
itemCode: [{ required: true, message: "请输入", trigger: "blur" }],
salePrice: [{ required: true, message: "请输入", trigger: "blur" }],
times: [{ required: true, message: "请输入", trigger: "blur" }],
},
}
},
computed: {
//预计总费用
totalMoney(){
let money = 0;
this.dataList.forEach((item)=>{
money += item.totalAmount||0;
})
return money;
}
},
methods: {
//过滤project
formatProject(val){
if (!val) {
return;
}
const item = this.ProjectList.find((item) => {
return item.refcd == val;
});
return item? item.descCh: "";
},
//新增
addEvt(){
this.editEvt(-1)
},
/** 修改 * **/
editEvt(idx) {
this.chooseIdex = idx;
let record = this.dataList[idx] || {};
this.editFormObj = {
itemCode: record.itemCode || "",
salePrice: record.salePrice || "",
times: record.times
};
this.dialogShow = true;
},
//删除记录
delRecord(index) {
this.$modal.confirm({
title: "删除",
content: "确定删除该条记录?",
okText: "确认",
cancelText: "取消",
onOk: () => {
this.$message.success("删除成功");
this.dataList.splice(index, 1);
},
onCancel: () => {},
});
},
//编辑保存
handleEditOK() {
this.$refs.editForm.validate((valid) => {
if (valid) {
if(this.chooseIdex == -1){ //新增
this.dataList.push({...this.editFormObj})
}else{ //修改
this.dataList.splice(this.chooseIdex, 1, {...this.editFormObj});
}
this.dialogShow = false;
this.$emit('authorizeItemVoListChange', this.dataList);
}
});
},
priceChange(){
this.editFormObj.totalAmount = Number(this.editFormObj.salePrice||0) * Number(this.editFormObj.times||0)
}
}
}
</script>
<style lang="less" scoped>
.title-div {
line-height: 56px;
color: #252631;
font-weight: bold;
border-bottom: 1px solid #eee;
justify-content: space-between;
}
.footer-div{
font-weight: bold;
.money{
color: red;
margin-left: 8px;
}
}
</style>
\ No newline at end of file
This diff is collapsed.
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
</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="editEvt(record)">查看</a-button>
<a-button v-if="record.backMoneyNo" type="link" class="danger" @click.stop="delRecord(index)">删除</a-button> <a-button v-if="record.backMoneyNo" type="link" class="danger" @click.stop="delRecord(index)">删除</a-button>
</template> </template>
</a-table> </a-table>
...@@ -55,7 +56,7 @@ const columns = [ ...@@ -55,7 +56,7 @@ const columns = [
{ title: "回款金额(人民币)", dataIndex: "backAmountCny", ellipsis: true, width: 190,}, { title: "回款金额(人民币)", dataIndex: "backAmountCny", ellipsis: true, width: 190,},
{ title: "回款金额(美元)", dataIndex: "backAmountUsd", ellipsis: true, width: 190,}, { title: "回款金额(美元)", dataIndex: "backAmountUsd", ellipsis: true, width: 190,},
{ title: "汇率差", dataIndex: "backExchangeRate", ellipsis: true, width: 110 }, { title: "汇率差", dataIndex: "backExchangeRate", ellipsis: true, width: 110 },
{ title: "操作", dataIndex: "operation", scopedSlots: { customRender: "operation" },fixed: "right", width: "200px"}, { title: "操作", dataIndex: "operation", scopedSlots: { customRender: "operation" },fixed: "right", width: "200px", align: "center"},
]; ];
export default { export default {
data() { data() {
......
<template> <template>
<div class="white_bg burt-container"> <div class="white_bg burt-container">
<Goback title="回款详情" />
<!-- form --> <!-- form -->
<a-form-model ref="form" layout="vertical" :model="form"> <a-form-model ref="form" layout="vertical" :model="form">
<a-row :gutter="30"> <a-row :gutter="30">
...@@ -57,7 +58,7 @@ ...@@ -57,7 +58,7 @@
<a-table :columns="columns" :data-source="dataList" :scroll="{ x: true }" :pagination="false" <a-table :columns="columns" :data-source="dataList" :scroll="{ x: true }" :pagination="false"
:row-selection="isEditNewEOB? { selectedRowKeys: selectedRowKeys, onChange: onSelectChange }: null"> :row-selection="isEditNewEOB? { selectedRowKeys: selectedRowKeys, onChange: onSelectChange }: null">
<template slot="eobSts" slot-scope="text"> <template slot="eobSts" slot-scope="text">
{{text==1?'待回款':'已回款'}} {{text | formatEOBStatus}}
</template> </template>
<template slot="eobBackDate" slot-scope="text"> <template slot="eobBackDate" slot-scope="text">
{{text?moment(text).format('YYYY-MM-DD'):''}} {{text?moment(text).format('YYYY-MM-DD'):''}}
...@@ -77,24 +78,23 @@ ...@@ -77,24 +78,23 @@
<a-col :lg="12" :sm="24"> <a-col :lg="12" :sm="24">
<a-form-model-item label="EOB状态" prop="eobSts"> <a-form-model-item label="EOB状态" prop="eobSts">
<a-select v-model="editFormObj.eobSts" placeholder="请选择状态" allowClear> <a-select v-model="editFormObj.eobSts" placeholder="请选择状态" allowClear>
<a-select-option value="1">待回款</a-select-option> <a-select-option v-for="(item,i) in EOBStatusOptions" :key="i" :value="item.value">{{item.name}}</a-select-option>
<a-select-option value="2">已回款</a-select-option>
</a-select> </a-select>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :lg="12" :sm="24"> <a-col :lg="12" :sm="24">
<a-form-model-item label="eob核销时间" prop="eobBackDate"> <a-form-model-item label="EOB核销时间" prop="eobBackDate">
<a-date-picker format="YYYY年MM月DD日" v-model="editFormObj.eobBackDate" placeholder="选择日期" /> <a-date-picker format="YYYY年MM月DD日" v-model="editFormObj.eobBackDate" placeholder="选择日期" />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :lg="12" :xs="24"> <a-col :lg="12" :xs="24">
<a-form-model-item label="eob回款(人民币)" prop="eobBackMoneyCny"> <a-form-model-item label="EOB回款(人民币)" prop="eobBackMoneyCny">
<a-input v-model.trim="editFormObj.eobBackMoneyCny" placeholder="eob回款(人民币)" /> <a-input v-model.trim="editFormObj.eobBackMoneyCny" placeholder="EOB回款(人民币)" />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :lg="12" :xs="24"> <a-col :lg="12" :xs="24">
<a-form-model-item label="eob回款(美元)" prop="eobBackMoneyUsd"> <a-form-model-item label="EOB回款(美元)" prop="eobBackMoneyUsd">
<a-input v-model.trim="editFormObj.eobBackMoneyUsd" placeholder="eob回款(美元)" /> <a-input v-model.trim="editFormObj.eobBackMoneyUsd" placeholder="EOB回款(美元)" />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
</a-row> </a-row>
...@@ -104,8 +104,11 @@ ...@@ -104,8 +104,11 @@
</template> </template>
<script> <script>
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 moment from "moment"; import moment from "moment";
import mixins from "@/mixins";
const columns = [ const columns = [
{ title: "EOB编号", dataIndex: "eobNo", ellipsis: true, width: 150 }, { title: "EOB编号", dataIndex: "eobNo", ellipsis: true, width: 150 },
{ title: "EOB名称", dataIndex: "eobName", ellipsis: true, width: 195 }, { title: "EOB名称", dataIndex: "eobName", ellipsis: true, width: 195 },
...@@ -117,12 +120,13 @@ const columns = [ ...@@ -117,12 +120,13 @@ const columns = [
{ title: "EOB回款金额(人民币)", dataIndex: "eobBackMoneyCny", ellipsis: true, width: 190,}, { title: "EOB回款金额(人民币)", dataIndex: "eobBackMoneyCny", ellipsis: true, width: 190,},
{ title: "EOB回款金额(美元)", dataIndex: "eobBackMoneyUsd", ellipsis: true, width: 190,}, { title: "EOB回款金额(美元)", dataIndex: "eobBackMoneyUsd", ellipsis: true, width: 190,},
{ title: "汇率差", dataIndex: "backExchangeRate", ellipsis: true, width: 110 }, { title: "汇率差", dataIndex: "backExchangeRate", ellipsis: true, width: 110 },
{ title: "操作", dataIndex: "operation", scopedSlots: { customRender: "operation" },fixed: "right", width: "170px"}, { title: "操作", dataIndex: "operation", scopedSlots: { customRender: "operation" },fixed: "right", width: "170px", align: "center"},
]; ];
export default { export default {
data() { data() {
return { return {
columns, columns,
EOBStatusOptions,
dialogShow: false, dialogShow: false,
form: { form: {
payorCode: '', payorCode: '',
...@@ -155,7 +159,9 @@ export default { ...@@ -155,7 +159,9 @@ export default {
}, },
}; };
}, },
mixins: [mixins],
components: { components: {
Goback,
BurtPagination, BurtPagination,
}, },
created(){ created(){
...@@ -314,9 +320,13 @@ export default { ...@@ -314,9 +320,13 @@ export default {
handleEditOK() { handleEditOK() {
this.$refs.editForm.validate((valid) => { this.$refs.editForm.validate((valid) => {
if (valid) { if (valid) {
let editFormObj = {
...this.editFormObj,
eobBackDate: this.editFormObj.eobBackDate?moment(this.editFormObj.eobBackDate).format('YYYY-MM-DD 00:00:00'):"",
}
this.$apis.SAVEBACKMONEY({ this.$apis.SAVEBACKMONEY({
...this.form, ...this.form,
backMoneyEobList: [this.editFormObj], backMoneyEobList: [editFormObj],
backDate: this.form.backDate? moment(this.form.backDate).format('YYYY-MM-DD 00:00:00'):'', backDate: this.form.backDate? moment(this.form.backDate).format('YYYY-MM-DD 00:00:00'):'',
backMoneyNo: this.backMoneyNo, //回款编号 backMoneyNo: this.backMoneyNo, //回款编号
}) })
......
...@@ -13,11 +13,23 @@ ...@@ -13,11 +13,23 @@
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :lg="6" :sm="12"> <a-col :lg="6" :sm="12">
<a-form-model-item label="账单编号"> <a-form-model-item label="EOB状态">
<a-input v-model="form.receiptNo" placeholder="请输入账单编号" /> <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>
</a-form-model-item>
</a-col>
<a-col :lg="6" :sm="12">
<a-form-model-item label="EOB赔付金额(人民币)">
<a-input type="number" v-model.trim="form.eobAmountCny" placeholder="EOB赔付金额(人民币)" />
</a-form-model-item>
</a-col>
<a-col :lg="6" :sm="12">
<a-form-model-item label="EOB赔付金额(美元)">
<a-input type="number" v-model.trim="form.eobAmountUsd" placeholder="EOB赔付金额(美元)" />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :lg="12" :sm="24" class="none-label"> <a-col :sm="24" class="none-label">
<a-form-model-item label="button"> <a-form-model-item label="button">
<a-button class="mar-left10" type="primary" @click="handlerSearch"> <a-button class="mar-left10" type="primary" @click="handlerSearch">
<Icon name="ssisearch_active" :size="14" />查询 <Icon name="ssisearch_active" :size="14" />查询
...@@ -35,11 +47,12 @@ ...@@ -35,11 +47,12 @@
</a-form-model> </a-form-model>
<!-- table --> <!-- table -->
<a-table :columns="columns" :data-source="dataList" :scroll="{ x: true }" :pagination="false"> <a-table :columns="columns" :data-source="dataList" :scroll="{ x: true }" :pagination="false">
<template slot="sendSts" slot-scope="record, text"> <template slot="eobSts" slot-scope="text">
<span>{{text==1?'已寄送':'未寄送'}}</span> <span>{{text | formatEOBStatus}}</span>
</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="editEvt(record)">查看</a-button>
<a-button v-if="record.eobNo" type="link" class="danger" @click.stop="delRecord(index)">删除</a-button> <a-button v-if="record.eobNo" type="link" class="danger" @click.stop="delRecord(index)">删除</a-button>
</template> </template>
</a-table> </a-table>
...@@ -50,22 +63,27 @@ ...@@ -50,22 +63,27 @@
<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 mixins from "@/mixins";
const columns = [ const columns = [
{ title: "EOB编号", dataIndex: "eobNo", ellipsis: true, width: 100 }, { title: "EOB编号", dataIndex: "eobNo", ellipsis: true, width: 100 },
{ title: "保险公司", dataIndex: "payorName", ellipsis: true, width: 80 }, { title: "保险公司", dataIndex: "payorName", ellipsis: true, width: 80 },
{ title: "理赔状态", dataIndex: "sendSts", ellipsis: true, width: 90, scopedSlots: { customRender: "sendSts" } }, { title: "EOB状态", dataIndex: "eobSts", ellipsis: true, width: 90, scopedSlots: { customRender: "eobSts" } },
{ title: "EOB赔付金额(人民币)", dataIndex: "eobAmountCny", ellipsis: true, width: 85 }, { title: "EOB赔付金额(人民币)", dataIndex: "eobAmountCny", ellipsis: true, width: 85 },
{ title: "EOB赔付金额(美元)", dataIndex: "eobAmountUsd", ellipsis: true, width: 85 }, { title: "EOB赔付金额(美元)", dataIndex: "eobAmountUsd", ellipsis: true, width: 85 },
{ title: "备注", dataIndex: "sendRemark", ellipsis: true, width: 120 }, { title: "备注", dataIndex: "eobRemark", ellipsis: true, width: 120 },
{ title: "操作", dataIndex: "operation", scopedSlots: { customRender: "operation" }, fixed: "right", width: "200px"}, { title: "操作", dataIndex: "operation", scopedSlots: { customRender: "operation" }, fixed: "right", width: "200px", align: 'center'},
]; ];
export default { export default {
data() { data() {
return { return {
columns, columns,
EOBStatusOptions,
form: { form: {
payorCode: '', payorCode: '',
receiptNo: '', eobSts: '',
eobAmountCny: '',
eobAmountUsd: ''
}, },
dataList: [], dataList: [],
companyOptions: [], //保险公司 companyOptions: [], //保险公司
...@@ -76,6 +94,7 @@ export default { ...@@ -76,6 +94,7 @@ export default {
}, },
}; };
}, },
mixins: [mixins],
components: { components: {
BurtPagination, BurtPagination,
}, },
...@@ -93,7 +112,9 @@ export default { ...@@ -93,7 +112,9 @@ export default {
handlerReset() { handlerReset() {
this.form = { this.form = {
payorCode: '', payorCode: '',
receiptNo: '', eobSts: '',
eobAmountCny: '',
eobAmountUsd: ''
} }
}, },
// 获取保险公司下拉选项 // 获取保险公司下拉选项
...@@ -104,6 +125,7 @@ export default { ...@@ -104,6 +125,7 @@ export default {
}, },
getData() { getData() {
this.$apis.QUERYEOBLIST({ this.$apis.QUERYEOBLIST({
...this.form,
pageNum: this.pagination.pageNum, pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize, pageSize: this.pagination.pageSize,
}) })
......
This diff is collapsed.
This diff is collapsed.
...@@ -26,13 +26,13 @@ ...@@ -26,13 +26,13 @@
</div> </div>
</div> --> </div> -->
<a-collapse v-model="activeKeys" expand-icon-position="right" :bordered="false"> <a-collapse v-model="activeKeys" expand-icon-position="right" :bordered="false">
<a-collapse-panel v-for="item in benefitData" :key="item.benefitCode" :header="item.benefitCode"> <a-collapse-panel v-for="item in benefitData" :key="item.benefitCode" :header="item.benefitCode + ' ' +item.benefitDesc">
<div> <div>
<a-row class="policy_line" :gutter="10"> <a-row class="policy_line" :gutter="10">
<a-col :span="6">事先授权:</a-col> <a-col :span="6">事先授权:</a-col>
<a-col :span="6">等待期:{{ item.waitingPeriod }}</a-col> <a-col :span="6">等待期:{{ item.waitingPeriod }}</a-col>
<a-col :span="6">年限额:</a-col> <!-- <a-col :span="6">年限额:</a-col>
<a-col :span="6">赔付比例:</a-col> <a-col :span="6">赔付比例:</a-col> -->
</a-row> </a-row>
</div> </div>
<condition :formData="{ ...item, conditionType: '01' }" /> <condition :formData="{ ...item, conditionType: '01' }" />
......
...@@ -2,10 +2,11 @@ ...@@ -2,10 +2,11 @@
<div> <div>
<a-table <a-table
class="mar-bottom10" class="mar-bottom10"
size="small"
:columns="columns" :columns="columns"
:locale="{ emptyText: 'No Data' }" :locale="{ emptyText: 'No Data' }"
:data-source="conditionList" :data-source="conditionList"
row-key="mrnNo" row-key="id"
:pagination="false" :pagination="false"
></a-table> ></a-table>
</div> </div>
...@@ -20,18 +21,16 @@ export default { ...@@ -20,18 +21,16 @@ export default {
}, },
data() { data() {
const columns = [ const columns = [
{ title: "频率", dataIndex: "frequencyCode" }, { title: "条件类型", dataIndex: "frequencyDesc" },
{ title: "条件", dataIndex: "limitCode" }, { title: "条件内容", dataIndex: "limitDesc" },
{ title: "最小值", dataIndex: "minValue" }, // { title: "最小值", dataIndex: "minValue" },
{ title: "最大值", dataIndex: "maxValue" }, { title: "福利限制", dataIndex: "maxValue", customRender: (val, row) => {
{ title: "家庭最大值", dataIndex: "familyMaxValue" }, if (row.limitCode.indexOf('07') === 0) {
{ return val + '%'
title: "操作", }
key: "operation", return val
width: "175px", }},
fixed: "right", { title: "剩余金额", dataIndex: "leftValue" }
scopedSlots: { customRender: "operation" },
},
]; ];
return { return {
columns, columns,
......
This diff is collapsed.
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