| | |
| | | return btn; |
| | | } |
| | | }, |
| | | {title: '出生日期', field: 'birthday', visible: true, align: 'center', valign: 'middle',width:'3%', |
| | | formatter: function (value, row) { |
| | | var btn = ""; |
| | | if(row.birthday != '' && row.birthday != null) { |
| | | var birthday = row.birthday; |
| | | birthday = birthday.substring(0, birthday.indexOf(" ")); |
| | | btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="' + birthday + '" onfocus="TUser.tooltip()">' + birthday + '</p>'] |
| | | } |
| | | return btn; |
| | | } |
| | | }, |
| | | {title: '司机来源', field: 'addType', visible: true, align: 'center', valign: 'middle',width:'5%', |
| | | formatter: function (value, row) { |
| | | var btn = ""; |
| | |
| | | return '' |
| | | } |
| | | } |
| | | }, |
| | | },/* |
| | | {title: '车队', field: 'teamId', visible: true, align: 'center', valign: 'middle',width:'15%',editable:{ |
| | | type: 'select', |
| | | title: '车队', |
| | | source: YesDriver.teamList, |
| | | emptytext: "暂无车队" |
| | | }}, |
| | | }},*/ |
| | | {title: '关联线路', field: 'lineStr', visible: true, align: 'center', valign: 'middle',width:'7%', |
| | | formatter: function (value, row) { |
| | | var btn = ""; |