有控件参考
JS实现清空控件内容-https://help.fanruan.com/finereport/doc-view-1196.html
没有控件的话,参考
js代码给参数赋值
$.ajax({
url: '/webroot/decision/view/form?op=fr_dialog&cmd=parameters_d',
type: 'POST',
data: {
"参数名1":参数值1,
"参数名2":参数值2
},
headers: {
sessionID: _g().currentSessionID
},
complete: function(res, status) {
if (window.FR && FR.Chart && FR.Chart.WebUtils) {
FR.Chart.WebUtils.clearCharts();
}
_g().gotoPage(contentPane.currentPageIndex); //回到当前页
}
});