7e26ffbb26643e8b361b7f8ef2ea6c9307ac42ca.svn-base 3.22 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(zrzh,ljzh,xmmc,ywh,djlx,ftfs){
			var successbj = 1;
			if(djlx != "905" && djlx != "907" && djlx != "901" ){
				if(djlx == "207" && ftfs == 2){
					successbj = 1;
				}else{
					$.ajax({ 
						type:"POST", 
						url:"${ctx}/reg/bus/regBusBdcqzsdjxx/isTransactionTd", 
						cache: false, 
						data:"zddm="+zrzh.substr(0,19),
					    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?ZRZH="+zrzh+"&LJZH="+ljzh+"&XMID=${XMID}&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 class="breadcrumb form-search">
	<ul class="ul-form">
			
			<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> 
				<shiro:hasPermission name="reg:base:regBaseZrz:edit"><th>操作</th></shiro:hasPermission>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="regBaseLjz">
			<tr>
				<td><a href="#">
					${regBaseLjz.ljzh}
				</a></td>
				<td>
					${regBaseLjz.zrzh}
				</td>
				
				<td>
					${regBaseXmmc}
				</td> 
				<td>
					${regBaseLjz.scjzmj}
				</td>
				<td>
					${regBaseLjz.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('${regBaseLjz.zrzh}','${regBaseLjz.ljzh}','${regBaseXmmc}','${ywh}','${DJLX}','${ftfs}');">楼盘整体信息</a>
				</td></shiro:hasPermission>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	</div>
	<div class="pagination">${page}</div>
</body>
</html>