| | |
| | | } |
| | | }, |
| | | {title: '用户ID', field: 'userId', visible: false, align: 'center', valign: 'middle', width:'200px'}, |
| | | {title: '提交用户', field: 'userName', visible: true, align: 'center', valign: 'middle', width:'200px', |
| | | {title: '所选服务', field: 'serviceName', visible: true, align: 'center', valign: 'middle', width:'200px', |
| | | formatter: function (value, row) { |
| | | var btn = ""; |
| | | if(row.userName != '' && row.userName != null) { |
| | | btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="' + row.userName + '" onfocus="TUser.tooltip()">' + row.userName + '</p>'] |
| | | btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="' + row.serviceName + '" onfocus="TUser.tooltip()">' + row.serviceName + '</p>'] |
| | | } |
| | | return btn; |
| | | } |
| | | }, |
| | | }, {title: '服务价格', field: 'price', visible: true, align: 'center', valign: 'middle', width:'200px'}, |
| | | {title: '用车时间', field: 'traveltime', visible: true, align: 'center', valign: 'middle', width:'200px', |
| | | formatter: function (value, row) { |
| | | if(typeof value != 'undefined'){ |
| | |
| | | } |
| | | } |
| | | }, |
| | | {title: '用车时长【天】', field: 'carTime', visible: true, align: 'center', valign: 'middle', width:'200px', |
| | | {title: '用车时长', field: 'carTime', visible: true, align: 'center', valign: 'middle', width:'200px', |
| | | formatter: function (value, row) { |
| | | var btn = ""; |
| | | if(row.carTime != '' && row.carTime != null) { |
| | | btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="' + row.carTime + '" onfocus="TUser.tooltip()">' + row.carTime + '</p>'] |
| | | btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="' + row.carTime + '" onfocus="TUser.tooltip()">' + row.carTime + '</p>天'] |
| | | } |
| | | return btn; |
| | | } |
| | | }, |
| | | {title: '用车类型', field: 'serverCarModel', visible: true, align: 'center', valign: 'middle', width:'200px'}, |
| | | {title: '用车需求', field: 'modelUse', visible: true, align: 'center', valign: 'middle', width:'200px', |
| | | formatter: function (value, row) { |
| | | var btn = ""; |
| | | if(row.modelUse != '' && row.modelUse != null) { |
| | | btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="' + row.modelUse + '" onfocus="TUser.tooltip()">' + row.modelUse + '</p>'] |
| | | } |
| | | return btn; |
| | | } |
| | | }, |
| | | {title: '乘车人数', field: 'peopleNumber', visible: true, align: 'center', valign: 'middle', width:'200px'}, |
| | | {title: '价格区间', field: 'price', visible: true, align: 'center', valign: 'middle', width:'200px'}, |
| | | {title: '联系人', field: 'contactPerson', visible: true, align: 'center', valign: 'middle', width:'200px', |
| | | // {title: '乘车人', field: 'userName', visible: true, align: 'center', valign: 'middle', width:'200px', |
| | | // formatter: function (value, row) { |
| | | // var btn = ""; |
| | | // if(row.userName != '' && row.userName != null) { |
| | | // btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="' + row.userName + '" onfocus="TUser.tooltip()">' + row.userName + '</p>'] |
| | | // } |
| | | // return btn; |
| | | // } |
| | | // }, |
| | | |
| | | // {title: '用车类型', field: 'serverCarModel', visible: true, align: 'center', valign: 'middle', width:'200px'}, |
| | | // {title: '用车需求', field: 'modelUse', visible: true, align: 'center', valign: 'middle', width:'200px', |
| | | // formatter: function (value, row) { |
| | | // var btn = ""; |
| | | // if(row.modelUse != '' && row.modelUse != null) { |
| | | // btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="' + row.modelUse + '" onfocus="TUser.tooltip()">' + row.modelUse + '</p>'] |
| | | // } |
| | | // return btn; |
| | | // } |
| | | // }, |
| | | // {title: '乘车人数', field: 'peopleNumber', visible: true, align: 'center', valign: 'middle', width:'200px'}, |
| | | |
| | | {title: '乘车人', field: 'contactPerson', visible: true, align: 'center', valign: 'middle', width:'200px', |
| | | formatter: function (value, row) { |
| | | var btn = ""; |
| | | if(row.contactPerson != '' && row.contactPerson != null) { |
| | |
| | | return btn; |
| | | } |
| | | }, |
| | | {title: '备注', field: 'newRemark', visible: true, align: 'center', valign: 'middle', width:'300px', |
| | | formatter: function (value, row) { |
| | | var btn = ""; |
| | | if(row.remark != '' && row.remark != null) { |
| | | var str = row.newRemark; |
| | | if (str.length > 20){ |
| | | str = str.substring(0,20)+'...<br><button class="btn btn-outline btn-primary" onclick="TOrderCharter.buttonClick(' + row.id + ')">查看更多</button>'; |
| | | } |
| | | btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="' + row.newRemark + '" onfocus="TUser.tooltip()">' + str + '</p>'] |
| | | } |
| | | return btn; |
| | | } |
| | | }, |
| | | {title: '处理备注', field: 'remark', visible: true, align: 'center', valign: 'middle', width:'300px', |
| | | formatter: function (value, row) { |
| | | var btn = ""; |