18ff03623359ab2318640264384d4d816a28e24e.svn-base 4.96 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 winOpenDivisionForm(){
			//弹出窗口的宽度; 
			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/base/regBaseZdjbxx/divisionform?YWH=${YWH}&YSDM=2001010000&oldywid=${OldYWID}&djlx=${DJLX}",
					"宗地基本信息分割变更界面","height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
		}
		
		function btnConformClick(){
			var djlx = ${DJLX};
			//土地使用权分割
			if(djlx == '406'){
				window.opener.document.jsydsyqframe.location.reload();
    			window.opener.document.qlrframe.location.reload();
    			window.opener.document.divisionbeforeframe.location.reload();
    			window.opener.document.divisionframe.location.reload();
    			window.close();
			}else if(djlx == '418'){//土地所有权分割
				window.opener.document.tdsyqframe.location.reload();
    			window.opener.document.qlrframe.location.reload();
    			window.opener.document.divisionbeforeframe.location.reload();
    			window.opener.document.divisionframe.location.reload();
    			window.close();
			}else if(djlx == '410'){//土地承包经营权分割
				window.opener.document.nydsyqframe.location.reload();
    			window.opener.document.qlrframe.location.reload();
    			window.opener.document.divisionbeforeframe.location.reload();
    			window.opener.document.divisionframe.location.reload();
    			window.close();
			}else{
				$.ajax({ 
					type:"POST", //请求方式 
					url:"${ctx}/reg/bus/regBusBdcqzsdjxx/submitdivision", //请求路径 
					cache: false,   //(默认: true,dataType为script和jsonp时默认为false) jQuery 1.2 新功能,设置为 false 将不缓存此页面。
					data:"OldYWID=${OldYWID}&YWH=${YWH}&YSDM=2001010000&djlx=${DJLX}",  //传参 
					async : false,
					success:function(modelmap){
						//alert("使用权分割成功!");
						window.opener.divisionframe.location.reload();
						var url = "${ctx}/reg/bus/regBusJsydsyq/fgbgchangeform?ywh=${YWH}&djxl=${DJLX}&YSDM=6002020100&BdcqzsdjxxID=${OldYWID}";
						window.location = url;
					}
				});
			}
		}
		
	</script>
</head>
<body>
		<!-- 显示原始信息-->
		<div id="srcBaseInfo" class="control-group">
			<fieldset>
				<legend>分割前不动产信息</legend>
				<div id="BdcqzsdjxxID" style="display: none;">${OldYWID}</div>
				<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>
							<c:if test="${DJLX eq 406}">
								<th>使用期限</th> 
							</c:if>
						</tr>
					</thead>
					<tbody> 
						<tr>
							<td>
								${regBusBdcqzsdjxx.ywh}
							</td>
							<td>
								<a href="javascript:void(0);">${regBusBdcqzsdjxx.bdcdyh}</a>
							</td>
							<td>
								${regBusBdcqzsdjxx.zddm}
							</td>
							<td>
								${regBusBdcqzsdjxx.bdcqzh}
							</td>
							<td>
								${regBusBdcqzsdjxx.qlrmc}
							</td>
							<td>
								${regBusBdcqzsdjxx.gyqk}
							</td>
							<td>
								${regBusBdcqzsdjxx.zl}
							</td>
							<td>
								${fns:getDictLabel(regBusBdcqzsdjxx.qllx, 'reg_bus_qllx', '')}
							</td>
							<td>
								${regBusBdcqzsdjxx.qlxz}
							</td>
							<td>
								${regBusBdcqzsdjxx.yt}
							</td>
							<td>
								${regBusBdcqzsdjxx.mj}
							</td>
							<c:if test="${DJLX eq 406}">
								<td>
									${regBusBdcqzsdjxx.syqx}
								</td> 
							</c:if>
						</tr> 
					</tbody>
				</table>
			</fieldset>
		</div> 
		<sys:message content="${message}" />
		<div id="divisionInfo"  class="control-group">
			<fieldset>
				<legend>分割后不动产信息</legend>
				<input id="btnDivision" class="btn btn-primary" style="float:right;" type="button" onClick="winOpenDivisionForm();" value="增加分割信息"/>
				<iframe id="divisionframe" name="divisionframe"  src="${ctx}/reg/bus/regBusBdcqzsdjxx/divisionlist?YWH=${YWH}&YSDM=2001010000&djlx=${DJLX}" width="100%" height="300" frameborder="no" border="0" marginwidth="0"
					 marginheight="0" scrolling="yes" allowtransparency="yes"></iframe>&nbsp;
				<input id="btnConform" class="btn btn-primary" style="float:right;" type="button" onClick="btnConformClick();" value="下一步"/>	 
			</fieldset>
		</div>
</body>
</html>