?? roomrepairapply_cx.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> </td>
<td> </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 + -