📄 showallquitclientinfo.jsp
字号:
<%@ page language="java" pageEncoding="utf-8"%>
<%@ 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>
<style type="text/css">
<!--
body,td,th {
font-size: 12px;
}
body {
margin-left: 10px;
margin-top: 10px;
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">
-->
<script type="text/javascript">
function allsel(){
if(document.getElementsByName("chkpla")!=null){
b=eval(document.getElementsByName("chkpla"));
b_all=eval(document.getElementsByName("all")[0]);
if(b_all.checked == true){
b.checked=true;//长度为1时
for(var i=0;i<b.length;i++){
b[i].checked=true;
}
}
else if(b_all.checked==false){
b.checked=false;
for(var i=0;i<b.length;i++){
b[i].checked=false;
}
}
}
}
function checkdel(){
var sel = document.clientInfoForm.elements("chkpla").value;
var check2 = document.getElementsByName("chkpla");
var a=new Array();
var objYN="";
objYN=false;
for(var j=0;j<check2.length;j++){
if(check2[j].checked){
a[j]=check2[j].value;
objYN= true;
}
}
if(objYN== false){
alert('请勾选用户!');
}else{
if(confirm("你确定要删除所勾选的用户吗?")){
return true;
}
return false;
}
}
function checkAbtain(){
if(confirm("确定获取此客户吗!")){
return true;
}else{
return false;
}
}
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/showAllQuitClientInfo.do?appointPage=" + page1;
}else
{
alert("请输入数字!");
document.getElementById("appointPage").value = ""
}
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head>
<body>
<table width="729" border="0" cellpadding="0" cellspacing="1">
<tr>
<td width="727" height="25">
公共用户信息显示
</td>
</tr>
</table>
<html:form action="/abtainMuchQuitClientInfo">
<table width="730" border="1" cellpadding="0" cellspacing="1"
bgcolor="#3868F8">
<tr>
<td width="36" height="22" bgcolor="#A4B5E3">
<div align="center">
选择
</div>
</td>
<td width="56" bgcolor="#A4B5E3">
<div align="center">
客户编号
</div>
</td>
<td width="226" bgcolor="#A4B5E3">
<div align="center">
客户名称
</div>
</td>
<td width="44" bgcolor="#A4B5E3">
<div align="center">
联系人
</div>
</td>
<td width="89" bgcolor="#A4B5E3">
<div align="center">
<p>
固定电话
</p>
</div>
</td>
<td width="60" bgcolor="#A4B5E3">
<div align="center">
客户级别
</div>
</td>
<td width="60" bgcolor="#A4B5E3">
<div align="center">
服务状态
</div>
</td>
<td width="59" bgcolor="#A4B5E3">
<div align="center">
录入编号
</div>
</td>
<td width="90" bgcolor="#A4B5E3">
<div align="center">
操 作
</div>
</td>
</tr>
<logic:notEmpty name="quitClientInfoList">
<logic:iterate id="quitClientInfo" name="quitClientInfoList">
<tr>
<td height="20" bgcolor="#FFFFFF">
<div align="center">
<input type="checkbox" name="chkpla"
value="<bean:write name="quitClientInfo" property="clientId"/>" />
</div>
</td>
<td height="20" bgcolor="#FFFFFF">
<bean:write name="quitClientInfo" property="clientId" />
<bean:define id="clientId" name="quitClientInfo" ></bean:define>
</td>
<td bgcolor="#FFFFFF"
style="padding-left:2px; padding-right:2px; padding-top:2px; padding-bottom:2px;">
<bean:write name="quitClientInfo" property="clientName" />
</td>
<td bgcolor="#FFFFFF">
<bean:write name="quitClientInfo" property="linkman" />
</td>
<td bgcolor="#FFFFFF">
<div align="center">
<bean:write name="quitClientInfo" property="rivetPhone" />
</div>
</td>
<td bgcolor="#FFFFFF">
<bean:write name="quitClientInfo" property="clientState" />
</td>
<td bgcolor="#FFFFFF">
<bean:write name="quitClientInfo" property="serverMode" />
</td>
<td bgcolor="#FFFFFF">
<bean:write name="quitClientInfo" property="empId" />
</td>
<td bgcolor="#FFFFFF">
<div align="center">
<%--<input name="Submit2" type="submit" value="查看" />
<input type="submit" name="Submit3" value="获取" />
--%>
<html:link page="/showOneQuitClientInfo.do" paramId="clientId"
paramName="quitClientInfo" paramProperty="clientId">查看</html:link>
<html:link page="/abtainQuitClientInfo.do" paramId="clientId"
paramName="quitClientInfo" paramProperty="clientId" onclick="return checkAbtain();">获取</html:link>
</div>
</td>
</tr>
</logic:iterate>
</logic:notEmpty>
</table>
<table width="725" border="0" cellpadding="0" cellspacing="1">
<tr>
<td width="123" height="25">
<div align="left">
<input type="checkbox" name="all" value="checkbox"
onclick="return allsel()" />
全选
<html:submit onclick="return checkdel()" value="批量获取"></html:submit>
</div>
</td>
<td width="600" height="25">
<div align="right">
<html:link page="/showAllQuitClientInfo.do" paramId="currentPage"
paramName="pageBean" paramProperty="firstPage">首页</html:link>
<html:link page="/showAllQuitClientInfo.do" paramId="currentPage"
paramName="pageBean" paramProperty="lastPage">尾页</html:link>
<html:link page="/showAllQuitClientInfo.do" paramId="currentPage"
paramName="pageBean" paramProperty="downPage">下一页</html:link>
<html:link page="/showAllQuitClientInfo.do" paramId="currentPage"
paramName="pageBean" paramProperty="upPage">上一页</html:link>
当前为第
<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>页 跳转至
<input type="text" id="appointPage" size="2">
页
<input type="button" value="GO"
onclick="return showClientInfo(); ">
</div>
</td>
</tr>
</table>
</html:form>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -