- <%@ page language="java" pageEncoding="GB2312" contentType="text/html;charset=GB2312"%>
- <%@ include file="/common/taglibs.jsp"%>
- <%@ include file="/common/meta.jsp"%>
- <script language="javascript" src='<c:url value="/scripts/change_page.js"/>'></script>
- <script language="javascript" src='<c:url value="/scripts/common.js"/>'></script>
- <Script language="javascript">
- <!--
- /**
- * form 表单
- * pageNo 翻页页码
- */
- function dowork(how, entityid) {
- var form = document.infofeedbackForm;
- var pageCurrent = '<c:out value="${pageObject.pageCurrent}"/>';
- var pageCount = '<c:out value="${pageObject.pageCount}"/>';
- var mid = getChecked(form);
- switch(how) {
- case 'add' :
- //window.location.href='<c:url value="/sys/cmsComment/addCMSComment.html"/>';
- form.action = '<c:url value="/sys/infofeedback/addInfofeedback.html"/>';
- form.id.value = "";
- form._.value="_" ;
- form.method.value = "add" ;
- form.submit();
- break;
- case 'edit' :
- if(entityid == "") {
- alert("请选择修改项!");
- } else {
- //window.location.href='<c:url value="/sys/cmsComment/editCMSComment.html"/>?id=' + entityid;
- form.action = '<c:url value="/sys/infofeedback/editInfofeedback.html"/>';
- form.id.value = entityid;
- form._.value="_" ;
- form.method.value = "edit" ;
- form.submit();
- break;
- }
- break;
- case 'del' :
- var ids = getChecks(form);
- if(ids == "") {
- alert("请选择删除项!");
- } else if(confirm("是否删除所选项?")){
- form.action = '<c:url value="/sys/infofeedback/deleteInfofeedback.html"/>';
- form.method.value="delete";
- form.submit();
- }
- break;
- case 'view':
- if(entityid == "") {
- alert("请选择查看项项!");
- } else {
- //window.location.href='<c:url value="/sys/cmsarticle/editCMSArticle.html"/>?id=' + entityid;
- openWin7('<c:url value="/sys/infofeedback/viewInfofeedback.html"/>?method=view&id=' + entityid);
- break;
- }
- break;
- case 'search':
- if (form.keyword.value==""){
- alert("请填写检索内容");
- form.keyword.focus() ;
- }else{
- form.action ='<c:url value="/sys/infofeedback/findInfofeedback.html"/>';
- form.method.value="find" ;
- form.submit() ;
- }
- break;
- case 'up' :
- if(mid == "") {
- alert("请选择上移项!");
- }
- else if(mid == form.firstId.value && pageCurrent == '1'){
- alert("第一条记录不能上移!");
- }
- else {
- form.action = '<c:url value="/sys/infofeedback/upInfofeedback.html"/>';
- form.method.value = "up";
- form.id.value = mid;
- form.submit();
- }
- break;
- case 'down' :
- if(mid == "") {
- alert("请选择下移项!");
- }
- else if(mid == form.lastId.value && pageCurrent == pageCount){
- alert("最后记录不能下移!");
- }
- else {
- form.action = '<c:url value="/sys/infofeedback/downInfofeedback.html"/>';
- form.method.value = "down";
- form.id.value = mid;
- form.submit();
- }
- break;
- }//end switch
- }
- //-->
- </script>
- <html>
- <head>
- <title>信息反馈说明</title>
- <link rel="stylesheet" type="text/css" href="../include/style.css">
- <META NAME="Author" CONTENT="xunuo">
- <META NAME="Keywords" CONTENT="xunuo">
- <META NAME="Description" CONTENT="自动生成">
- </head>
- <body topmargin=0 leftmargin=0>
- <table border=0 width="100%" cellspacing=0 cellpadding=0 height="100%">
- <tr>
- <td id="midleft"></td>
- <td style="padding:5pt" valign="top">
- <html:form action="/sys/infofeedback/searchInfofeedbackByGoal.html">
- <html:hidden property="pageCurrent"/>
- <html:hidden property = "id" value="" />
- <html:hidden property="goalid"/>
- <input type="hidden" name="_" value="_" >
- <input type="hidden" name="method" value="getInfofeedbacksByGoal"><!--这里需要填写父目录struts如:searchItemsByParent-->
- <html:hidden property = "status" />
- <input type="hidden" name="firstId" value="<c:out value="${firstId}"/>">
- <input type="hidden" name="lastId" value="<c:out value="${lastId}"/>">
- <table border="0" cellpadding="4" cellspacing="1" class=table width="100%">
- <tr>
- <th width="615" align="center" colspan="8">信息反馈说明</th>
- <th width="105" align="center" colspan="2">操作</th>
- </tr>
- <tr class="td">
- <td width = "5"></td>
- <td align="center" nowrap>标题</td>
- <td align="center" nowrap>反馈人</td>
- <td align="center" nowrap>反馈类型</td>
- <td align="center" nowrap>反馈目标处所</td>
- <td align="center" nowrap>反馈时间</td>
- <td align="center" nowrap>处理过程</td>
- <td align="center" nowrap>状态</td>
- <td class="td" nowrap align="center">预览</td>
- <td class="td" nowrap align="center">编辑</td>
- </tr>
- <c:forEach var="infofeedback" items="${infofeedbackList}">
- <tr class="td">
- <td><input type="checkbox" id="ids" name="ids" value='<c:out value="${infofeedback.id}"/>'></td>
- <td><c:out value="${infofeedback.title}"/></td>
- <td><c:out value="${infofeedback.author}"/></td>
- <td><c:out value="${infofeedback.infoType}"/></td>
- <td><c:out value="${infofeedback.plateName}"/></td>
- <td><c:out value="${infofeedback.createtime}"/></td>
- <td><c:out value="${infofeedback.dealProcessName}"/></td>
- <td><c:if test="${infofeedback.status==1}" ><c:out value="有效"/></c:if><c:if test="${infofeedback.status==0}" ><b><u><c:out value="无效"/></u></b></c:if></td>
- <td align=center><a href='javascript: dowork("view", "<c:out value="${infofeedback.id}"/>");'>预览</a></td>
- <td align=center><a href='javascript: dowork("edit", "<c:out value="${infofeedback.id}"/>");'>编辑</a></td>
- </tr>
- </c:forEach>
- <!-- 操作 start -->
- <!-- 操作 end -->
- <!-- 分页 start -->
- <td align="right" style="background-color:#eeeeee" colspan="10">
- <script language="javascript">
- drawDispartPageView("document.infofeedbackForm", <c:out value="${pageObject.pageCurrent}"/>, <c:out value="${pageObject.pageCount}"/>, <c:out value="${pageObject.rowCount}"/>);
- </script>
- </td>
- </tr>
- </table><br>
- <div align=right><a href="/sys/dealinfo/searchDealInfo.html">查看所有...</a></div>
- <!-- 分页 end -->
- </html:form>
- </td></tr></table>
- </body>
- </html>