⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 showfeedbackinfo.jsp

📁 java阿里巴巴代码
💻 JSP
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ page import="java.util.*"%>
<%@ page import="com.saas.biz.leavewordsMgr.LeavewordsInfo"%>
<%@ page import="com.saas.biz.commen.ParamethodMgr"%>
<%@ page contentType="text/html;charset=GBK"%>
<jsp:useBean id="bean" class="com.saas.biz.commen.ParamethodMgr" scope="page" />
<%
  
    String trade_id = "",root_id="",cust_id="",user_name = "",word_status="",title = "",content="",email="",in_date = "";
    if( request.getParameter("trade_id") != null )
      trade_id =  request.getParameter("trade_id");
          
  LeavewordsInfo leavewords = new LeavewordsInfo();
  ArrayList leaveList = leavewords.getLeaveByTradeId( trade_id );
  if(leaveList != null && leaveList.size()>0)
  {    
	      HashMap map = ( HashMap ) leaveList.get( 0 );
	      if( map.get( "root_id" ) != null )
	      {
	      		root_id = map.get( "root_id" ).toString();
	      }
        if( map.get( "cust_id" ) != null )
        {
        		cust_id = map.get( "cust_id" ).toString();
        } 
        if( map.get( "user_name" ) != null )
        {
           user_name = map.get( "user_name" ).toString();
        }
        if( map.get( "title" ) != null )
        {
           title = map.get( "title" ).toString();
        }
        if( map.get( "content" ) != null )
        {
           content = map.get( "content" ).toString();
        }
        if( map.get( "email" ) != null )
        {
           email = map.get( "email" ).toString();
        }
        if( map.get( "word_status" ) != null )
        {
           word_status = map.get( "word_status" ).toString();
            
        }
        
        if( map.get( "in_date" ) != null )
        {
          in_date =  map.get( "in_date" ).toString();
		      if( in_date.length() > 10 )
		      {
		        in_date = in_date.substring( 0, 10 );
		      }
        }
	  } 

%>
<html>
<head>
<title>农业企业信息化服务平台</title>
<link href="/style/layout.css" rel="stylesheet" type="text/css">
<script language="javascript">
	function back_message()
	{
		  document.getElementById("trade_type_code").value="2124";
		  document.classForm.submit();
		  window.location='receiveFeedbackInfo.jsp';
			return true;
	}
	function reSend_message()
	{
		  var rid = document.getElementById( "root_id" ).value;
			document.getElementById("trade_type_code").value="2124";
			document.classForm.submit();
			window.location='feedbackInfo.jsp?root_id='+rid;
			return true;
	}
  function del_message()
	{
		 document.getElementById("trade_type_code").value="2123";
		 document.classForm.submit();
		 window.location='receiveFeedbackInfo.jsp'; 
		 
	   return true;
	}
	 
</script>
</head>
<body>
	<table width="600" border="0" cellspacing="0" cellpadding="0" align=center>
	  <tr>
	    <td height="13"></td>
	  </tr>
	  <tr>
	    <td>
		       <table width=600 border=0 cellpadding=2 cellspacing=1 align=center bgcolor="#dddddd">
		        <tr>
			        <td style=" color:#000000; font-weight:bolder;" align=right width="15%">发件人:</td>
			        <td style=" color:#000000;background-color:#FFFFFF" colspan="2" align=left><%=user_name%> [ <%=email%> ] </td>
			      </tr>
			      <tr>  
							 <td style=" color:#000000; font-weight:bolder;" align=right width="15%">时间:</td>
							 <td style=" color:#000000;background-color:#FFFFFF" colspan="2" align="left"><%=in_date%></td>
		        </tr>
		    
						   
			   <tr>  
					<td style=" color:#000000; font-weight:bolder;" align=right width="15%">标题:</td>
					<td style=" color:#000000;background-color:#FFFFFF" colspan="2" align="left"><%=title%></td>
		        </tr>
	           <tr>  
					<td style=" color:#000000; font-weight:bolder;" align=right width="15%">内容:</td>
					<td style=" color:#000000;background-color:#FFFFFF" colspan="2" align="left"><%=content%></td>
		        </tr>
		    </table>
		    <br/>
		
		     </table>
		    <form name="classForm" method="post" action="/doTradeReg.do" target="_self">
		    <table  width="600" align="center" >
		    	<hr/>
		    	<tr>
							<td>
								<input  name="bnt1" type="button" value="<<返回" onclick="return back_message()"  />
							 
								<input  name="bnt2" type="button" value="重发" onclick="return reSend_message( )"/>
							 
								<input  name="bnt3" type="button" value="删 除" onclick="return del_message()"/>
							</td>
					</tr>
					<input name= "trade_type_code" id="trade_type_code" type="hidden" value="">
					<input name= "trade_id" id="trade_id" type="hidden" value="<%=trade_id%>">
					<input name= "word_status" id="word_status" type="hidden" value="1">
					<input name= "cust_id" id="cust_id" type="hidden" value="<%=cust_id%>">
					<input name= "root_id" id="root_id" type="hidden" value="<%=root_id%>">
		    </table>
		    </form>	
	
	  <tr>
	    <td height="13"></td>
	  </tr>
	</table>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -