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

📄 findmyclientinfobyclientname.jsp

📁 上一上传oa系统漏掉web-inf文件夹
💻 JSP
字号:
<%@ page language="java" pageEncoding="gbk"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
<head>
	<title>我的客户查询</title>
	<style type="text/css">
	
	<!--
body,td,th {
	font-size: 12px;
}
body {
	margin-left: 6px;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 0px;
}
a:link {
	color: #000000;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #000000;
}
a:hover {
	text-decoration: underline;
	color: #333333;
}
a:active {
	text-decoration: none;
	color: #333333;
}
-->
</style>
	<html:base />

	<title>查找我的客户</title>

	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<style type="text/css">
<!--
.STYLE1 {
	font-size: 14px;
	font-weight: bold;
}
.STYLE2 {color: #FFFFFF}
.STYLE3 {
	font-family: "宋体";
	font-weight: bold;
}
-->
</style>

<script type="text/javascript">



function isNumberString (InString,RefString)
{
		for (Count=0; Count < InString.length; Count++)
		{
			TempChar= InString.substring (Count, Count+1);
			if (RefString.indexOf (TempChar, 0)==-1)  
			return (false);
		}
		return (true);
}



function showClientInfo()
{
	
	var page1 = document.getElementById("appointPage").value;
	
	if(isNumberString(page1,"0123456789"))
	{
		window.location="/oa/findMyClientInfoByClientName.do?appointPage=" + page1;
	}else
	{
		alert("请输入数字!");
		document.getElementById("appointPage").value = ""
	}
}



</script>

</head>

<body>
	<table width="730" border="0" cellpadding="0" cellspacing="1"
		bgcolor="#3868F8">

		<tr>
			<td width="726" bgcolor="#FFFFFF" valign="top"
				style="padding-bottom:4px; padding-top:3px;">
				<table width="101%" border="0" align="center" cellpadding="0"
					cellspacing="0">
					<tr>
						<td width="730" height="25" bgcolor="#A4B5E3">
							<span class="STYLE1">&nbsp;&nbsp;&nbsp; <span
								class="STYLE2"> 我的客户查询</span> </span>
						</td>
					</tr>
				</table>
				<html:form action="/findMyClientInfoByClientName" method="post">
					<table width="700" border="0" align="center" cellpadding="0"
						cellspacing="1">
						<tr>
						  <td width="120">&nbsp;						  </td>
							<td width="157">&nbsp;						  </td>
							<td width="165">&nbsp;							</td>
						  <td width="253">&nbsp;						  </td>
						</tr>
						<tr>
							<td height="25" width="120">
								请输入查询关键字:&nbsp;							</td>
							<td>
								<html:text property="clientName"></html:text>
							</td>
							<td>
								&nbsp;
								<input name="Submit" type="submit" value="查 询" />


							</td>
						</tr>
						<tr>
							<td height="6" colspan="3"></td>
						</tr>
						<tr>
							<td height="1" colspan="3" background="../image/line.gif"></td>
						</tr>
						<tr>
							<td height="6" colspan="3"></td>
						</tr>
						<tr>
							<td height="25" colspan="3">
								提示:关键字查询输入客户名称
							</td>
						</tr>
						<tr>
							<td height="12" colspan="3">&nbsp;
								
							</td>
						</tr>
					</table>
				</html:form>
				<table width="100%" border="0" align="center" cellpadding="0"
					cellspacing="0">
					<tr>
						<td width="732" height="25" bgcolor="#A4B5E3">
							<span class="STYLE1">&nbsp;&nbsp;&nbsp; <span
								class="STYLE2"> 查询结果</span> </span>
						</td>
					</tr>
				</table>
				<table width="100" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td height="3"></td>
					</tr>
				</table>
				<logic:notEmpty name="clientInfoList">
					<table width="99%" border="0" align="center" cellpadding="0"
						cellspacing="1" bgcolor="#3868F8">
						<tr>

							<td width="62" bgcolor="#A4B5E3">
								<div align="center">
									客户编号
								</div>
							</td>
							<td width="220" bgcolor="#A4B5E3">
								<div align="center">
									客户名称
								</div>
							</td>
							<td width="55" bgcolor="#A4B5E3">
								<div align="center">
									联系人
								</div>
							</td>
							<td width="87" bgcolor="#A4B5E3">
								<div align="center">
									<p>
										固定电话
									</p>
								</div>
							</td>
							<td width="66" bgcolor="#A4B5E3">
								<div align="center">
									客户级别
								</div>
							</td>
							<td width="60" bgcolor="#A4B5E3">
								<div align="center">
									服务状态
								</div>
							</td>
							<td width="63" bgcolor="#A4B5E3">
								<div align="center">
									录入编号
								</div>
							</td>
							<td width="60" bgcolor="#A4B5E3">
								<div align="center">
									操作
								</div>
							</td>
						</tr>

						<logic:iterate id="clientInfo" name="clientInfoList">
							<tr>
								<td height="20" bgcolor="#FFFFFF">
									<bean:write name="clientInfo" property="clientId" />
								</td>
								<td bgcolor="#FFFFFF"
									style="padding-left:2px; padding-right:2px; padding-top:2px; padding-bottom:2px;">
									<bean:write name="clientInfo" property="clientName" />
								</td>
								<td bgcolor="#FFFFFF">
									<bean:write name="clientInfo" property="linkman" />
								</td>
								<td bgcolor="#FFFFFF">
									<div align="center">
										<bean:write name="clientInfo" property="rivetPhone" />
									</div>
								</td>
								<td bgcolor="#FFFFFF">
									<bean:write name="clientInfo" property="clientState" />
								</td>
								<td bgcolor="#FFFFFF">
									<bean:write name="clientInfo" property="serverMode" />
								</td>
								<td bgcolor="#FFFFFF">
									<bean:write name="clientInfo" property="empId" />
								</td>
								<td bgcolor="#FFFFFF">
									<html:link page="/showOneClientInfo.do" paramId="clientId"
										paramName="clientInfo" paramProperty="clientId">查看</html:link>
								</td>
							</tr>
						</logic:iterate>


					</table>
					<logic:notEmpty name="pageBean">
						<div align="right"></div>
						<table width="544" border="0" align="right">
							<tr>
								<td width="514">
									<div align="right">
										<html:link page="/findMyClientInfoByClientName.do"
											paramId="currentPage" paramName="pageBean"
											paramProperty="firstPage">首页</html:link>
										&nbsp;&nbsp;
										<html:link page="/findMyClientInfoByClientName.do"
											paramId="currentPage" paramName="pageBean"
											paramProperty="lastPage">尾页</html:link>
										&nbsp;&nbsp;
										<html:link page="/findMyClientInfoByClientName.do"
											paramId="currentPage" paramName="pageBean"
											paramProperty="downPage">下一页</html:link>
										&nbsp;&nbsp;
										<html:link page="/findMyClientInfoByClientName.do"
											paramId="currentPage" paramName="pageBean"
											paramProperty="upPage">上一页</html:link>
										&nbsp;&nbsp; 当前为第
										<font color="red"> <bean:write name="pageBean"
												property="currentPage" /> </font>页 总共
										<font color="red"> <bean:write name="pageBean"
												property="totalRecoder" /> </font>条记录 总页面数
										<font color="red"> <bean:write name="pageBean"
												property="totalPages" /> </font>页 &nbsp;&nbsp;跳转至
										<input type="text" id="appointPage" size="2">
										页&nbsp;
										<input type="button" value="GO"
											onclick="return showClientInfo(); ">
									</div>
								</td>
								<td width="20">&nbsp;
									
								</td>
							</tr>
						</table>
					</logic:notEmpty>
				</logic:notEmpty>
				<logic:empty name="clientInfoList">

					<table width="730" border="0" cellspacing="0" cellpadding="0">
						<tr align="center">
							<td height="3" align="center">
								没有找到你需要的客户
							</td>
						</tr>
					</table>
				</logic:empty>
			</td>
		</tr>
	</table>

</body>
</html:html>

⌨️ 快捷键说明

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