13ed0a297a1c04525948998228c919c1ed27102b.svn-base 3.88 KB
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>抵押权信息选择</title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript">
		$(document).ready(function() {});
		function page(n,s){
			$("#pageNo").val(n);
			$("#pageSize").val(s);
			$("#searchForm").submit();
        	return false;
        }
		
		function winOpenDyaq(id){
			//弹出窗口的宽度; 
			var iWidth=1100; 
			//弹出窗口的高度;
	       	var iHeight=600;
	       	//获得窗口的垂直位置 
	       	var iTop = (window.screen.height - 30 - iHeight) / 2;
	       	//获得窗口的水平位置 
	       	var iLeft = (window.screen.width - 10 - iWidth) / 2;
			window.open("${ctx}/reg/bus/regBusDyaq/form?id="+ id +"&VIEWS=1","newwindow",
					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
		}
		
		function choiceOneRegedinfo(){
			var checkedCount = $("input[type='radio']:checked").length;
			if(checkedCount == 0){
				alert("必须选择一条信息!");
				return;
			}
			//选中一行后,获取信息相关值 
			var bdcdyhValue = $("input[name='radio_Bdcqzsdjxx']:checked").attr("id");
			//返回值设置
			alert(bdcdyhValue);
			window.opener.DoAfterDyaqDialog(bdcdyhValue);
			window.close();
		}
		
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active"><a href="${ctx}/reg/bus/regBusDyaq/">抵押权信息列表</a></li>
	</ul>
	<form:form id="searchForm" modelAttribute="regBusDyaq" action="${ctx}/reg/bus/regBusDyaq/select" method="post" class="breadcrumb form-search">
		<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
		<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
		<ul class="ul-form">
			<li>
				<label>单元号:</label>
				<form:input path="bdcdyh"  htmlEscape="false"  maxlength="28" class="input-medium"/>
			</li>
			<li class="btns"><input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/></li>
			<li class="clearfix"></li>
		</ul>
	</form:form>
	<sys:message content="${message}"/>
	<br>
		<input id="choiceReged"  class="btn btn-primary"  type="button"  onclick="choiceOneRegedinfo();"  value="选择已登记信息"/>
		<br>
	<table id="contentTable" class="table table-striped table-bordered table-condensed">
		<thead>
			<tr>
				<th>选择</th>
				<th>不动产单元号</th>
				<th>业务号</th>
				<th>抵押不动产类型</th>
				<th>抵押人</th>
				<th>抵押方式</th>
				<th>登记类型</th>
				<th>登记原因</th>
				<th>区县代码</th>
				<th>登记机构</th>
				<th>登簿人</th>
				<th>登记时间</th>
				<th>附记</th>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}"  var="regBusDyaq">
			<tr>
				<td><input type="radio" name="radio_Bdcqzsdjxx"  id="${regBusDyaq.ywh}"  value=""/></td>
				<td>
					<shiro:hasPermission name="reg:bus:regBusDyaq:view">
						<a href="javascript:void(0);" onclick="winOpenDyaq('${regBusDyaq.id}');">
							${regBusDyaq.bdcdyh}
						</a>
					</shiro:hasPermission>
				</td>
				<td>
					${regBusDyaq.ywh}
				</td>
				<td>
					${fns:getDictLabel(regBusDyaq.dybdclx, 'reg_bus_dybdclx', '')}
				</td>
				<td>
					${regBusDyaq.dyr}
				</td>
				<td>
					${fns:getDictLabel(regBusDyaq.dyfs, 'reg_bus_dyfs', '')}
				</td>
				<td>
					${fns:getDictLabel(regBusDyaq.djlx, 'reg_bus_djlx', '')}
				</td>
				<td>
					${regBusDyaq.djyy}
				</td>
				<td>
					${fns:getDictLabel(regBusDyaq.qxdm, 'reg_bus_xq', '')}
				</td>
				<td>
					${regBusDyaq.djjg}
				</td>
				<td>
					${regBusDyaq.dbr}
				</td>
				<td>
					<fmt:formatDate value="${regBusDyaq.djsj}" pattern="yyyy-MM-dd HH:mm:ss"/>
				</td>
				<td>
					${regBusDyaq.fj}
				</td>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
</body>
</html>