84b2174cd433da5026f4c5de50373daf19964b7a.svn-base
4.11 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
<%@ 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 auditSllm(id){
if(confirm('审核后数据将正式生效,并且不能删除和修改。确认要审核该信息吗?')){
url = "${ctx}/reg/base/regBaseSllm/audit?id="+id;
window.location.href=url;
}
}
function unauditSllm(id){
if(confirm('反审核后数据恢复可删除和修改。确认要反审核该信息吗?')){
url = "${ctx}/reg/base/regBaseSllm/unaudit?id="+id;
window.location.href=url;
}
}
function deleteSllm(id){
if(confirm('确认要删除该信息吗?')){
url = "${ctx}/reg/base/regBaseSllm/delete?id="+id;
window.location.href=url;
}
}
</script>
</head>
<body>
<ul class="nav nav-tabs">
<li class="active"><a href="${ctx}/reg/base/regBaseSllm/">森林、林木信息列表</a></li>
<shiro:hasPermission name="reg:base:regBaseSllm:edit"><li><a href="${ctx}/reg/base/regBaseSllm/form">森林、林木信息添加</a></li></shiro:hasPermission>
</ul>
<form:form id="searchForm" modelAttribute="regBaseSllm" action="${ctx}/reg/base/regBaseSllm/" 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}"/>
<ul class="ul-form">
<li><label style="width:100px;">不动产单元号:</label>
<form:input path="bdcdyh" htmlEscape="false" maxlength="28" class="input-medium"/>
</li>
<li><label style="width:100px;">林班:</label>
<form:input path="lb" htmlEscape="false" maxlength="100" class="input-medium"/>
</li>
<li class="btns"><input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/></li>
<li class="clearfix"></li>
</ul>
</form:form>
<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>
<th>最后修改人</th>
<shiro:hasPermission name="reg:base:regBaseSllm:edit"><th>操作</th></shiro:hasPermission>
</tr>
</thead>
<tbody>
<c:forEach items="${page.list}" var="regBaseSllm">
<tr>
<shiro:hasPermission name="reg:base:regBasesllm:view">
<td><a href="${ctx}/reg/base/regBaseSllm/form?id=${regBaseSllm.id}&view=1">
${regBaseSllm.bdcdyh}
</a></td>
</shiro:hasPermission>
<td>
${fns:getDictLabel(regBaseSllm.lz, 'reg_bus_lz', '')}
</td>
<td>
${regBaseSllm.syqmj}
</td>
<td>
${regBaseSllm.lb}
</td>
<td>
${regBaseSllm.zlnd}
</td>
<td>
${regBaseSllm.xdm}
</td>
<td>
${regBaseSllm.creater}
</td>
<td>
<fmt:formatDate value="${regBaseSllm.updateDate}" pattern="yyyy-MM-dd"/>
</td>
<td>
${regBaseSllm.updater}
</td>
<shiro:hasPermission name="reg:base:regBaseSllm:edit">
<td>
<c:if test="${regBaseSllm.isaudit ne '2'}">
<c:if test="${regBaseSllm.isaudit eq '0'}">
<a href="#" onclick="auditSllm('${regBaseSllm.id}');">审核</a>
<a href="${ctx}/reg/base/regBaseSllm/form?id=${regBaseSllm.id}">修改</a>
<a href="#" onclick="deleteSllm('${regBaseSllm.id}');">删除</a>
</c:if>
<c:if test="${regBaseSllm.isaudit eq '1'}">
<a href="#" onclick="unauditSllm('${regBaseSllm.id}');">反审核</a>
</c:if>
</c:if>
<c:if test="${regBaseSllm.isaudit eq '2'}">
<a href="#">已引用</a>
</c:if>
</td>
</shiro:hasPermission>
</tr>
</c:forEach>
</tbody>
</table>
<div class="pagination">${page}</div>
</body>
</html>