📄 analysis.jsp
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ page import="com.icss.cnpc.util.CommUtil" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="/WEB-INF/runqianReport.tld" prefix="report"%>
<%
response.setHeader("Pragma", "No-cache");
response.setHeader("Cache-Control", "no-cache");
response.setDateHeader("Expires", 0);
%>
<%
String root = request.getContextPath();
String unitcode = (String)request.getAttribute("unitcode");
String unitname = (String)request.getAttribute("unitname");
%>
<HTML>
<HEAD><TITLE>决策分析</TITLE>
<META http-equiv=Content-Type content="text/html; charset=GBK">
<link rel="stylesheet" href="<%=root%>/include/style.css">
</HEAD>
<script type="text/javascript" src="<%=root%>/common/codeDict.js"></script>
<SCRIPT language="JavaScript" src="<%=root%>/common/common.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" src="<%=root%>/common/calendar.js"></SCRIPT>
<SCRIPT language=JavaScript>
function _search() {
if(form1.unitcode.value == "")
{
alert("请选择填报单位");
return;
}
/* if(form1.unitcode.value == "001")
{
alert("请选择其他下级单位");
return;
}*/
form1.submit();
}
function _clear()
{
document.form1.unitcode.value="";
document.form1.unitname.value="";
document.form1.problemtype.options[0].selected = true;
document.form1.quart.options[0].selected = true;
document.form1.projectyear.options[0].selected = true;
}
function selectUnit() {
wx=200;
wy=200;
urlstr="<%=request.getContextPath()%>/jsp/advancesearch/orgtree.jsp?nameField=unitname&idField=unitcode";
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>
<BODY text=#000000 leftMargin=0 background=<%=root%>/images/grid.gif topMargin=10 >
<%@ include file="analysisHead.jsp" %>
<TABLE cellSpacing=0 cellPadding=0 width="98%" align=center border=0>
<TBODY>
<TR>
<TD align=middle width="100%" >
<%
String reportFile = (String)request.getAttribute("reportFile");
StringBuffer buffer = new StringBuffer();
String beginDate = (String)request.getAttribute("beginDate");
String endDate = (String)request.getAttribute("endDate");
String problemType = (String)request.getAttribute("problemtype");
StringBuffer param = new StringBuffer();
String isAudit = (String)request.getAttribute("isAO");
String orgCodeUnit = (String)request.getAttribute("orgCodeUnit");
String isjigou = (String)request.getAttribute("isjigou");
String isshenji = (String)request.getAttribute("isshenji");
if(isAudit != null)
param.append("isAudit=").append(isAudit).append(";");
if(orgCodeUnit != null)
param.append("orgCodeUnit=").append(orgCodeUnit).append(";");
if(isjigou != null)
param.append("isjigou=").append(isjigou).append(";");
if(isshenji != null)
param.append("isshenji=").append(isshenji).append(";");
if(beginDate != null)
param.append("beginDate=").append(beginDate).append(";");
if(endDate != null)
param.append("endDate=").append(endDate).append(";");
if(unitcode != null )
param.append("orgCode=").append(unitcode).append(";");
if( problemType != null )
param.append("problemType=").append(problemType).append(";");
%>
<c:if test="${param.unitcode != null || !(empty param.unitcode) }">
<report:html
name="report1" reportFileName="<%=reportFile%>"
width="-1"
height="-1"
funcBarLocation="bottom"
needPageMark="no"
funcBarFontFace="宋体"
funcBarFontSize="11pt"
funcBarFontColor="#000000"
separator=" "
needSaveAsExcel="no"
needSaveAsPdf="no"
needPrint="no"
firstPageLabel="第一页"
prevPageLabel="上一页"
nextPageLabel="下一页"
lastPageLabel="最后页"
pageMarkLabel="第{currpage}页/共{totalPage}页"
printLabel="打印"
generateParamForm="no"
displayNoLinkPageMark="no"
canModifyBeforePrint="no"
submit="提交到服务器"
params="<%=param.toString()%>"
needOfflineInput="no"
needImportExcel="no"
importExcelLabel="导入excel" />
</c:if>
</TD>
</TR>
</TBODY>
</TABLE>
</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -