d5036817aad223cbcf1867b254f696dfb0bf5d34.svn-base
7.76 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
203
204
205
206
207
208
209
210
211
212
213
<%@ 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:#C1FFC1;");
}
if(ret == "3"){
$(this).find("td").attr("style","background-color:#D4D4D4;");
}
});
};
function audit(ids) {
if(confirm("是否审核通过?")) {
$.ajax({
type:"POST",
url:"${ctx}/reg/bus/kc01/audit",
cache: false,
data:"ids="+ids,
async:false,
success:function(modelmap){
if(modelmap.success == 0){
url = "${ctx}/reg/bus/kc01/list";
window.location.href=url;
}else{
alert(modelmap.msg);
return;
}
}
});
}
}
function unaudit(ids) {
if(confirm("是否审核不通过?")) {
$.ajax({
type:"POST",
url:"${ctx}/reg/bus/kc01/unaudit",
cache: false,
data:"ids="+ids,
async:false,
success:function(modelmap){
if(modelmap.success == 0){
url = "${ctx}/reg/bus/kc01/list";
window.location.href=url;
}else{
return;
}
}
});
}
}
function caudit(ids) {
if(confirm("是否申请重新审核?")) {
$.ajax({
type:"POST",
url:"${ctx}/reg/bus/kc01/caudit",
cache: false,
data:"ids="+ids,
async:false,
success:function(modelmap){
if(modelmap.success == 0){
url = "${ctx}/reg/bus/kc01/list";
window.location.href=url;
}else{
return;
}
}
});
}
}
function printzm(ids) {
var iWidth=900;
var iHeight=680;
var iTop = (window.screen.height - 30 - iHeight) / 2;
var iLeft = (window.screen.width - 10 - iWidth) / 2;
window.open("${ctx}/reg/bus/kc01/printzmdy?ids="+ids,"newwindow",
"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="${ctx}/reg/bus/kc01/list">网点信息查询列表</a></li>
<shiro:hasPermission name="reg:bus:kc01:edit"><li><a href="${ctx}/reg/bus/kc01/form">网点信息查询添加</a></li></shiro:hasPermission>
</ul>
<form:form id="searchForm" modelAttribute="kc01" action="${ctx}/reg/bus/kc01/" 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 class="tit">坐落</td>
<td><form:input path="akc005" htmlEscape="false" class="input-medium " /></td>
<td class="tit">权利人名称</td>
<td><form:input path="akc004" htmlEscape="false" class="input-medium " /></td>
<td class="tit">不动产证号</td>
<td><form:input path="akc003" htmlEscape="false" class="input-medium " /></td>
<td class="tit">状态</td>
<td>
<form:select path="akc008" id="akc008" class="input-medium ">
<form:option value="" label=""/>
<form:option value="0" label="未审核"/>
<form:option value="1" label="已审核"/>
<form:option value="3" label="未通过"/>
</form:select></td>
<td class="btns"><input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/></td>
</tr>
</table>
</form:form>
<sys:message content="${message}"/>
<table id="contentTable" class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th hidden="hidden">ID编号</th>
<th width="10%">不动产单元号</th>
<th width="20%">不动产证号</th>
<th width="10%">权利人名称</th>
<th width="30%">坐落</th>
<th width="5%">状态</th>
<shiro:hasPermission name="reg:bus:kc01:edit"><th>操作</th></shiro:hasPermission>
</tr>
</thead>
<tbody>
<c:forEach items="${page.list}" var="kc01">
<tr>
<td width="10%" hidden="hidden">
${kc01.id}
<input type="hidden" name="akc008" id="${kc01.akc008}" value=""/>
</td>
<td width="10%">
${kc01.akc002}
</td>
<td width="20%">
${kc01.akc003}
</td>
<td width="10%">
${kc01.akc004}
</td>
<td width="30%">
${kc01.akc005}
</td>
<td width="5%">
<c:if test="${kc01.akc008 eq '0' }">
未审核
</c:if>
<c:if test="${kc01.akc008 eq '1' }">
已审核
</c:if>
<c:if test="${kc01.akc008 eq '3' }">
未通过
</c:if>
</td>
<shiro:hasPermission name="reg:bus:kc01:edit"><td>
<c:if test="${kc01.akc008 eq '0'}">
<c:if test="${officeCode eq 'S00001001888' }">
<a href="${ctx}/reg/bus/kc01/form?id=${kc01.id}&view=1"><span><font style="color: #B22222">查看</font></span></a>
<a href="#" onclick="audit('${kc01.id}');"><span><font color="green">审核</font></span></a>
<a href="#" onclick="unaudit('${kc01.id}');"><span><font color="#4169E1">不通过</font></span></a>
</c:if>
<c:if test="${officeCode ne 'S00001001888' }">
<a href="${ctx}/reg/bus/kc01/form?id=${kc01.id}&view=1"><span><font style="color: #B22222">查看</font></span></a>
<a href="${ctx}/reg/bus/kc01/form?id=${kc01.id}&update=1">修改</a>
<a href="${ctx}/reg/bus/kc01/delete?id=${kc01.id}" onclick="return confirmx('确认要删除该网点信息查询吗?', this.href)"><span><font color="red">删除</font></span></a>
</c:if>
<a href="#" onclick="printzm('${kc01.id}');"><span><font color="green">证明打印</font></span></a>
</c:if>
<c:if test="${kc01.akc008 eq '3'}">
<c:if test="${officeCode eq 'S00001001888' }">
<a href="${ctx}/reg/bus/kc01/form?id=${kc01.id}&view=1"><span><font style="color: #B22222">查看</font></span></a>
<a href="#" onclick="unaudit('${kc01.id}');"><span><font color="#4169E1">不通过</font></span></a>
</c:if>
<c:if test="${officeCode ne 'S00001001888' }">
<a href="${ctx}/reg/bus/kc01/form?id=${kc01.id}&view=1"><span><font style="color: #B22222">查看</font></span></a>
<a href="${ctx}/reg/bus/kc01/form?id=${kc01.id}&update=1">修改</a>
<a href="${ctx}/reg/bus/kc01/delete?id=${kc01.id}" onclick="return confirmx('确认要删除该网点信息查询吗?', this.href)"><span><font color="red">删除</font></span></a>
<a href="#" onclick="caudit('${kc01.id}');"><span><font color="green">重审核</font></span></a>
</c:if>
<a href="#" onclick="printzm('${kc01.id}');"><span><font color="green">证明打印</font></span></a>
</c:if>
<c:if test="${kc01.akc008 eq '2' or kc01.akc008 eq '1'}">
<a href="${ctx}/reg/bus/kc01/form?id=${kc01.id}&view=1"><span><font style="color: #B22222">查看</font></span></a>
<a href="#">已审核/已引用</a>
<a href="#" onclick="printzm('${kc01.id}');"><span><font color="green">证明打印</font></span></a>
</c:if>
<a href="${ctx}/reg/bus/kc01/download"><span><font color="blue">打印控件下载</font></span></a>
</td></shiro:hasPermission>
</tr>
</c:forEach>
</tbody>
</table>
<div class="pagination">${page}</div>
</body>
</html>