report_1_myfunc.jsp

来自「java jsp教程」· JSP 代码 · 共 269 行

JSP
269
字号
<script>
//(0)报表一应审计单位穿透函数--ben
function report1_auditedorg(orgCode,isaudit,orglevel,isstate,type,beginDate,endDate,other,parent)
{
	wx=850;
	wy=400;
	urlstr="<%=request.getContextPath()%>/jsp/report/itemreport/report1_org.jsp?orgCode="+orgCode+"&isaudit="+isaudit+"&orglevel="+orglevel+"&isstate="+isstate+"&type="+type+"&beginDate="+beginDate+"&endDate="+endDate+"&other="+other+"&parent="+parent;
	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);
}
//个人信息报送穿透函数--ben
function report_sendinfo(beginDate,endDate,orgCode,type)
{
	wx=800;
	wy=400;
	urlstr="<%=request.getContextPath()%>/jsp/report/itemreport/report_sendinfo.jsp?beginDate="+beginDate+"&endDate="+endDate+"&orgCode="+orgCode+"&type="+type;
	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);
}
//(一)财务类(3、4、5)穿透函数
function constru_0(beginDate,endDate,orgCode)
{
	wx=800;
	wy=400;
	urlstr="<%=request.getContextPath()%>/jsp/report/itemreport/report1_finance.jsp?beginDate="+beginDate+"&endDate="+endDate+"&orgCode="+orgCode;
	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);
}
//(二)基建穿透函数--ben
function constru_1(beginDate,endDate,orgCode,state)
{
	wx=800;
	wy=400;
	//urlstr="<%=request.getContextPath()%>/jsp/report/itemreport/report1_arti.jsp?beginDate="+beginDate+"&endDate="+endDate+"&orgCode="+orgCode+"&state="+state;
	urlstr="/cnpc/servlet/ReportPenetrateReport1ArtiServlet?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);
}
//(三)经济合同穿透函数--ben
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;
	urlstr="/cnpc/servlet/ReportPenetrateReport1ConstruServlet?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 constru_3(beginDate,endDate,orgCode,clause)
{
	wx=800;
	wy=400;
	urlstr="<%=request.getContextPath()%>/jsp/report/itemreport/report1_other.jsp?beginDate="+beginDate+"&endDate="+endDate+"&orgCode="+orgCode+"&clause="+clause;
	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);
}
//(五)取得经济成果穿透函数--ben
function report1_fruit(beginDate,endDate,orgCode,type,kind,flag)
{
	wx=800;
	wy=400;
	//urlstr="<%=request.getContextPath()%>/jsp/report/itemreport/report1_fruit.jsp?beginDate="+beginDate+"&endDate="+endDate+"&orgCode="+orgCode+"&type="+type+"&kind="+kind+"&flag="+flag;
	urlstr="/cnpc/servlet/ReportPenetrateFruitServlet?beginDate="+beginDate+"&endDate="+endDate+"&orgCode="+orgCode+"&type="+type+"&kind="+kind+"&flag="+flag;
	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);
}
//报表二穿透函数--ben
function report2_que(beginDate,endDate,orgCode,probtype)
{
	wx=800;
	wy=400;
	//urlstr="<%=request.getContextPath()%>/jsp/report/itemreport/report2_que.jsp?beginDate="+beginDate+"&endDate="+endDate+"&orgCode="+orgCode+"&probType="+probtype;
	urlstr="/cnpc/servlet/ReportPenetrateReport2QueServlet?beginDate="+beginDate+"&endDate="+endDate+"&orgCode="+orgCode+"&probType="+probtype;
	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);
}
//审出问题和处理情况统计表的穿透--ben
function report_question(beginDate,endDate,orgCode,probType,projType,otherType,isAbroad)
{
	wx=800;
	wy=400;
	//urlstr="<%=request.getContextPath()%>/jsp/report/itemreport/report_question.jsp?beginDate="+beginDate+"&endDate="+endDate+"&orgCode="+orgCode+"&probType="+probType+"&projType="+projType+"&otherType="+otherType+"&isAbroad="+isAbroad;
	urlstr="/cnpc/servlet/ReportPenetrateQuestionServlet?beginDate="+beginDate+"&endDate="+endDate+"&orgCode="+orgCode+"&probType="+probType+"&projType="+projType+"&otherType="+otherType+"&isAbroad="+isAbroad;
	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);
}
//主表1的穿透--ben
function report_project(beginDate,endDate,orgCode,projType)
{
	wx=800;
	wy=400;
	urlstr="<%=request.getContextPath()%>/jsp/report/itemreport/report_project.jsp?beginDate="+beginDate+"&endDate="+endDate+"&orgCode="+orgCode+"&projType="+projType;
	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);
}
//基建和合同审出问题的穿透--ben
function report_item(beginDate,endDate,orgCode,probtype,categorytype,othertype)
{
	wx=800;
	wy=400;
	//urlstr="<%=request.getContextPath()%>/jsp/report/itemreport/report_item.jsp?beginDate="+beginDate+"&endDate="+endDate+"&orgCode="+orgCode+"&probtype="+probtype+"&categorytype="+categorytype+"&othertype="+othertype;
	urlstr="/cnpc/servlet/ReportPenetrateItemServlet?beginDate="+beginDate+"&endDate="+endDate+"&orgCode="+orgCode+"&probType="+probtype+"&categoryType="+categorytype+"&otherType="+othertype;
	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);
}
//报表三项目完成情况穿透函数--ben
function report3_proj(beginDate,endDate,orgCode,projtype,state)
{
	wx=800;
	wy=400;
	urlstr="<%=request.getContextPath()%>/jsp/report/itemreport/report3_proj.jsp?beginDate="+beginDate+"&endDate="+endDate+"&orgCode="+orgCode+"&projtype="+projtype+"&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);
}
//报表三人员情况穿透函数--ben
function report3_person(endDate,orgCode,type,typeValue)
{
	wx=800;
	wy=400;
	urlstr="<%=request.getContextPath()%>/jsp/report/itemreport/report3_person.jsp?&endDate="+endDate+"&orgCode="+orgCode+"&type="+type+"&typeValue="+typeValue;
	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);
}
//--ben
function report_contract3(beginDate,endDate,orgCode,state,type)
{
	wx=850;
	wy=400;
	//urlstr="<%=request.getContextPath()%>/jsp/report/itemreport/report_contract3.jsp?beginDate="+beginDate+"&endDate="+endDate+"&orgCode="+orgCode+"&state="+state+"&type="+type;
	urlstr="/cnpc/servlet/ReportPenetrateContractServlet?beginDate="+beginDate+"&endDate="+endDate+"&orgCode="+orgCode+"&state="+state+"&type="+type;
	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);
}
//报表三培训班穿透函数--ben
function report3_train(beginDate,endDate,orgCode,type)
{
	wx=850;
	wy=400;
	urlstr="<%=request.getContextPath()%>/jsp/report/itemreport/report3_train.jsp?beginDate="+beginDate+"&endDate="+endDate+"&orgCode="+orgCode+"&type="+type;
	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);
}
//报表三已建审计机构穿透函数--ben
function report3_org(orgCode,type)
{
	wx=850;
	wy=400;
	urlstr="<%=request.getContextPath()%>/jsp/report/itemreport/report3_org.jsp?orgCode="+orgCode+"&type="+type;
	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 report2_eDuty(beginDate,endDate,orgCode,probtype)
{
	wx=800;
	wy=400;
	urlstr="<%=request.getContextPath()%>/jsp/report/itemreport/report2_eDuty.jsp?beginDate="+beginDate+"&endDate="+endDate+"&orgCode="+orgCode+"&probtype="+probtype;
	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 report2_eDutyMulti(beginDate,endDate,orgCode,probType)
{	
	wx=800;
	wy=400;0
	urlstr="<%=request.getContextPath()%>/jsp/report/itemreport/report2_eDutyMulti.jsp?beginDate="+beginDate+"&endDate="+endDate+"&orgCode="+orgCode+"&probType="+probType;	
	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);
}
</script>

⌨️ 快捷键说明

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