forked from kidgrow-microservices-platform

zhaoxiaohao
2021-04-15 a2537c02973b7b1a55889f76ab753303c9763700
kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/diagnosisRecord.html
@@ -74,9 +74,15 @@
                { field: 'diagnosticDepartName', width: "10%", title: '科室名称' },
                { field: 'diagnosticDoctorName', width: "10%", title: '医生姓名' },
                { field: 'childName', width: "10%", title: '患者姓名' },
                { field: 'childSex', width: "10%", title: '性别' },
                { field: 'childSex', width: "10%", title: '性别',templet:function(d){
                        if(d.childSex==0){
                            return "男";
                        }else if(d.childSex==1){
                            return "女";
                        }
                    } },
                { field: 'childBirthday', width: "10%", title: '出生日期',templet:function(d){
                    return new Date(d.createTime).dateFormat("yyyy-MM-dd");
                        return new Date(d.childBirthday).dateFormat("yyyy-MM-dd");
                }},
                { field: 'childPhone', width: "10%", title: '联系电话' },
                {
@@ -98,7 +104,10 @@
                },
                {
                    field: 'updateTime', width: "10%", sort: true, title: '修改时间', templet: function (d) {
                        return new Date(d.createTime).dateFormat("yyyy-MM-dd hh:mm");
                        if(d.updateTime==null){
                            return "";
                        }
                        return new Date(d.updateTime).dateFormat("yyyy-MM-dd hh:mm");
                    }
                },
                { field: 'enabled', width: "10%", templet: '#diagnostic-table-bar', title: '查看' }