代码拉取完成,页面将自动刷新
// 初始化DataGrid对象
$('#dataGrid').dataGrid({
searchForm: $("#searchForm"),
////lazyLoad: true, //不加载
columnModel: [
{header:'手机号', name:'appUser.phone', index:'u.phone', width:150, align:"left", frozen:true, formatter: function(val, obj, row, act){
return '<a href="${ctx}/app/appUserRisk/form?id='+row.id+'" class="btnList" data-title="${text('编辑app_user_risk')}">'+(val||row.id)+'</a>';
}},
/*{header:'手机号', name:'appUser.phone', index:'u.phone', width:150, align:"left"},*/
{header:'手机IMEI', name:'appUser.imei', index:'u.imei', width:150, align:"left"},
{header:'是否命中', name:'isMatch', index:'a.is_match', width:150, align:"center", formatter: function(val, obj, row, act){
return js.getDictLabel(${@DictUtils.getDictListJson('sys_yes_no')}, val, '${text('未知')}', true);
}},
{header:'命中原因码', name:'reasonCode', index:'a.reason_code', width:150, align:"left"},
{header:'查看时间', name:'createDate', index:'a.create_date', width:150, align:"center"},
],
// 加载成功后执行事件
ajaxSuccess: function(data){
js.alertObj(data)
}
});
进行校验的时候 js.alertObj(data.count) 不显示内容 这个校验获取不出参数比较该怎么校验