Commit 7f9072fe authored by 1105332245's avatar 1105332245

调整

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