Commit b68b7eb8 authored by 王安伟's avatar 王安伟

Merge branch 'func_eccs_2250' into test

parents e1b3875a 598e4a6b
...@@ -233,6 +233,14 @@ ...@@ -233,6 +233,14 @@
text == 1 ? '有效' : text == 2 ? '无效' : '' text == 1 ? '有效' : text == 2 ? '无效' : ''
}}</span> }}</span>
</template> </template>
<template slot="patientName" slot-scope="text">
<a-tooltip placement="top">
<template slot="title">
<span>{{ text }}</span>
</template>
<span class="ellipsis_">{{ text }}</span>
</a-tooltip>
</template>
<template slot="operation" slot-scope="text, record, index"> <template slot="operation" slot-scope="text, record, index">
<a-button type="link" class="danger" @click.stop="delRecord(record, index)">删除</a-button> <a-button type="link" class="danger" @click.stop="delRecord(record, index)">删除</a-button>
</template> </template>
...@@ -263,6 +271,14 @@ ...@@ -263,6 +271,14 @@
text == 1 ? '有效' : text == 2 ? '无效' : '' text == 1 ? '有效' : text == 2 ? '无效' : ''
}}</span> }}</span>
</template> </template>
<template slot="patientName" slot-scope="text">
<a-tooltip placement="top">
<template slot="title">
<span>{{ text }}</span>
</template>
<span class="ellipsis_">{{ text }}</span>
</a-tooltip>
</template>
</a-table> </a-table>
<BurtPagination class="pagination" :pagination="pagination" @pageChange="pageChange" /> <BurtPagination class="pagination" :pagination="pagination" @pageChange="pageChange" />
</div> </div>
...@@ -390,7 +406,8 @@ export default { ...@@ -390,7 +406,8 @@ export default {
dataIndex: 'patientName', dataIndex: 'patientName',
ellipsis: true, ellipsis: true,
fixed: 'left', fixed: 'left',
width: 180 width: 180,
scopedSlots: { customRender: 'patientName' }
}, },
{ title: '病历号', dataIndex: 'mrnNo', ellipsis: true, width: 195 }, { title: '病历号', dataIndex: 'mrnNo', ellipsis: true, width: 195 },
{ title: '保险公司', dataIndex: 'payorName', ellipsis: true, width: 195 }, { title: '保险公司', dataIndex: 'payorName', ellipsis: true, width: 195 },
...@@ -489,7 +506,7 @@ export default { ...@@ -489,7 +506,7 @@ export default {
) : ( ) : (
<a-tooltip> <a-tooltip>
<template slot="title">{row.remark}</template> <template slot="title">{row.remark}</template>
<a-input v-model={row.remark} disabled /> <a-input class="red_inp" v-model={row.remark} disabled />
</a-tooltip> </a-tooltip>
)} )}
</div> </div>
...@@ -557,6 +574,15 @@ export default { ...@@ -557,6 +574,15 @@ export default {
return Number(totalMoney.toFixed(2)); return Number(totalMoney.toFixed(2));
} }
}, },
watch: {
activeKey1() {
this.searchForm = {
billDate: [],
mrnNo: '', // 病历号
patientName: '' // 客户名字
};
}
},
created() { created() {
this.simpleImage = Empty.PRESENTED_IMAGE_SIMPLE; this.simpleImage = Empty.PRESENTED_IMAGE_SIMPLE;
const { backMoneyNo, isEdit } = this.$route.query; const { backMoneyNo, isEdit } = this.$route.query;
...@@ -610,8 +636,11 @@ export default { ...@@ -610,8 +636,11 @@ export default {
}, },
// 账单查询 // 账单查询
searchData() { searchData() {
if (this.activeKey1 === '1') {
this._getNewEOBList(); this._getNewEOBList();
} else {
this.getData(); this.getData();
}
}, },
// 选择框筛选 // 选择框筛选
filterCode(input, option) { filterCode(input, option) {
...@@ -1014,16 +1043,19 @@ export default { ...@@ -1014,16 +1043,19 @@ export default {
width: 300px; width: 300px;
} }
.red_inp { .red_inp {
color: red !important;
::v-deep .ant-input { ::v-deep .ant-input {
color: red; color: red;
} }
} }
.ellipsis_ {
@media screen and (min-width: 1920px) { display: block;
.all-list_box { max-width: 148px;
height: calc(100vh - 420px); text-overflow: ellipsis;
} white-space: nowrap;
overflow: hidden;
} }
@media screen and (min-width: 1920px) { @media screen and (min-width: 1920px) {
.all-list_box { .all-list_box {
height: calc(100vh - 420px); height: calc(100vh - 420px);
......
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