Model.prototype.tabsSelect = function(event){
var mainData = this.comp("mainData");
var self = this;
var li = this.comp("tabs").$domNode.find('.active').attr('xid');
var fBizState=mainData.getValue("fBizState");
debugger
if (li == "detailLi" && fBizState=="bsFinished") {
self.comp("div_download1").set({"display":"inline"});
self.comp("div_download2").set({"display":"inline"});
}else{
self.comp("div_download1").set({"display":"none"});
self.comp("div_download2").set({"display":"none"});
}
};