8fb85716d9857b97605f03b3ba726142c321c8e3.svn-base 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  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" src="/nwyj/page/business/em/report/reportCss/tableStyle.js"></script>
  9. <link href="/nwyj/page/business/em/report/reportCss/warnningreport.css" rel="stylesheet" type="text/css" />
  10. <!-- 业务JS -->
  11. <script type="text/javascript" src="<%=path%>/scripts/business/am/fileManager/laws/laws_view.js"></script>
  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. var fd_id = (window.location.href).split('?')[1];
  34. var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
  35. var params = {
  36. classid : '243',
  37. objectID : fd_id
  38. };
  39. $.ajax({
  40. url : url,
  41. type : 'post',
  42. timeout : 60000,
  43. data : params,
  44. async:false, //异步
  45. dataType : 'json',
  46. success : function(data){
  47. var but = data.COLUMN_3_243;var but2 = data.COLUMN_4_243;var people = "'"+data.TYPEIN_PEOPLE_243+"'";var lawsid = "'"+fd_id+"'";
  48. if((window.location.href).split('?')[2]!="1"){
  49. if(but=="0"){
  50. $("#share").html("");
  51. var $button = $('<input value="发布" type="button" onclick="fabu('+lawsid+','+people+')" />&nbsp;&nbsp;<input " value="共享" type="button" onclick="share()"/>');
  52. $("#share").append($button);
  53. $button.render();
  54. }else if(but2=="0"){
  55. $("#share").html("");
  56. var $button1 = $('<input id="save2" value="共享" type="button" onclick="share2('+lawsid+','+people+')"/>')
  57. $("#share").append($button1);
  58. $button1.render();
  59. }else if(but2=="1"){
  60. $("#share").html("");
  61. var $button2 = $('<input id="save2" value="撤销共享" type="button" onclick="noshare('+lawsid+','+people+')"/>')
  62. $("#share").append($button2);
  63. $button2.render();
  64. }
  65. }
  66. var num2 = data.CLASSES_243;
  67. if(num2=="1"){
  68. $("#lawsname").html("法律名称:");
  69. }else if(num2=="2"||num2=="3"){
  70. $("#lawsname").html("法规名称:");
  71. }else if(num2=="4"||num2=="5"){
  72. $("#lawsname").html("规章名称:");
  73. }
  74. for(var i in data){
  75. $('#'+i).html(data[i]);
  76. }
  77. var OBJ_FIRST_243=data.OBJ_FIRST_243;
  78. var COLUMN_1_243 = data.COLUMN_1_243;
  79. var COLUMN_2_243 = data.COLUMN_2_243;
  80. /* if(OBJ_FIRST_243=="0"){
  81. getFileList(fd_id,0);
  82. }else{
  83. if(COLUMN_1_243=="0"){
  84. getFileList(COLUMN_2_243,0);
  85. }else{
  86. getFileList(fd_id,0);
  87. }
  88. } */
  89. $('#fileDiv').newAsyncFileUpload("",fd_id,0);
  90. init(fd_id,OBJ_FIRST_243);
  91. /*************************用户电话号码***************************/
  92. var user = data.TYPEIN_PEOPLE_243;
  93. var params1 = {
  94. classid : '880',
  95. objectID : user
  96. };
  97. $.ajax({
  98. url : url,
  99. type : 'post',
  100. timeout : 60000,
  101. data : params1,
  102. async:false, //异步
  103. dataType : 'json',
  104. success : function(data){
  105. for(var j in data){
  106. $('#'+j).html(data[j]);
  107. }
  108. },
  109. error : function(e){
  110. $.messager.alert('系统提示信息', '访问服务失败!', 'error');
  111. }
  112. });
  113. },
  114. error : function(e){
  115. $.messager.alert('系统提示信息', '访问服务失败!', 'error');
  116. }
  117. });
  118. $("#goback a img").hover(function(){
  119. $(this).attr("src","/nwyj/images/temp/back_hover.png");
  120. },function(){
  121. $(this).attr("src","/nwyj/images/temp/back.png");
  122. });
  123. //点击图片
  124. $('#back').bind('click',function(){
  125. if((window.location.href).split('?')[2]=="1"){
  126. $('#frmright',window.parent.document).attr('src',$.pathname()+"/page/business/am/fileManager/laws/laws_share.jsp");
  127. }else{
  128. $('#frmright',window.parent.document).attr('src',$.pathname()+"/page/business/am/fileManager/laws/laws.jsp");
  129. }
  130. });
  131. setTimeout('setHight()', 200);
  132. });
  133. </script>
  134. </head>
  135. <body style="width: 1000px; margin:0 auto; margin-top:15px" align="center" >
  136. <div class="d_ground">
  137. <div style="position: relative;" class="titlehead">
  138. <div class="go_img" id="goback">
  139. <a href="javascript:;">
  140. <!-- <img id="back" align="left" alt="返回" src="/nwyj/images/temp/back.png" /> -->
  141. </a>
  142. </div>
  143. <font class="titleMsg">法律法规</font>
  144. </div>
  145. <form id="editForm" method="post">
  146. <!-- 保存和重置 -->
  147. <br/>
  148. <div align="center"><font style="font-weight: bold;font-size: 30px;line-height: 45px;" color="red" id="" >法律法规</font></div>
  149. <!-- 填报单位和填报人 -->
  150. <br />
  151. <!-- <div style="float:right;margin-right: 20px" id="share">
  152. </div> -->
  153. <br/>
  154. <!-- 正文表格 -->
  155. <fieldset class="fieldset">
  156. <legend>基本信息:</legend>
  157. <table class="tableStyle" align="center">
  158. <tr>
  159. <td align="right" width="120px" class="class_color">分类:</td>
  160. <td width="280px"><div name="CLASSES_243" id="CLASSES_243_SHOW" ></div></td>
  161. <td align="right" width="120px" class="class_color">颁布机构:</td>
  162. <td width="280px"><div name="ISSUE_ORGANIZATION_243" id="ISSUE_ORGANIZATION_243" /></td>
  163. </tr>
  164. <tr>
  165. <td align="right" width="120px" class="class_color"><span id="lawsname" value=""></span></td>
  166. <td width="280px"><div name="LAWS_REGULATIONS_NAME_243" id="LAWS_REGULATIONS_NAME_243" /></td>
  167. <td align="right" width="120px" class="class_color">颁布文号:</td>
  168. <td width="280px"><div name="ISSUE_ARTICLE_NUM_243" id="ISSUE_ARTICLE_NUM_243" /></td>
  169. </tr>
  170. <tr>
  171. <td align="right" width="120px" class="class_color"><span>发布日期:</span></td>
  172. <td width="280px"><div name="ISSUE_DATE_243" id="ISSUE_DATE_243" /></td>
  173. <td align="right" width="120px" class="class_color"><span>实施日期:</span></td>
  174. <td width="280px"><div name="IMPLEMENT_DATE_243" id="IMPLEMENT_DATE_243" /></td>
  175. </tr>
  176. <tr>
  177. <td align="right" width="120px" class="class_color">状态:</td>
  178. <td width="280px"><div name="STATE_243" id="STATE_243_SHOW" ></div></td>
  179. <td></td><td></td>
  180. </tr>
  181. <tr>
  182. <td align="right" width="120px" class="class_color">简要说明:</td>
  183. <td colspan="3" width="680px"><!-- <textarea maxNum="300" name="DESCRIPTION_243" id="DESCRIPTION_243" style="width: 83.5%;height: 100px;"></textarea> -->
  184. <div name="DESCRIPTION_243" id="DESCRIPTION_243" style='word-wrap:break-word; word-break:break-all;display:block;width:97%;'></div>
  185. </td>
  186. </tr>
  187. </table>
  188. </fieldset>
  189. <fieldset class="fieldset">
  190. <legend>附件信息:</legend>
  191. <table class="tableStyle" align="center">
  192. <tr>
  193. <td width="120px" class="class_color" align="right">上传附件:</td>
  194. <td width="680px" colspan="3"><div id="fileDiv" name="fileDiv" ></div></td>
  195. </tr>
  196. </table>
  197. </fieldset>
  198. <fieldset class="fieldset">
  199. <legend>历史版本信息:</legend>
  200. <div class="padding_right5">
  201. <div id="gridtable"></div>
  202. </div>
  203. </fieldset>
  204. <fieldset class="fieldset">
  205. <legend>填写人员信息:</legend>
  206. <table class="tableStyle" align="center" id="fillForm">
  207. <tr>
  208. <td width="120px" align="right" class="class_color">单位:</td>
  209. <td width="280px"><div name="UNITE_243" id="UNITE_243_SHOW" /></td>
  210. <td width="120px" align="right" class="class_color">部门:</td>
  211. <td width="280px"><div name="DEPT_243" id="DEPT_243_SHOW" /></td>
  212. </tr>
  213. <tr>
  214. <td align="right" class="class_color">填写人员:</td>
  215. <td><div name="TYPEIN_PEOPLE_243" id="TYPEIN_PEOPLE_243_SHOW" /></td>
  216. <td align="right" class="class_color">填写人员联系方式:</td>
  217. <td><div name="MOBILE_880" id="MOBILE_880" /></td>
  218. </tr>
  219. <tr>
  220. <td align="right" class="class_color">录入时间:</td>
  221. <td colspan="3"><div name="TYPEIN_TIME_243" id="TYPEIN_TIME_243" /></td>
  222. </tr>
  223. </table>
  224. </fieldset>
  225. </form>
  226. </div>
  227. </body>
  228. </html>