- <%@ 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.infofeedbacktypeForm;
- var pageCurrent = '<c:out value="${pageObject.pageCurrent}"/>';
- var pageCount = '<c:out value="${pageObject.pageCount}"/>';
- var mid = getChecked(form);
- switch(how) {
- case 'edit' :
- if(entityid == "") {
- alert("请选择修改项!");
- } else {
- //window.location.href='<c:url value="/sys/cmsComment/editCMSComment.html"/>?id=' + entityid;
- form.action = '<c:url value="/sys/infofeedbacktype/editInfofeedbacktype.html"/>';
- form.id.value = entityid;
- form.method.value = "edit" ;
- form.submit();
- break;
- }
- break;
- case 'view':
- if(entityid == "") {
- alert("请选择查看项项!");
- } else {
- //window.location.href='<c:url value="/sys/cmsarticle/editCMSArticle.html"/>?id=' + entityid;
- openWin7('<c:url value="/sys/infofeedbacktype/viewInfofeedbacktype.html"/>?method=view&id=' + entityid);
- break;
- }
- break;
- case 'search':
- if (form.keyword.value==""){
- alert("请填写检索内容");
- form.keyword.focus() ;
- }else{
- form.action ='<c:url value="/sys/infofeedbacktype/findInfofeedbacktype.html"/>';
- form.method.value="find" ;
- form.submit() ;
- }
- break;
- }//end switch
- }
- function refreshLeft() {
- //alert(parent.left.location);
- parent.left.location.reload();
- }
- //-->
- </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 onload="refreshLeft()">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td colspan="2" bgcolor="#f6f6f6" align="right" style="cursor:hand" onClick="if(HelpTab.style.display=='none'){HelpTab.style.display='';window.scrollTo(window.pageXOffset,0);}else{HelpTab.style.display='none'}"> <img src='<c:url value="/sys/images/why.gif"/>' width="14" height="14">
- ::Help::</td>
- </tr>
- <tr Id="HelpTab" style="display:none">
- <td width="2%"> </td>
- <td width="98%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td height="10" width="10"></td>
- <td></td>
- </tr>
- <tr>
- <td>·</td>
- <td><b>功能说明</b></td>
- </tr>
- <tr>
- <td></td>
- <td>点击左边窗口反馈类别即可得到反馈信息。<p></td>
- </tr>
- </table>
- <a name="Help"></a></td>
- </tr>
- </table>
- <html:form action="/sys/infofeedbacktype/searchInfofeedbacktype.html">
- <html:hidden property="pageCurrent"/>
- <html:hidden property = "id" value="" />
- <input type="hidden" name="method" value=""><!--这里需要填写父目录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="3">信息反馈分类说明</th>
- <th width="105" align="center" colspan="2">操作</th>
- </tr>
- <tr class="td">
- <td width = "5"></td>
- <td align="center" width="80%">反馈类别</td>
- <td align="center" nowrap>状态</td>
- <td class="td" nowrap align="center">预览</td>
- <td class="td" nowrap align="center">编辑</td>
- </tr>
- <c:forEach var="infofeedbacktype" items="${infofeedbacktypeList}">
- <tr class="td">
- <td><input type="checkbox" id="ids" name="ids" value='<c:out value="${infofeedbacktype.id}"/>' <c:if test="${infofeedbacktypeForm.id == infofeedbacktype.id}">checked</c:if>></td>
- <td><c:out value="${infofeedbacktype.feedbacktype}"/></td>
- <td><c:if test="${infofeedbacktype.status == 1}">有效</c:if><c:if test="${infofeedbacktype.status != 1}">无效</c:if></td>
- <td align=center><a href='javascript: dowork("view", "<c:out value="${infofeedbacktype.id}"/>");'>预览</a></td>
- <td align=center><a href='javascript: dowork("edit", "<c:out value="${infofeedbacktype.id}"/>");'>编辑</a></td>
- </tr>
- </c:forEach>
- <!-- 操作 start -->
- <!-- 操作 end -->
- <!-- 分页 start -->
- <td align="right" style="background-color:#eeeeee" colspan="5">
- <script language="javascript">
- drawDispartPageView("document.infofeedbacktypeForm", <c:out value="${pageObject.pageCurrent}"/>, <c:out value="${pageObject.pageCount}"/>, <c:out value="${pageObject.rowCount}"/>);
- </script>
- </td>
- </tr>
- </table><br>
- <!-- 分页 end -->
- </html:form>
- </body>
- </html>