From 8b09fbc19a96b57bf1d0e4d7c79b51a76aeca554 Mon Sep 17 00:00:00 2001 From: Pu Zhibing <393733352@qq.com> Date: 星期五, 28 三月 2025 19:57:56 +0800 Subject: [PATCH] 修改bug --- ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/tCar/tCarAuth.js | 19 ++++++++++++++----- 1 files changed, 14 insertions(+), 5 deletions(-) diff --git a/ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/tCar/tCarAuth.js b/ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/tCar/tCarAuth.js index 39046db..5c11006 100644 --- a/ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/tCar/tCarAuth.js +++ b/ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/tCar/tCarAuth.js @@ -107,17 +107,17 @@ return btn; } }, - {title: '车辆照片', field: 'carPhoto', visible: true, align: 'center', valign: 'middle',width:'8%', + {title: '车辆照片', field: 'peopleAndCarsPhone', visible: true, align: 'center', valign: 'middle',width:'8%', formatter: function (value, row) { - if (row.carPhoto == null || row.carPhoto == '') { + if (row.peopleAndCarsPhone == null || row.peopleAndCarsPhone == '') { return '<a class = "view" href="javascript:void(0)"><img style="width: 50px;height:50px;" src="' + Feng.ctxPath + '/static/img/NoPIC.png" /></a>'; } else { - return '<a class = "view" href="javascript:void(0)"><img style="width: 90px;height:50px;" src="' + row.carPhoto + '" /></a>'; + return '<a class = "view" href="javascript:void(0)"><img style="width: 90px;height:50px;" src="' + row.peopleAndCarsPhone + '" /></a>'; } }, events: 'operateEvents' }, - {title: '行驶证<br/>号码', field: 'drivingLicenseNumber', visible: true, align: 'center', valign: 'middle',width:'8%', + {title: 'roadworthiness sticker', field: 'drivingLicenseNumber', visible: true, align: 'center', valign: 'middle',width:'8%', formatter: function (value, row) { var btn = ""; if(row.drivingLicenseNumber != '' && row.drivingLicenseNumber != null) { @@ -126,7 +126,7 @@ return btn; } }, - {title: '行驶证<br/>照片', field: 'drivingLicensePhoto', visible: true, align: 'center', valign: 'middle',width:'8%', + {title: 'roadworthiness sticker照片', field: 'drivingLicensePhoto', visible: true, align: 'center', valign: 'middle',width:'8%', formatter: function (value, row) { if (row.drivingLicensePhoto == null || row.drivingLicensePhoto == '') { return '<a class = "view" href="javascript:void(0)"><img style="width: 50px;height:50px;" src="' + Feng.ctxPath + '/static/img/NoPIC.png" /></a>'; @@ -173,6 +173,15 @@ } return btn; } + }, + {title: '保险照片', field: 'insurancePhoto', visible: true, align: 'center', valign: 'middle',width:'8%', + formatter: function (value, row) { + if (row.insurancePhoto == null || row.insurancePhoto == '') { + return '<a class = "view" href="javascript:void(0)"><img style="width: 50px;height:50px;" src="' + Feng.ctxPath + '/static/img/NoPIC.png" /></a>'; + } else { + return '<a class = "view" href="javascript:void(0)"><img style="width: 90px;height:50px;" src="' + row.insurancePhoto + '" /></a>'; + } + }, } ]; }; -- Gitblit v1.7.1