|
@ -161,7 +161,6 @@
|
|
|
nodeWidth: 176,
|
|
|
onSelect: function (obj) {
|
|
|
if (obj.data.url != undefined) {
|
|
|
debugger
|
|
|
if(obj.data.url.indexOf("report/signin") >= 0){
|
|
|
me.loadIframePage(obj.data.url);//质控页面
|
|
|
}else{
|
|
@ -191,14 +190,20 @@
|
|
|
var self = $(this);
|
|
|
if(!self.hasClass("l-selected")){
|
|
|
var imgSrcs = self.find("img").attr("src");
|
|
|
if(imgSrcs.indexOf("hover") > 0){
|
|
|
if(imgSrcs.indexOf("hover") > 0){
|
|
|
self.find("img").attr("src",imgSrcs.substring(0,imgSrcs.length-10)+".png");
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
onClick:function(obj){
|
|
|
|
|
|
},
|
|
|
onBeforeSelect(obj){//解决bug 3487【ESB】标准规范:点击标准规范的图标,图标会显示成白色。
|
|
|
if(obj.data == null){
|
|
|
if(obj.target.parentElement.parentElement.className.indexOf("l-selected") > 0){
|
|
|
return false;
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
//一级节点不可选中
|
|
|
onAfterAppend: function () {
|
|
@ -207,7 +212,7 @@
|
|
|
// });
|
|
|
}
|
|
|
});
|
|
|
|
|
|
|
|
|
//首页按钮
|
|
|
$('#btnIndexHome').bind('click', function () {
|
|
|
me.openHome();
|