cgmain.jsp 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  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. <%@ include file="../../../common.jsp"%>
  10. <script type="text/javascript" src="${app }/static/biz/js/gkjygl/gkjyr/jyrcg/cgmain.js"></script>
  11. <script type="text/javascript">
  12. $(document).ready(function () {
  13. cg.main.init();
  14. initszdSelect('szdsel', '${szd}', 'showgk', '80%');
  15. initgkSelect('szgksel', '${szgk}', '${szd}', 'showgq', '80%');
  16. initgqSelect('szgqsel', '${szgq}', '${szd}', '${szgk}', null, '80%');
  17. cg.main.initSfwxpcg('sfwxpcgsel', '${sfwxpcg}');
  18. iFrameHeightIframe('${menuid}');//自适应高度
  19. });
  20. function showgk(){
  21. initgkSelect('szgksel','',$('.szdselectpicker').val(),'showgq','80%');
  22. showgq();
  23. }
  24. function showgq(){
  25. initgqSelect('szgqsel','',$('.szdselectpicker').val(),$('.gkselectpicker').val(),null,'80%');
  26. }
  27. function exportExcelAll(data1,data2,data3,data4,data5,data6){
  28. location.href=$.app+"/cg/exportExcelAll?szdid="+data1+"&szgkid="+data2+"&szgqid="+data3+"&ssjyr="+data4+"&sfwxpcgid="+data5+"&cgmc="+data6;
  29. }
  30. </script>
  31. </head>
  32. <body>
  33. <div class="box" >
  34. <div class="box-content" >
  35. <form action="${app }/cg/main" id="cgform" method="post">
  36. <input type="hidden" name="menuid" value="${menuid }">
  37. <div>
  38. <table class="search_table" cellpadding="0" cellspacing="0">
  39. <tr>
  40. <th width="10%"></th>
  41. <th width="25%"></th>
  42. <th width="10%"></th>
  43. <th width="25%"></th>
  44. <th width="10%"></th>
  45. <th width="20%"></th>
  46. </tr>
  47. <tr>
  48. <td class="right">
  49. 所在地:&nbsp;
  50. </td>
  51. <td>
  52. <span id="szdsel">
  53. </span>
  54. </td>
  55. <td class="right">
  56. 所在港口:&nbsp;
  57. </td>
  58. <td>
  59. <span id="szgksel">
  60. </span>
  61. </td>
  62. <td class="right">
  63. 所在港区:&nbsp;
  64. </td>
  65. <td>
  66. <span id="szgqsel">
  67. </span>
  68. </td>
  69. </tr>
  70. <tr>
  71. <td class="right">
  72. 储罐名称:&nbsp;
  73. </td>
  74. <td>
  75. <input type="text" class="form-control" name="cgmc" value="${cgmc }">
  76. </td>
  77. <td class="right">
  78. 港口经营人:&nbsp;
  79. </td>
  80. <td >
  81. <input type="text" class="form-control" name="ssjyr" value="${ssjyr }">
  82. </td>
  83. <!-- <td class="right">
  84. 是否危险品储罐:&nbsp;
  85. </td>
  86. <td >
  87. <span id="sfwxpcgsel">
  88. </span>
  89. </td> -->
  90. <td >
  91. </td>
  92. <td >
  93. </td>
  94. </tr>
  95. <tr>
  96. <td>
  97. </td>
  98. <td>
  99. </td>
  100. <td>
  101. </td>
  102. <td>
  103. </td>
  104. <td>
  105. </td>
  106. <td class="right" colspan="2">
  107. <authz:hasPermission name="${appName}:cgxx:main">
  108. <a class="btn btn-default btn-sm" href="#" onclick="cg.main.search()">
  109. <i class="glyphicon glyphicon-search"></i>查询
  110. </a>
  111. </authz:hasPermission>
  112. <authz:hasPermission name="${appName}:cgxx:add">
  113. <a class="btn btn-default btn-sm" href="#" onclick="cg.main.add()">
  114. <i class="glyphicon glyphicon-plus"></i>新增
  115. </a>
  116. </authz:hasPermission>
  117. <a class="btn btn-default btn-sm" href="#" onclick="exportExcelAll('${szd}','${szgk}','${szgq}','${ssjyr}','${sfwxpcg}','${cgmc}')">
  118. <i class="glyphicon glyphicon-download-alt"></i>导出
  119. </a>
  120. </td>
  121. </tr>
  122. </table>
  123. </div>
  124. <!-- 列表 -->
  125. <div style="background-color:#f4f4f4;">
  126. <table class="main_table" cellpadding="0" cellspacing="0">
  127. <thead>
  128. <tr>
  129. <th width="5%">序号</th>
  130. <th width="15%">储罐名称</th>
  131. <th width="15%">作业品名</th>
  132. <th width="15%">港口经营人</th>
  133. <!-- <th width="12%">企业存储编号</th>
  134. <th width="11%">储罐容积(升)</th> -->
  135. <th width="15">罐体容积(立方米)</th>
  136. <th width="15%">罐体高度(米)</th>
  137. <!-- <th width="12%">是否危险品储罐</th> -->
  138. <th width="1%" class="operatetd">操作</th>
  139. </tr>
  140. </thead>
  141. <c:forEach items="${list}" var="cg" varStatus="status">
  142. <tr >
  143. <td >${status.count }</td>
  144. <td >${cg.cgmc }</td>
  145. <td >${cg.hxpmc }</td>
  146. <td >${cg.ssjyrzw }</td>
  147. <%-- <td >${cg.qyccbh }</td>
  148. <td >${cg.cgrj}</td> --%>
  149. <td>${cg.cgqmj }</td>
  150. <td >${cg.aqgd}</td>
  151. <%-- <td >${cg.sfwxpcgzw}</td> --%>
  152. <td class="operatetd">
  153. <authz:hasPermission name="${appName}:cgxx:main">
  154. <a class="btn btn-default btn-xs" href="#" onclick="cg.main.view('${cg.id}')" title="查看">
  155. <i class="glyphicon glyphicon-search"></i>
  156. </a>
  157. </authz:hasPermission>
  158. <c:if test="${cg.xkzid =='' ||cg.xkzid==null }">
  159. <c:if test="${cg.recordStatus == 1 }">
  160. <authz:hasPermission name="${appName}:cgxx:edit">
  161. <a class="btn btn-default btn-xs" href="#" onclick="cg.main.edit('${cg.id}')" title="编辑">
  162. <i class="glyphicon glyphicon-pencil"></i>
  163. </a>
  164. </authz:hasPermission>
  165. <authz:hasPermission name="${appName}:cgxx:delete">
  166. <a class="btn btn-default btn-xs" href="#" onclick="cg.main.del('${cg.id}')" title="删除">
  167. <i class="glyphicon glyphicon-trash"></i>
  168. </a>
  169. </authz:hasPermission>
  170. </c:if>
  171. </c:if>
  172. </td>
  173. </tr>
  174. </c:forEach>
  175. </table>
  176. </div>
  177. <!-- 分页 -->
  178. <jsp:include page="../../../pageinfo.jsp"></jsp:include>
  179. </form>
  180. </div>
  181. </div>
  182. </body>
  183. </html>