给下拉框加编辑后事件,根据值动态切换报表块背景
js如下,条件和图片自己修改
var a=this.getValue();
if(a=="1")
{
$("div[widgetname= REPORT0].fr-titlelayout").css("background", "url(/webroot/help/picture/icon_top1.png)center center / 100% 100% no-repeat")
}
else if(a=="2")
{
$("div[widgetname= REPORT0].fr-titlelayout").css("background", "url(/webroot/help/picture/icon_top2.png)center center / 100% 100% no-repeat")
}
else if(a=="3")
{
$("div[widgetname= REPORT0].fr-titlelayout").css("background", "url(/webroot/help/picture/icon_top3.png)center center / 100% 100% no-repeat")
}