Commit c367a608 authored by yanglilong's avatar yanglilong

'调证'

parent 9ebf0ab3
...@@ -21,7 +21,8 @@ import { ...@@ -21,7 +21,8 @@ import {
modal, modal,
Spin, Spin,
Collapse, Collapse,
Tabs Tabs,
Tooltip
} from "ant-design-vue"; } from "ant-design-vue";
export default () => { export default () => {
...@@ -47,7 +48,8 @@ export default () => { ...@@ -47,7 +48,8 @@ export default () => {
modal, modal,
Spin, Spin,
Collapse, Collapse,
Tabs Tabs,
Tooltip
]; ];
// 注册 // 注册
els.forEach((item) => { els.forEach((item) => {
......
...@@ -273,7 +273,6 @@ export default { ...@@ -273,7 +273,6 @@ export default {
]; ];
} }
}, },
getCustomerDetail(params) { getCustomerDetail(params) {
// this.queryForm = this.$lodash.cloneDeep(this.form); // this.queryForm = this.$lodash.cloneDeep(this.form);
const { id, patientPolicyId, type } = params; const { id, patientPolicyId, type } = params;
...@@ -306,14 +305,24 @@ export default { ...@@ -306,14 +305,24 @@ export default {
if(type === '2') { if(type === '2') {
data = { data = {
...data, ...data,
mrnNo: undefined, payorId: undefined,
idNo: undefined, corpName: '',
patientName: undefined,
birthday: undefined,
sex: undefined,
idType: undefined, idType: undefined,
id: undefined policyNo: '',
firstEnrollmentTime: '',
startDate: '',
cardNo: '',
policyDircetArea: undefined,
waitingPeriod: 'N',
isUndertakeAnamnesis: "N",
endDate: '',
planName: undefined,
remark: '',
medCardCopeFiles: [],
idCardCopeFiles: [], // 身份证复印件
} }
this.medCardCopeFiles = [];
this.idCardCopeFiles = [];
} }
this.form = data; this.form = data;
} }
......
...@@ -87,7 +87,7 @@ export default { ...@@ -87,7 +87,7 @@ export default {
{ 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: "270px", fixed: "right", scopedSlots: { customRender: "operation" }}, { title: "操作", key: "operation", width: "270px", fixed: "right", scopedSlots: { customRender: "operation" }, align: 'center'},
]; ];
return { return {
columns, columns,
......
...@@ -159,6 +159,7 @@ export default { ...@@ -159,6 +159,7 @@ export default {
key: "operation", key: "operation",
width: "175px", width: "175px",
fixed: "right", fixed: "right",
align: 'center',
scopedSlots: { customRender: "operation" }, scopedSlots: { customRender: "operation" },
}, },
]; ];
......
...@@ -143,6 +143,7 @@ export default { ...@@ -143,6 +143,7 @@ export default {
key: "operation", key: "operation",
width: "175px", width: "175px",
fixed: "right", fixed: "right",
align: 'center',
scopedSlots: { customRender: "operation" }, scopedSlots: { customRender: "operation" },
}, },
]; ];
......
...@@ -12,6 +12,14 @@ ...@@ -12,6 +12,14 @@
row-key="coverageCode" row-key="coverageCode"
:pagination="false" :pagination="false"
> >
<template slot="remarks" slot-scope="text">
<a-tooltip placement="top">
<template slot="title">
<span>{{text}}</span>
</template>
<p class="ellipsis">{{text}}</p>
</a-tooltip>
</template>
<template slot="operation" slot-scope="record"> <template slot="operation" slot-scope="record">
<a-button type="link" @click.stop="editCoverageData(record)">修改</a-button> <a-button type="link" @click.stop="editCoverageData(record)">修改</a-button>
<a-popconfirm <a-popconfirm
...@@ -39,7 +47,11 @@ ...@@ -39,7 +47,11 @@
<a-row :gutter="20"> <a-row :gutter="20">
<a-col :md="12"> <a-col :md="12">
<a-form-model-item label="客户公司名称" prop="corpCode"> <a-form-model-item label="客户公司名称" prop="corpCode">
<a-input disabled v-model="editForm.corpCode"> </a-input> <a-select v-model="editForm.corpCode" placeholder="请选择客户公司名称" disabled>
<a-select-option v-for="item in corpCode" :key="item.corpCode" :value="item.corpCode">
{{ item.longName }}
</a-select-option>
</a-select>
</a-form-model-item> </a-form-model-item>
<a-form-model-item label="保险责任" prop="coverageCode"> <a-form-model-item label="保险责任" prop="coverageCode">
<a-select v-model="editForm.coverageCode" show-search allow-clear :filterOption="filterCode"> <a-select v-model="editForm.coverageCode" show-search allow-clear :filterOption="filterCode">
...@@ -61,7 +73,11 @@ ...@@ -61,7 +73,11 @@
</a-col> </a-col>
<a-col :md="12"> <a-col :md="12">
<a-form-model-item label="保险计划" prop="planCode"> <a-form-model-item label="保险计划" prop="planCode">
<a-input disabled v-model="editForm.planCode"> </a-input> <a-select v-model="editForm.planCode" placeholder="请选择保险计划" disabled>
<a-select-option v-for="item in planCode" :key="item.planCode" :value="item.planCode">
{{ item.longName }}
</a-select-option>
</a-select>
</a-form-model-item> </a-form-model-item>
<a-form-model-item label="等待期"> <a-form-model-item label="等待期">
<a-input-number v-model="editForm.waitingPeriod"></a-input-number> <a-input-number v-model="editForm.waitingPeriod"></a-input-number>
...@@ -104,6 +120,14 @@ export default { ...@@ -104,6 +120,14 @@ export default {
required: true, required: true,
type: Object, type: Object,
}, },
//客户公司名称
corpCode: {
default: []
},
//保险计划
planCode: {
default: []
}
}, },
components: { components: {
benefits, benefits,
...@@ -115,10 +139,10 @@ export default { ...@@ -115,10 +139,10 @@ export default {
{ title: "是否直付", dataIndex: "isDirect", width: 120, customRender: (val) => { { title: "是否直付", dataIndex: "isDirect", width: 120, customRender: (val) => {
return val === 'Y' ? '' : '' return val === 'Y' ? '' : ''
} }, } },
{ title: "等待期", dataIndex: "waitingPeriod", width: 120 }, { title: "等待期", dataIndex: "waitingPeriod", width: 120},
// { title: "预授权", dataIndex: "sex", width: 80 }, // { title: "预授权", dataIndex: "sex", width: 80 },
// { title: "预授权期限", dataIndex: "payorName", width: 180 }, // { title: "预授权期限", dataIndex: "payorName", width: 180 },
{ title: "状态", dataIndex: "isEffective", width: 180, customRender: (val) => { { title: "状态", dataIndex: "isEffective", width: 100,customRender: (val) => {
for(let i = 0; i < this.statusCode.length; i ++) { for(let i = 0; i < this.statusCode.length; i ++) {
if (val === this.statusCode[i].code) { if (val === this.statusCode[i].code) {
return this.statusCode[i].name return this.statusCode[i].name
...@@ -126,12 +150,13 @@ export default { ...@@ -126,12 +150,13 @@ export default {
} }
return val; return val;
} }, } },
{ title: "备注", dataIndex: "remark" }, { title: "备注", dataIndex: "remarks", scopedSlots: { customRender: "remarks" }, width: 200 },
{ {
title: "操作", title: "操作",
key: "operation", key: "operation",
width: "175px", width: "130px",
fixed: "right", fixed: "right",
align: 'center',
scopedSlots: { customRender: "operation" }, scopedSlots: { customRender: "operation" },
}, },
]; ];
......
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
</template> </template>
<template slot="expandedRowRender" slot-scope="record"> <template slot="expandedRowRender" slot-scope="record">
<condition class="mar-bottom10" :form-data="{...record, conditionType: '03'}"/> <condition class="mar-bottom10" :form-data="{...record, conditionType: '03'}"/>
<coverages :formData="{ ...record }" /> <coverages :corpCode="corpCode" :planCode="planCode" :formData="{ ...record }" />
</template> </template>
</a-table> </a-table>
<BurtPagination :pagination="{ ...pager, total }" @pageChange="pageChange"/> <BurtPagination :pagination="{ ...pager, total }" @pageChange="pageChange"/>
...@@ -190,6 +190,7 @@ export default { ...@@ -190,6 +190,7 @@ export default {
key: "operation", key: "operation",
width: "150px", width: "150px",
fixed: "right", fixed: "right",
align: 'center',
scopedSlots: { customRender: "operation" }, scopedSlots: { customRender: "operation" },
}, },
// { title: "保单号码", dataIndex: "policyNo", width: 190 }, // { title: "保单号码", dataIndex: "policyNo", width: 190 },
......
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