直接控件初始化事件,用下面js
var th=this.options.form.getWidgetByName("控件名");
setTimeout(function(){
if(a=="admin"||a=="568") {
th.setVisible(true);
} else {
th.setVisible(false);
}
},100)
https://help.fanruan.com/finereport10.0/doc-view-4007.html 加载结束事件,参考这个链接设置是否可用
https://help.fanruan.com/finereport10.0/doc-view-4007.html
建个表,把可以用下拉框的$fine_username存进去,然后这只初始化,判断表里是否有当前人员的username就行,有就显示没救不显示
~~