xkzxxview.jsp 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. <%@ page language="java" contentType="text/html; charset=UTF-8"
  2. pageEncoding="UTF-8"%>
  3. <!DOCTYPE html>
  4. <html lang="en">
  5. <head>
  6. <meta charset="utf-8">
  7. <title>江苏省港口建设与经营管理信息系统</title>
  8. <meta name="viewport" content="width=device-width, initial-scale=1">
  9. <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
  10. <%@ include file="../../../common.jsp"%>
  11. <script type="text/javascript" src="${app }/static/biz/js/gkjygl/gkjyr/xkzxx/xkzxxdetail.js"></script>
  12. </head>
  13. <style type="text/css">
  14. .dvs {
  15. display: none;
  16. position:absolute;
  17. width: 90%;
  18. height: 90%;
  19. z-index:100;
  20. }
  21. .dvs img{
  22. display: block;
  23. width: 90%;
  24. height: 90%;
  25. }
  26. .dvs span img{
  27. display: block;
  28. margin-top: 15%;
  29. margin-left: 30%;
  30. width: 150px;
  31. height: 150px;
  32. }
  33. #overlay {
  34. background: #000;
  35. filter: alpha(opacity=70); /* IE的透明度 */
  36. opacity: 0.7; /* 透明度 */
  37. position: fixed;
  38. top: 0px;
  39. left: 0px;
  40. width: 100%;
  41. height: 100%;
  42. z-index: 50; /* 此处的图层要大于页面 */
  43. display:none;
  44. }
  45. </style>
  46. <script type="text/javascript">
  47. $(document).ready(function () {
  48. xkzxx.detail.path='${path}';
  49. iFrameHeightIframe('${menuid}');//自适应高度
  50. });
  51. </script>
  52. <body>
  53. <div id="overlay"></div>
  54. <div class="box" >
  55. <div class="box-content" >
  56. <div class="apply_fill">
  57. <table class="apply" cellpadding="0" cellspacing="0">
  58. <tr>
  59. <th>公司名称:&nbsp;</th>
  60. <td colspan="3">
  61. ${record.gkjyrzw }
  62. </td>
  63. </tr>
  64. <tr>
  65. <th>法定代表人:&nbsp;</th>
  66. <td colspan="3">
  67. ${record.fddbr }
  68. </td>
  69. </tr>
  70. <tr>
  71. <th>办公地址:&nbsp;</th>
  72. <td colspan="3">
  73. ${record.dz }
  74. </td>
  75. </tr>
  76. <tr >
  77. <th>经营地域:&nbsp;</th>
  78. <td colspan="3">
  79. ${record.cq }
  80. </td>
  81. </tr>
  82. <tr>
  83. <th>经营范围:&nbsp;</th>
  84. <td colspan="3">
  85. ${record.zyqyfw }
  86. </td>
  87. </tr>
  88. <tr>
  89. <th>许可证编号:&nbsp;</th>
  90. <td >
  91. ${record.gkjyxkzh }
  92. </td>
  93. <th>发证机关:&nbsp;</th>
  94. <td >
  95. ${record.fzjg }
  96. </td>
  97. </tr>
  98. <tr>
  99. <th>有效期至:&nbsp;</th>
  100. <td >
  101. <fmt:formatDate value='${record.yxqz }' pattern="yyyy-MM-dd" type="date" dateStyle="long" />
  102. </td>
  103. <th>发证日期:&nbsp;</th>
  104. <td>
  105. <fmt:formatDate value='${record.fzrq }' pattern="yyyy-MM-dd" type="date" dateStyle="long" />
  106. </td>
  107. </tr>
  108. <tr>
  109. <th>许可证电子扫描件:&nbsp;</th>
  110. <td >
  111. <%for(int i=0;i<2;i++){
  112. request.setAttribute("flag",i);
  113. %>
  114. <img hspace="2" vspace="2" border="1" align="middle" height="30" width="30" src="${app}/xkzxx/getFileList?xkzid=${record.id}&flag=${flag}" onerror="this.src='${app }/static/biz/image/notfind.png'"
  115. onclick="xkzxx.detail.show(${flag})" <c:if test="${flag == 0 }">title="正面"</c:if> <c:if test="${flag == 1 }">title="反面"</c:if>/>
  116. <div id="dv${flag}" title="点击关闭" class="dvs" onclick="xkzxx.detail.hide(${flag})">
  117. <img src="${app}/xkzxx/getFileList?xkzid=${record.id }&flag=${flag}" onerror="this.src='${app }/static/biz/image/notfind.png'"/>
  118. </div>
  119. <%} %>
  120. <img hspace="2" vspace="2" border="1" align="middle" height="30" width="30" src="${app}/xkzxx/getTwoCode?id=${record.id}" onerror="this.src='${app }/static/biz/image/notfind.png'"
  121. onclick="xkzxx.detail.showTwoCode(${flag})" title="二维扫码"/>
  122. <div id="dvTwoCode" class="dvs" title="点击关闭" onclick="xkzxx.detail.hideTwoCode()">
  123. <span><img id="" src="${app}/xkzxx/getTwoCode?id=${record.id}" onerror="this.src='${app }/static/biz/image/notfind.png'"/></span>
  124. </div>
  125. <!--a class="btn btn-default btn-sm" href="#" onclick="xkzxx.detail.preview('${record.id}')">
  126. <i class="glyphicon glyphicon-search"></i>预览
  127. </a-->
  128. <!--div id="previewDiv" class="dvs" title="点击关闭" style="width:1043px;height:736px;" onclick="xkzxx.detail.hidePreview()">
  129. <img id="" src="${app}/xkzxx/preview?id=${record.id}" onerror="this.src='${app }/static/biz/image/notfind.png'"/>
  130. </div-->
  131. </td>
  132. </tr>
  133. </table>
  134. <div id="buttons">
  135. <a class="btn btn-default btn-sm" href="#" onclick="xkzxx.detail.back()">
  136. <i class="glyphicon glyphicon-arrow-left"></i>返回
  137. </a>
  138. </div>
  139. </div>
  140. </div>
  141. </div>
  142. </body>
  143. </html>