|
@@ -9,10 +9,19 @@
|
|
|
console.log(res);
|
|
|
if(res.success == true){
|
|
|
html += '<div class="lr-list-item">车牌号<span class="lr-badge" style="background-color:white">'+res.data.LicensePlate+'</span></div>\
|
|
|
- <div class="lr-list-item">电子标签<span class="lr-badge" style="background-color:white">'+res.data.DeviceNumber+'</span></div>\
|
|
|
+ <div class="lr-list-item">电子标签<span class="lr-badge" style="background-color:white">'+ (res.data.DeviceNumber || "无标签") +'</span></div>\
|
|
|
<div class="lr-list-item">报警时间<span class="lr-badge" style="background-color:white">'+res.data.AddTime+'</span></div>\
|
|
|
<div class="lr-list-item">报警类型<span class="lr-badge" style="background-color:white">'+res.data.Title+'</span></div>\
|
|
|
- <div class="lr-list-item">报警信息<span class="lr-badge" style="background-color:white">'+res.data.Comment+'</span></div>';
|
|
|
+ <div class="lr-card-content">\
|
|
|
+ <div class="lr-card-content-inner">\
|
|
|
+ '+res.data.Comment+'\
|
|
|
+ </div>\
|
|
|
+ </div>\
|
|
|
+ ';
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
$page.find('.detail').html(html);
|
|
|
}else{
|
|
|
renlian.layer.warning("详情信息出错", function () { }, '提示', '关闭');
|