From e73584955fd266c2452535ac31373bc6795aefe5 Mon Sep 17 00:00:00 2001
From: dougang <78125310@kidgrow.com>
Date: Tue, 29 Dec 2020 16:55:49 +0800
Subject: [PATCH] 筛查医院增加联系方式和地址

---
 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