checkInformation.jsp 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. <%@ page language="java" contentType="text/html;charset=GBK" pageEncoding="GBK"%>
  2. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
  3. <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
  4. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  5. <html>
  6. <head>
  7. <!-- by qianqw 20150317 -->
  8. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  9. <!-- end -->
  10. <meta http-equiv="Content-Type" content="text/html;charset=GBK">
  11. <title>资讯审核明细</title>
  12. <link href="${pageContext.request.contextPath }/main.css" rel="stylesheet" type="text/css" />
  13. <link href="${pageContext.request.contextPath }/liger/lib/ligerUI/skins/${sessionScope.css}/css/ligerui-all.css" rel="stylesheet" type="text/css" />
  14. <script src="${pageContext.request.contextPath }/liger/lib/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
  15. <script type="text/javascript" src="/shares/js/constant.js"></script>
  16. <script type="text/javascript" src="/shares/js/common.js"></script>
  17. <script type="text/javascript" src="/shares/js/file.js"></script>
  18. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/core/base.js" type="text/javascript"></script>
  19. <script type="text/javascript" src="/shares/datePicker/WdatePicker.js"></script>
  20. <script src="${pageContext.request.contextPath}/liger/lib/json2.js" type="text/javascript"></script>
  21. <script type="text/javascript" src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/ligerui.all.js"></script>
  22. <script type="text/javascript">
  23. var commentGrid = null;
  24. var supportGrid = null;
  25. var checkValue = new Array(); //定义一个数组
  26. var i = 0;
  27. var curTab = 1;
  28. $(function (){
  29. });
  30. /**
  31. * 不同意
  32. */
  33. function auditReject(universalid){
  34. $.ligerDialog.prompt('驳回原因','',true, function (yes,value)
  35. {
  36. var au_note = encodeURI(value);
  37. if(yes){
  38. $.ajax({
  39. type:"POST",
  40. url:"opInformationCheckAction.do?task=auditReject&toAuditDate=${toAuditDate}",
  41. data : {"universalid":universalid,"au_note":au_note},
  42. timeout:10000,
  43. cache:false,
  44. dataType:"json",
  45. success:function(data){
  46. var success = data.success;
  47. var update = data.update;
  48. if("update"==update){
  49. window.top.$.ligerDialog.error("信息有变更,请刷新列表,重新审核!");
  50. }else{
  51. if(success){
  52. window.top.$.ligerDialog.success(success);
  53. closeAndReload();
  54. }else{
  55. showAjaxError(null, data.error);
  56. }
  57. }
  58. },
  59. error:showAjaxError
  60. });
  61. }
  62. });
  63. }
  64. /**
  65. * 同意
  66. */
  67. function auditPass(universalid){
  68. $.ligerDialog.confirm('确定要通过审核吗?', function (yes)
  69. {
  70. if(yes){
  71. $.ajax({
  72. type:"POST",
  73. url:"opInformationCheckAction.do?task=auditPass&toAuditDate=${toAuditDate}",
  74. data : {"universalid":universalid},
  75. timeout:10000,
  76. cache:false,
  77. dataType:"json",
  78. success:function(data){
  79. var success = data.success;
  80. var update = data.update;
  81. if("update"==update){
  82. window.top.$.ligerDialog.error("信息有变更,请刷新列表,重新审核!");
  83. }else{
  84. if(success){
  85. window.top.$.ligerDialog.success(success);
  86. closeAndReload();
  87. }else{
  88. showAjaxError(null, data.error);
  89. }
  90. }
  91. },
  92. error:showAjaxError
  93. });
  94. }
  95. });
  96. }
  97. function closeAndReload() {
  98. var old_tabid = "${requestScope.tabid}";
  99. if (old_tabid.length > 0) {
  100. var tabid = getCurrentTabId();
  101. window.parent.f_selectTab(old_tabid);
  102. window.parent.f_reloadTab(old_tabid);
  103. window.parent.f_closeTab(tabid);
  104. }
  105. }
  106. </script>
  107. <style type="text/css">
  108. .file-style{
  109. width: 550px;
  110. }
  111. .file-style input[type='file'] {
  112. width:300px ;
  113. height:24px;
  114. line-height:22px;
  115. vertical-align: bottom;
  116. background-color: #fff;
  117. border: 1px solid #cccccc;
  118. margin-top: 2px;
  119. margin-bottom: 2px;
  120. }
  121. .forum-container .l-table-title-td{
  122. font-size:30px;
  123. text-align:center;
  124. line-height:20px;
  125. }
  126. .forum-container .l-table-annotation-td{
  127. font-size:15px;
  128. text-align:center;
  129. line-height:20px;
  130. }
  131. </style>
  132. </head>
  133. <body>
  134. <form id="opBoForm" action="opBusinessOpportunityAction.do" method="post">
  135. <div class="container-layout">
  136. <div id="title" class="form-button">
  137. <input type="button" class="l-button" value="同意" onclick="auditPass('${info_.universalid }');" style="width: 90px"/>
  138. <input type="button" class="l-button" value="不同意" onclick="auditReject('${info_.universalid }');" style="width: 90px"/>
  139. <input type="button" class="l-button" value="关闭" onclick="closeWindow();" style="width: 90px"/>
  140. <input type="hidden" id="toAuditDate" name="toAuditDate" value="${toAuditDate }"/>
  141. </div>
  142. <div class="forum-container">
  143. <table class="l-table-edit line">
  144. <tr >
  145. <td class="l-table-title-td">
  146. ${info_.info_title }
  147. </td>
  148. </tr>
  149. <tr>
  150. <td class="l-table-annotation-td" >发布人:${info_.publish_user_name }&nbsp;&nbsp;&nbsp;&nbsp;发布时间:${info_.publish_date_str }&nbsp;&nbsp;&nbsp;&nbsp;阅读:${info_.read_count }</td>
  151. </tr>
  152. <tr>
  153. <td class="l-table-edit-td" >
  154. ${info_.info_content }
  155. </td>
  156. </tr>
  157. <tr>
  158. <td class="l-table-edit-td">
  159. 相关文件:
  160. <jsp:include page="/include/file.jsp">
  161. <jsp:param name="fieldName" value="info_accessory" />
  162. <jsp:param name="folder" value="one_platform/info" />
  163. <jsp:param name="size" value="${info_accessory_size }" />
  164. <jsp:param name="isView " value="1" />
  165. <jsp:param name="isDelFile" value="0" />
  166. <jsp:param name="definedCss" value="file-style" />
  167. <jsp:param name="documentId" value="${info_.info_accessory }" />
  168. </jsp:include>
  169. <input id="info_.info_accessory" name="info_.info_accessory" type="hidden" value="${info_.info_accessory }"/>
  170. </td>
  171. </tr>
  172. </table>
  173. </div>
  174. </div>
  175. <div style="clear:both;"></div>
  176. </form>
  177. <%@include file="/include/message.jsp"%>
  178. </body>
  179. </html>