Commit 7f9072fe authored by 1105332245's avatar 1105332245

调整

parent a8bf16a2
...@@ -98,7 +98,7 @@ export default [ ...@@ -98,7 +98,7 @@ export default [
{ {
icon: "ssiscan", icon: "ssiscan",
path: "/bi", path: "/bi",
title: "报表", title: "分析报表",
children: [], children: [],
}, },
]; ];
...@@ -43,8 +43,7 @@ ...@@ -43,8 +43,7 @@
</a-col> </a-col>
<a-col :xl="5" :lg="6" :sm="12"> <a-col :xl="5" :lg="6" :sm="12">
<a-form-model-item label="就诊时间"> <a-form-model-item label="就诊时间">
<a-range-picker format="YYYY-MM-DD" v-model="form.dateRange" :placeholder="['开始时间', '结束时间']" <a-date-picker value-format="YYYY-MM-DD 00:00:00" v-model="form.receiptDate" placeholder="就诊时间" />
@change="onSelectVisitTime"/>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :xl="3" :lg="6" :sm="12"> <a-col :xl="3" :lg="6" :sm="12">
...@@ -79,6 +78,9 @@ ...@@ -79,6 +78,9 @@
<a-button type="link" class="danger">删除</a-button> <a-button type="link" class="danger">删除</a-button>
</a-popconfirm> </a-popconfirm>
</template> </template>
<template slot="footer">
<div class="total">总计: <span>{{totalMoney}}</span></div>
</template>
</a-table> </a-table>
<!--分页--> <!--分页-->
<BurtPagination :pagination="pagination" @pageChange="_getChargeListDetail" /> <BurtPagination :pagination="pagination" @pageChange="_getChargeListDetail" />
...@@ -157,8 +159,7 @@ export default { ...@@ -157,8 +159,7 @@ export default {
mrnNo: "", mrnNo: "",
paymentCode: "", paymentCode: "",
payorId: 0, payorId: 0,
visitTimeEnd: "", receiptDate: ""
visitTimeStart: "",
}, },
patientTypeOptions: [ patientTypeOptions: [
{ {
...@@ -203,7 +204,15 @@ export default { ...@@ -203,7 +204,15 @@ export default {
computed: { computed: {
...mapState({ ...mapState({
userInfo: (state) => state.common.userInfo userInfo: (state) => state.common.userInfo
}) }),
//总计
totalMoney(){
let money = 0;
this.dataList.forEach(item => {
money += item.paidAmount;
})
return money;
}
}, },
filters: { filters: {
payStyleFilters(value) { payStyleFilters(value) {
...@@ -321,10 +330,6 @@ export default { ...@@ -321,10 +330,6 @@ export default {
} }
}) })
}, },
// 选中就诊时间
onSelectVisitTime(date, dateString) {
console.log(date, dateString);
},
// 重置 // 重置
handlerReset() { handlerReset() {
const { mrnNo, patientName } = this.form; const { mrnNo, patientName } = this.form;
...@@ -385,4 +390,10 @@ export default { ...@@ -385,4 +390,10 @@ export default {
margin-top: 10px; margin-top: 10px;
justify-content: flex-end; justify-content: flex-end;
} }
.total{
font-weight: 600;
span{
color: red;
}
}
</style> </style>
...@@ -97,7 +97,7 @@ export default { ...@@ -97,7 +97,7 @@ export default {
data() { data() {
const columns = [ const columns = [
{ title: "序号", dataIndex: "index", key:"index",align:'center', width: 80,scopedSlots: { customRender: "index" }}, { title: "序号", dataIndex: "index", key:"index",align:'center', width: 80,scopedSlots: { customRender: "index" }},
{ title: "就诊时间", dataIndex: "visitTimeStart", width: 180 }, { title: "就诊时间", dataIndex: "receiptDate", width: 180 },
{ title: "病历号", dataIndex: "mrnNo",width: 180}, { title: "病历号", dataIndex: "mrnNo",width: 180},
{ title: "客户姓名",dataIndex: "patientName",width: 120,}, { title: "客户姓名",dataIndex: "patientName",width: 120,},
{ title: "客户类型", dataIndex: "patientType", width: 180 }, { title: "客户类型", dataIndex: "patientType", width: 180 },
......
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