7157b945bb0009e49c7264779d990ce081671681.svn-base 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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="../../../../include1.jsp" %>
  8. <script type="text/javascript">
  9. // 对Date的扩展,将 Date 转化为指定格式的String
  10. // 月(M)、日(d)、小时(h)、分(m)、秒(s)、季度(q) 可以用 1-2 个占位符,
  11. // 年(y)可以用 1-4 个占位符,毫秒(S)只能用 1 个占位符(是 1-3 位的数字)
  12. // 例子:
  13. // (allGetServerTime()).Format("yyyy-MM-dd hh:mm:ss.S") ==> 2006-07-02 08:09:04.423
  14. // (allGetServerTime()).Format("yyyy-M-d h:m:s.S") ==> 2006-7-2 8:9:4.18
  15. Date.prototype.Format = function(fmt)
  16. { //author: meizz
  17. var o = {
  18. "M+" : this.getMonth()+1, //月份
  19. "d+" : this.getDate(), //日
  20. "h+" : this.getHours(), //小时
  21. "m+" : this.getMinutes(), //分
  22. "s+" : this.getSeconds(), //秒
  23. "q+" : Math.floor((this.getMonth()+3)/3), //季度
  24. "S" : this.getMilliseconds() //毫秒
  25. };
  26. if(/(y+)/.test(fmt))
  27. fmt=fmt.replace(RegExp.$1, (this.getFullYear()+"").substr(4 - RegExp.$1.length));
  28. for(var k in o)
  29. if(new RegExp("("+ k +")").test(fmt))
  30. fmt = fmt.replace(RegExp.$1, (RegExp.$1.length==1) ? (o[k]) : (("00"+ o[k]).substr((""+ o[k]).length)));
  31. return fmt;
  32. }
  33. //返回主页面
  34. function goBack() {
  35. //获取iframe中的元素值
  36. var iframe =parent.document.getElementsByName("frmright")[0];
  37. iframe.src = "/nwyj/page/business/gps/queryStatistics/list/List.jsp";
  38. }
  39. var fd_objectid="<%=request.getParameter("fd_id")%>";
  40. $(function(){
  41. $("#back").hover(function(){
  42. $(this).attr("src","/nwyj/images/temp/back_hover.png");
  43. },function(){
  44. $(this).attr("src","/nwyj/images/temp/back.png");
  45. });
  46. $("#back").bind("click",goBack);
  47. if(fd_objectid.length>0){
  48. var params = {classid : "613",objectID : fd_objectid};
  49. $.ajax({
  50. url : $.pathname() + '/ws/crud/CRUDService/getDataById/',
  51. type : 'post',
  52. timeout : 15000,
  53. data : params,
  54. dataType : 'json',
  55. success : function(data){
  56. for(col in data){
  57. $("#"+col).text(data[col]);
  58. }
  59. },
  60. error : function(e){
  61. $.messager.alert('访问服务失败!', 'error');
  62. }
  63. });
  64. }
  65. });
  66. </script>
  67. </head>
  68. <body class="bd" align="center" >
  69. <div id="formContent" class="d_ground">
  70. <div class="title" align="center"><a href="javascript:;"><img id='back' class="back" align="left" alt="返回" src="/nwyj/images/temp/back.png" ></img></a><font class="title_font" id="titleShow">查看保供电明细</font></div>
  71. <form id="myFormId" >
  72. <input name="classid" value="610" type="hidden"/>
  73. <input id="FD_OBJECTID610" name="FD_OBJECTID610" type="hidden"/>
  74. <%-- <input id="INPUT_UNIT_610" name="INPUT_UNIT_610" value="<%=request.getSession().getAttribute("unitCode") %>" type="hidden"/>
  75. <input id="INPUT_NAME_610" name="INPUT_NAME_610" value="<%=request.getSession().getAttribute("Real_Name") %>" type="hidden"/>
  76. <input id="INPUT_DATE_610" name="INPUT_DATE_610" type="hidden"/> --%>
  77. <fieldset class="fieldset">
  78. <legend class="legend">基本信息:</legend>
  79. <table class="add_table_style view_table" >
  80. <tr>
  81. <td width="25%" align="right">保供电任务名称:</td>
  82. <td width="25%" ><div name="FD_TASK_NAME_613" id="FD_TASK_NAME_613" ></div></td>
  83. <td width="25%" align="right">保供电级别:</td>
  84. <td width="25%"><div id="BGD_LEVEL_613" name="BGD_LEVEL_613" ></td>
  85. </tr>
  86. <tr>
  87. <td width="25%" align="right">单位:</td>
  88. <td width="25%" ><div id="BGD_DW_613" name="BGD_DW_613" ></div></td>
  89. <td width="25%" align="right">保供电任务时间:</td>
  90. <td width="25%" ><div name="BGD_RW_TIME_613" id="BGD_RW_TIME_613"></div></td>
  91. </tr>
  92. <tr>
  93. <td width="25%" align="right">保供电投入人员(人次):</td>
  94. <td width="25%" ><div name="MAN_COUNT_613" id="MAN_COUNT_613"></div></td>
  95. <td width="25%" align="right">保供电投入车辆(台次):</td>
  96. <td width="25%" ><div name="CAR_COUNT_613" id="CAR_COUNT_613"></div></td>
  97. </tr>
  98. <tr>
  99. <td width="25%" align="right">保供电投入应急发电车(台):</td>
  100. <td width="25%" ><div name="BGD_FDC_613" id="BGD_FDC_613"></div></td>
  101. <td width="25%" align="right">保供电投入应急发电机(台):</td>
  102. <td width="25%" ><div name="BGD_FDJ_613" id="BGD_FDJ_613"></div></td>
  103. </tr>
  104. <tr>
  105. <td width="25%" align="right">型号:</td>
  106. <td width="25%" ><div name="XINGHAO_613" id="XINGHAO_613"></div></td>
  107. <td width="25%" align="right">容量:</td>
  108. <td width="25%" ><div name="RONGLIANG_613" id="RONGLIANG_613"></div></td>
  109. </tr>
  110. <tr>
  111. <td width="25%" align="right">厂家:</td>
  112. <td width="25%" ><div name="CHANJIA_613" id="CHANJIA_613"></div></td>
  113. <td width="25%" align="right">其他应急装备:</td>
  114. <td width="25%" ><div name="QTZHUNGBEI_613" id="QTZHUNGBEI_613"></div></td>
  115. </tr>
  116. </table>
  117. </fieldset>
  118. </form>
  119. </div>
  120. </body>