js 使用 jquer的方法来获取名称;
$(".fr-trigger-editor").attr("widgetname");
如何获取所有,还在测试! 参考以下
17-JS清空(重置)条件-示例二.zip
https://help.fanruan.com/finereport10.0/index.php?doc-view-1196
--- 点击清空按钮 把控件名称查询放在了 re 文本控件内
var arr = [];//定义数组
$.each(this.options.form.name_widgets, function(i, item) {
if(item.options.type !== 'label') {
item.reset();
arr.push(item.options.widgetName);\\把对象的名称放入数据
}
});
console.log(arr);\\日志
var re = contentPane.parameterEl.getWidgetByName("re");
re.setValue(arr);