From 1b0d23b5f004550ce34dd0c2f05cb92d9c3815d1 Mon Sep 17 00:00:00 2001 From: zhaoxiaohao <279049017@qq.com> Date: Wed, 09 Dec 2020 09:30:58 +0800 Subject: [PATCH] 加一个懒加载 --- kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/hospital.html | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/hospital.html b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/hospital.html index c5f67cb..aa1b656 100644 --- a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/hospital.html +++ b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/hospital.html @@ -119,7 +119,7 @@ if(d.orderType==null){ return ""; } - return d.orderType ? "试用" : "正式" + return d.orderType ? "正式" : "试用" } }, { @@ -340,7 +340,8 @@ method: 'GET', where: { 'hospitalId': data.hospitalId, - 'departmentId': data.departmentId + 'departmentId': data.departmentId, + 'enabled': true }, headers: { 'Authorization': 'Bearer ' + config.getToken().access_token @@ -360,6 +361,14 @@ title: '读片量(剩余)' }, { + field: 'ailightCount', + width: 150, + title: '读片使用量', + templet: function (d) { + return d.orderAilightCount-d.ailightCount; + } + }, + { field: 'recordCount', width: 150, title: '报告量(剩余)' -- Gitblit v1.8.0