//放大镜调用都要加的前缀
var RootPath = ROOT_PATH;

//显示数据字典信息
function showDataDict(sID)
{
 	var screenWidth = (screen.availWidth*0.5);
	var screenHeight = (screen.availHeight*0.7);
 	var sFeatures="scrollbars=yes,resizable=yes,status=no,titlebar=no,toolbar=no,menubar=no,location=no,fullscreen=no,width="+screenWidth+"px,height="+screenHeight+"px,left=50px,top=50px";
 	var strURL=RootPath+"/system/dataDictMng.do?operate=viewDataDictType&selectedID=" + sID;
	window.open(strURL,'dataDict',sFeatures);
}

//显示数据字典类型信息
function showDataDictType(sID)
{
 	var screenWidth = (screen.availWidth*0.5);
	var screenHeight = (screen.availHeight*0.7);
 	var sFeatures="scrollbars=yes,resizable=yes,status=no,titlebar=no,toolbar=no,menubar=no,location=no,fullscreen=no,width="+screenWidth+"px,height="+screenHeight+"px,left=50px,top=50px";
 	var strURL=RootPath+"/system/dataDictTypeMng.do?operate=viewDataDictType&selectedID=" + sID;
	window.open(strURL,'dataDictType',sFeatures);
}

//显示角色信息
function showRole(roleID)
{
	var screenWidth = (screen.availWidth*0.5);
	var screenHeight = (screen.availHeight*0.7);
 	var sFeatures="scrollbars=yes,resizable=yes,status=no,titlebar=no,toolbar=no,menubar=no,location=no,fullscreen=no,width="+screenWidth+"px,height="+screenHeight+"px,left=50px,top=50px";
 	var strURL=RootPath+"/system/roleMng.do?operate=toView&selectedID="+roleID;
	window.open(strURL,'role',sFeatures);
}

//显示单位信息
function showParentOrg()
{
	var screenWidth = (screen.availWidth*0.5);
	var screenHeight = (screen.availHeight*0.7);
 	var sFeatures="scrollbars=yes,resizable=yes,status=no,titlebar=no,toolbar=no,menubar=no,location=no,fullscreen=no,width="+screenWidth+"px,height="+screenHeight+"px,left=50px,top=50px";
 	var strURL=RootPath+"/system/orgMng.do?operate=selectOrgMagnifier";
	window.open(strURL,'org',sFeatures);
}

//显示信息信息内容
function showInfo(sID) {
	var screenWidth = (screen.availWidth*0.5);
	var screenHeight = (screen.availHeight*0.7);
 	var sFeatures="scrollbars=yes,resizable=yes,status=no,titlebar=no,toolbar=no,menubar=no,location=no,fullscreen=no,width="+screenWidth+"px,height="+screenHeight+"px,left=50px,top=50px";
 	var strURL=RootPath+"/system/infoMng.do?operate=toShowInfo&selectedID=" + sID;
	window.open(strURL,'info',sFeatures);
}

//显示信息信息内容
function showPorduct(sID) {
	var screenWidth = (screen.availWidth*0.5);
	var screenHeight = (screen.availHeight*0.7);
 	var sFeatures="scrollbars=yes,resizable=yes,status=no,titlebar=no,toolbar=no,menubar=no,location=no,fullscreen=no,width="+screenWidth+"px,height="+screenHeight+"px,left=50px,top=50px";
 	var strURL=RootPath+"/iLogistics/product/productMng.do?operate=toShowPorduct&selectedID=" + sID;
	window.open(strURL,'porduct',sFeatures);
}

//显示订单详细信息
function showDetail (selectID) {
	var screenWidth = (screen.availWidth*0.9);
	var screenHeight = (screen.availHeight*0.9);
	var strURL = RootPath+"/b2g/teamorder/teamOrderFrontCtrl.do?operate=viewTeamOrderDetail&selectID=" + selectID;
	var sFeatures="scrollbars=yes,resizable=yes,status=no,titlebar=no,toolbar=no,menubar=no,location=no,fullscreen=no,width="+screenWidth+"px,height="+screenHeight+"px,left=50px,top=50px";
	window.open(strURL,'orderInfoDetail',sFeatures);
}


//显示订单审批意见信息
function showExamine (selectID) {
	var screenWidth = (screen.availWidth*0.9);
	var screenHeight = (screen.availHeight*0.9);
	var strURL = RootPath+"/b2g/teamorder/teamOrderFrontCtrl.do?operate=viewTeamOrderExamine&selectID=" + selectID;
	var sFeatures="scrollbars=yes,resizable=yes,status=no,titlebar=no,toolbar=no,menubar=no,location=no,fullscreen=no,width="+screenWidth+"px,height="+screenHeight+"px,left=50px,top=50px";
	window.open(strURL,'orderInfoDetail',sFeatures);
}

//显示退票详细信息
function showRTA (selectID) {
	var screenWidth = (screen.availWidth*0.9);
	var screenHeight = (screen.availHeight*0.9);
	var strURL = RootPath+"/b2g/returnticket/returnTicketFCtrl.do?operate=viewReturnTicketApplication&selectID=" + selectID;
	var sFeatures="scrollbars=yes,resizable=yes,status=no,titlebar=no,toolbar=no,menubar=no,location=no,fullscreen=no,width="+screenWidth+"px,height="+screenHeight+"px,left=50px,top=50px";
	window.open(strURL,'RTADetail',sFeatures);
}
