bkyld.jsp
4.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<%@ page language="java" contentType="text/html; charset=utf-8"
pageEncoding="utf-8"%>
<!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=utf-8">
<title>自动检测数据公开</title>
<link href="../../css/bkyldbj.css" rel="stylesheet" type="text/css" />
<link href="../../js/jquery/themes/start/jquery.ui.all.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="../../extlib/resources/css/ext-all.css" />
<link rel="stylesheet" type="text/css" href="../../css/toolbars.css"/>
<script type="text/javascript" src="../../extlib/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="../../extlib/ext-all.js"></script>
<script type="text/javascript" src="../../extlib/ext-lang-zh_CN.js"></script>
<script type="text/javascript" src="../../js/main/bkyld/showInfo_yld.js"></script>
<script type="text/javascript" src="../../js/jquery/jquery-1.9.1.js"> </script>
<script type="text/javascript" src="../../js/jquery/jquery-ui-1.10.3.min.js"></script>
<script type="text/javascript" src="../../js/jquery/i18n/jquery.ui.datepicker-zh-CN.js"></script>
<style type="text/css">
body {
background-image: url(../../images/bkbj_01.png);
background-repeat: repeat-x;
margin: 0px;
height: 800px;
}
</style>
<script language="javascript" >
$(document).ready(function(){
$('#selectdate').datepicker({
changeMonth: true,
changeYear: true,
minDate:'2013-09-13',
maxDate:0
});
$('#selecttimer').timePicker();
});
function dosubmit() {
var date = document.getElementById("selectdate").value;
var time = document.getElementById("selecttime").value;
var arraydate = date.split("-");
var arraytime = time.split(":");
var finaldate = new Date(arraydate[0], parseInt(arraydate[1], 10) - 1,
arraydate[2], arraytime[0]);
var nowDate = new Date();
if (date == "" || date == null) {
alert("请选择日期!");
} else if (finaldate > nowDate) {
alert("此时间段尚未发布数据,请重新选择!");
} else {
document.selectdateform.action = "<%=request.getContextPath()%>/YLDDataServlet";
selectdateform.submit();
}
}
function getreason(){
document.getElementById("table_frame").src = "reason.jsp";
}
function getauto(){
document.getElementById("table_frame").src = "bkyld_table.jsp";
}
</script>
</head>
<body>
<table width="1116" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td class="bjtop"></td>
</tr>
<tr>
<td class="bjcenter" palign="center">
<div><P align="center" style="font-family:'宋体'; font-size:30px; margin:1px;">国控企业自行监测结果公开数据表 </P></div><br>
<form name="selectdateform" target="table_frame" method="post" >
<P style="margin-right:20px;margin:5px;" align="left" > 日期:<input class="dateinput" type="text" id="selectdate" name="selectdate" readonly /> 时间:<select name="selecttime" id="selecttime" >
<option value="00:00:00">00:00:00</option>
<option value="02:00:00">02:00:00</option>
<option value="04:00:00">04:00:00</option>
<option value="06:00:00">06:00:00</option>
<option value="08:00:00">08:00:00</option>
<option value="10:00:00">10:00:00</option>
<option value="12:00:00">12:00:00</option>
<option value="14:00:00">14:00:00</option>
<option value="16:00:00">16:00:00</option>
<option value="18:00:00">18:00:00</option>
<option value="20:00:00">20:00:00</option>
<option value="22:00:00">22:00:00</option>
</select><input name="checkdate" type="button" value="查询" onClick="dosubmit()"/> <input name="checkreason" type="button" value="未开展自行监测原因" onClick="getreason()"/><input name = "return" value="自行监测数据" type="button" onClick="getauto()" /><input name="checkdate" type="button" value="企业信息" onClick="showinfo1()"/><input name="checkdate" type="button" value="年度检测方案" onClick="showinfo2()"/><input name="checkdate" type="button" value="年度检测报告" onClick="showinfo3()"/><marquee scrollAmount=2 width=220 onmouseover="stop()" onmouseout="start()"><a href="http://www.wushuichang.cn">污水处理厂信息化管理云平台</a></marquee>
</P>
</form>
<iframe id="table_frame" frameborder="0" allowtransparency="true" width="1116" height="1600" src="bkyld_table.jsp" name="table_frame"></iframe>
</td>
</tr>
<tr>
<td class="bjbottom"><hr /><P align="center" style="font-size:14px">北京金控自动化技术有限公司版权所有</p></td>
</tr>
</table>
</table>
</body>
</html>