var a=1; $.ajax({ url: '/WebReport/ReportServer?op=fr_dialog&cmd=parameters_d&sessionID=' + session, // 参数session传递值sessionID type: 'POST', data: { "'RR'+a": function(){ while(a<=${R11}){ a++; if(${$R11==a}) return contentPane.getWidgetByName("LHR").getValue(); else return contentPane.getWidgetByName("LHR"+a).getValue();} } }, complete: function(res, status) { if (window.FR && FR.Chart && FR.Chart.WebUtils) { FR.Chart.WebUtils.clearCharts(); } _g().loadContentPane(); } }); 如何修改? |