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

📄 validitylist.jsp

📁 java阿里巴巴代码
💻 JSP
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ page contentType="text/html;charset=GBK"%>
<%@ page import="java.util.*"%>
<jsp:useBean id="param" class="com.saas.biz.commen.ParamethodMgr" scope="page" />
<jsp:useBean id="tools" class="com.saas.biz.commen.PageTools" scope="page" />
<%@ page import="com.saas.biz.validityMgr.ValidityInfo"%>
<%
	String iStart = "1";
	if (request.getParameter("iStart") != null) {
		iStart = request.getParameter("iStart");
	}
	ValidityInfo validty = new ValidityInfo();
	ArrayList linkArray = validty.getValidityList(Integer.valueOf(iStart).intValue(),"0");
	int counter = validty.getValidityCount("0");
	String pageTools=tools.getPageTools(String.valueOf(counter),"20","validityList.jsp?iStart=",Integer.parseInt(iStart));
	HashMap commap=param.getPagetUrlByCode("106");
%>
<html>
	<head>
		<title>XSaaS-电子商务</title>
		<link href="/style/css.css" rel="stylesheet" type="text/css">
		<style type="text/css">
		.line6 {width:72spx; width:70spx!important;border:#ffcb99 1px solid; font-weight:bold; background-color:#fff8ee; text-align:left; padding-left: 20px;padding-top: 10px;padding-bottom: 10px; color:#000000; margin-top:13px;}   /*横栏样式6---- 头部提醒1*/
		.line6 .img{width:53px; height:53px; float:left; margin-right:20px;}
		.line6 .title {font-size:14px; font-weight:bold; color:#ff5400;}
		.line1 {border-left:#ff7300 3px solid; background-color:#e2e2e2; color:#333333;text-align:left; font-size:12px;}  /*横栏样式1*/
		.td{background-color:#e2e2e2; color:#000000;  font-weight:bold; font-size:13px;}
		</style>
		<link href="/style/layout.css" rel="stylesheet" type="text/css">
		<link href="/style/daohang.css" rel="stylesheet" type="text/css">
		<link href="/style/manager.css" rel="stylesheet" type="text/css">
		<SCRIPT>WinLIKEerrorpage='/winlike/winman/hlp-error.html';</SCRIPT>
		<SCRIPT SRC="/winlike/winman/wininit.js"></SCRIPT>
		<SCRIPT SRC="/winlike/winman/winman.js"></SCRIPT>
		<SCRIPT>
		            WinLIKE.definewindows=mydefss;
		            function mydefss() {
		            	var j=new WinLIKE.window('', 100, 100, '90%', 'WinLIKE.browsersize().Height -Top-30', 2);
		            	j.Vis=false;
		            	j.Nam='appwin';
		            	WinLIKE.addwindow(j);
		            };
      </SCRIPT>
	</head>
	<body>
		<table width="100%" border="0" cellspacing="0" cellpadding="0" align=center>
			<tr>
				<td height="13"></td>
			</tr>
			<tr>
				<td>
					<table width="100%" border=0 cellpadding=2 cellspacing=1 align=center bgcolor="#e7e7e7">
						<tr class="line1">
							<td align="center" class="line1" width="25%">
								信息标题
							</td>
							<td align="center" width="15%">
								信息类型
							</td>
							<td align="center" width="25%">
								客户名称
							</td>
							<td align="center" width="15%">
								发布时间
							</td>
							<td align="center" width="10%">
								审批
							</td>
						</tr>
						<%
						if(linkArray != null && linkArray.size() > 0) 
						{
							for(int i=0;i<linkArray.size();i++) 
							{
								HashMap map = (HashMap) linkArray.get(i);
								String title="",info_type="",cust_id="",cust_name="",oper_date="";
								String quo_id="",type="",page_Url="",trade_id="";
								if(map.get("trade_id")!=null){trade_id=map.get("trade_id").toString();}
								if(map.get("quo_id")!=null){quo_id=map.get("quo_id").toString();}
								if(map.get("rsrv_str10")!=null){title=map.get("rsrv_str10").toString();}
								if(map.get("cust_name")!=null){cust_name=map.get("cust_name").toString();}
								if(map.get("cust_id")!=null){cust_id=map.get("cust_id").toString();}
								if(map.get("info_type")!=null){type=map.get("info_type").toString();info_type=param.getParamNameByValue("106",type);}
								if(map.get("oper_date")!=null){oper_date=map.get("oper_date").toString();}	
								if (oper_date.length() > 10) {oper_date = oper_date.substring(0, 10);}
								if(commap!=null && commap.size()>0){
								  if(commap.get(type)!=null){ 
								    page_Url=commap.get(type).toString();
								    page_Url=page_Url+quo_id;
								  }
								}
									%>
						    <tr style="background-color:#f9f9f9; ">
							<td style=" color:#000000;" align="left">
								<a href="<%=page_Url%>" TARGET=appwin onclick="mydefss()"><%=title%>
								</a>
							</td>
							<td style=" color:#000000;" align="center">
								<%=info_type%>
							</td>
							<td style=" color:#000000;" align="left">
								<a href="/customerMgr/Custinfo.jsp?obj_cust_id=<%=cust_id%>&user_id=" TARGET=appwin onclick="mydefss()"><%=cust_name%>
								</a>
							</td>
							<td style=" color:#000000;" align="center">
								<%=oper_date%>
							</td>
							<td style=" color:#000000;" align=center>
								<a href="auditValidity.jsp?trade_id=<%=trade_id%>&info_type=<%=type%>&quo_id=<%=quo_id%>" TARGET=appwin onclick="mydefss()"><img src=/img/edit.gif width=16 height=16 border=0 alt="进行审核">
								</a>
							</td>
						</tr>
						<%
						}
						%>
						<tr>
							<%=pageTools%>
						</tr>
						<%
						}
						%>
					</table>
				</td>
			</tr>
		</table>
	</body>
</html>

⌨️ 快捷键说明

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