From a42289c269e2c0c89dc9ffd0e82d051d874a5c95 Mon Sep 17 00:00:00 2001 From: zhaoxiaohao <279049017@qq.com> Date: Wed, 02 Dec 2020 13:04:52 +0800 Subject: [PATCH] 修改获取列表的bug --- kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/hospital.html | 23 +++++++++++++++++------ 1 files changed, 17 insertions(+), 6 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 9e6699a..d0c691b 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 @@ -114,11 +114,14 @@ width: "8%", title: '联系方式' }, - // { - // field: 'enabled', width: 80, title: '状态', templet: function (d) { - // return d.hospitalState == 0 ? "试用" : "正式" - // } - // }, + { + field: 'orderType', width: 80, title: '状态', templet: function (d) { + if(d.orderType==null){ + return ""; + } + return d.orderType ? "正式" : "试用" + } + }, { field: 'isScreen', width: "4%", @@ -223,7 +226,7 @@ } }); } else if(layEvent=="health"){ - //充值 + //运动处方服务 admin.putTempData("t_hospital", data); admin.popupCenter({ title: '运动处方服务', @@ -357,6 +360,14 @@ title: '读片量(剩余)' }, { + field: 'ailightCount', + width: 150, + title: '读片使用量', + templet: function (d) { + return d.orderAilightCount-d.ailightCount; + } + }, + { field: 'recordCount', width: 150, title: '报告量(剩余)' -- Gitblit v1.8.0