466eca5e0b7a65ffcf4186d07fe7fbcc4894268f.svn-base 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. <%@page language="java" 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. <!--框架必需start-->
  8. <%@include file="../../../../include1.jsp" %>
  9. <!--框架必需end-->
  10. <script type="text/javascript" src="/nwyj/page/business/em/report/reportCss/tableStyle.js"></script>
  11. <link href="/nwyj/page/business/em/report/reportCss/warnningreport.css" rel="stylesheet" type="text/css" />
  12. <style type="text/css">
  13. body,div,ul,li,p{
  14. margin:0;
  15. padding:0;
  16. font-size: 14px;
  17. }
  18. .d_ground{
  19. border: 1px solid #cdcaca;
  20. background: white;
  21. width:1000px;
  22. }
  23. .fieldset{
  24. border-style:solid;
  25. border-width:1px;
  26. border-color:#cdcaca;
  27. margin:0px 20px 20px 20px;
  28. width: 935px
  29. }
  30. </style>
  31. <script type="text/javascript" >
  32. $(function(){
  33. //修改表单信息,获取记录
  34. if((window.location.href).indexOf('?')>-1){
  35. var fd_id = (window.location.href).split('?')[1];
  36. var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
  37. var params = {
  38. classid : '283',
  39. objectID : fd_id
  40. };
  41. $.ajax({
  42. url : url,
  43. type : 'post',
  44. timeout : 60000,
  45. data : params,
  46. dataType : 'json',
  47. success : function(data){
  48. for(var i in data){
  49. $('#'+i).html(data[i]);
  50. }
  51. $("#TYPEIN_TIME").html(data.UPDATEDATE_283);
  52. typein(data.TYPEIN_PEOPLE_283);
  53. },
  54. error : function(e){
  55. top.Dialog.alert('系统提示信息', '访问服务失败!', 'error');
  56. }
  57. });
  58. }
  59. $("#goback a img").hover(function(){
  60. $(this).attr("src","/nwyj/images/temp/back_hover.png");
  61. },function(){
  62. $(this).attr("src","/nwyj/images/temp/back.png");
  63. });
  64. setTimeout('setHight()', 200);
  65. });
  66. //录入人信息
  67. function typein(id){
  68. var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
  69. var params1 = {
  70. classid : '880',
  71. objectID : id
  72. };
  73. $.ajax({
  74. url : url,
  75. type : 'post',
  76. timeout : 60000,
  77. data : params1,
  78. async:false, //异步
  79. dataType : 'json',
  80. success : function(data){
  81. $("#TYPEIN_PEOPLE").html(data.REAL_NAME_880); //录入人
  82. $("#TYPEIN_PEOPLE_PHONE_NUM").html(data.MOBILE_880); //手机
  83. //$("#UNITE").html(data.COMPANY_ID_880_SHOW);//所属单位
  84. $("#DEPT").html(data.ORG_ID_880_SHOW);//所属部门
  85. getDeptName(data.DEPT_ID_880);
  86. },
  87. error : function(e){
  88. $.messager.alert('系统提示信息', '访问服务失败!', 'error');
  89. }
  90. });
  91. }
  92. function getDeptName(id){
  93. $.ajax({
  94. url : $.pathname()+ "/ws/DrillCount/DrillCountService/getDeptNameInfo",
  95. type : 'post',
  96. timeout : 60000,
  97. data : {id:id},
  98. dataType : 'text',
  99. success : function(data){
  100. $("#UNITE").html(data);
  101. }
  102. });
  103. }
  104. </script>
  105. </head>
  106. <body style="width: 1000px; margin:0 auto; margin-top:15px" align="center">
  107. <div class="d_ground">
  108. <div style="position: relative;" class="titlehead">
  109. <div class="go_img" id="goback">
  110. <a href="javascript:;">
  111. <!-- <img id="back" align="left" alt="返回" src="/nwyj/images/temp/back.png" onclick="window.history.back()"></img> -->
  112. </a>
  113. </div>
  114. <font class="titleMsg">外部应急资源详细信息</font>
  115. </div>
  116. <br />
  117. <fieldset class="fieldset">
  118. <legend>基本信息</legend>
  119. <table class="tableStyle" align="center">
  120. <tr>
  121. <td width="120px" align="right" class="class_color">资源名称:</td>
  122. <td width="280px"><div type="text" id="RESOURCE_NAME_283" name="RESOURCE_NAME_283" /></td>
  123. <td width="120px" align="right" class="class_color">资源类别:</td>
  124. <td width="280px"><div type="text" id="RESOURCE_TYPE_283_SHOW" name="RESOURCE_TYPE_283_SHOW" /></td>
  125. </tr>
  126. <tr>
  127. <td align="right" class="class_color">规格型号:</td>
  128. <td><div type="text" id="SPECIFICATION_MODEL_283" name="SPECIFICATION_MODEL_283" /></td>
  129. <td align="right" class="class_color">参数:</td>
  130. <td><div type="text" id="PARAMETER_283" name="PARAMETER_283" /></td>
  131. </tr>
  132. <tr>
  133. <td align="right" class="class_color">数量:</td>
  134. <td><div type="text" id="NUM_283" name="NUM_283" /></td>
  135. <td align="right" class="class_color">所在地址:</td>
  136. <td><div type="text" id="ADDRESS_283" name="ADDRESS_283" /></td>
  137. </tr>
  138. <tr>
  139. <td align="right" class="class_color">所属单位:</td>
  140. <td><div type="text" id="SUB_UNIT_283_SHOW" name="SUB_UNIT_283_SHOW" /></td>
  141. <td align="right" class="class_color">联系人:</td>
  142. <td><div type="text" id="LINKMAN_283" name="LINKMAN_283" /></td>
  143. </tr>
  144. <tr>
  145. <td align="right" class="class_color">座机:</td>
  146. <td><div type="text" id="TELEPHONE_283" name="TELEPHONE_283" /></td>
  147. <td align="right" class="class_color">手机:</td>
  148. <td><div type="text" id="CELLPHONE_283" name="CELLPHONE_283" /></td>
  149. </tr>
  150. </table>
  151. </fieldset>
  152. <fieldset class="fieldset">
  153. <legend>填写人员信息</legend>
  154. <table class="tableStyle" align="center" id="fillForm">
  155. <tr>
  156. <td width="120px" align="right" class="class_color">单位:</td>
  157. <td width="280px"><div style="width:97%" name="UNITE" id="UNITE" /></td>
  158. <td width="120px" align="right" class="class_color">部门:</td>
  159. <td width="280px"><div name="DEPT" id="DEPT" /></td>
  160. </tr>
  161. <tr>
  162. <td align="right" class="class_color">填写人员:</td>
  163. <td><div name="TYPEIN_PEOPLE" id="TYPEIN_PEOPLE" /></td><!-- style="text-decoration:underline;color:#0000FF" -->
  164. <td align="right" class="class_color">填写人员联系方式:</td>
  165. <td><div name="TYPEIN_PEOPLE_PHONE_NUM" id="TYPEIN_PEOPLE_PHONE_NUM" /></td>
  166. </tr>
  167. <tr>
  168. <td align="right" class="class_color">录入时间:</td>
  169. <td colspan="3"><div name="" id="TYPEIN_TIME"></div></td>
  170. </tr>
  171. </table>
  172. </fieldset>
  173. </div>
  174. </body>
  175. </html>