From d1a6b40e384caccf4134a61f43437b5c1fba7f45 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期二, 22 八月 2023 17:55:00 +0800 Subject: [PATCH] 修改bug --- ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/tDriver/yesDriver.js | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/tDriver/yesDriver.js b/ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/tDriver/yesDriver.js index ac11b38..16d510d 100644 --- a/ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/tDriver/yesDriver.js +++ b/ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/tDriver/yesDriver.js @@ -72,19 +72,19 @@ return btn; } }, - {title: '性别', field: 'sex', visible: true, align: 'center', valign: 'middle',width:'3%', - formatter: function (value, row) { - var btn = ""; - if(row.sex != '' && row.sex != null) { - if (row.sex == 1) { - btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="男" onfocus="TUser.tooltip()">男</p>'] - }else if (row.sex == 2){ - btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="女" onfocus="TUser.tooltip()">女</p>'] - } - } - return btn; - } - }, + // {title: '性别', field: 'sex', visible: true, align: 'center', valign: 'middle',width:'3%', + // formatter: function (value, row) { + // var btn = ""; + // if(row.sex != '' && row.sex != null) { + // if (row.sex == 1) { + // btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="男" onfocus="TUser.tooltip()">男</p>'] + // }else if (row.sex == 2){ + // btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="女" onfocus="TUser.tooltip()">女</p>'] + // } + // } + // return btn; + // } + // }, {title: '出生日期', field: 'birthday', visible: true, align: 'center', valign: 'middle',width:'3%', formatter: function (value, row) { var btn = ""; -- Gitblit v1.7.1