f9bc1ebd8a8e0872f1f10d1c17b10b5e1d017e43.svn-base 8.76 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 houseAllInfo(zddm,zid,xmmc,ywh,djlx){
			var successbj = 1;
			if(djlx != "905" && djlx != "907" && djlx != "901"&& djlx != "910"){
				$.ajax({ 
					type:"POST", 
					url:"${ctx}/reg/bus/regBusBdcqzsdjxx/isTransactionTd", 
					cache: false, 
					data:"zddm="+zddm,
				    async : false,  
					success:function(modelmap){
						successbj = modelmap.success;
						if(modelmap.success != 1){
							alert(modelmap.msg);
							return;
						}
					}
				});
			}
			if(successbj == 1){
				var url =  "${ctx}/reg/base/regBaseC/zchGuideListView?ZID="+zid+"&XMMC="+xmmc+"&ywh="+ywh+"&djlx="+djlx+"&tz=${tz}";
				window.location = url;
			}
		}
	</script>
	<style>
		.otable-form{width:100%;border-color:#dddddd;border:1px solid #ddd;}
		.otable-form,.table-form td{background-color:#fdfdfd;padding:2px;} 
		.otable-form td.tit{background:#fafafa;text-align:right;padding-right:3px;white-space:nowrap;}
		.caozuo{width:100%;text-align:right;margin-top:3px;margin-bottom:10px;}
	</style>
</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active"><a href="${ctx}/reg/base/regBaseZrz/guideListView?XMID=${XMID}">自然幢信息列表</a></li>
	</ul>
	<form:form id="searchForm" modelAttribute="regBaseZrz" action="${ctx}/reg/base/regBaseZrz/guideListView?djlx=${DJLX}&ywh=${ywh}&djlx=${DJLX}&tz=${tz}" 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}"/>
		<input id="xmid" name="XMID" type="hidden" value="${XMID}" />
		<ul class="ul-form">
			<li>&nbsp;&nbsp;&nbsp;不动产单元号:
				<form:input path="bdcdyh" htmlEscape="false" maxlength="28" class="input-large"/>
			</li>
			<li><label>宗地代码:</label>
				<form:input path="zddm" htmlEscape="false" maxlength="19" class="input-large"/>
			</li>
			<li><label style="width:100px;">建筑物名称:</label>
				<form:input path="gzwmc" htmlEscape="false" maxlength="100" class="input-medium"/>
			</li>
			<li class="btns"><input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/></li>
			<li class="btns"><input id="btnCancel" class="btn" type="button" value="返回项目" onclick="history.go(-1)"/></li>
			<li class="clearfix"></li>
		</ul>
	</form:form>
	<sys:message content="${message}"/>
	<div class="form-horizontal">
	<div class="current_fwinfo">当前项目【${regBaseXmmc}】,一共包含【${zCount}】幢楼</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> 
				<shiro:hasPermission name="reg:base:regBaseZrz:edit"><th>操作</th></shiro:hasPermission>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="regBaseZrz">
			<tr>
				<td><a href="#">
					${regBaseZrz.bdcdyh}
				</a></td>
				<td>
					${regBaseZrz.zddm}
				</td>
				<td>
					${regBaseZrz.gzwmc}
				</td>
				<td>
					${regBaseZrz.xmmc}
				</td> 
				<td>
					${regBaseZrz.scjzmj}
				</td>
				<td>
					${regBaseZrz.zcs}
				</td> 
				<shiro:hasPermission name="reg:base:regBaseZrz:edit"><td>
				<!-- <a href="${ctx}/reg/base/regBaseC/zchGuideListView?ZID=${regBaseZrz.id}&XMMC=${regBaseXmmc}&ywh=${ywh}&djlx=${DJLX}">楼盘整体信息</a>
					 -->	
					<a href="javascript:void(0);" onclick="houseAllInfo('${regBaseZrz.zddm}','${regBaseZrz.id}','${regBaseXmmc}','${ywh}','${DJLX}');">楼盘整体信息</a>
				</td></shiro:hasPermission>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<%--
	<c:forEach items="${page.list}" var="regBaseZrz" varStatus="status">
		<table class="otable-form" >
			<tr>
				<td colspan="8" align="left" style="padding:5px 5px 5px 25px;">
					<a href="${ctx}/reg/base/regBaseZrz/form?id=${regBaseZrz.id}&VIEWS=1">
&nbsp;【${status.count}】&nbsp;栋[幢]:
					</a>
				</td>
			</tr> 
			<tr>
				<td class="tit">标识码:</td>
				<td><input value="${regBaseZrz.bsm}" type="text" class="input-small  digits"/></td>
				<td class="tit">要素代码:</td>
				<td><input value="${regBaseZrz.ysdm}" type="text" maxlength="10" class="input-small "/></td>
				<td class="tit">不动产单元号:</td>
				<td><input value="${regBaseZrz.bdcdyh}" type="text" maxlength="28" class="input-small "/></td>
				<td class="tit">宗地代码:</td>
				<td><input value="${regBaseZrz.zddm}" type="text" maxlength="19" class="input-small required"/>
				<span class="help-inline"><font color="red">*</font> </span></td>
			</tr>
			<tr>
				<td class="tit">自然幢号:</td>
				<td><input value="${regBaseZrz.zrzh}" type="text" maxlength="24" class="input-small required"/>
				<span class="help-inline"><font color="red">*</font> </span></td>
				<td class="tit">项目名称:</td>
				<td><input value="${regBaseZrz.xmmc}" type="text" maxlength="100" class="input-small "/></td>
				<td class="tit">构筑物名称:</td>
				<td><input value="${regBaseZrz.gzwmc}" type="text" maxlength="100" class="input-small "/></td>
				<td class="tit">竣工日期:</td>
				<td><fmt:formatDate value="${regBaseZrz.jgrq}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
			</tr>
			<tr>
				<td class="tit">建筑物高度:</td>
				<td><input value="${regBaseZrz.jzwgd}" type="text" class="input-small  number"/></td>
				<td class="tit">幢占地面积:</td>
				<td><input value="${regBaseZrz.zzdmj}" type="text" class="input-small  number"/></td>
				<td class="tit">幢用地面积:</td>
				<td><input value="${regBaseZrz.zydmj}" type="text" class="input-small  number"/></td>
				<td class="tit">预测建筑面积:</td>
				<td><input value="${regBaseZrz.ycjzmj}" type="text" class="input-small  number"/></td>
			</tr>
			<tr>
				<td class="tit">实测建筑面积:</td>
				<td><input value="${regBaseZrz.scjzmj}" type="text" class="input-small  number"/></td>
				<td class="tit">总层数:</td>
				<td><input value="${regBaseZrz.zcs}" maxlength="4" type="text" class="input-small  digits"/></td>
				<td class="tit">地上层数:</td>
				<td><input value="${regBaseZrz.dscs}" maxlength="4" type="text" class="input-small  digits"/></td>
				<td class="tit">地下层数:</td>
				<td><input value="${regBaseZrz.dxcs}" maxlength="4" type="text" class="input-small  digits"/></td>
			</tr>
			<tr>
				<td class="tit">地下深度:</td>
				<td><input value="${regBaseZrz.dxsd}" type="text" class="input-small  number"/></td>
				<td class="tit">规划用途:</td>
				<td><select class="input-small ">
					<option value="${regBaseZrz.ghyt}">${fns:getDictLabel(regBaseZrz.ghyt, 'reg_bus_fwyt', '')}</option>
					<c:forEach items="${fns:getDictList('reg_bus_fwyt')}" var="dict">
						<option value="${dict.value}">${dict.label}</option>
					</c:forEach>
				<select></td>
				<td class="tit">房屋结构:</td>
				<td><select class="input-small ">
					<option value="${regBaseZrz.fwjg}">${fns:getDictLabel(regBaseZrz.fwjg, 'reg_bus_fwjg', '')}</option>
					<c:forEach items="${fns:getDictList('reg_bus_fwjg')}" var="dict">
						<option value="${dict.value}">${dict.label}</option>
					</c:forEach>
				<select></td>
				<td class="tit">总套数:</td>
				<td><input value="${regBaseZrz.zts}" type="text" maxlength="6" class="input-small  digits"/></td>
			</tr>
			<tr>
				<td class="tit">建筑物基本用途:</td>
				<td><textarea rows="2" maxlength="200" class="input-medium ">${regBaseZrz.jzwjbyt}</textarea></td>
				<td class="tit">档案号:</td>
				<td><input value="${regBaseZrz.dah}" type="text" maxlength="50" class="input-small "/></td>
				<td class="tit">备注:</td>
				<td><textarea rows="2" maxlength="200" class="input-medium ">${regBaseZrz.bz}</textarea></td>
				<td class="tit">状态:</td>
				<td><select class="input-small ">
					<option value="${regBaseZrz.zt}">${fns:getDictLabel(regBaseZrz.zt, 'reg_bus_bdcdyzt', '')}</option>
					<c:forEach items="${fns:getDictList('reg_bus_bdcdyzt')}" var="dict">
						<option value="${dict.value}">${dict.label}</option>
					</c:forEach>
				<select></td>
			</tr> 
			<tr>
				<td colspan="8" align="right" style="padding:5px 25px 5px 5px;">
					<a href="${ctx}/reg/base/regBaseC/zchGuideListView?ZID=${regBaseZrz.id}&XMMC=${regBaseXmmc}&ywh=${ywh}&djlx=${DJLX}">楼盘整体信息</a>
				</td>
			</tr> 
		</table> 
	</c:forEach>
	 --%>
	</div>
	<div class="pagination">${page}</div>
</body>
</html>