From 1a50269b1d072fe2da7e70ae48315ebeb4ef95f4 Mon Sep 17 00:00:00 2001 From: zhaoxiaohao <279049017@qq.com> Date: Tue, 02 Mar 2021 18:32:55 +0800 Subject: [PATCH] 完善筛查和 input框记录数据得bug --- kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/hospital.html | 46 ++++++++++++++++++++++++++++++++++++---------- 1 files changed, 36 insertions(+), 10 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 3fe2544..e8dd898 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 @@ -106,7 +106,7 @@ }, { field: 'hospitalLink', - width: "6%", + width: "7%", title: '联系人' }, { @@ -114,11 +114,24 @@ width: "8%", title: '联系方式' }, - // { - // field: 'enabled', width: 80, title: '状态', templet: function (d) { - // return d.hospitalState == 0 ? "试用" : "正式" - // } - // }, + { + field: 'departmentLink', + width: "6%", + title: '科室联系人' + }, + { + field: 'departmentTel', + width: "8%", + title: '科室联系方式' + }, + { + field: 'orderType', width: 80, title: '状态', templet: function (d) { + if(d.orderType==null){ + return ""; + } + return d.orderType ? "正式" : "试用" + } + }, { field: 'isScreen', width: "4%", @@ -223,7 +236,7 @@ } }); } else if(layEvent=="health"){ - //充值 + //运动处方服务 admin.putTempData("t_hospital", data); admin.popupCenter({ title: '运动处方服务', @@ -257,10 +270,14 @@ hospitalName: hospitalName, hospitalProvince: hospitalProvince, hospitalCity: hospitalCity, - hospitalArea: hospitalArea + hospitalArea: hospitalArea, + // page: 1, }; table.reload('hospital-table', { - where: whereModel + where: whereModel, + page: { + curr: 1 + } }); }); @@ -333,7 +350,8 @@ method: 'GET', where: { 'hospitalId': data.hospitalId, - 'departmentId': data.departmentId + 'departmentId': data.departmentId, + 'enabled': true }, headers: { 'Authorization': 'Bearer ' + config.getToken().access_token @@ -353,6 +371,14 @@ title: '读片量(剩余)' }, { + field: 'ailightCount', + width: 150, + title: '读片使用量', + templet: function (d) { + return d.orderAilightCount-d.ailightCount; + } + }, + { field: 'recordCount', width: 150, title: '报告量(剩余)' -- Gitblit v1.8.0