7f5682dbc1a5aa71904ce6863815661599e7183e.svn-base
4.45 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
<%@ 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 reloadDyaq(){
var optype = "${optype}";
var djlx = "${djlx}";
if(window.opener) {
//新增
if(optype == undefined || optype == null || optype ==""){
window.opener.Beforepropertyframe.location.reload();
window.opener.Afterpropertyframe.location.reload();
}else{ //更新
window.opener.parent.document.Beforepropertyframe.location.reload();
window.opener.parent.document.Afterpropertyframe.location.reload();
}
window.close();
}
}
function winOpenZrzbg(id){
var iWidth=1100;
var iHeight=500;
var iTop = (window.screen.height - 30 - iHeight) / 2;
var iLeft = (window.screen.width - 10 - iWidth) / 2;
window.open("${ctx}/reg/base/regBaseZrz/Zrzbgform?id="+id+"&VIEWS=1&zced=1&oldlist=${oldlist}","newwindow",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}
function winOpenUpdateZrzbg(id){
var iWidth=1100;
var iHeight=500;
var iTop = (window.screen.height - 30 - iHeight) / 2;
var iLeft = (window.screen.width - 10 - iWidth) / 2;
window.open("${ctx}/reg/base/regBaseZrz/Zrzbgform?id="+id+"&ywh=${ywh}&djlx=440&zced=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 deleteZrzbg(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;
window.open("${ctx}/reg/base/regBaseZrz/deleteZrzbg?WO=1&optype=update&id="+id,"newwindow",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}
}
</script>
</head>
<body>
<c:if test="${not empty WO}">
<ul class="nav nav-tabs">
<li class="active"><a href="${ctx}/reg/base/regBaseZrzbg/bglist?optype=${optype}&ywh=${ywh}">自然幢变更临时信息列表</a></li>
</ul>
<br>
<input id="reLoadDyaq" class="btn btn-primary" type="button" onclick="reloadDyaq();" value="退出列表" />
<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 hidden="hidden">自然幢号</th>
<th>建筑面积</th>
<th>占地面积</th>
<th>总层数</th>
<c:if test="${empty LISTVIEWS}">
<shiro:hasPermission name="reg:base:regBaseZrz:edit"><th>操作</th></shiro:hasPermission>
</c:if>
</tr>
</thead>
<tbody>
<c:forEach items="${page.list}" var="regBaseZrzbg">
<tr>
<td id="${regBaseZrzbg.bsm}" >
${regBaseZrzbg.bsm}
</td>
<c:if test="${not empty WO}">
<td>
${regBaseZrzbg.bdcdyh}
</td>
</c:if>
<c:if test="${empty WO}">
<td><a href="javascript:void(0);" onclick="winOpenZrzbg('${regBaseZrzbg.id}');">
${regBaseZrzbg.bdcdyh}
</a></td>
</c:if>
<td>
${regBaseZrzbg.xmmc}
</td>
<td>
${regBaseZrzbg.gzwmc}
</td>
<td>
${regBaseZrzbg.zddm}
</td>
<td hidden="hidden">
${regBaseZrzbg.zrzh}#
</td>
<td>
${regBaseZrzbg.scjzmj}
</td>
<td>
${regBaseZrzbg.zzdmj}
</td>
<td>
${regBaseZrzbg.zcs}
</td>
<c:if test="${empty LISTVIEWS}">
<shiro:hasPermission name="reg:base:regBaseZrz:edit">
<td>
<a href="javascript:void(0);" onclick="winOpenUpdateZrzbg('${regBaseZrzbg.id}');">修改</a>
<a href="javascript:void(0);" onclick="deleteZrzbg('${regBaseZrzbg.id}');">删除</a>
</td>
</shiro:hasPermission>
</c:if>
</tr>
</c:forEach>
</tbody>
</table>
<div class="pagination">${page}</div>
</body>
</html>