searchplan.jsp
来自「java jsp教程」· JSP 代码 · 共 375 行 · 第 1/2 页
JSP
375 行
<!-- edit by lyf-->
<%@ page contentType="text/html; charset=GBK" %>
<%@ page import="java.util.*" %>
<%@ page import="com.icss.cnpc.util.*" %>
<%@ page import="com.icss.cnpc.plan.vo.*" %>
<%@ taglib uri="/WEB-INF/runqianReport.tld" prefix="report"%>
<%@ page session="true" import="java.lang.StringBuffer,com.runqian.report.usermodel.*"%>
<%@ page import="com.icss.cnpc.util.Config" %>
<%
response.setHeader("Pragma", "No-cache");
response.setHeader("Cache-Control", "no-cache");
response.setDateHeader("Expires", 0);
%>
<%
String root = request.getContextPath();
String search=request.getParameter("search");
if(search==null)
search="";
String plan_cancel = request.getParameter("plan_cancel");
%>
<HTML><HEAD><TITLE>计划信息查询</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<link rel="stylesheet" href="<%=root%>/css/style.css">
<META content="MSHTML 6.00.2800.1170" name=GENERATOR>
<style type="text/css">
<!--
.style5 {font-size: 16px; font-weight: bold; }
.style1 {font-size: 16px}
.style2 { font-size: 12px;
font-weight: bold;
}
-->
</style>
</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 type="text/javascript" src="<%=root%>/common/xtree.js"></script>
<script type="text/javascript" src="<%=root%>/common/xmlextras.js"></script>
<script type="text/javascript" src="<%=root%>/common/xloadtree.js"></script>
<script type="text/javascript">
webFXTreeConfig.rootIcon = "<%=root%>/images/xp/folder.png";
webFXTreeConfig.openRootIcon = "<%=root%>/images/xp/openfolder.png";
webFXTreeConfig.folderIcon = "<%=root%>/images/xp/folder.png";
webFXTreeConfig.openFolderIcon= "<%=root%>/images/xp/openfolder.png";
webFXTreeConfig.fileIcon = "<%=root%>/images/xp/file.png";
webFXTreeConfig.lMinusIcon = "<%=root%>/images/xp/Lminus.png";
webFXTreeConfig.lPlusIcon = "<%=root%>/images/xp/Lplus.png";
webFXTreeConfig.tMinusIcon = "<%=root%>/images/xp/Tminus.png";
webFXTreeConfig.tPlusIcon = "<%=root%>/images/xp/Tplus.png";
webFXTreeConfig.iIcon = "<%=root%>/images/xp/I.png";
webFXTreeConfig.lIcon = "<%=root%>/images/xp/L.png";
webFXTreeConfig.tIcon = "<%=root%>/images/xp/T.png";
webFXTreeConfig.blankIcon = "<%=root%>/images/xp/blank.png";
</script>
<BODY text=#000000 leftMargin=0 background=<%=root%>/images/grid.gif
topMargin=10 >
<form name="form1" method="post" >
<input type="hidden" name="search" value="search">
<input type="hidden" name="cata">
<div id=jhlbdiv style="position:absolute;display:none; left:250px; top:177px; width:180px; z-index:901; height: 150px;" onmouseover="this.style.display='block'" onMouseOut="this.style.display='none'">
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#000000">
<tr bgcolor="#EEFFF7">
<td height="150" valign="top">
<script>
var tree = new WebFXLoadTree("计划类别", "<%=request.getContextPath()%>/servlet/TcodeXmlTreeServlet?code=jhlb&codeField=jhlbCode&nameField=jhlb&divId=jhlbdiv");
document.write(tree);
</script>
</td>
</tr>
</table>
</div>
<table width="810" border="0" cellspacing="1" cellpadding="0" bgcolor="#426199" align=center>
<TR bgcolor="#a6d0f2">
<TD colspan="6" height=30 align=middle>
<div align="center" size="6">
<font size="2" color="red">计划信息 </font>查询条件</font>
</div>
</TD>
</TR>
<tr bgcolor="#a6d0f2">
<td width="100" height="10" align="left"><div align="right">计划年度:</div></td>
<TD width="172" height="25" bgcolor="#a6d0f2">
<div align="left">
<%
String xPlanYear = request.getParameter("planYear");
if (xPlanYear==null) {
xPlanYear = "9999";//全部
}
Integer xPlanYearInt = new Integer(xPlanYear);
%>
<select name="planYear" class="bt2" style="width:135">
<option value="9999" >全部</option>
<%= CommUtil.mkYearOptions(xPlanYearInt)%>
</select>
</div></TD>
<TD width="67" bgcolor="#a6d0f2"><div align="right">计划名称:</div></TD>
<TD width="169" bgcolor="#a6d0f2"><div align="left">
<% String xPlanName = request.getParameter("planName");
if (xPlanName == null) {
xPlanName = "";
}
%>
<input name="planName" type="text" id="planName" style="background:white" size="18" class="inp1" value="<%=xPlanName%>">
</div></TD>
<TD width="82"><div align="right">被审计单位:</div></TD>
<TD width="213" bgcolor="#a6d0f2"><div align="left">
<%
String xAuditedOrgCode = request.getParameter("auditedOrgCode");
if (xAuditedOrgCode==null) {
xAuditedOrgCode = "";
}
String xAuditedOrgName = request.getParameter("auditedOrgName");
if (xAuditedOrgName == null) {
xAuditedOrgName = "";
}
%>
<input type="hidden" name="auditedOrgCode" value="<%=xAuditedOrgCode%>">
<input name="auditedOrgName" type="text" value="<%=xAuditedOrgName%>" style="background:white" size="20" maxlength="32" readonly class="inp1" >
<img src="<%=root%>/images/icon-15.gif" width="22" height="15" name="unit" alt="选择被审计单位" class="bt1" style="cursor:hand;" onClick="selectUnit()"> </div>
</TD>
</tr>
<tr bgcolor="#a6d0f2">
<td height="20" align="left"><div align="right">计划状态:</div></td>
<td height="20" bgcolor="#a6d0f2">
<div align="left">
<%
String xplanState = request.getParameter("planState");
if (xplanState==null) {
xplanState = "";
}
%>
<select name="planState" style="width:135">
<OPTION VALUE="" <%if(xplanState.equals("")){%>selected<%}%>>全部</OPTION>
<OPTION VALUE="<%=Config.PLAN_APPROVE2_PASS%>" <%if(xplanState.equals(Config.PLAN_APPROVE2_PASS)){%>selected<%}%>>审批通过</OPTION>
<OPTION VALUE="<%=Config.PLAN_PERFORM%>" <%if(xplanState.equals(Config.PLAN_PERFORM)){%>selected<%}%>>执行中</OPTION>
<OPTION VALUE="<%=Config.PLAN_FINISH%>" <%if(xplanState.equals(Config.PLAN_FINISH)){%>selected<%}%>>执行完毕</OPTION>
<option value="<%=plan_cancel%>" <%if(xplanState.equals(plan_cancel)){%>selected<%}%>>消项</option>
</select>
</div></td>
<td bgcolor="#a6d0f2" ><div align="right">计划类别:</div></td>
<%
String xJhlbCode = request.getParameter("jhlbCode");
if (xJhlbCode==null) {
xJhlbCode = "";
}
String xJhlb = request.getParameter("jhlb");
if (xJhlb==null) {
xJhlb = "";
}
%>
<td bgcolor="#a6d0f2" ><div align="left">
<input type="hidden" name="jhlbCode" value="<%=xJhlbCode%>">
<input name="jhlb" type="text" value="<%=xJhlb%>" style="background:white" size="18" readonly class="inp1">
<img src="<%=root%>/images/fuction.gif" width="20" height="15" style="cursor:hand;" onClick="showDiv('jhlbdiv')"> </div></td>
<td ><div align="right">填报单位:</div> </td>
<%
String xAuditingOrgCode = request.getParameter("auditingOrgId");
if (xAuditingOrgCode==null) {
xAuditingOrgCode="";
}
String xAuditingOrgName = request.getParameter("auditingOrgName");
if (xAuditingOrgName==null) {
xAuditingOrgName = "";
}
%>
<td bgcolor="#a6d0f2" >
<div align="left">
<input type="hidden" name="auditingOrgId" value="<%=xAuditingOrgCode%>">
<input type="text" name="auditingOrgName" value="<%=xAuditingOrgName%>" size="20" readonly>
<img src="<%=root%>/images/icon-15.gif" alt="选择审计单位" name="unit" width="22" height="15" class="bt1" style="cursor:hand;" onClick="selectAuditingUnit()"> </div>
</td>
</tr>
<tr bgcolor="#a6d0f2">
<%
String xBegintime = request.getParameter("begintime");
if (xBegintime == null) {
xBegintime = "";
}
String xEndtime = request.getParameter("endtime");
if (xEndtime == null) {
xEndtime="";
}
%>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?