var url = FR.cjkEncode("/webroot/decision/view/report?viewlet=/FR-engineers/barcode/单号创建报表.cpt&op=write&saparam5="+a+"&saparam7="+b);
=======================
按钮弹出窗口js代码
var a=this.options.form.getWidgetByName("控件1名称").getValue();
var b=this.options.form.getWidgetByName("控件2名称").getValue();
var url = FR.cjkEncode("/webroot/decision/view/report?viewlet=GettingStarted.cpt&op=write&a="+a+"&b="+b);
//窗体
var $iframe = $("
//将窗体的src属性设置为模板路径
$iframe.attr("src", url);
//窗体的属性
var o = {
title: "对话框", //标题
width: 680, //宽度
height: 640, //高度
};
//弹出窗体
FR.showDialog(o.title, o.width, o.height, $iframe, o);