table行设置单击事件,冲突第一列checkbox事件问题

 

 

$(".rhGrid").find("tr").unbind("click").bind("click",function(){
	var trobj = $(this);
	if(trobj.length > 0 && trobj[0].id){
		var dataId = trobj[0].id;
		//example:http://47.95.38.86:8288/oa/view/page/gwForm.html?servId=OA_GW_GONGWEN_GSFW&dataId=0d4H4g3sl8aFhALV22bGLVbD
		var url = "/oa/view/page/gwForm.html?servId="+servId+"&dataId="+dataId;
		var openWin = window.open(url);
		setTimeout(function(){ openWin.document.title = '广州分行办公平台'; }, 100);
	}
});

$(".rhGrid tr td:first-child").click(function(event){
	event.cancelBubble=true;
	event.stopPropagation();
});
posted @ 2020-04-09 17:19  远超  阅读(456)  评论(0)    收藏  举报