提交 6d0ddc88 编写于 作者: Yuanzhao.dai's avatar Yuanzhao.dai

fixed

上级 ec1ac7a7
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
:current-page="reservationList.pageNo" :current-page="reservationList.pageNo"
:page-sizes="[10, 20, 50, 100]" :page-sizes="[10, 20, 50, 100]"
:page-size="reservationList.pageSize" :page-size="reservationList.pageSize"
:total="reservationList.count"> :total="statusTotal">
</el-pagination> </el-pagination>
</div> </div>
</div> </div>
...@@ -197,6 +197,7 @@ ...@@ -197,6 +197,7 @@
getRowKeys(row) { getRowKeys(row) {
return row.fuPlanPatientTimesId; return row.fuPlanPatientTimesId;
}, },
statusTotal: null, //每种状态的总数
} }
}, },
created() { created() {
...@@ -429,7 +430,21 @@ ...@@ -429,7 +430,21 @@
pageSize: 10, pageSize: 10,
...this.setSearchData() ...this.setSearchData()
}) })
} },
reservationList(val) {
if(this.status == 1) {
this.statusTotal = val.unSendCount
} else if (this.status == 2) {
this.statusTotal = val.waitAcceptCount
} else if (this.status == 3) {
this.statusTotal = val.acceptedCount
} else if(this.status == 4) {
this.statusTotal = val.refusedCount
} else {
this.statusTotal = val.count
}
},
} }
} }
</script> </script>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册