wxFeedbackList.jsp 1.55 KB
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>反馈意见管理</title>
	<meta name="decorator" content="default"/>
	<link href="${ctxStatic}/gis/lib/layer.css" type="text/css" rel="stylesheet" />
	<script src="${ctxStatic}/gis/lib/layer.js" type="text/javascript"></script>
	<script type="text/javascript">
		$(document).ready(function() {
		});
		
		
		function answer(id){
            window.location.href= "${ctx}/wechat/wxFeedback/form?id="+id;
		}
		
		function page(n,s){
			$("#pageNo").val(n);
			$("#pageSize").val(s);
			$("#searchForm").submit();
        	return false;
        }
	</script>
</head>
<body>
     <form:form id="searchForm" modelAttribute="wxFeedback" action="${ctx}/wechat/wxFeedback/list" 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}"/>
		</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>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="wxFeedback">
			<tr>
				<td>${wxFeedback.question}</td>
			<td>${wxFeedback.answer}</td>
				<td>
					<a href="#" onclick="answer('${wxFeedback.id}')">回复</a>
					
					
				</td>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
</body>
</html>