6c87c6c49d2fb1418c59915de361d3708bee7cec.svn-base
5.39 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
142
143
144
145
146
147
148
149
150
151
152
<%@ 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 winOpenLq(id){
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/bus/regBusLq/fghbchangeform?id="+ id +"&VIEWS=1&optype=update","newwindow",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}
function winOpenUpdateLq(id){
var iWidth=1250;
var iHeight=600;
var iTop = (window.screen.height - 30 - iHeight) / 2;
var iLeft = (window.screen.width - 10 - iWidth) / 2;
window.open("${ctx}/reg/bus/regBusLq/fghbchangeform?id="+ id +"&optype=update","newwindow",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}
function reloadLq(){
var optype = "${optype}";
var regedInfoType = "${DJLX}";
if(window.opener) {
if (regedInfoType == "414") { //林权分割登记
if(optype == undefined || optype == null || optype ==""){
window.opener.divisionframe.location.reload();
}else{
window.opener.parent.document.qlrframe.location.reload();
window.opener.parent.document.sllmsyqframe.location.reload();
window.opener.parent.document.divisionframe.location.reload();
window.opener.parent.document.divisionbeforeframe.location.reload();
}
}else if(regedInfoType == "415"){//林权合并登记
if(optype == undefined || optype == null || optype ==""){
window.opener.qlrframe.location.reload();
window.opener.sllmsyqframe.location.reload();
window.opener.mergerframe.location.reload();
window.opener.mergerbeforeframe.location.reload();
}else{
window.opener.parent.document.qlrframe.location.reload();
window.opener.parent.document.sllmsyqframe.location.reload();
window.opener.parent.document.mergerframe.location.reload();
window.opener.parent.document.mergerbeforeframe.location.reload();
}
}
window.close();
}
}
function deletelink(ywh,bdcdyh){
if(confirm('确认要删除这条信息和对应的已登记信息吗?')){
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/bus/regBusLq/fghbDelete?ywh="+ywh+"&bdcdyh="+bdcdyh+"&WO=1&DJLX=${DJLX}","deletewindow",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}
}
</script>
</head>
<body>
<ul class="nav nav-tabs">
<li class="active"><a href="#">林权登记信息列表</a></li>
</ul>
<form:form id="searchForm" modelAttribute="regBusLq" action="${ctx}/reg/bus/regBusLq/divisionMergerList?ywh=${YWH}&WO=${WO}&DJLX=${DJLX}&optype=${optype}&LISTVIEWS=${LISTVIEWS}" method="post" class="">
<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
</form:form>
<c:if test="${not empty WO}">
<br>
<input id="reLoadLq" class="btn btn-primary" type="button" onclick="reloadLq();" value="退出列表"/>
<br><br>
</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>
<th>小地名</th>
<c:if test="${empty LISTVIEWS}">
<shiro:hasPermission name="reg:bus:regBusLq:edit"><th>操作</th></shiro:hasPermission>
</c:if>
</tr>
</thead>
<tbody>
<c:forEach items="${page.list}" var="regBusLq">
<tr>
<td>
${regBusLq.ywh}
</td>
<c:if test="${empty WO}">
<td>
<a href="javascript:void(0);" onclick="winOpenLq('${regBusLq.id}');">
${regBusLq.bdcdyh}
</a>
</td>
</c:if>
<c:if test="${not empty WO}">
<td>
${regBusLq.bdcdyh}
</td>
</c:if>
<td>
${fns:getDictLabel(regBusLq.qllx, 'reg_bus_qllx', '')}
</td>
<td>
${regBusLq.syqmj}亩
</td>
<td>
<fmt:formatDate value="${regBusLq.ldsyqssj}" pattern="yyyy-MM-dd"/>
</td>
<td>
<fmt:formatDate value="${regBusLq.ldsyjssj}" pattern="yyyy-MM-dd"/>
</td>
<td>
${regBusLq.xdm}
</td>
<c:if test="${empty LISTVIEWS}">
<shiro:hasPermission name="reg:bus:regBusLq:edit"><td>
<a href="javascript:void(0);" onclick="winOpenUpdateLq('${regBusLq.id}');">修改</a>
<a href="javascript:void(0);" onclick="deletelink('${regBusLq.ywh}','${regBusLq.bdcdyh}');">删除</a>
</td></shiro:hasPermission>
</c:if>
</tr>
</c:forEach>
</tbody>
</table>
<div class="pagination">${page}</div>
</body>
</html>