123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244 |
- <%@ page language="java" contentType="text/html; charset=UTF-8"
- pageEncoding="UTF-8"%>
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <title>江苏省港口建设与经营管理信息系统</title>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
- <%@ include file="../../../common.jsp"%>
- <script type="text/javascript" src="${app }/static/biz/js/gkjygl/gkjyr/xkzxx/xkzxxmain.js"></script>
- <script type="text/javascript">
- $(document).ready(function () {
- initszdSelect('szdsel','${szd }', 'showgk', '80%');
- initgkSelect('gksel','${szgk }','${szd }','showgq','80%');
- initgqSelect('gqsel','${szgq }','${szd }','${szgk }',null,'80%');
- initsfyxSelect('${sfyx }');
- sfred();
- $('.sfyxselectpicker').selectpicker({
- width:'80%'
- });
- initXkzsfdqSel('xkzsfdqSel','${xkzsfdq}');
- xkzxx.main.init();
- iFrameHeightIframe('${menuid}');//自适应高度
- });
-
- function showgk(){
- initgkSelect('gksel','${szgk }',$('.szdselectpicker').val(),"showgq",'80%');
- showgq();
- }
- function showgq(){
- initgqSelect('gqsel','${szgq }',$('.szdselectpicker').val(),$('.gkselectpicker').val(),null,'80%');
- }
-
- function initsfyxSelect(data){
- $("#sfyx option[value='"+data+"']").attr("selected", "selected");
- }
-
- function sfred(){
- var tbtrlength=$("#xkzxxtb").find("tr").length;
- for(var i=1;i<tbtrlength;i++){
- if($("#sfred"+i).val()=='red'){
- $("#xkzxx"+i).css('background-color','red');
- }else if($("#sfred"+i).val()=='yellow'){
- $("#xkzxx"+i).css('background-color','yellow');
- }
- }
- }
- </script>
- </head>
- <style type="text/css">
- .dvs {
- display: none;
- position:absolute;
- width: 90%;
- height: 90%;
- z-index:100;
- }
- .dvs img{
- display: block;
- width: 90%;
- height: 90%;
- }
- #overlay {
- background: #000;
- filter: alpha(opacity=70); /* IE的透明度 */
- opacity: 0.7; /* 透明度 */
- position: fixed;
- top: 0px;
- left: 0px;
- width: 100%;
- height: 100%;
- z-index: 50; /* 此处的图层要大于页面 */
- display:none;
- }
- </style>
- <body>
-
- <div class="box">
- <div id="overlay"></div>
- <div id="previewDiv" class="dvs" title="点击关闭" style="width:1043px;height:736px;" onclick="xkzxx.main.hidePreview()">
- <img id="img_xkz" onerror="this.src='${app }/static/biz/image/notfind.png'"/>
- </div>
- <div class="box-content">
- <form action="${app }/xkzxx/main" id="xkzxxform" method="post">
- <input type="hidden" name="menuid" value="${menuid }">
- <div>
- <table class="search_table" cellpadding="0" cellspacing="0">
- <tr>
- <th width="11%"></th>
- <th width="22%"></th>
- <th width="11%"></th>
- <th width="22%"></th>
- <th width="12%"></th>
- <th width="22%"></th>
- </tr>
- <tr>
- <td class="right">
- 所在地:
- </td>
- <td>
- <span id="szdsel">
- </span>
- </td>
- <td class="right">
- 所在港口:
- </td>
- <td>
- <span id="gksel">
- </span>
- </td>
- <td class="right">
- 所在港区:
- </td>
- <td>
- <span id="gqsel">
- </span>
- </td>
- </tr>
- <tr>
- <td class="right">
- 港口经营人:
- </td>
- <td>
- <input type="text" class="form-control" name="gkjyr" value="${gkjyrzw }">
- </td>
- <td class="right">
- 许可证编号:
- </td>
- <td >
- <input type="text" class="form-control" name="gkjyxkzh" value="${gkjyxkzh }">
- </td>
- <td class="right">
- 是否有效:
- </td>
- <td>
- <select class='sfyxselectpicker' name="sfyx" id="sfyx">
- <option></option>
- <option value="1">有效</option>
- <option value="2">无效</option>
- </select>
- </td>
- </tr>
-
- <tr>
- <td class="right">
- 有效期:
- </td>
- <td >
- <input class="Wdate" name="yxq1" id="yxq1" type="text" onFocus="WdatePicker({lang:'zh-cn',skin:'default',dateFmt:'yyyy-MM-dd'})" value="${yxq1 }">
- </td>
- <td class="middle">
- ~
- </td>
- <td >
- <input class="Wdate" name="yxq2" id="yxq2" type="text" onFocus="WdatePicker({lang:'zh-cn',skin:'default',dateFmt:'yyyy-MM-dd'})" value="${yxq2 }">
- </td>
- <td class="right">证书是否到期: </td>
- <td><div id="xkzsfdqSel"></div></td>
- </tr>
- <tr>
- <td class="right" colspan="6">
- <a class="btn btn-default btn-sm" href="#" onclick="xkzxx.main.search()">
- <i class="glyphicon glyphicon-search"></i>查询
- </a>
- <a class="btn btn-default btn-sm" href="#" onclick="xkzxx.main.add()">
- <i class="glyphicon glyphicon-plus"></i>
- 新增</a>
- </td>
- </tr>
- </table>
- </div>
- <!-- 列表 -->
- <div style="background-color:#f4f4f4;">
- <table id="xkzxxtb" class="main_table" cellpadding="0" cellspacing="0">
- <thead>
- <tr>
- <th width="3%">序号</th>
- <th width="10%">许可证编号</th>
- <th width="10%">港口经营人</th>
- <th width="8%">所在港口</th>
- <th width="8%">所在港区</th>
- <th width="10%">法定代表人</th>
- <th width="8%">有效期至</th>
- <th width="12%">发证机关</th>
- <th width="8%">发证日期</th>
- <th width="8%">证件状态</th>
- <th width="16%">操作</th>
- </tr>
- </thead>
- <c:forEach items="${list}" var="xkzxx" varStatus="status">
- <tr id="xkzxx${status.count }">
- <input type="hidden" id="sfred${status.count }" value="${xkzxx.sfred }">
- <td >${status.count }</td>
- <td >${xkzxx.gkjyxkzh }</td>
- <td >${xkzxx.gkjyrzw }</td>
- <td >${xkzxx.szgkzw }</td>
- <td >${xkzxx.ssgqzw }</td>
- <td >${xkzxx.fddbr }</td>
- <td ><fmt:formatDate value='${xkzxx.yxqz }' pattern="yyyy-MM-dd" type="date" dateStyle="long" /></td>
- <td >${xkzxx.fzjg }</td>
- <td ><fmt:formatDate value='${xkzxx.fzrq }' pattern="yyyy-MM-dd" type="date" dateStyle="long" /></td>
- <td >
- <c:if test="${xkzxx.sfyx=='1'}">有效</c:if>
- <c:if test="${xkzxx.sfyx!='1'}">无效</c:if>
- <%-- <c:if test="${xkzxx.sfyx == '3' }">注销</c:if> --%>
- </td>
- <td>
- <a class="btn btn-default btn-xs" href="#" onclick="xkzxx.main.view('${xkzxx.id}')">
- <i class="glyphicon glyphicon-search"></i>详情
- </a>
- <c:if test ="${xkzxx.isflag == 1 }">
- <a class="btn btn-default btn-xs" href="#" onclick="xkzxx.main.edit('${xkzxx.id}')">
- <i class="glyphicon glyphicon-wrench"></i>
- 修改</a>
- <a class="btn btn-default btn-xs" href="#" onclick="xkzxx.main.del('${xkzxx.id}')">
- <i class="glyphicon glyphicon-trash"></i>
- 删除</a>
- </c:if>
-
- <c:if test="${xkzxx.sfyx=='1'}">
- <a class="btn btn-default btn-xs" href="#" onclick="xkzxx.main.preview('${xkzxx.id}')">
- <i class="glyphicon glyphicon-search"></i>预览
- </a>
- <%-- <a class="btn btn-default btn-xs" href="#" onclick="xkzxx.main.print('${xkzxx.id}')">
- <i class="glyphicon glyphicon-print"></i>打印
- </a> --%>
- </c:if>
-
- </td>
- </tr>
- </c:forEach>
- </table>
- </div>
- <!-- 分页 -->
- <jsp:include page="../../../pageinfo.jsp"></jsp:include>
- </form>
- </div>
- </div>
- </body>
- </html>
|