From 8e22c74a8151aa7d81894b14080d5b59cac66632 Mon Sep 17 00:00:00 2001
From: zhaoxiaohao <279049017@qq.com>
Date: Fri, 11 Dec 2020 17:58:20 +0800
Subject: [PATCH] 修改 用户被顶后,还可以点搜索的bug
---
kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/hospital.html | 24 ++++++++++++++++++------
1 files changed, 18 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 05840bf..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
@@ -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%",
@@ -337,7 +340,8 @@
method: 'GET',
where: {
'hospitalId': data.hospitalId,
- 'departmentId': data.departmentId
+ 'departmentId': data.departmentId,
+ 'enabled': true
},
headers: {
'Authorization': 'Bearer ' + config.getToken().access_token
@@ -357,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