From cf71570fb38ad1983cd40e65fb09e259e509d2a3 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期一, 06 五月 2024 09:36:45 +0800
Subject: [PATCH] 修改bug
---
ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/tDriver/tDriver.js | 62 +++++++++++++++---------------
1 files changed, 31 insertions(+), 31 deletions(-)
diff --git a/ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/tDriver/tDriver.js b/ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/tDriver/tDriver.js
index c80f5a5..8c82820 100644
--- a/ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/tDriver/tDriver.js
+++ b/ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/tDriver/tDriver.js
@@ -111,19 +111,19 @@
return btn;
}
},
- {title: '性别', field: 'sex', visible: true, align: 'center', valign: 'middle',
- 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',
+ // 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 = "";
@@ -135,15 +135,15 @@
return btn;
}
},
- {title: '驾驶证号码', field: 'driveCard', visible: true, align: 'center', valign: 'middle',
- formatter: function (value, row) {
- var btn = "";
- if(row.driveCard != '' && row.driveCard != null) {
- btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="' + row.driveCard + '" onfocus="TUser.tooltip()">' + row.driveCard + '</p>']
- }
- return btn;
- }
- },
+ // {title: '驾驶证号码', field: 'driveCard', visible: true, align: 'center', valign: 'middle',
+ // formatter: function (value, row) {
+ // var btn = "";
+ // if(row.driveCard != '' && row.driveCard != null) {
+ // btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="' + row.driveCard + '" onfocus="TUser.tooltip()">' + row.driveCard + '</p>']
+ // }
+ // return btn;
+ // }
+ // },
{title: '驾龄', field: 'driverAge', visible: true, align: 'center', valign: 'middle',
formatter: function (value, row) {
var btn = "";
@@ -155,15 +155,15 @@
return btn;
}
},
- {title: '身份证号码', field: 'idCard', visible: true, align: 'center', valign: 'middle',
- formatter: function (value, row) {
- var btn = "";
- if(row.idCard != '' && row.idCard != null) {
- btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="' + row.idCard + '" onfocus="TUser.tooltip()">' + row.idCard + '</p>']
- }
- return btn;
- }
- },
+ // {title: '身份证号码', field: 'idCard', visible: true, align: 'center', valign: 'middle',
+ // formatter: function (value, row) {
+ // var btn = "";
+ // if(row.idCard != '' && row.idCard != null) {
+ // btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="' + row.idCard + '" onfocus="TUser.tooltip()">' + row.idCard + '</p>']
+ // }
+ // return btn;
+ // }
+ // },
{title: '服务模式', field: 'serverStr', visible: true, align: 'center', valign: 'middle',
formatter: function (value, row) {
var btn = "";
--
Gitblit v1.7.1