var FileName = encodeURI("/webroot/decision/view/duchamp?viewlet=Template1.fvs&cs=&page_number=1");
FR.doHyperlinkByPost({url:FileName,
"target":"_dialog",
"feature":{ "width":1200,"height":600}
});
弹窗用这个showDialog
全局接口-FR https://help.fanruan.com/finereport/doc-view-4316.html
FVS支持的JS事件说明
是不是还有其他js 不是这个js 报错啊
类似这样
const iframe = document.createElement("iframe");
iframe.width = "100%";
iframe.height = "100%";
iframe.scrolling = "no";
iframe.style="border: none";
iframe.src = "/webroot/decision/view/duchamp?viewlet=Template1.fvs&cs=&page_number=1";
duchamp.showDialog(
{
title:"测试弹窗",
width: 1200,
height: 600,
innerContent:iframe,
dialogType:"center",
titleStyle:{background:"#00142E" },
backgroundStyle: {background:"#00142E" }//修改背景颜色
}
);