自己增加参数名称,与获取它的值
"use document";
var a=duchamp.getWidgetByName("csa").getValue();
var b=duchamp.getWidgetByName("csb").getValue();
duchamp.getWidgetByName('表格1_页面1').addEffect('highlightRow', {
color: '#ebd863',
trigger: 'mouseover',
});
//模板路径
var url = encodeURI("/webroot/decision/view/report?viewlet=cwjt/zijinyusuan/汇总数据/二级表单和核减数提交/提交.cpt&op=write&csa="+a+"&csb="+b);
//窗体
var $iframe = $("");
//将窗体的src属性设置为模板路径
$iframe.attr("src", url);
//窗体的属性
var o = {
title: "对话框", //标题
destroyOnClose:true, // 是否在关闭对话框的时候将对话框从dom中移除
width: 400, //宽度
height: 500, //高度
//closable:true, //是否显示关闭按钮,默认true,仅支持cpt普通报表
//confirm:true, //是否添加确认取消按钮,默认false,仅支持cpt普通报表
//draggable:true //是否可拖动,默认true
};
//弹出窗体
FR.showDialog(o.title, o.width, o.height, $iframe, o);