forked from kidgrow-microservices-platform

dougang
2020-12-18 220d2c325fe8206a26dfe6969d76344e9c1a18b3
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: '报告量(剩余)'