|
@@ -91,10 +91,7 @@ function getTabData(activePage){
|
|
|
}
|
|
|
post(api.homePageLevelStatistics,param).then(res =>{
|
|
|
if(res.data.code == '0'){
|
|
|
- const data = res.data.data;
|
|
|
- tabList = data.records;
|
|
|
- const totalPage = data.pages;
|
|
|
- const totalNum = data.total;
|
|
|
+ const data = res.data.data||[];
|
|
|
renderTab(data,data.hospitalId,activePage);
|
|
|
renderPagination(totalPage,Number(activePage),totalNum)
|
|
|
if(totalPage > 1){
|
|
@@ -136,6 +133,7 @@ function renderTab(data,hisId,activePage){
|
|
|
</tr>
|
|
|
`
|
|
|
}
|
|
|
+ console.log(str)
|
|
|
$('tbody').html(str?str:'<tr><td colspan="17" style="text-align: center;color: #aaa">暂无数据~</td></tr>')
|
|
|
bindScoreDetail(hisId)
|
|
|
$(".goHomeDetail").click(function(){
|