Pu Zhibing
2025-03-28 8b09fbc19a96b57bf1d0e4d7c79b51a76aeca554
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>';
                }
            },
        }
    ];
};