9a9e1f9cd6c7ab894361cac913831a5d6639b983.svn-base
4.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<%@ 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;
}
//初始化方法,改变已审核数据的颜色
window.onload = function() {
//改变 已打印的 行颜色
$("#contentTable > tbody").find("tr").each(function(){
var ret = $(this).find('input:hidden').attr('id');
if(ret == "1"){
$(this).find("td").attr("style","background-color:#D2E9FF;");
}
});
};
//审核
function auditHisDjxx(id,isaudit){
if(isaudit == '1'){
alert("已审核的数据不能重复审核!");
return;
}
if(confirm('审核后数据将正式生效,并且不能删除和修改。确认要审核该信息吗?')){
url = "${ctx}/reg/bus/regBusHisHouseBdcqzsdjxx/audit?id="+id;
window.location.href=url;
}
}
//删除
function deleteHisDjxx(id,isaudit){
if(isaudit == '1'){
alert("已审核的数据不能删除!");
return;
}
if(confirm('确认要删除该历史不动产登记信息吗?')){
url = "${ctx}/reg/bus/regBusHisHouseBdcqzsdjxx/delete?mainid="+id;
window.location.href=url;
}
}
//退出列表
function reload(){
if(window.opener) {
window.close();
window.opener.location.reload();
}
}
</script>
</head>
<body>
<!-- <ul class="nav nav-tabs"> -->
<!-- <li class="active"><a href="#">预告登记房屋历史登记数据录入列表</a></li> -->
<!-- </ul> -->
<form:form id="searchForm" modelAttribute="regBusHisHouseBdcqzsdjxx" action="#" 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}"/>
<!-- <table class="table-form"> -->
<!-- <tr> -->
<!-- <td> 业务号:</td> -->
<!-- <td> -->
<%-- <form:input path="ywh" htmlEscape="false" maxlength="20" class="input-medium"/> --%>
<!-- </td> -->
<!-- <td>不动产权证号:</td> -->
<!-- <td> -->
<%-- <form:input path="bdcqzh" htmlEscape="false" maxlength="50" class="input-medium"/> --%>
<!-- </td> -->
<!-- <td>不动产单元号:</td> -->
<!-- <td> -->
<%-- <form:input path="bdcdyh" htmlEscape="false" maxlength="28" class="input-medium"/> --%>
<!-- </td> -->
<!-- <td class="btns"><input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/></td> -->
<!-- <td class="clearfix"></td> -->
<!-- </tr> -->
<!-- </table> -->
</form:form>
<c:if test="${not empty WO}">
<input id="reLoad" class="btn btn-primary" type="button" onclick="reload();" value="退出列表" />
</c:if>
<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>
<c:if test="${VIEWS ne 1}">
<shiro:hasPermission name="reg:bus:regBusHisHouseBdcqzsdjxx:edit"><th>操作</th></shiro:hasPermission>
</c:if>
</tr>
</thead>
<tbody>
<c:forEach items="${page.list}" var="regBusHisHouseBdcqzsdjxx">
<tr>
<td>
<%-- <a href="#" onclick="winOpenHisDjxx('${regBusHisHouseBdcqzsdjxx.id}');"> --%>
${regBusHisHouseBdcqzsdjxx.ywh}
<!-- </a> -->
<input type="hidden" name="isaudit" id="${regBusHisHouseBdcqzsdjxx.isaudit}" value=""/>
</td>
<td>
${regBusHisHouseBdcqzsdjxx.bdcqzh}
</td>
<td>
${regBusHisHouseBdcqzsdjxx.bdcdyh}
</td>
<td>
${fns:getDictLabel(regBusHisHouseBdcqzsdjxx.djxl, 'reg_bus_djxl', '')}
</td>
<td>
<fmt:formatDate value="${regBusHisHouseBdcqzsdjxx.updateDate}" pattern="yyyy-MM-dd HH:mm:ss"/>
</td>
<td>
${regBusHisHouseBdcqzsdjxx.remarks}
</td>
<c:if test="${VIEWS ne 1}">
<shiro:hasPermission name="reg:bus:regBusHisHouseBdcqzsdjxx:edit"><td>
<a href="#" onclick="winOpenUpdateHisDjxx('${regBusHisHouseBdcqzsdjxx.id}','${regBusHisHouseBdcqzsdjxx.isaudit}');">修改</a>
<a href="#" onclick="auditHisDjxx('${regBusHisHouseBdcqzsdjxx.id}','${regBusHisHouseBdcqzsdjxx.isaudit}');">审核</a>
<a href="#" onclick="deleteHisDjxx('${regBusHisHouseBdcqzsdjxx.id}','${regBusHisHouseBdcqzsdjxx.isaudit}');">删除</a>
</td></shiro:hasPermission>
</c:if>
</tr>
</c:forEach>
</tbody>
</table>
<div class="pagination">${page}</div>
</body>
</html>