Commit c367a608 authored by yanglilong's avatar yanglilong

'调证'

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