{field:'state',title:'状态',100, formatter : function(value, row, index){ if (value == 0) { return "在职"; } else { return "离职"; } }