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

📄 jbpc_condition.jsp

📁 用JSP JAVA 做的 系统 只是初来扎到还望西黄!别乱来哦!
💻 JSP
字号:
<%--
   社区疾病普查统计分析表条件输入页面
   author:翟昌强
--%>
<%@ page language="java"  pageEncoding="gb2312"%>
<%@ taglib uri="/WEB-INF/tlds/frametag.tld" prefix="by"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<link href="/css/style.css" rel="stylesheet">
<title>社区疾病普查统计分析表</title>
<link rel="stylesheet" href="<%=path %>/CSS/style.css" type="text/css">
<script language="javascript" src="<%=path%>/JS/date.js" type="text/javascript"></script>
<script language="JavaScript">
function checkthis()
{
		var tempbm=document.all['tempbm'].value;

		var BgnDate=document.all['StartDate'].value;
		var EndDate=document.all['EndDate'].value;
		if(tempbm.length<8)//中心以上(不含中心)
		{
			var zxbm=document.all['zxbm'].value;
			var zanbm=document.all['zanbm'].value;
			if(zxbm==""&& zanbm=="")
			{
			   alert("请选择中心/站.");
			   return false;
			}
		}
		if(BgnDate==''||BgnDate==null)
		{
			alert('请输入起始日期!');
			document.all['StartDate'].focus();
			return false;
		}
		if (EndDate==''||EndDate==null)
		{
			alert('请输入终止日期!');
			document.all['EndDate'].focus();
			return false;
		}
		var Bgn=document.all['StartDate'].value;
		var End=document.all['EndDate'].value;
		if(Bgn>End)
		{
			alert('终止时间必须晚于开始时间!');
			document.all['EndDate'].focus();
			return false;
		}
		document.all.submit.disabled=true;
		document.all.submit.value="提交中...";
		return true;
}
</script>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 1px;
	margin-right: 0px;
	background-color: #FFFFFF;
	background-image: url(disbg.jpg);
}
-->
</style></head>
<body leftmargin="0" topmargin="20" rightmargin="0">
<form name="Form1" method="post" action="sqjbpStatAction.jsp" onsubmit="return checkthis()">
<input id="tempbm" name="tempbm" value="01010101" type="hidden">
<table width="100%" border="0" cellpadding="0" cellspacing="1" class="tableBorder1">
 <tr>
    <td height="24" align="center" colspan="6" class="TitleDisS">社区疾病普查统计分析表</td>
  </tr>
<script src='/public/wsjg/wsjg_stat.js'></script>


	 <tr>
      <td class="FormDis" align="right" width="40%">中心名称:</td>
          <td class="TdWhite"id="wsjgbm"><select class='select1' name="wsjgbm" style="width:175">
  <option value='01010101' selected>厦门</option></select>
    </td>
    </tr>
 <tr>
      <td class="FormDis"align="right">站点名称:</td>    <td class="TdWhite"id="zanbm_">
     <select name ="zanbm" id ="zanbm"style='width:175' class="select1"><option value="" selected>=全部=</option><option value="1">=不包含站=</option></select>
    </td>
    </tr>
   
				<tr class="FormDis" height="20">
					<td align="right" width="40%">起始日期:</td>
					<td class="TdWhite"><input name="StartDate" id="StartDate" class="input2" maxlength="8"  onblur="check_date(this)" ondblclick="calendar(this,'yyyyMMdd')">(如:20050815)</td>
				</tr>
				<tr class="FormDis" height="20">
				  <td align="right">结束日期:</td>
				  <td class="TdWhite"><input name="EndDate" id="EndDate" class="input2" maxlength="8"  onBlur="check_date(this)" ondblclick="calendar(this,'yyyyMMdd')">(如:20060815)</td>
			  </tr>
				<tr class="FormDis">
					<td colspan="2"  height="30"><div align="center">
					  <input type="submit" id="submit" name="submit" value=" 统 计 " class="button">
				      <input type="reset" name="reset" value=" 重 置 " class="button">
					</div></td>
				</tr>
		</table>


</form>
</body>
</html>

⌨️ 快捷键说明

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