想在A.fvs中 交互 点击图片 弹出框出 B.fvs
A.fvs 有筛选控件 A 绑定参数 人员姓名
想将 A.fvs的 参数人员姓名 传给 B.fvs 的 参数人员姓名
因为我点击的目标不是组件,所有没有组件参数,要怎么实现?
https://help.fanruan.com/finereport/doc-view-4399.html
"use document";
var a=duchamp.getWidgetByName("控件名").getValue();
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=XXXX.fvs&参数名="+a;
duchamp.showDialog(
{
title:"销量弹窗",
width: 700,
height: 500,
innerContent:iframe,
dialogType:"center",
}
);
点击参数设置
cs =$cs
var url='http:xxx.fvs&cs='+cs
可以直接这里定义参数啊