7e7b3e2873fbc9223f528736461fdab071892fda.svn-base
7.66 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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
<%@ 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 winOpenTdsyq(id){
//弹出窗口的宽度;
var iWidth=1100;
//弹出窗口的高度;
var iHeight=600;
//获得窗口的垂直位置
var iTop = (window.screen.height - 30 - iHeight) / 2;
//获得窗口的水平位置
var iLeft = (window.screen.width - 10 - iWidth) / 2;
// var djxl = "${DJLX}";
// if(djxl == '421'){
// window.open("${ctx}/reg/base/regBaseZdjbxx/propertygmform?YWH=${YWH}&ids="+id+"&djlx=421&optype=update&LISTVIEWS=1&VIEWS=1","newwindow",
// "height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
// }else{
window.open("${ctx}/reg/bus/regBusTdsyq/fgbgchangeform?id="+ id +"&VIEWS=1&ywh=${YWH}&DJLX=${DJLX}&optype=update","newwindow",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
// }
}
function winOpenUpdateTdsyq(id,zddm){
//弹出窗口的宽度;
var iWidth=1100;
//弹出窗口的高度;
var iHeight=600;
//获得窗口的垂直位置
var iTop = (window.screen.height - 30 - iHeight) / 2;
//获得窗口的水平位置
var iLeft = (window.screen.width - 10 - iWidth) / 2;
var djxl = "${DJLX}";
if(djxl == '418'){//土地所有权分割
window.open("${ctx}/reg/base/regBaseZdjbxx/divisionform?YWH=${YWH}&oldywid="+id+"&djlx=${DJLX}&optype=update&rights=suoy","newwindow",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}else if(djxl == '419'){//土地所有权合并
window.open("${ctx}/reg/base/regBaseZdjbxx/nextmerger?YWH=${YWH}&ids="+id+"&djlx=${DJLX}&optype=update&rights=suoy","newwindow",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}else{
window.open("${ctx}/reg/base/regBaseZdjbxx/propertyform?YWH=${YWH}&oldywid="+id+"&djlx=${DJLX}&zddm="+zddm+"&optype=update&rights=suoy","newwindow",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}
}
function reloadTdsyq(){
var optype = "${optype}";
var djxl = "${DJLX}";
if(window.opener) {
if(djxl == '418'){//土地所有权分割
if(optype == undefined || optype == null || optype ==""){
window.opener.divisionframe.location.reload();
}else{ //更新
window.opener.parent.document.tdsyqframe.location.reload();
window.opener.parent.document.qlrframe.location.reload();
window.opener.parent.document.divisionbeforeframe.location.reload();
window.opener.parent.document.divisionframe.location.reload();
}
}else{
//新增
if(optype == undefined || optype == null || optype ==""){
window.opener.document.tdsyqframe.location.reload();
window.opener.document.qlrframe.location.reload();
if(djxl == '419'){//土地所有权合并
window.opener.document.mergerbeforeframe.location.reload();
window.opener.document.mergerframe.location.reload();
}else{
window.opener.document.propertyframe.location.reload();
window.opener.document.propertyOldframe.location.reload();
}
}else{ //更新
window.opener.parent.document.tdsyqframe.location.reload();
window.opener.parent.document.qlrframe.location.reload();
if(window.opener.parent.document.propertyframe){
window.opener.parent.document.propertyframe.location.reload();
}
if(window.opener.parent.document.propertyOldframe){
window.opener.parent.document.propertyOldframe.location.reload();
}
if(window.opener.parent.document.mergerbeforeframe){
window.opener.parent.document.mergerbeforeframe.location.reload();
}
if(window.opener.parent.document.mergerframe){
window.opener.parent.document.mergerframe.location.reload();
}
}
}
window.close();
}
}
function winOpendeleteBg(id){
if(confirm('是否删除?')){
//弹出窗口的宽度;
var iWidth=1100;
//弹出窗口的高度;
var iHeight=400;
//获得窗口的垂直位置
var iTop = (window.screen.height - 30 - iHeight) / 2;
//获得窗口的水平位置
var iLeft = (window.screen.width - 10 - iWidth) / 2;
var url = "";
var djlx = "${DJLX}";
if(djlx == "418"){//分割
url = "${ctx}/reg/bus/regBusTdsyq/deleteTdfgbg?id="+ id +"&YWH=${YWH}";
}else if(djlx == "419"){ //合并
url = "${ctx}/reg/bus/regBusTdsyq/deleteTdhbbg?id="+ id +"&YWH=${YWH}";
}else{ //djlx == "401" || djlx == "601"
url = "${ctx}/reg/bus/regBusTdsyq/deleteTdsxbg?id="+ id +"&YWH=${YWH}";
}
window.open(url ,"变更删除",
"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="javascript:void(0);">集体土地所有权信息列表</a></li>
</ul>
<c:if test="${not empty WO}">
<br>
<input id="reLoadTdsyq" class="btn btn-primary" type="button" onclick="reloadTdsyq();" 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>
<th>草地面积(㎡)</th>
<c:if test="${empty LISTVIEWS}">
<shiro:hasPermission name="reg:bus:regBusTdsyq:edit"><th>操作</th></shiro:hasPermission>
</c:if>
</tr>
</thead>
<tbody>
<c:forEach items="${page.list}" var="regBusTdsyq">
<tr>
<td>
${regBusTdsyq.ywh}
</td>
<td>
<c:if test="${empty WO}">
<a href="javascript:void(0);" onclick="winOpenTdsyq('${regBusTdsyq.id}');">
${regBusTdsyq.bdcdyh}
</a>
</c:if>
<c:if test="${not empty WO}">
${regBusTdsyq.bdcdyh}
</c:if>
</td>
<td>
${fns:getDictLabel(regBusTdsyq.qllx, 'reg_bus_qllx', '')}
</td>
<td>
${regBusTdsyq.djyy}
</td>
<td>
${regBusTdsyq.nydmj}
</td>
<td>
${regBusTdsyq.gdmj}
</td>
<td>
${regBusTdsyq.ldmj}
</td>
<td>
${regBusTdsyq.cdmj}
</td>
<c:if test="${empty LISTVIEWS}">
<shiro:hasPermission name="reg:bus:regBusTdsyq:edit"><td>
<a href="javascript:void(0);" onclick="winOpenUpdateTdsyq('${regBusTdsyq.id}','${regBusTdsyq.zddm}');">修改</a>
<a href="javascript:void(0);" onclick="winOpendeleteBg('${regBusTdsyq.id}')">删除</a>
</td></shiro:hasPermission>
</c:if>
</tr>
</c:forEach>
</tbody>
</table>
</body>
</html>