全屏只能手工点击不能加载结束事件的!!这是浏览器的安全设置,你绕不开的!!!!
JS实现点击按钮实现全屏预览- FineReport帮助文档 - 全面的报表使用教程和学习资料
放大的话直接做一个弹窗。让报表块的大小设置大一些就行了
全局接口-FR- FineReport帮助文档 - 全面的报表使用教程和学习资料
--------------------弹窗的js---------------------
const iframe = document.createElement("iframe");
iframe.width = "100%";
iframe.height = "100%";
iframe.scrolling = "no";
iframe.style="border: none";
iframe.src = "/webroot/decision/view/report?viewlet=GettingStarted.cpt";
duchamp.showDialog(
{
title:"销量弹窗",
width: "100%",
height: "100%",
innerContent:iframe,
dialogType:"center",
}
);
$('.duchamp-custom-title').css({"background-color": "#0c396c" });
$('.duchamp-custom-title').css({"color": "#ffffff"});
$('.duchamp-custom-title').css({"font-size": "19px"});
$('.duchamp-custom-title').css({"height": "25px"});
