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

📄 roomrepairapply_cx.jsp

📁 JSP移动商品管理平台源代码.........
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" language="java"
	import="java.sql.*,java.util.*,imis_hous.com.impl.*" errorPage=""%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
		<title></title>
		<script language="JavaScript" src="/Imis/imis_hous/jf/checkdata.js">
</script>
        <script type="text/javascript">
        	function checkTwoDate( StartDate,EndDate ) { 
        				var StartDate = document.form1.J_RoomRepaireApplyDate.value;
        				var EndDate = document.form1.J_RoomRepaireApplyDateed.value;
							 	if( StartDate > EndDate ) { 
                                alert("起始日期不能大于终止日期!"); 
                                return false; 
                               } 
                                return true; 
                               } 
        </script>
<link href="/Imis/imis_hous/css/style.css"  rel="stylesheet" type="text/css">
	</head>

	<body background="/Imis/imis_hous/css/images/bg_main.png">
		<table align="center" width="100%"  height="20"  class="ziti" background="/Imis/imis_hous/css/images/bg_main.png">
				<tr>
				  <td colspan="3" background="/Imis/imis_hous/css/images/bg_main2.png"><font color="#000000">用房维修信息查询</font></td>
			  </tr>
		  </table>
		<form name="form1" method="post"
			action="/Imis/servlet/roomRepairApplyPage?currentPage=1" target="blank" onsubmit="return checkTwoDate()">
			
			<table align="center" width="100%" border="0" class="ziti">
				<tr>
					<td width="388">
						<div align="right">建筑物名称:
				    </div></td>
					<td>
							<select name="J_RoomNo" class="text1"> 
						<option selected value="-1">所有</option>
				       <%
        HashMap hashDept = new GetMoreBuling().getDepartment();
        int length = hashDept.size();
		String []deptName = new String[length];//部门数组
		int []deptId= new int[length];//部门用房面积数组
		
		
		Iterator itDeptId = hashDept.keySet().iterator();//键迭代
		Iterator itDeptName = hashDept.values().iterator();//值迭代
		int i=0;
		while(itDeptId.hasNext()){
			deptId[i] = Integer.parseInt(itDeptId.next().toString());
			i++;
		}
		i=0;
		while(itDeptName.hasNext()){
			deptName[i] = itDeptName.next().toString();
			i++;
		}
			
			for(int j=0;j<length;j++ ){
         	%>
         	<option value=<%=deptId[j] %>><%= deptName[j] %></option>
         <% }%>
				</select>
							
					</td>
				</tr>
				<tr>
				  <td><div align="right">用房维修申请日期 从:</div></td>
			      <td width="383">
<input name="J_RoomRepaireApplyDate" id="J_RoomRepaireApplyDate" size="10" maxlength="10" readonly="readonly" type="text" class="text1" onMouseDown="javascript:setday(form1.J_RoomRepaireApplyDate);"/>
</td>
			      
			      
			  </tr>
			  		<tr>
				  <td><div align="right">到:</div></td>
			      <td width="383">
<input name="J_RoomRepaireApplyDateed" id="J_RoomRepaireApplyDateed" size="10" maxlength="10" readonly="readonly" type="text" class="text1" onMouseDown="javascript:setday(form1.J_RoomRepaireApplyDateed);"/>
</td>			      
			  </tr>
			    
			  <tr>
	<td>&nbsp;&nbsp;</td>
	<td>&nbsp;&nbsp;</td>
	</tr>
		      <tr>
			 <td colspan="2"><div align="right"></div>			   
			   <div align="center">
			     <input type="submit" name="Submit" value="查   询" class="anniu">
		       </div></td>
	          </tr>
			</table>
		</form>
	</body>
</html>

⌨️ 快捷键说明

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