Commit a1865293 authored by yanglilong's avatar yanglilong

'修改'

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