js传参怎么传到cpt报表的参数控件?我写了就是传参弹出对话框,数据有出来,但是参数控件里没有显示传过来的参数//var sYear = _g().getWidgetByName('sYear').getValue();//var sMon = _g().getWidgetByName('sMon').getValue();var sArea = _g().getWidgetByName('sArea').getValue();var sProduct = _g().getWidgetByName('sProduct').getValue();//var sCustomer = _g().getWidgetByName('sCustomer').getValue();//var sSalesman = _g().getWidgetByName('sSalesman').getValue();//模板路径var url = encodeURI(encodeURI("/webroot/decision/view/form?viewlet=FR_11/mkt/ORDER_ANALYSIS_YQ.cpt&sArea=" + sArea+ "&sProduct=" + sProduct+ "&sTime=" + sTime));//窗体var $iframe = $("<iframe id='inp' name='inp' width='100%' height='100%' scrolling='no' frameborder='0'>");//将窗体的src属性设置为模板路径$iframe.attr("src", url);//窗体的属性var o = { // title: "对话框", //标题 destroyOnClose:true, // 是否在关闭对话框的时候将对话框从dom中移除 width: 700, //宽度 height: 400, //高度 closable:false, //是否显示关闭按钮,默认true //confirm:true, //是否添加确认取消按钮,默认false draggable:false //是否可拖动,默认true};//弹出窗体FR.showDialog(o.title, o.width, o.height, $iframe, o);$('.bi-label.bi-font-bold.bi-text').css("color","red");$('.bi-label.bi-font-bold.bi-text').css('height','0px');$('.bi-h-tape.bi-message-title.bi-header-background').css('background-color','#303f51','width','0px','height','0px');//标题栏背景//$('.bi-h-tape.bi-message-title.bi-header-background').css('width':'0px','height':'0px');//标题栏高度//$('.fr-core-window-header').css({"width":"0px","height":"0px"});// 标题栏行高//$('.bi-h-tape.bi-message-title.bi-header-background').css('height','0px');//$('.x-icon.b-font.horizon-center.display-block').css('height','0px');$('.bi-basic-button.cursor-pointer.bi-icon-button.horizon-center.bi-message-close.close-font').css('height','0px');$('.bi-popover.bi-card.bi-border-radius.bi-v-tape').css('color','#303f51');//框背景$('.resizable-handle-e').css('background-color','#303f51');$('.resizable-handle-n').css('background-color','#303f51');$('.resizable-handle-w').css('background-color','#303f51');$('.resizable-handle-s').css('background-color','#303f51');