$('#_report').attr('src', '/index.php/home/pdfview/viewer?file='+data).show();可以替换为以下
1、带参数打开新窗口
$window.open("/bdfence/bdfence-division/bdfence.html?vehicleId="+ id );
2、获取参数
var afterUrl = window.location.search.substring(1);(问号以后的字符串)
var afterEqual = afterUrl.substring(afterUrl.indexof('=')+1).toUpperCase();(等号以后的字符串,及你所要的参数)
发布者:admin,转转请注明出处:http://www.yc00.com/web/1742571183a4460445.html
评论列表(0条)