var uuid=Forguncy.Page.getCell("uuid").getValue();
var ypbh=Forguncy.Page.getCell("样品编号").getValue();
var jccs=Forguncy.Page.getCell("检测参数").getValue();
var yshu=Forguncy.Page.getCell("当前页").getValue();
var ypmc=Forguncy.Page.getCell("样品名称").getValue();
var zys=Forguncy.Page.getCell("总页数").getValue();
var bodykkm="";
for(var i=1;i<zys+1;i++){
var a=Forguncy.Helper.SpecialPath.getBaseUrl()+"print?ypbh="+ypbh+"&jccs="+jccs+"&ypmc="+ypmc+"&zys="+zys+"&uuid="+uuid+"&yshu="+i;
bodykk='<div name="pageA4" class="pageA4"><iframe height="1040" width="661" align="absmiddle" scrolling="no" frameborder="0" src="'+a+'"></iframe><br/></div>';
bodykkm=bodykkm+bodykk;
};
var chart=$('[fgcname="html"]')[0];
chart.innerHTML =bodykkm;
循环生成<iframe>标签后插入到页面 |