⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 func.jsp

📁 java jsp教程
💻 JSP
字号:
<script>
function constru_2(beginDate,endDate,orgCode,state)
{
	wx=800;
	wy=400;
	urlstr="<%=request.getContextPath()%>/jsp/report/itemreport/report1_constru.jsp?beginDate="+beginDate+"&endDate="+endDate+"&orgCode="+orgCode+"&state="+state;
	x=(window.screen.width-wx)/2;
	y=(window.screen.height-wy)/2;
	wposition=",left="+x+",top="+y;
	window.open(urlstr,"详细","width="+wx+",height="+wy+",scrollbars=yes,status=yes"+wposition);
}
function ShowAllAudited(planno)
{
	wx=600;
	wy=400;
	urlstr="<%=request.getContextPath()%>/servlet/GetAllAuditedListOfPlanServlet?planno="+planno;
	x=(window.screen.width-wx)/2;
	y=(window.screen.height-wy)/2;
	wposition=",left="+x+",top="+y;
	window.open(urlstr,"计划的所有被审单位","width="+wx+",height="+wy+",scrollbars=yes,status=no"+wposition);
}
function showProjInfo(pno)
{
	if(pno == "")
		return;
		
	wx=800;
	wy=500;
	urlstr="<%=request.getContextPath()%>/servlet/ShowProjectViewInfoServlet?projNo=" + pno;
	x=(window.screen.width-wx)/2;
	y=(window.screen.height-wy)/2;
	wposition=",left="+x+",top="+y;
	window.open(urlstr,"查看项目详细计划","width="+wx+",height="+wy+",scrollbars=yes,status=no"+wposition);
}
function _viewCardInfo(projNo)
{
	wx=800;
	wy=500;
	var url = "<%=root%>/servlet/ShowCardBasicInfoServlet?projNo="
					+ projNo
					+ "&toJsp=/jsp/card/modify_card1.jsp&canEdit=false";
	x=(window.screen.width-wx)/2;
	y=(window.screen.height-wy)/2;
	wposition=",left="+x+",top="+y;
	window.open(url,"查看资料卡","width="+wx+",height="+wy+",scrollbars=yes,menu=no,resizable=yes,status=no"+wposition);				
}
function _viewScript(no){
	wx=500;
	wy=400;
	x=(window.screen.width-wx)/2;
	y=(window.screen.height-wy)/2;
	wposition=",left="+x+",top="+y;
	window.open("<%=root%>/servlet/ShowScriptInfoServlet?scriptNo=" + no + "&isView=true","_blank","width=500,height=400,scrollbars=yes,menu=0,scroll=0"+wposition);
}
function showunitinfo(auditedorgid)
{
	wx=600;
	wy=400;
	urlstr="<%=root%>/servlet/ViewAuditedOrgInfoServlet?auditedorgid="+auditedorgid;
	x=(window.screen.width-wx)/2;
	y=(window.screen.height-wy)/2;
	wposition=",left="+x+",top="+y;
	window.open(urlstr,"被审单位详细信息","width="+wx+",height="+wy+",scrollbars=yes,status=no"+wposition);
}
function _viewDoc(projNo)
{
	wx=600;
	wy=400;
	x=(window.screen.width-wx)/2;
	y=(window.screen.height-wy)/2;
	wposition=",left="+x+",top="+y
	var url = "<%=root%>/servlet/ShowDocInfoServlet?prjno=" + projNo + "&isView=true&phaseno=1&resourceno=2&scriptType=0&mytype=9";
	window.open(url+"&isEdit=false","_blan","width="+wx+",height="+wy+",menu=no,scrollbars=yes"+wposition);
}
function openPlanBasicInfo(trainingno){
	wx=600;
	wy=400;
	urlstr= "<%=request.getContextPath()%>/servlet/TrainingPlan_ViewPlanInfoServlet?trainingno=" + trainingno;
	x=(window.screen.width-wx)/2;
	y=(window.screen.height-wy)/2;
	wposition=",left="+x+",top="+y;
	window.open(urlstr,"查看计划信息","width="+wx+",height="+wy+",scrollbars=yes,status=no"+wposition);
}
function viewPlanInfo(planno)
{
	wx=600;
	wy=400;
	x=(window.screen.width-wx)/2;
	y=(window.screen.height-wy)/2;
	wposition=",left="+x+",top="+y;
	urlstr="<%=request.getContextPath()%>/servlet/ViewPlanInfoServlet?planno=" + planno;//计划信息
	window.open(urlstr,"查看计划信息","width="+wx+",height="+wy+",scrollbars=yes,status=no"+wposition);
}
</script>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -