切换岗位时,获取最高岗位层级值,根据值判断事业部组件是否可用,怎么做呢?
这个写法,编辑后事件
var a=this.getValue();
if(a=='1')
{
_g().getWidgetByName("控件名").setEnable(false);
}
else