Commit 1b04718c authored by yanglilong's avatar yanglilong

'修改'

parent 0375aa73
import bus from "../utils/bus"; import bus from "../utils/bus";
import {sexOptions, SendStatusOptions, ClaimsStatusOptions} from '@/utils/utilsdictOptions.js' import {sexOptions, SendStatusOptions, ClaimsStatusOptions, EOBStatusOptions} from '@/utils/utilsdictOptions.js'
// 全局混入将会影响每个单文件组件,请慎重思考是否要混入 // 全局混入将会影响每个单文件组件,请慎重思考是否要混入
export default { export default {
...@@ -39,5 +39,15 @@ export default { ...@@ -39,5 +39,15 @@ export default {
}); });
return item? item.name: ""; return item? item.name: "";
}, },
//过滤EOB状态
formatEOBStatus(val){
if (!val) {
return;
}
const item = EOBStatusOptions.find((item) => {
return item.value == val;
});
return item? item.name: "";
},
} }
}; };
...@@ -23,6 +23,13 @@ const ClaimsStatusOptions = [ ...@@ -23,6 +23,13 @@ const ClaimsStatusOptions = [
{ name: '补充材料', value: '04'}, { name: '补充材料', value: '04'},
]; ];
//EOB状态
const EOBStatusOptions = [
{ name: '待回款', value: '1'},
{ name: '已回款', value: '2'},
{ name: '未回款', value: '3'}
];
...@@ -31,4 +38,5 @@ module.exports = { ...@@ -31,4 +38,5 @@ module.exports = {
sexOptions, sexOptions,
SendStatusOptions, SendStatusOptions,
ClaimsStatusOptions, ClaimsStatusOptions,
EOBStatusOptions,
} }
\ No newline at end of file
...@@ -106,9 +106,9 @@ export default { ...@@ -106,9 +106,9 @@ export default {
{ 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 },
......
...@@ -15,8 +15,7 @@ ...@@ -15,8 +15,7 @@
<a-col :lg="6" :sm="12"> <a-col :lg="6" :sm="12">
<a-form-model-item label="EOB状态"> <a-form-model-item label="EOB状态">
<a-select v-model="form.eobSts" placeholder="请选择EOB状态" allowClear> <a-select v-model="form.eobSts" placeholder="请选择EOB状态" allowClear>
<a-select-option 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>
...@@ -49,7 +48,7 @@ ...@@ -49,7 +48,7 @@
<!-- 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="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>
...@@ -64,6 +63,8 @@ ...@@ -64,6 +63,8 @@
<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 },
...@@ -77,6 +78,7 @@ export default { ...@@ -77,6 +78,7 @@ export default {
data() { data() {
return { return {
columns, columns,
EOBStatusOptions,
form: { form: {
payorCode: '', payorCode: '',
eobSts: '', eobSts: '',
...@@ -92,6 +94,7 @@ export default { ...@@ -92,6 +94,7 @@ export default {
}, },
}; };
}, },
mixins: [mixins],
components: { components: {
BurtPagination, BurtPagination,
}, },
......
...@@ -36,8 +36,7 @@ ...@@ -36,8 +36,7 @@
<a-col :lg="6" :sm="12"> <a-col :lg="6" :sm="12">
<a-form-model-item label="EOB状态"> <a-form-model-item label="EOB状态">
<a-select v-model="form.eobSts" placeholder="请选择"> <a-select v-model="form.eobSts" placeholder="请选择">
<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>
...@@ -131,7 +130,7 @@ ...@@ -131,7 +130,7 @@
import Goback from "@/components/CUSTOMER/goback"; import Goback from "@/components/CUSTOMER/goback";
import BurtPagination from "@/components/CUSTOMER/pagation"; import BurtPagination from "@/components/CUSTOMER/pagation";
import moment from "moment"; import moment from "moment";
import {ClaimsStatusOptions} from '@/utils/utilsdictOptions.js' import {ClaimsStatusOptions,EOBStatusOptions} from '@/utils/utilsdictOptions.js'
import mixins from "@/mixins"; import mixins from "@/mixins";
const columns = [ const columns = [
{ title: "账单编号", dataIndex: "receiptNo", ellipsis: true, width: 100 }, { title: "账单编号", dataIndex: "receiptNo", ellipsis: true, width: 100 },
...@@ -155,6 +154,7 @@ export default { ...@@ -155,6 +154,7 @@ export default {
dialogShow: false, dialogShow: false,
columns, columns,
ClaimsStatusOptions, ClaimsStatusOptions,
EOBStatusOptions,
eobNo: '', //eob编号 eobNo: '', //eob编号
form: { form: {
eobDate: '', eobDate: '',
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<Icon name="ssiadd" :size="14" />新增条件 <Icon name="ssiadd" :size="14" />新增条件
</a-button> </a-button>
</div> </div>
<a-table <a-table
:columns="columns" :columns="columns"
:locale="{ emptyText: 'No Data' }" :locale="{ emptyText: 'No Data' }"
:data-source="conditionList" :data-source="conditionList"
......
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
</a-form-model-item> --> </a-form-model-item> -->
<a-form-model-item label="备注"> <a-form-model-item label="备注">
<a-textarea v-model="editForm.remarks" :autoSize="{ minRows: 2, maxRows: 5 }"></a-textarea> <a-textarea v-model="editForm.remarks" maxLength="100" :autoSize="{ minRows: 2, maxRows: 5 }"></a-textarea>
</a-form-model-item> </a-form-model-item>
<a-form-model-item> <a-form-model-item>
<a-button type="primary" @click="saveCoverageData"> <a-button type="primary" @click="saveCoverageData">
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<Icon name="ssiadd" :size="14" />新增计划 <Icon name="ssiadd" :size="14" />新增计划
</a-button> </a-button>
</div> --> </div> -->
<a-table <a-table :scroll="{ x: 1110 }"
:columns="columns" :columns="columns"
:locale="{ emptyText: 'No Data' }" :locale="{ emptyText: 'No Data' }"
:data-source="planData" :data-source="planData"
......
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