b7006637256c87e02abe14adc3888b20eb28f88c.svn-base 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>应急制度规范文件</title>
  6. <!--框架必需start-->
  7. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/jquery.js"></script>
  8. <script type="text/javascript"
  9. src="/nwyj/scripts/qui/libs/js/language/cn.js"></script>
  10. <script type="text/javascript"
  11. src="/nwyj/scripts/qui/libs/js/framework.js"></script>
  12. <link href="/nwyj/scripts/qui/libs/css/import_basic.css"
  13. rel="stylesheet" type="text/css" />
  14. <link rel="stylesheet" type="text/css" id="skin"
  15. prePath="/nwyj/scripts/qui/" />
  16. <link rel="stylesheet" type="text/css" id="customSkin" />
  17. <!--框架必需end-->
  18. <script type="text/javascript"
  19. src="/nwyj/scripts/qui/libs/js/form/form.js"></script>
  20. <script type="text/javascript"
  21. src="/nwyj/scripts/qui/libs/js/form/validation.js"></script>
  22. <script type="text/javascript"
  23. src="/nwyj/scripts/qui/libs/js/form/validationRule.js"></script>
  24. <script type="text/javascript"
  25. src="/nwyj/scripts/qui/libs/js/popup/messager.js"></script>
  26. <!--弹窗组件start-->
  27. <script type="text/javascript"
  28. src="/nwyj/scripts/qui/libs/js/popup/drag.js"></script>
  29. <script type="text/javascript"
  30. src="/nwyj/scripts/qui/libs/js/popup/dialog.js"></script>
  31. <!--弹窗组件end-->
  32. <!--弹出式提示框start-->
  33. <script type="text/javascript"
  34. src="/nwyj/scripts/qui/libs/js/popup/messager.js"></script>
  35. <!--弹出式提示框end-->
  36. <!--数据表格start-->
  37. <script src="/nwyj/scripts/qui/libs/js/table/quiGrid.js"
  38. type="text/javascript"></script>
  39. <!--数据表格end-->
  40. <!--树组件start-->
  41. <link rel="stylesheet" type="text/css"
  42. href="/nwyj/scripts/qui/libs/js/tree/ztree/ztree.css" />
  43. <script type="text/javascript"
  44. src="/nwyj/scripts/qui/libs/js/tree/ztree/ztree.js"></script>
  45. <script type="text/javascript"
  46. src="/nwyj/scripts/qui/libs/js/form/selectTree.js"></script>
  47. <script type="text/javascript"
  48. src="/nwyj/scripts/qui/libs/js/form/listerTree.js"></script>
  49. <!--树组件end-->
  50. <!-- 日期选择框start -->
  51. <script type="text/javascript"
  52. src="/nwyj/scripts/qui/libs/js/form/datePicker/WdatePicker.js"></script>
  53. <!-- 日期选择框end -->
  54. <!-- 扩展工具js -->
  55. <script type="text/javascript" src="/nwyj/scripts/common/common.js"></script>
  56. <script type="text/javascript"
  57. src="/nwyj/scripts/jquery/plugins/jquery.extension.util.js"></script>
  58. <script type="text/javascript"
  59. src="/nwyj/scripts/freamwork/com/sinosoft/common/common.js"></script>
  60. <style type="text/css">
  61. /* .title_class #fileTitle {
  62. font-size: 20px;
  63. color: blue;
  64. }
  65. .iclass {
  66. float: left;
  67. margin: 0px 0px 0px 0px;
  68. }
  69. .textarea_class {
  70. width: 440px;
  71. height: 100px;
  72. }
  73. .table_class {
  74. width: 100%;
  75. margin: 0 auto;
  76. }
  77. .tool_class {
  78. display: inline-block;
  79. float: right;
  80. } */
  81. </style>
  82. </head>
  83. <body>
  84. <div class="box1" id="formContent"
  85. style="overflow:auto;height:545px;border: 1px solid #E4E4E4;background: #F8F8F8;">
  86. <div style="height: 50px;background: #F8F8F8;" align="center">
  87. <img align="left" alt="返回" title="返回" src="/nwyj/images/temp/back.png" id="back">
  88. </img>
  89. <font style="font-weight: bold;font-size: 20px;line-height: 45px;" id="fileTitle"></font></div>
  90. <div>
  91. <table class="tableStyle" formMode="view">
  92. <tr>
  93. <td>标题:</td>
  94. <td id="FILE_TITLE_231" name="FILE_TITLE_231">
  95. </td>
  96. <td width="15%">分类:</td>
  97. <td width="35%" name="FILE_CLASSIFY_231_SHOW" id="FILE_CLASSIFY_231_SHOW">
  98. </td>
  99. </tr>
  100. <tr>
  101. <td>归档人:</td>
  102. <td id="PIGEONHOLE_MAN_ID_231_SHOW" name="PIGEONHOLE_MAN_ID_231_SHOW">
  103. </td>
  104. <td width="15%">发布部门:</td>
  105. <td width="35%" name="DEPT_ID_231_SHOW" id="DEPT_ID_231_SHOW">
  106. </td>
  107. </tr>
  108. <tr>
  109. <td width="15%">变更类型:</td>
  110. <td width="35%" name="FILE_CHANGE_TYPE_231_SHOW" id="FILE_CHANGE_TYPE_231_SHOW">
  111. </td>
  112. <td width="15%">保密等级:</td>
  113. <td width="35%" id="FILE_SECURITY_231_SHOW" name="FILE_SECURITY_231_SHOW">
  114. </td>
  115. </tr>
  116. <tr>
  117. <td width="15%">归档日期:</td>
  118. <td width="35%" name="PIGEONHOLE_DATE_231" id="PIGEONHOLE_DATE_231">
  119. </td>
  120. <td width="15%">发文日期:</td>
  121. <td width="35%" id="DISPATCH_DATE_231" name="DISPATCH_DATE_231">
  122. </td>
  123. </tr>
  124. <tr>
  125. <td width="15%">变更说明:</td>
  126. <td width="35%" id="FILE_CHANGE_DETAIL_231" name="FILE_CHANGE_DETAIL_231">
  127. </td>
  128. <td width="15%">摘要:</td>
  129. <td width="35%" id="FILE_CONTENT_231" name="FILE_CONTENT_231">
  130. </td>
  131. </tr>
  132. </table>
  133. <div id="maingrid"></div>
  134. </form>
  135. </div>
  136. </div>
  137. <script type="text/javascript">
  138. $(function() {
  139. $("#back").click(function(){
  140. goBack();
  141. });
  142. document.getElementById("fileTitle").innerHTML = "查看保供电应急制度规范文件";
  143. /* var iframe = parent.document.getElementById("frmright");
  144. var iframeUrl = iframe.src; */
  145. var iframe = parent.document.getElementsByName("frmrightChild")[0];
  146. var iframeUrl = iframe.src;
  147. //判定查看详情--》更新界面显示的信息
  148. var fd_id = (iframeUrl).split('?')[1];
  149. //加载已上传的附件grid表格
  150. getFileList(fd_id,0);
  151. var url = $.pathname() + "/ws/crud/CRUDService/getDataById/";
  152. var params = {
  153. classid : '231',
  154. objectID : fd_id
  155. };
  156. /* ajax请求 */
  157. $.ajax({
  158. url : url,
  159. type : 'post',
  160. timeout : 60000,
  161. data : params,
  162. dataType : 'json',
  163. success : function(data) {
  164. /* $('#fillForm').ajaxWrite({
  165. data : data
  166. }); */
  167. $("#FILE_TITLE_231").html(data.FILE_TITLE_231);
  168. $("#FILE_CLASSIFY_231_SHOW").html(data.FILE_CLASSIFY_231_SHOW);
  169. $("#PIGEONHOLE_MAN_ID_231_SHOW").html(data.PIGEONHOLE_MAN_ID_231_SHOW);
  170. $("#DEPT_ID_231_SHOW").html(data.DEPT_ID_231_SHOW);
  171. $("#FILE_CHANGE_TYPE_231_SHOW").html(data.FILE_CHANGE_TYPE_231_SHOW);
  172. $("#FILE_SECURITY_231_SHOW").html(data.FILE_SECURITY_231_SHOW);
  173. $("#PIGEONHOLE_DATE_231").html(data.PIGEONHOLE_DATE_231);
  174. $("#DISPATCH_DATE_231").html(data.DISPATCH_DATE_231);
  175. $("#FILE_CHANGE_DETAIL_231").html(data.FILE_CHANGE_DETAIL_231);
  176. $("#FILE_CONTENT_231").html(data.FILE_CONTENT_231);
  177. },
  178. error : function(e) {
  179. top.Dialog.alert('系统提示信息', '访问服务失败!', 'error');
  180. }
  181. });
  182. });
  183. //封装切换iframe的地址方法
  184. function changeUrl(url){
  185. var changedUrl = parent.document.getElementsByName("frmrightChild")[0];
  186. changedUrl.src = url;
  187. return changedUrl;
  188. }
  189. //返回按钮 返回到制度规范文件列表
  190. function goBack() {
  191. /* var iframe = parent.document.getElementById("frmright");
  192. iframe.src = "business/am/PPSFile/PPS-file-management.html"; */
  193. changeUrl($.pathname()+"/page/business/am/PPSFile/PPS-file-management.html");
  194. }
  195. </script>
  196. </body>
  197. </html>