123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261 |
- <%@ page language="java" contentType="text/html;charset=utf-8"%>
- <%@include file="/pages/includes/taglibs.jsp"%>
- <head>
- <link rel="stylesheet" type="text/css"
- href="<%=request.getContextPath()%>/resource/plugin/jqueryui/css/custom-theme/jquery-ui-1.9.2.custom.css" />
-
- <script src="<%=request.getContextPath() %>/resource/plugin/jqueryui/js/jquery-ui-1.9.2.custom.js" type="text/javascript"></script>
- <script
- src="<%=request.getContextPath()%>/resource/js/highcharts/highcharts.src.js"
- type="text/javascript">
- </script>
- <script
- src="<%=request.getContextPath()%>/resource/js/highcharts/highcharts-more.js">
- </script>
-
- <script type="text/javascript" src="<%=request.getContextPath() %>/pages/apdata/apdatahistory.js"></script>
- <script type="text/javascript" src="<%=request.getContextPath()%>/resource/plugin/highslide/highslide-with-html.js">
- </script>
- <script src="<%=request.getContextPath()%>/resource/js/datePicker/WdatePicker.js" type="text/javascript"></script>
- <link rel="stylesheet" type="text/css"
- href="<%=request.getContextPath()%>/resource/plugin/highslide/highslide.css" />
- <script
- src="<%=request.getContextPath()%>/resource/js/highcharts/modules/solid-gauge.src.js">
- </script>
- <style type="text/css">
-
- .normal {
- border-right-style: solid;
- border-bottom-style: solid;
- border-left-style: solid;
- border-top-style:solid;
- border-top-color:#ffffff;
- border-left-color:#c1c1c1;
- border-right-color:#c1c1c1;
- border-bottom-color:#c1c1c1;
- border-width: 1px;
- width:100px;
- height:28px;
- float:left;
- margin-top:-1px;
- cursor:pointer;
- text-align:center;
- line-height:28px;
- overflow:hidden;
- font-weight:bold;
- font-size: 12px;
- font-family: tahoma,arial,verdana,sans-serif;
-
- }
- .disable {
- border-right-style: solid;
- border-bottom-style: solid;
- border-left-style: solid;
- border-top-style:solid;
- border-top-color:#c1c1c1;
- border-left-color:#c1c1c1;
- border-right-color:#c1c1c1;
- border-bottom-color:#c1c1c1;
- border-width: 1px;
- width:100px;
- height:25px;
- float:left;
- margin-top:-1px;
- cursor:pointer;
- text-align:center;
- background-color:#e1e1e1;
- line-height:25px;
- overflow:hidden;
- font-weight:bold;
- font-size: 12px;
- font-family: tahoma,arial,verdana,sans-serif;
-
- }
- .panelcontainer {
- width: 100%;
- height: 60px;
- border-style: solid;
- border-color: #C1C1C1;
- border-width:1px;
- }
- .panelquery {
- width:100%;
- height:25px;
- background-color:#f0f0f0;
- line-height:25px;
- }
- .panelquerytext {
- margin-left:3px;
- font-weight:bold;
- font-size: 12px;
- font-family: tahoma,arial,verdana,sans-serif;
-
- }
- .querycondcontainer {
-
- line-height:39px;
- padding:3px;
- float:left;
-
- font-size: 12px;
- }
- .styled-select {
- width: 120px;
- height: 30px;
- overflow: hidden;
-
- background-repeat: no-repeat;
- background-color: #f0f0f0;
-
- }
- </style>
- <script type="text/javascript">
-
-
- function changeFc(wp){
-
- if(wp!="0" && wp !="-1" && wp!="-2")
- {
- var url1 = "projectAjax.action?wpIds="+wp;
- var url2 = "lineAjax.action?wpIds="+wp;
- var url3 = "fjAjax.action?wpIds="+wp;
- $.ajax({
- type:"post",
- url:url1,
- dataType:"json",
- success: function(data){
- if(data.length != 0){
- eval(data);
- $("#pjid").empty();
- $("#pjid").append("<option value=''>请选择</option>");
-
- for(var i=0; i<data.length; i++){
- $("#pjid").append("<option value='"+data[i].id+"'>"+data[i].name+"</option>");
- }
-
- }else{
- $("#pjid").append("<option value=''>请选择</option>");
- $("#pjid").addOption("请选择","");
- }
- }
- });
-
- $.ajax({
- type:"post",
- url:url2,
- dataType:"json",
- success: function(data){
- if(data.length != 0){
- eval(data);
- $("#lnid").empty();
- $("#lnid").append("<option value=''>请选择</option>");
-
- for(var i=0; i<data.length; i++){
- $("#lnid").append("<option value='"+data[i].id+"'>"+data[i].name+"</option>");
- }
- }else{
- $("#lnid").empty();
- $("#lnid").append("<option value=''>请选择</option>");
- }
- }
- });
- }
-
-
-
-
- }
- $(document).ready(function(){
-
- });
-
-
-
-
- function queryApData(obj){
- var beginDate=$("#beginDate").val();
- if(beginDate==""){
- alert("请选择开始日期!");
- return;
- }
-
- historyApdata();
-
- }
-
- </script>
- </head>
- <body>
- <form action="" method="post" id="f1">
- <div style="height: 20px"></div>
- <fieldset style="height: 60px" id="fst">
- <legend class="item_Name">查询条件</legend>
- <table width="1300PX">
- <tr>
- <td width="70px" align="right"><label class="item_Name">风场:</label></td>
- <td><s:select cssClass="styled-select" list="wps" listKey="id" listValue="name" id="wpid" name="wpid" onchange="javascript:changeFc(this.value);" ></s:select>
- </td>
- <td width="70px" align="right"><label class="item_Name">项目:</label></td>
- <td> <select name="pjid" id="pjid" style="width: 120px" class="styled-select">
- <option value="">请选择</option>
- </select></td>
- <td width="70px" align="right"> <label class="item_Name">线路:</label></td>
- <td><select name="lnid" id="lnid" style="width: 120px" class="styled-select">
- <option value="">请选择</option>
- </select> </td>
-
- <td width="120px" align="right"><label class="item_Name">日期:</label></td>
- <td><input type="text" class="Wdate" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd',isShowWeek:true,readOnly:true})"
- id="beginDate" name="beginDate"/></td>
- <td><input type="button" width="40px" value="查 询" onClick="queryApData(this)"/>
-
- </tr>
-
- </table>
- </fieldset>
- <div id="menuWindfarm" class="menuContent" style="overflow-y:scroll;overflow-x:auto;z-index:9999; border: 1px solid #617775;background: #f0f6e4;display:none;position: absolute;">
- <!-- <div style="overflow-y:scroll;overflow-x:auto;">-->
- <ul id="treeWindfarm" class="ztree" style="margin-top:0; width:180px; height: 300px;"></ul>
- <!-- </div>
- <div style="padding:5px;margin-left:25px;">
- <input style="width:70px" type="button" value="确定" onClick="selectWindfarm()"/>
- <input style="width:70px;margin-left:5px;" type="button" value="取消" onClick="hideMenuWindfarm()"/>
- </div>-->
- </div>
-
- <div id="menuXl" class="menuContent" style="overflow-y:scroll;overflow-x:auto;z-index:9999; border: 1px solid #617775;background: #f0f6e4;display:none;position: absolute;">
- <!-- <div style="overflow-y:scroll;overflow-x:auto;">-->
- <ul id="treeXl" class="ztree" style="margin-top:0; width:180px; height: 300px;"></ul>
- <!-- </div>
- <div style="padding:5px;margin-left:25px;">
- <input style="width:70px" type="button" value="确定" onClick="selectXl()"/>
- <input style="width:70px;margin-left:5px;" type="button" value="取消" onClick="hideMenuXl()"/>
- </div>-->
- </div>
-
- <div id="menuFj" class="menuContent" style="overflow-y:scroll;overflow-x:auto;z-index:9999; border: 1px solid #617775;background: #f0f6e4;display:none;position: absolute;">
- <!-- <div style="overflow-y:scroll;overflow-x:auto;">-->
- <ul id="treeFj" class="ztree" style="margin-top:0; width:180px; height: 300px;"></ul>
- <!-- </div>
- <div style="padding:5px;margin-left:25px;">
- <input style="width:70px" type="button" value="确定" onClick="selectFj()"/>
- <input style="width:70px;margin-left:5px;" type="button" value="取消" onClick="hideMenuFj()"/>
- </div>-->
- </div>
- <p style="clear:both;height:1px"/>
- <div style="width:100%;height:500px;" id="chartfc"></div>
-
- </div>
- </form>
- </body>
|