Commit a1865293 authored by yanglilong's avatar yanglilong

'修改'

parent 91fea345
......@@ -32,7 +32,7 @@
</a-form-model-item>
</a-col>
<a-col :lg="12" :sm="24">
<a-form-model-item label="国家" prop="country">
<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>
......@@ -40,7 +40,7 @@
</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 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>
......@@ -66,7 +66,7 @@ const columns = [
{ 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: "country", ellipsis: true, width: 110, },
{ title: "语言", dataIndex: "language", ellipsis: true, width: 120 },
{ title: "操作", dataIndex: "operation", scopedSlots: { customRender: "operation" }, fixed: "right", width: "200px", align: "center", },
];
......@@ -96,7 +96,7 @@ export default{
doctorDesc: '',
doctorDescLang1: '',
country: '',
language: '',
language: [],
specialtyList: [],
},
editRules: {
......@@ -185,7 +185,7 @@ export default{
doctorDesc: record.doctorDesc || "",
doctorDescLang1: record.doctorDescLang1 || "",
country: record.country || "",
language: record.language || "",
language: record.language? record.language.split(','): [],
specialtyList: record.specialtyList || [],
};
this.dialogShow = true;
......@@ -197,6 +197,7 @@ export default{
this.$apis
.DOCTORUPDATE({
...this.editFormObj,
language: this.editFormObj.language.join(','),
specialtyList: this.editFormObj.specialtyList.map((item) => {
return {
specialtyId: item,
......
......@@ -84,7 +84,7 @@
<span>{{record.visitTimeStart? moment(record.visitTimeStart).format('YYYY-MM-DD'):''}}</span> ~
<span>{{record.visitTimeEnd? moment(record.visitTimeEnd).format('YYYY-MM-DD'):''}}</span>
</template>
<template slot="paidSts" slot-scope="text">
<template slot="claimsStatus" slot-scope="text">
<span>{{text | formatClaimsStatus}}</span>
</template>
<template slot="operation" slot-scope="text, record">
......@@ -100,8 +100,8 @@
<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="paidSts">
<a-select v-model="editFormObj.paidSts" placeholder="请选择理赔状态" allowClear>
<a-form-model-item label="理赔状态" prop="claimsStatus">
<a-select v-model="editFormObj.claimsStatus" 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>
......@@ -138,7 +138,7 @@ const columns = [
{ title: "客户姓名", dataIndex: "patientName", ellipsis: true, width: 85 },
{ title: "保险公司", dataIndex: "payorName", ellipsis: true, width: 80 },
{ title: "就诊日期", dataIndex: "visitTimeStart", ellipsis: true, width: 110, scopedSlots: { customRender: "visitTimeStart" } },
{ title: "理赔状态", dataIndex: "paidSts", ellipsis: true, width: 90, scopedSlots: { customRender: "paidSts" } },
{ title: "理赔状态", dataIndex: "claimsStatus", ellipsis: true, width: 90, scopedSlots: { customRender: "claimsStatus" } },
{ title: "账单金额", dataIndex: "receiptAmount", ellipsis: true, width: 85 },
{ title: "自付金额", dataIndex: "selfpaidAmount", ellipsis: true, width: 85 },
{ title: "理赔金额", dataIndex: "eobPaidAmount", ellipsis: true, width: 85 },
......@@ -177,7 +177,7 @@ export default {
selectedRowKeys: [], // Check here to configure the default column
editFormObj: {
receiptNo: '',
paidSts: '',
claimsStatus: '',
paidAmountEob: '',
refuseAmountEob: ''
},
......@@ -264,9 +264,10 @@ export default {
this.dialogShow = true;
this.$nextTick(()=>{
this.editFormObj = {
id: record.id,
receiptNo: record.receiptNo,
refuseAmountEob: record.refuseAmountEob || "",
paidSts: record.paidSts || "",
claimsStatus: record.claimsStatus || "",
paidAmountEob: record.paidAmountEob || "",
};
this.moneyChange();
......@@ -349,6 +350,7 @@ export default {
this.dataList.forEach((item,index)=>{
if(this.selectedRowKeys.indexOf(index)!=-1){
eobReceiptList.push({
id: item.id,
receiptNo: item.receiptNo,
refuseAmountEob: item.refuseAmountEob,
paidSts: item.paidSts,
......
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