involList.jsp 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. <%@ page language="java" contentType="text/html;charset=utf-8" pageEncoding="UTF-8"%>
  2. <%@include file="/pages/includes/taglibs.jsp"%>
  3. <head>
  4. <script src="<%=request.getContextPath()%>/resource/js/datePicker/WdatePicker.js" type="text/javascript"></script>
  5. <link href="../pages/report/eqRunInfo.css" rel="stylesheet" type="text/css" />
  6. <script language="javascript">
  7. $(document).ready(function() {
  8. var bch = document.documentElement.clientHeight;
  9. var h = bch-140;
  10. $("#_runInfoDiv").css("height",h);
  11. });
  12. function resetForm(){
  13. $("#vo_staId").val("");
  14. $("#vo_startDate").val("");
  15. $("#vo_endDate").val("");
  16. $("#vo_reason").val("");
  17. $("#vo_handleResult").val("");
  18. $("#vo_leftSymbol").val("");
  19. $("#vo_leftNumber").val("");
  20. $("#vo_rightSymbol").val("");
  21. $("#vo_rightNumber").val("");
  22. }
  23. function submitForm(){
  24. if (!$("#vo_startDate").val()) {
  25. alert('开始时间不能为空');
  26. return;
  27. }
  28. if (!$("#vo_endDate").val()) {
  29. alert('时间不能为空');
  30. return;
  31. }
  32. $("#f1").attr("action","involList.action").submit();
  33. }
  34. // function exportExcel(){
  35. // $("#f1").attr("action","eqRunInfoQuery_involExport.action").submit();
  36. // }
  37. </script>
  38. <style>
  39. a{ /* 统一设置所以样式 */
  40. font-family:Arial;
  41. font-size:12px;
  42. text-align:center;
  43. margin:3px;
  44. }
  45. a:link,a:visited{ /* 超链接正常状态、被访问过的样式 */
  46. color:#000000;
  47. padding:4px 10px 4px 10px;
  48. background-color:#f1f1f1;
  49. text-decoration:none;
  50. border-top:1px solid #EEEEEE; /* 边框实现阴影效果 */
  51. border-left:1px solid #EEEEEE;
  52. border-bottom:1px solid #717171;
  53. border-right:1px solid #717171;
  54. }
  55. a:hover{ /* 鼠标指针经过时的超链接 */
  56. color:#821818; /* 改变文字颜色 */
  57. padding:5px 8px 3px 12px; /* 改变文字位置 */
  58. background-color:#e2c4c9; /* 改变背景色 */
  59. border-top:1px solid #717171; /* 边框变换,实现“按下去”的效果 */
  60. border-left:1px solid #717171;
  61. border-bottom:1px solid #EEEEEE;
  62. border-right:1px solid #EEEEEE;
  63. }
  64. fieldset legend {
  65. color:#302A2A;
  66. font: bold 16px/2 Verdana, Geneva, sans-serif;
  67. font-weight: bold;
  68. text-align: left;
  69. text-shadow: 2px 2px 2px rgb(88, 126, 156);
  70. }
  71. fieldset legend {
  72. color:#302A2A;
  73. font: bold 16px/2 Verdana, Geneva, sans-serif;
  74. font-weight: bold;
  75. text-align: left;
  76. text-shadow: 2px 2px 2px rgb(88, 126, 156);
  77. }
  78. .modifyTextFiled50px {
  79. width: 50px;
  80. }
  81. </style>
  82. </head>
  83. <body>
  84. <s:actionerror />
  85. <s:actionmessage />
  86. <s:form action="" method="post" id="f1">
  87. <fieldset style="height: 80px; width: 1980px" id="fst">
  88. <legend class="item_Name">查询条件</legend>
  89. <table style="width: 100%;">
  90. <tr>
  91. <td align="left" >
  92. 选择风场:
  93. <s:select id="vo_staId" list="stations" name="queryVo.staId" listKey="id" listValue="name" headerKey="" headerValue="全部风场" cssClass="modifySelect150px"/>
  94. &nbsp;&nbsp;&nbsp;&nbsp;
  95. 开始时间:
  96. <input id="vo_startDate" type="text" class="Wdate modifySelect150px" name="queryVo.startDate" value='<s:date name="queryVo.startDate" format="yyyy-MM-dd HH:mm:ss"/>'
  97. onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',startDate:'%y-%M-%d 00:00:00',isShowWeek:true,readOnly:true})" title="选择日期"/>
  98. &nbsp;&nbsp;&nbsp;&nbsp;
  99. 结束时间:
  100. <input id="vo_endDate" type="text" class="Wdate modifySelect150px" name="queryVo.endDate" value='<s:date name="queryVo.endDate" format="yyyy-MM-dd HH:mm:ss"/>'
  101. onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',startDate:'%y-%M-%d 00:00:00',isShowWeek:true,readOnly:true})" title="选择日期"/>
  102. &nbsp;&nbsp;&nbsp;&nbsp;
  103. 处理结果:
  104. <s:select id="vo_handleResult" name="queryVo.handleResult" list="#{'1':'尚未处理(未运行)','0':'就地复位恢复(已运行)','2':'远程复位恢复' }" headerKey="" headerValue="请选择" cssClass="modifySelect150px"/>
  105. </td>
  106. <td width="10%" align="right">
  107. </td>
  108. </tr>
  109. <tr>
  110. <td align="left" >
  111. 停机时间:
  112. <s:select id="vo_leftSymbol" name="queryVo.leftSymbol" list="#{'>':'大于','>=':'大于等于' }" headerKey="" headerValue="" cssClass="modifySelect80px"/>
  113. <s:textfield id="vo_leftNumber" name="queryVo.leftNumber" cssClass="modifyTextFiled50px"/>&nbsp;小时
  114. &nbsp;&nbsp;&nbsp;&nbsp;
  115. <s:select id="vo_rightSymbol" name="queryVo.rightSymbol" list="#{'<':'小于','<=':'小于等于' }" headerKey="" headerValue="" cssClass="modifySelect80px"/>
  116. <s:textfield id="vo_rightNumber" name="queryVo.rightNumber" cssClass="modifyTextFiled50px"/>&nbsp;小时
  117. <%-- <s:select name="queryVo.rightNumber" list="#{'24.0':'1','168.0':'7','360.0':'15'}" headerKey="" headerValue=""></s:select>天 --%>
  118. &nbsp;&nbsp;&nbsp;&nbsp;
  119. 停机原因:
  120. <s:textfield id="vo_reason" name="queryVo.reason" cssClass="modifyTextFiled250px"/>
  121. <a style="margin-left:50px;" href="#" onclick="javascript:submitForm();">查询</a>
  122. <a style="margin-left:10px;" href="#" onclick="javascript:resetForm();">重置</a>
  123. </td>
  124. </tr>
  125. </table>
  126. </fieldset>
  127. </s:form>
  128. <br/>
  129. <!-- <div class="headDiv"> -->
  130. <!-- <label>设备受累情况</label> -->
  131. <!-- </div> -->
  132. <table border="1" style="width: 2008px" cellspacing="0" cellpadding="0">
  133. <tr>
  134. <th style="width: 40px;">序号</th>
  135. <th style="width: 180px;">期别</th>
  136. <th style="width: 300px;">机组编号</th>
  137. <th style="width: 140px;">停机时间</th>
  138. <th style="width: 140px;">启机时间</th>
  139. <th style="width: 200px;">停机原因</th>
  140. <th style="width: 100px;">停机时间</br>(小时)</th>
  141. <th style="width: 100px;">损失电量</br>(万KWh)</th>
  142. <th style="width: 100px;">恢复情况</th>
  143. <!-- <th style="width: 100px;">设备专责人</th>
  144. <th style="width: 100px;">消缺跟踪人</th> -->
  145. </tr>
  146. <s:iterator value="involList" status="var">
  147. <tr>
  148. <td style="text-align:center;">${var.index+1}</td>
  149. <td style="text-align:center;">${proName} </td>
  150. <td style="word-break:break-all;word-wrap:break-word;text-align:left;">${eqCodes }</td>
  151. <td style="text-align:center;">${startTime }</td>
  152. <td style="text-align:center;">${endTime }</td>
  153. <td style="text-align:center;">${stopReason }</td>
  154. <td style="text-align:center;">${conHoursStr }</td>
  155. <td style="text-align:center;">${lossPowersStr }</td>
  156. <td style="text-align:center;">${statusName}</td>
  157. <!-- <td style="text-align:left;"></td>
  158. <td style="text-align:left;"></td> -->
  159. </tr>
  160. </s:iterator>
  161. </table>
  162. </body>