2d08f8ffb5ea9b6141f0fed26db177ab88e06487.svn-base 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. <%@page contentType="text/html" pageEncoding="UTF-8"%>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title>保供电计划管理_详情</title>
  7. <%@include file="../../../include.jsp" %>
  8. <script type="text/javascript">
  9. //返回主页面
  10. function goBack() {
  11. //获取iframe中的元素值
  12. var iframe =parent.document.getElementsByName("frmright")[0];
  13. iframe.src = "/nwyj/page/business/gps/taskManagement/taskManagement.jsp";
  14. }
  15. var fd_objectid="<%=request.getParameter("fd_id")%>";
  16. $(function(){
  17. $("#back").hover(function(){
  18. $(this).attr("src","/nwyj/images/temp/back_hover.png");
  19. },function(){
  20. $(this).attr("src","/nwyj/images/temp/back.png");
  21. });
  22. $("#back").bind("click",goBack);
  23. if(fd_objectid.length>0){
  24. var params = {classid : "610",objectID : "<%=request.getParameter("fd_id")%>"};
  25. $.ajax({
  26. url : $.pathname() + '/ws/crud/CRUDService/getDataById/',
  27. type : 'post',
  28. timeout : 15000,
  29. data : params,
  30. dataType : 'json',
  31. success : function(data){
  32. //alert(data.GPS_AREA_CITY_610);
  33. /* if(data.IMPLEMENT_TIME_610!=""){
  34. var time = data.IMPLEMENT_TIME_610;
  35. data.IMPLEMENT_TIME_610 = time.substring(0,7)+"月";
  36. } */
  37. //alert(JSON.stringify(data));
  38. for(var i in data){
  39. $("#"+i).html(""+data[i]);
  40. }
  41. $("#GPS_LEVEL_610").html(data.GPS_LEVEL_610_SHOW);
  42. /* if(data.GPS_LEVEL_610==0){
  43. $("#GPS_LEVEL_610").html("特级");
  44. }else if(data.GPS_LEVEL_610==1){
  45. $("#GPS_LEVEL_610").html("一级");
  46. }else if(data.GPS_LEVEL_610==2){
  47. $("#GPS_LEVEL_610").html("二级");
  48. }else if(data.GPS_LEVEL_610==3){
  49. $("#GPS_LEVEL_610").html("三级");
  50. } */
  51. $("#PROGRAM_STATE_610").html(data.PROGRAM_STATE_610_SHOW);
  52. /* if(data.PROGRAM_STATE_610==0){
  53. $("#PROGRAM_STATE_610").html("计划");
  54. }else if(data.PROGRAM_STATE_610==1){
  55. $("#PROGRAM_STATE_610").html("已生成任务");
  56. }else if(data.PROGRAM_STATE_610==2){
  57. $("#PROGRAM_STATE_610").html("任务进行中");
  58. }else if(data.PROGRAM_STATE_610==3){
  59. $("#PROGRAM_STATE_610").html("任务结束");
  60. } */
  61. },
  62. error : function(e){
  63. $.messager.alert('访问服务失败!');
  64. }
  65. });
  66. $("#fileDiv").newAsyncFileUpload("",fd_objectid,0);
  67. }
  68. });
  69. </script>
  70. <style type="text/css">
  71. .class_color{
  72. font-weight: bold;
  73. color: #5A5353;
  74. }
  75. td div{text-align: left;}
  76. </style>
  77. </head>
  78. <body class="bd" align="center" >
  79. <div id="formContent" class="d_ground">
  80. <div class="title" align="center"><a href="javascript:;"><img class="back" id='back' align="left" alt="返回" src="/nwyj/images/temp/back.png" ></img></a><font class="title_font" id="titleShow">查看保供电计划</font></div>
  81. <form id="myFormId" method="get">
  82. <div name="classid" value="610" type="hidden"/>
  83. <div name="FD_OBJECTID610" id="FD_OBJECTID610" style="display: none"></div>
  84. <%-- <div id="INPUT_UNIT_610" name="INPUT_UNIT_610" value="<%=request.getSession().getAttribute("unitCode") %>" type="hidden"/>
  85. <div id="INPUT_NAME_610" name="INPUT_NAME_610" value="<%=request.getSession().getAttribute("Real_Name") %>" type="hidden"/>
  86. <div id="INPUT_DATE_610" name="INPUT_DATE_610" type="hidden"/> --%>
  87. <!-- <fieldset class="fieldset">
  88. <legend class="legend">基本信息:</legend>
  89. <table class="tableStyle" >
  90. <tr>
  91. <td width="20%" align="right">保供电任务名称:</td>
  92. <td width="80%"><div name="REPORT_NAME_610" id="REPORT_NAME_610" value="" disabled="disabled" maxlength="" style="width:90%"></td>
  93. <td width="30%"><div name="PROGRAM_NAME_610" id="PROGRAM_NAME_610" style="width:90%"></div></td>
  94. <td width="20%" align="right">保供电级别:</td>
  95. <td width="30%"><div name="GPS_LEVEL_610" id="GPS_LEVEL_610" style="width:90%"></div></td>
  96. <td width="80%"><div name="EARLY_ID_610" id="EARLY_WARNING_ID_610" value="" disabled="disabled" maxlength="" style="width:90%"></td>
  97. </tr>
  98. </tr>
  99. <td align="right">开始时间:</td>
  100. <td ><div id="START_TIME_610" style="width:90%"></div></td>
  101. <td align="right">结束时间:</td>
  102. <td ><div id="END_TIME_610" style="width:90%"></div></td>
  103. <tr>
  104. <tr>
  105. <td align="right">保供电责任单位:</td>
  106. <td width="80%"><div disabled="disabled" name="REPORT_TYPE_610" id="REPORT_TYPE_610" prompt="请选择" selWidth="720" >
  107. <td colspan="3"><div name="GPS_AREA_CITY_610" id="GPS_AREA_CITY_610" style="width:90%"></div></td>
  108. </tr>
  109. <tr id="RETURN_EXPLAIN">
  110. <td align="right">计划状态:</td>
  111. <td width="80%"><div disabled="disabled" name="REPORT_TYPE_610" id="REPORT_TYPE_610" prompt="请选择" selWidth="720" >
  112. <td colspan="3"><div name="PROGRAM_STATE_610" id="PROGRAM_STATE_610" style="width:90%"></div></td>
  113. </tr>
  114. <tr >
  115. <td align="right">保供电涉及到的变电站(设备)、线路及客户名称:</td>
  116. <td width="80%"><div disabled="disabled" name="REPORT_TYPE_610" id="REPORT_TYPE_610" prompt="请选择" selWidth="720" >
  117. <td colspan="3"><div name="GPS_SM_610" id="GPS_SM_610" style="width:100%"></div></td>
  118. </tr>
  119. <tr >
  120. <td align="right">保供电任务来源:</td>
  121. <td width="80%"><div disabled="disabled" name="REPORT_TYPE_610" id="REPORT_TYPE_610" prompt="请选择" selWidth="720" >
  122. <td colspan="3"><div name="GPS_SIREL_610" id="GPS_SIREL_610" style="width:90%"></div></td>
  123. </tr>
  124. <tr >
  125. <td align="right">保供电任务来源文件:</td>
  126. <td width="80%"><div disabled="disabled" name="REPORT_TYPE_610" id="REPORT_TYPE_610" prompt="请选择" selWidth="720" >
  127. <td colspan="3"><div name="fileDiv" class="fileDiv" style="width:90%"></div></td>
  128. </tr>
  129. </table>
  130. </fieldset> -->
  131. <fieldset class="fieldset">
  132. <legend class="legend">基本信息:</legend>
  133. <table class="tableStyle" >
  134. <tr>
  135. <td width="20%" align="right" >任务名称:</td>
  136. <td width="30%" ><div name="PROGRAM_NAME_610" id="PROGRAM_NAME_610" ></td>
  137. <td width="20%" align="right">任务性质:</td>
  138. <td width="30%" ><div id="GPS_TASK_PROPERTY_610_SHOW" name="GPS_TASK_PROPERTY_610_SHOW"></div></td>
  139. </tr>
  140. <tr>
  141. <td align="right" >任务编号:</td>
  142. <td ><div name="GPS_TASK_NUMBER_610" id="GPS_TASK_NUMBER_610"></td>
  143. <td align="right">任务级别:</td>
  144. <td ><div id="GPS_LEVEL_610_SHOW" name="GPS_LEVEL_610_SHOW" ></div></td>
  145. </tr>
  146. <tr>
  147. <td align="right" >保供电区域:</td>
  148. <td ><div name="GPS_AREA_CITY_610" id="GPS_AREA_CITY_610" ></td>
  149. <td align="right">任务类别:</td>
  150. <td ><div id="GPS_TASK_TYPE_610_SHOW" name="GPS_TASK_TYPE_610_SHOW" ></div></td>
  151. </tr>
  152. <tr>
  153. <td align="right">任务计划性:</td>
  154. <td ><div id="GPS_TASK_PLAN_TYPE_610_SHOW" name="GPS_TASK_PLAN_TYPE_610_SHOW" ></div></td>
  155. <td align="right">任务来源:</td>
  156. <td ><div id="GPS_SIREL_610_SHOW" name="GPS_SIREL_610_SHOW" ></div></td>
  157. </tr>
  158. <tr>
  159. <td align="right">开始日期:</td>
  160. <td ><div id="START_TIME_610" readOnly="readOnly" name="START_TIME_610" ></div></td>
  161. <td align="right">结束日期:</td>
  162. <td ><div id="END_TIME_610" readOnly="readOnly" name="END_TIME_610" ></div></td>
  163. </tr>
  164. <tr>
  165. <td align="right">保供电实施单位:</td>
  166. <td colspan="3" ><div id="GPS_AREA_NAME_610" style='word-wrap:break-word; word-break:break-all;display:block;width:97%;' ></div></td>
  167. </tr>
  168. </table>
  169. </fieldset>
  170. <!-- <fieldset class="fieldset">
  171. <legend class="legend">保供电资源投入:</legend>
  172. <fieldset class="fieldset1">
  173. <legend class="legend">应急发电车(UPS电源):</legend>
  174. <table class="tableStyle" >
  175. <tr>
  176. <td width="20%" align="right">单日最大用量/台:</td>
  177. <td width="30%" ><div name="GPS_TASK_FDC_DAY_610" id="GPS_TASK_FDC_DAY_610"></div></td>
  178. <td width="20%" align="right">投入总量/台次:</td>
  179. <td width="30%" ><div name="GPS_TASK__FDC_TOTAL_610" id="GPS_TASK__FDC_TOTAL_610"></div></td>
  180. </tr>
  181. </table>
  182. </fieldset>
  183. <fieldset class="fieldset1">
  184. <legend class="legend">应急发电机(UPS电源):</legend>
  185. <table class="tableStyle" >
  186. <tr>
  187. <td width="20%" align="right">单日最大用量/台:</td>
  188. <td width="30%" ><div name="GPS_TASK_FDJ_DAY_610" id="GPS_TASK_FDJ_DAY_610"></div></td>
  189. <td width="20%" align="right">投入总量/台次:</td>
  190. <td width="30%" ><div name="GPS_TASK_FDJ_TOTAL_610" id="GPS_TASK_FDJ_TOTAL_610"></div></td>
  191. </tr>
  192. </table>
  193. </fieldset>
  194. <table class="tableStyle" >
  195. <tr>
  196. <td width="20%" align="right">车辆/辆次:</td>
  197. <td colspan="3" ><div name="GPS_TASK_CAR_610" id="GPS_TASK_CAR_610"></div></td>
  198. </tr>
  199. </table>
  200. </fieldset>
  201. <fieldset class="fieldset">
  202. <legend class="legend">保供电人员投入:</legend>
  203. <table class="tableStyle" >
  204. <tr>
  205. <td width="20%" align="right">值班指挥管理人员/人日:</td>
  206. <td width="30%" ><div name="GPS_TASK_ZBZHGLRY_610" id="GPS_TASK_ZBZHGLRY_610"></div></td>
  207. <td width="20%" align="right">本单位班组人员/人日:</td>
  208. <td width="30%" ><div name="GPS_TASK_BDWBZRY_610" id="GPS_TASK_BDWBZRY_610"></div></td>
  209. </tr>
  210. <tr>
  211. <td align="right">安保人员/人日:</td>
  212. <td ><div name="GPS_TASK_ABRY_610" id="GPS_TASK_ABRY_610"></div></td>
  213. <td align="right">外委生产人员/人日:</td>
  214. <td ><div name="GPS_TASK_WWSCRY_610" id="GPS_TASK_WWSCRY_610"></div></td>
  215. </tr>
  216. </table>
  217. </fieldset> -->
  218. <fieldset class="fieldset">
  219. <legend class="legend">保供电来源文件:</legend>
  220. <table class="add_table_style file_table" >
  221. <tr>
  222. <td width="120px" align="right"><span class="td-font">附件:</span></td>
  223. <td width="680px" colspan="3" ><div style="width:100%" id="fileDiv" name="fileDiv" ></div></td>
  224. </tr>
  225. </table>
  226. </fieldset>
  227. <fieldset class="fieldset">
  228. <legend class="legend">录入人信息:</legend>
  229. <table class="tableStyle" >
  230. <tr>
  231. <td width="20%" align="right">填报单位:</td>
  232. <!-- <td width="80%"><div disabled="disabled" name="REPORT_TYPE_610" id="REPORT_TYPE_610" prompt="请选择" selWidth="720" > -->
  233. <td width="30%"><div name="INPUT_UNIT_NAME_610" id="INPUT_UNIT_NAME_610" style="width:90%"></div></td>
  234. <td width="20%" align="right">填报人:</td>
  235. <!-- <td width="80%"><div disabled="disabled" name="REPORT_TYPE_610" id="REPORT_TYPE_610" prompt="请选择" selWidth="720" > -->
  236. <td width="30%"><div name="INPUT_NAME_610" id="INPUT_NAME_610" style="width:90%"></div></td>
  237. </tr>
  238. <tr>
  239. <td align="right">填报时间:</td>
  240. <td colspan="3"><div name="INPUT_TIME_610" id="INPUT_TIME_610" style="width:90%"></div></td>
  241. </tr>
  242. </table>
  243. </fieldset>
  244. </form>
  245. <div id="maingrid"></div>
  246. </div>
  247. </body>