ea19e227da3c981a1c6c0d9644a356769617d6bd.svn-base 4.57 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 auditXm(id){
			if(confirm('审核后数据将正式生效,并且不能删除和修改。确认要审核该信息吗?')){
				url = "${ctx}/reg/base/regBaseFdcqxm/audit?id="+id;
				window.location.href=url;
			}
		}
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active"><a href="${ctx}/reg/base/regBaseFdcqxm/">项目内多幢房屋列表</a></li>
		<shiro:hasPermission name="reg:base:regBaseFdcqxm:edit"><li><a href="${ctx}/reg/base/regBaseFdcqxm/form">项目内多幢房屋添加</a></li></shiro:hasPermission>
	</ul>
	<form:form id="searchForm" modelAttribute="regBaseFdcqxm" action="${ctx}/reg/base/regBaseFdcqxm/" 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><label>项目名称:</label>
				<form:input path="xmmc" htmlEscape="false" maxlength="200" class="input-medium"/>
			</li>
			<li><label>幢号:</label>
				<form:input path="zh" htmlEscape="false" maxlength="200" class="input-medium"/>
			</li>
			<li><label>规划用途:</label>
				<form:select path="ghyt" class="input-medium">
					<form:option value="" label=""/>
					<form:options items="${fns:getDictList('reg_bus_fwyt')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
				</form:select>
			</li>
			<li><label>房屋结构:</label>
				<form:select path="fwjg" class="input-medium">
					<form:option value="" label=""/>
					<form:options items="${fns:getDictList('reg_bus_fwjg')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
				</form:select>
			</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}"/>
	<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>
				<shiro:hasPermission name="reg:base:regBaseFdcqxm:edit"><th>操作</th></shiro:hasPermission>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="regBaseFdcqxm">
			<tr>
				<td><a href="${ctx}/reg/base/regBaseFdcqxm/form?id=${regBaseFdcqxm.id}&views=1">
					${regBaseFdcqxm.bdcdyh}
				</a></td>
				<td>
					${regBaseFdcqxm.xmmc}
				</td>
				<td>
					${regBaseFdcqxm.zh}
				</td>
				<td>
					${regBaseFdcqxm.zcs}
				</td>
				<td>
					${fns:getDictLabel(regBaseFdcqxm.ghyt, 'reg_bus_fwyt', '')}
				</td>
				<td>
					${fns:getDictLabel(regBaseFdcqxm.fwjg, 'reg_bus_fwjg', '')}
				</td>
				<td>
					${regBaseFdcqxm.jzmj}
				</td>
				<td>
					<fmt:formatDate value="${regBaseFdcqxm.jgsj}" pattern="yyyy-MM-dd HH:mm:ss"/>
				</td>
				<td>
					${regBaseFdcqxm.zts}
				</td>
				<shiro:hasPermission name="reg:base:regBaseFdcqxm:edit"><td>
				<c:if test="${regBaseFdcqxm.isaudit eq '0'}">
					<a href="#" onclick="auditXm('${regBaseFdcqxm.id}');">审核</a>
    				<a href="${ctx}/reg/base/regBaseFdcqxm/form?id=${regBaseFdcqxm.id}">修改</a>
					<a href="${ctx}/reg/base/regBaseFdcqxm/delete?id=${regBaseFdcqxm.id}" onclick="return confirmx('确认要删除该项目内多幢房屋吗?', this.href)">删除</a>
				</c:if>
				<c:if test="${regBaseFdcqxm.isaudit eq '1'}">
					<a href="${ctx}/reg/base/regBaseZrz/list?XMID=${regBaseFdcqxm.id}&DZ=DZ">幢[栋]信息</a>
					<a href="${ctx}/reg/base/regBaseFdcqxm/unaudit?id=${regBaseFdcqxm.id}" onclick="return confirmx('确认反审核该项目吗?', this.href)">反审核</a>
				</c:if>
				<c:if test="${regBaseFdcqxm.isaudit eq '2'}">
					<a href="${ctx}/reg/base/regBaseZrz/list?XMID=${regBaseFdcqxm.id}&DZ=DZ">幢[栋]信息</a>
					<a href="#">已引用</a>
				</c:if>
				</td></shiro:hasPermission>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
</body>
</html>