Click event of the html element
<tr><td class=".cus_td" data-id="djlfd">dddd</td><tr>
$('body').on('click',".cus_td", function(){
var modelId=$(this).attr("data-id");
layer.open({
type: 2,
title: '车辆定损',
shadeClose: true,
shade: 0.8,
area: ['90%', '92%'],
content: '<%=basePath%>whole/detail/'+modelId,
end: function () {
console.log('end');
// location.reload();
}
});
});