类似这样就行了
全局接口-FR- FineReport帮助文档 - 全面的报表使用教程和学习资料
"use document";
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: 700,
height: 500,
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"});
////*********类似这样就行**********************

"use document";
const iframe = document.createElement("iframe");
iframe.width = "100%";
iframe.height = "100%";
iframe.scrolling = "no";
iframe.style="border: none";
//获取参数
let bl=duchamp.getWidgetByName('bl').getValue();
iframe.src = "/webroot/decision/view/report?viewlet=GettingStarted.cpt&bl="+bl;
//
duchamp.showDialog(
{
title:"销量弹窗",
width: 700,
height: 500,
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"});