From c3a4e22e7870fc27b9416e3afd939f6a3b18e988 Mon Sep 17 00:00:00 2001 From: zhaoxiaohao <279049017@qq.com> Date: Tue, 01 Dec 2020 11:55:21 +0800 Subject: [PATCH] 修改 以充值餐,读片用完后的状态 --- kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/hospital.html | 23 +++++++++++++++-------- 1 files changed, 15 insertions(+), 8 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..c5f67cb 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: '运动处方服务', @@ -257,10 +260,14 @@ hospitalName: hospitalName, hospitalProvince: hospitalProvince, hospitalCity: hospitalCity, - hospitalArea: hospitalArea + hospitalArea: hospitalArea, + // page: 1, }; table.reload('hospital-table', { - where: whereModel + where: whereModel, + page: { + curr: 1 + } }); }); -- Gitblit v1.8.0