From adf2ede692b76cf95d0cec80f4087e52d760b219 Mon Sep 17 00:00:00 2001 From: Pu Zhibing <393733352@qq.com> Date: 星期日, 29 九月 2024 17:21:56 +0800 Subject: [PATCH] 修改bug --- ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/tCar/tCarAuth.js | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 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 d8efca2..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,12 +107,12 @@ 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' @@ -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