|
@@ -47,7 +47,7 @@
|
|
|
function sexFormatter(mode){
|
|
|
if(mode == 'F'){ return "女";
|
|
|
}else if(mode=="M"){ return "男";
|
|
|
- }else{ return "--";
|
|
|
+ }else{ return mode;
|
|
|
}
|
|
|
}
|
|
|
function marryFormatter(mode){
|
|
@@ -70,10 +70,10 @@
|
|
|
{field:'name',title:'患者姓名',align: 'center',width:100},
|
|
|
{field:'institution_id',title:'所在机构', hidden:true, align: 'center',width:80},
|
|
|
{field:'institution_name',title:'所在机构',align: 'left',width:150},
|
|
|
- {field:'sex',title:'性别',width:"80",align: 'center'},
|
|
|
+ {field:'sex',title:'性别',width:"80",align: 'center',formatter:sexFormatter},
|
|
|
{field:'card_num',title:'身份证号',width:180,align: 'center'},
|
|
|
{field:'phone',title:'手机号',width:"100",align: 'center'},
|
|
|
- {field:'birthday',title:'生日',align: 'center', width:135, formatter:dateFormatter },
|
|
|
+ {field:'birthday',title:'生日',align: 'center', width:135 },
|
|
|
{field:'age',title:'年龄',width:"50",align: 'center'},
|
|
|
{field:'card_type',title:'证件类型',width:"100",align: 'center' },
|
|
|
{field:'nationality',title:'国籍',width:"100",align: 'center' },
|