Commit 4a550955 authored by 吴婷慧's avatar 吴婷慧

解决冲突

parents 80ebe0f7 64ab34f8
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<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_tux1s49rh3f.js"
></script> ></script>
</head> </head>
<body> <body>
......
...@@ -11,6 +11,5 @@ export default { ...@@ -11,6 +11,5 @@ 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",//账单结算
}; };
...@@ -45,6 +45,10 @@ const GETRECEIPTPAYMENTDETAIL= function (data) { ...@@ -45,6 +45,10 @@ 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);
};
// 对象数组 // 对象数组
...@@ -60,6 +64,6 @@ export default { ...@@ -60,6 +64,6 @@ export default {
GETCHARGELISTDETAIL, GETCHARGELISTDETAIL,
GETRECEIPTPAYMENTDETAIL, GETRECEIPTPAYMENTDETAIL,
QUERYCIRECEIPSENDLIST, QUERYCIRECEIPSENDLIST,
RECEIPTSETTLEMENT,
}; };
<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);
}, },
}, },
}; };
......
import bus from "../utils/bus"; import bus from "../utils/bus";
import {} from '@/utils/utilsdictOptions.js' import {sexOptions} from '@/utils/utilsdictOptions.js'
// 全局混入将会影响每个单文件组件,请慎重思考是否要混入 // 全局混入将会影响每个单文件组件,请慎重思考是否要混入
export default { export default {
...@@ -9,6 +9,14 @@ export default { ...@@ -9,6 +9,14 @@ export default {
}; };
}, },
filters: { filters: {
formatSex(val){
if (!val) {
return;
}
const item = sexOptions.find((item) => {
return item.value == val;
});
return item? item.name: "";
},
} }
}; };
...@@ -86,7 +86,7 @@ export default [ ...@@ -86,7 +86,7 @@ export default [
{ {
path: "/info/company", path: "/info/company",
title: "保险公司信息", title: "保险公司信息",
}, }
], ],
}, },
{ {
......
<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,14 @@ ...@@ -88,6 +89,14 @@
<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>
</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 +113,7 @@ ...@@ -104,6 +113,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 {
...@@ -123,7 +133,7 @@ export default { ...@@ -123,7 +133,7 @@ export default {
{ 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 },
...@@ -185,6 +195,7 @@ export default { ...@@ -185,6 +195,7 @@ export default {
}; };
}, },
components: { components: {
Goback,
BurtPagination, BurtPagination,
}, },
computed: { computed: {
...@@ -205,6 +216,8 @@ export default { ...@@ -205,6 +216,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 +279,26 @@ export default { ...@@ -266,7 +279,26 @@ 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('结算成功');
}else{
this.$message.error(res.returnMsg);
}
});
},
});
},
// 选中就诊时间 // 选中就诊时间
onSelectVisitTime(date, dateString) { onSelectVisitTime(date, dateString) {
console.log(date, dateString); console.log(date, dateString);
...@@ -326,4 +358,8 @@ export default { ...@@ -326,4 +358,8 @@ export default {
color: #1890ff; color: #1890ff;
} }
} }
.btn-div{
margin-top: 10px;
justify-content: flex-end;
}
</style> </style>
...@@ -77,34 +77,15 @@ ...@@ -77,34 +77,15 @@
{{ 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>
...@@ -133,10 +114,9 @@ export default { ...@@ -133,10 +114,9 @@ export default {
{ 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: {
...@@ -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: {
...@@ -219,7 +190,6 @@ export default { ...@@ -219,7 +190,6 @@ export default {
}else{ }else{
this.$message.success(res.returnMsg); this.$message.success(res.returnMsg);
} }
}); });
}, },
// 选中就诊时间 // 选中就诊时间
...@@ -232,36 +202,32 @@ export default { ...@@ -232,36 +202,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)
.then((res) => {
if (res.returnCode == "0000") {
this.$message.success("编辑成功");
this.dialogShow = false;
this._getChargeList(); this._getChargeList();
} else { }else{
this.$message.error(res.returnMsg); this.$message.error(res.returnMsg);
} }
}); });
} },
}); });
}, },
handlerSearch() { handlerSearch() {
...@@ -274,9 +240,6 @@ export default { ...@@ -274,9 +240,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">
...@@ -145,6 +151,7 @@ ...@@ -145,6 +151,7 @@
</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 {
...@@ -175,6 +182,7 @@ export default { ...@@ -175,6 +182,7 @@ export default {
trackingNo: '', trackingNo: '',
sendAddress: '', sendAddress: '',
sendEmail: '', sendEmail: '',
sendRemark: ''
}, },
companyOptions: [], //保险公司 companyOptions: [], //保险公司
expressList: [], //快递列表 expressList: [], //快递列表
...@@ -200,6 +208,7 @@ export default { ...@@ -200,6 +208,7 @@ export default {
}; };
}, },
components: { components: {
Goback,
BurtPagination, BurtPagination,
}, },
created() { created() {
......
...@@ -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.detailObj
})
.then((res) => {
if (res.returnCode == "0000") {
this.$message.success("新增成功");
this.$router.push({ this.$router.push({
path: '/info/companyDetail', 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;
if(this.id){
this.getDetail(); 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">
...@@ -64,7 +64,7 @@ const columns = [ ...@@ -64,7 +64,7 @@ const columns = [
{ 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">
<Goback title="保险公司详情" />
<a-form-model ref="form" layout="vertical"> <a-form-model ref="form" layout="vertical">
<a-row :gutter="30"> <a-row :gutter="30">
<a-col :lg="6" :sm="12"> <a-col :lg="6" :sm="12">
...@@ -12,9 +13,14 @@ ...@@ -12,9 +13,14 @@
<a-input v-model="detailObj.englishName" placeholder="保险公司英文名称" /> <a-input v-model="detailObj.englishName" placeholder="保险公司英文名称" />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :lg="6" :sm="12">
<a-form-model-item label="保险公司Code">
<a-input v-model="detailObj.payorCode" placeholder="保险公司Code" />
</a-form-model-item>
</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>
...@@ -108,12 +114,32 @@ ...@@ -108,12 +114,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 +149,40 @@ ...@@ -123,19 +149,40 @@
</template> </template>
<script> <script>
import Goback from "@/components/CUSTOMER/goback";
export default { export default {
props: { props: {
detailObj: {} detailObj: {
claimApplicationTemplate: [],
authApplicationTemplate: []
}
}, },
data() { data() {
return { return {
countyList: [], countyList: [],
} }
}, },
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 +194,68 @@ export default { ...@@ -147,25 +194,68 @@ export default {
}, },
//新建保存 //新建保存
handlerSava(){ handlerSava(){
this.$apis.PAYORUPDATE({ let formData = {
...this.detailObj ...this.detailObj,
}) claimApplicationTemplate: this.detailObj.claimApplicationTemplate.length>0? this.detailObj.claimApplicationTemplate[0].url: '',
authApplicationTemplate: this.detailObj.authApplicationTemplate.length>0? this.detailObj.authApplicationTemplate[0].url: '',
}
let api = this.detailObj.id? 'PAYORUPDATE': 'CREATEPAY';
this.$apis[api](formData)
.then((res) => { .then((res) => {
if (res.returnCode == "0000") { if (res.returnCode == "0000") {
this.$message.success("保存成功"); this.$message.success("保存成功");
if(!this.detailObj.id){
this.$router.replace({
path: '/info/companyDetail',
query: {
id: res.content
}
})
}
} else { } else {
this.$message.error(res.returnMsg); 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;
......
...@@ -115,6 +115,16 @@ ...@@ -115,6 +115,16 @@
@ok="handleEditOK" @cancel="dialogShow = false"> @ok="handleEditOK" @cancel="dialogShow = false">
<a-form-model ref="editForm" :model="editFormObj" :rules="editRules"> <a-form-model ref="editForm" :model="editFormObj" :rules="editRules">
<a-row :gutter="30"> <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-col :lg="12" :sm="24">
<a-form-model-item label="医生英文名" prop="doctorDescLang1"> <a-form-model-item label="医生英文名" prop="doctorDescLang1">
<a-input v-model.trim="editFormObj.doctorDescLang1" placeholder="医生英文名" /> <a-input v-model.trim="editFormObj.doctorDescLang1" placeholder="医生英文名" />
...@@ -127,6 +137,13 @@ ...@@ -127,6 +137,13 @@
</a-select> </a-select>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :lg="12" :sm="24">
<a-form-model-item label="语言" prop="language">
<a-select v-model="editFormObj.language" placeholder="请选择" 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-col :lg="12" :sm="24">
<a-form-model-item label="科室" prop="specialtyList"> <a-form-model-item label="科室" prop="specialtyList">
<a-select v-model="editFormObj.specialtyList" placeholder="请选择" mode="multiple" showSearch allowClear> <a-select v-model="editFormObj.specialtyList" placeholder="请选择" mode="multiple" showSearch allowClear>
...@@ -167,10 +184,14 @@ export default { ...@@ -167,10 +184,14 @@ export default {
specialtyList: [], //科室列表 specialtyList: [], //科室列表
specialtyObj: {}, //科室对象 specialtyObj: {}, //科室对象
countyList: [], countyList: [],
languageList: [],
editFormObj: { editFormObj: {
id: "", id: "",
doctorCode: '',
doctorDesc: '',
doctorDescLang1: '', doctorDescLang1: '',
country: '', country: '',
language: '',
specialtyList: [], specialtyList: [],
}, },
editRules: { editRules: {
...@@ -200,14 +221,21 @@ export default { ...@@ -200,14 +221,21 @@ export default {
this.pagination.pageNum = 1; this.pagination.pageNum = 1;
this.getData(); this.getData();
}, },
// 获取国家列表
getRefcdByRefgrp() { getRefcdByRefgrp() {
// 获取国家列表
this.$apis.GETREFCDBYREFGRP({ this.$apis.GETREFCDBYREFGRP({
modid: "CI", modid: "CI",
refgrp: "COUNTRY_MAPPING" refgrp: "COUNTRY_MAPPING"
}).then((res) => { }).then((res) => {
this.countyList = res.content || []; this.countyList = res.content || [];
}); });
// 获取语言列表
this.$apis.GETREFCDBYREFGRP({
modid: "CI",
refgrp: "LANGUAGE_TYPE"
}).then((res) => {
this.languageList = res.content || [];
});
}, },
//获取科室 //获取科室
getSpecialtyList() { getSpecialtyList() {
...@@ -278,8 +306,11 @@ export default { ...@@ -278,8 +306,11 @@ export default {
editEvt(record) { editEvt(record) {
this.editFormObj = { this.editFormObj = {
id: record.id || "", id: record.id || "",
doctorCode: record.doctorCode || "",
doctorDesc: record.doctorDesc || "",
doctorDescLang1: record.doctorDescLang1 || "", doctorDescLang1: record.doctorDescLang1 || "",
country: record.country || "", country: record.country || "",
language: record.language || "",
specialtyList: record.specialtyList || [], specialtyList: record.specialtyList || [],
}; };
this.dialogShow = true; this.dialogShow = true;
......
...@@ -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%;
......
...@@ -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);
......
...@@ -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">
...@@ -104,6 +105,7 @@ ...@@ -104,6 +105,7 @@
</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";
const columns = [ const columns = [
...@@ -117,7 +119,7 @@ const columns = [ ...@@ -117,7 +119,7 @@ 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() {
...@@ -156,6 +158,7 @@ export default { ...@@ -156,6 +158,7 @@ export default {
}; };
}, },
components: { components: {
Goback,
BurtPagination, BurtPagination,
}, },
created(){ created(){
......
...@@ -13,11 +13,24 @@ ...@@ -13,11 +13,24 @@
</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 value="1">未回款</a-select-option>
<a-select-option value="2">已回款</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 +48,12 @@ ...@@ -35,11 +48,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="eobSts" slot-scope="record, text"> <template slot="eobSts" slot-scope="text">
<span>{{text==1?'未回款':'已回款'}}</span> <span>{{text==1?'未回款':'已回款'}}</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>
...@@ -56,8 +70,8 @@ const columns = [ ...@@ -56,8 +70,8 @@ const columns = [
{ title: "EOB状态", dataIndex: "eobSts", ellipsis: true, width: 90, scopedSlots: { customRender: "eobSts" } }, { 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() {
...@@ -65,7 +79,9 @@ export default { ...@@ -65,7 +79,9 @@ export default {
columns, columns,
form: { form: {
payorCode: '', payorCode: '',
receiptNo: '', eobSts: '',
eobAmountCny: '',
eobAmountUsd: ''
}, },
dataList: [], dataList: [],
companyOptions: [], //保险公司 companyOptions: [], //保险公司
...@@ -93,7 +109,9 @@ export default { ...@@ -93,7 +109,9 @@ export default {
handlerReset() { handlerReset() {
this.form = { this.form = {
payorCode: '', payorCode: '',
receiptNo: '', eobSts: '',
eobAmountCny: '',
eobAmountUsd: ''
} }
}, },
// 获取保险公司下拉选项 // 获取保险公司下拉选项
...@@ -104,6 +122,7 @@ export default { ...@@ -104,6 +122,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,
}) })
......
<template> <template>
<div class="white_bg burt-container"> <div class="white_bg burt-container">
<Goback title="EOB详情" />
<!-- 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">
...@@ -40,7 +41,12 @@ ...@@ -40,7 +41,12 @@
</a-select> </a-select>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :md="24" :lg="12" class="none-label"> <a-col :lg="6" :sm="12">
<a-form-model-item label="备注">
<a-input v-model="form.eobRemark" placeholder="请输入备注"/>
</a-form-model-item>
</a-col>
<a-col :lg="6" :sm="12" class="none-label">
<a-form-model-item label="button"> <a-form-model-item label="button">
<!-- <a-button type="primary">导出</a-button> --> <!-- <a-button type="primary">导出</a-button> -->
<a-button class="mar-left10" type="primary" @click="addNewEvt"> <a-button class="mar-left10" type="primary" @click="addNewEvt">
...@@ -113,6 +119,7 @@ ...@@ -113,6 +119,7 @@
</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";
const columns = [ const columns = [
...@@ -129,7 +136,7 @@ const columns = [ ...@@ -129,7 +136,7 @@ const columns = [
{ title: "保险公司欠费", dataIndex: "payorNoPaidAmount", ellipsis: true, width: 110, }, { title: "保险公司欠费", dataIndex: "payorNoPaidAmount", ellipsis: true, width: 110, },
{ title: "个人欠费", dataIndex: "perNoPaidAmount", ellipsis: true, width: 85 }, { title: "个人欠费", dataIndex: "perNoPaidAmount", ellipsis: true, width: 85 },
{ title: "备注", dataIndex: "sendRemark", ellipsis: true, width: 120 }, { title: "备注", dataIndex: "sendRemark", ellipsis: true, width: 120 },
{ 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() {
...@@ -143,7 +150,8 @@ export default { ...@@ -143,7 +150,8 @@ export default {
eobName: '', eobName: '',
eobAmountCny: '', eobAmountCny: '',
eobAmountUsd: '', eobAmountUsd: '',
eobSts: '' eobSts: '',
eobRemark: ''
}, },
dataList: [], dataList: [],
isEditNewEob: false, //是否在新建EOB isEditNewEob: false, //是否在新建EOB
...@@ -166,6 +174,7 @@ export default { ...@@ -166,6 +174,7 @@ export default {
}; };
}, },
components: { components: {
Goback,
BurtPagination, BurtPagination,
}, },
created(){ created(){
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
</a-select> </a-select>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :xl="14" :lg="12" :sm="24" 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" class="text-r" @click="handlerReset"> <a-button type="primary" class="text-r" @click="handlerReset">
<Icon name="ssireset" :size="14" />重置 <Icon name="ssireset" :size="14" />重置
...@@ -59,10 +59,21 @@ ...@@ -59,10 +59,21 @@
row-key="mrnNo" row-key="mrnNo"
:scroll="{ x: true }" :scroll="{ x: true }"
:pagination="false" :pagination="false"
:customRow="handlerRowClick" :customRow="handlerRowClick">
></a-table> <template slot="sex" slot-scope="text">
<BurtPagination :pagination="{ ...cusPager, total: cusTotal }" @pageChange="onCustomChange" <span>{{text | formatSex}}</span>
/> </template>
<template slot="birthday" slot-scope="text">
<span>{{text?moment(text).format('YYYY-MM-DD'):''}}</span>
</template>
<template slot="startDate" slot-scope="text">
<span>{{text?moment(text).format('YYYY-MM-DD'):''}}</span>
</template>
<template slot="endDate" slot-scope="text">
<span>{{text?moment(text).format('YYYY-MM-DD'):''}}</span>
</template>
</a-table>
<BurtPagination :pagination="{ ...cusPager, total: cusTotal }" @pageChange="onCustomChange" />
</div> </div>
<div v-if="isShowCoverageData"> <div v-if="isShowCoverageData">
<PolicyInfo :policyData="coverageForm" /> <PolicyInfo :policyData="coverageForm" />
...@@ -75,6 +86,8 @@ ...@@ -75,6 +86,8 @@
import BurtPagination from "@/components/CUSTOMER/pagation"; import BurtPagination from "@/components/CUSTOMER/pagation";
import coverages from "./components/coverages"; import coverages from "./components/coverages";
import PolicyInfo from "./components/PolicyInfo"; import PolicyInfo from "./components/PolicyInfo";
import moment from "moment";
import mixins from "@/mixins";
export default { export default {
beforeRouteUpdate(to, from, next) { beforeRouteUpdate(to, from, next) {
this.handlerReset(); this.handlerReset();
...@@ -85,16 +98,17 @@ export default { ...@@ -85,16 +98,17 @@ export default {
coverages, coverages,
PolicyInfo, PolicyInfo,
}, },
mixins: [mixins],
data() { data() {
const customColumns = [ const customColumns = [
{ title: "病历号", dataIndex: "mrnNo", width: 180 }, { title: "病历号", dataIndex: "mrnNo", width: 180 },
{ title: "客户姓名", dataIndex: "patientName", width: 120 }, { title: "客户姓名", dataIndex: "patientName", width: 120 },
{ title: "出生日期", dataIndex: "birthday", width: 180 }, { title: "出生日期", dataIndex: "birthday", width: 180, scopedSlots: { customRender: "birthday" } },
{ 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: 180 }, { title: "保险有效日期", dataIndex: "startDate", scopedSlots: { customRender: "startDate" }, width: 180 },
{ title: "保险终止日期", dataIndex: "endDate", width: 180 }, { title: "保险终止日期", dataIndex: "endDate", scopedSlots: { customRender: "endDate" }, width: 180 },
]; ];
return { return {
isShowCoverageData: false, isShowCoverageData: false,
...@@ -106,7 +120,6 @@ export default { ...@@ -106,7 +120,6 @@ export default {
sex: undefined, sex: undefined,
idNo: undefined, idNo: undefined,
payorId: undefined, payorId: undefined,
idType: undefined
}, },
detailForm: {}, detailForm: {},
coverageForm: {}, coverageForm: {},
...@@ -130,6 +143,7 @@ export default { ...@@ -130,6 +143,7 @@ export default {
this._getPayorCode(); this._getPayorCode();
}, },
methods: { methods: {
moment,
onCustomChange(pager) { onCustomChange(pager) {
const { pageNum } = pager; const { pageNum } = pager;
// console.log(pager); // console.log(pager);
......
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