📄 lost.jsp
字号:
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>jb-aptech毕业设计项目</title>
<script type='text/javascript' src='<%=request.getContextPath()%>/dwr/engine.js'></script>
<script type='text/javascript' src='<%=request.getContextPath()%>/dwr/util.js'></script>
<script type='text/javascript' src='<%=request.getContextPath()%>/dwr/interface/Pager.js'></script>
<script type='text/javascript' src='<%=request.getContextPath()%>/dwr/interface/custservice.js'></script>
<script type='text/javascript' src='<%=request.getContextPath()%>/js/custlostlist.js'></script>
<script type='text/javascript' src='<%=request.getContextPath()%>/dwr/interface/DAOCSTLOSTService.js'></script>
<!-- 自定义分页控件的客户端js -->
<script type='text/javascript' src='<%=request.getContextPath()%>/js/PageCtl.js'></script>
<script type='text/javascript' src='<%=request.getContextPath()%>/js/s1.js'></script>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/cust.js"></script>
<script>
var tab = new TablePage('tab','tbody', 'pgCtl', 'lostsql');
//以下是可选的
tab.dateformat="yyyy年MM月dd日"; //如果包含日期列,这里可以定义日期的显示格式
tab.sqlFilter=""; //查询条件
tab.pagesize=10; //每页多少行
tab.wait='waitCtl'; //等待的提示
tab.default_callback=function over() //显示完成以后的回调函数
{
waitCtl.style.display = 'none';
};
function shose(id)
{
$('template:lst_id'+id).style.background='#6ec2fd';
$('template:lst_cust_name'+id).style.background='#6ec2fd';
$('template:lst_cust_manager_name'+id).style.background='#6ec2fd';
$('template:lst_last_order_date'+id).style.background='#6ec2fd';
$('template:lst_lost_date'+id).style.background='#6ec2fd';
$('template:lst_status'+id).style.background='#6ec2fd';
$('template:lst'+id).style.background='#6ec2fd';
}
function go00(id)
{
$('template:lst_id'+id).style.background='eeeeff';
$('template:lst_cust_name'+id).style.background='eeeeff';
$('template:lst_cust_manager_name'+id).style.background='eeeeff';
$('template:lst_last_order_date'+id).style.background='eeeeff';
$('template:lst_lost_date'+id).style.background='eeeeff';
$('template:lst_status'+id).style.background='eeeeff';
$('template:lst'+id).style.background='eeeeff';
}
</script>
</head>
<body onload="javascript:{tab.go(1),smanPromptList('lstCustName')}">
<input type="hidden" id="status" value="${sessionScope.usrFlagIndex}">
<input type="hidden" id="pagenum" value="${param.pagenum}">
<div class="page_title">客户流失管理</div>
<div class="button_bar">
<button class="common_button" onclick="helpq6();">帮助</button>
<button class="common_button" onclick="selectlost()">查询</button>
</div>
<table class="query_form_table">
<tr>
<th>客户</th>
<td><input id="lstCustName"/></td>
<th>客户经理</th>
<td><input id="managerName"/></td>
<th>状态</th>
<td>
<select id="lstStatus">
<option value="">全部</option>
<option value="1">预警</option>
<option value="2">暂缓流失</option>
<option value="3">已经流失</option>
</select>
</td>
</tr>
</table>
<br />
<table class="data_list_table">
<tr>
<th>编号</th>
<th>客户</th>
<th>客户经理</th>
<th>上次下单时间</th>
<th>确认流失时间</th>
<th>状态</th>
<th>操作</th>
</tr>
<tbody id="tbody">
<tr id="template" style="display:none" onmouseenter="shose(this.id.substring(8));" onmouseleave="go00(this.id.substring(8));">
<td id="template:lst_id" class="list_data_number">1</td>
<td id="template:lst_cust_name" class="list_data_text">阳光实业</td>
<td id="template:lst_cust_manager_name" class="list_data_ltext">球球</td>
<td id="template:lst_last_order_date" class="list_data_text">2005年12月07日</td>
<td id="template:lst_lost_date" class="list_data_text"> </td>
<td id="template:lst_status" class="list_data_text">暂缓流失</td>
<td id="template:lst" class="list_data_op">
<span id="span">
<img onclick="go('confirm.jsp?lstid='+this.parentNode.id.substring(4));" title="确认流失" src="images/bt_confirm.gif" class="op_button" />
<img onclick="go('relay.jsp?lstid='+this.parentNode.id.substring(4));" title="暂缓流失" src="images/bt_relay.gif" class="op_button" />
</span>
<span id="lostlook" style="display:none">
<img onclick="go('lostlook.jsp?lstid='+this.parentNode.id.substring(8));" title="查看" src="images/bt_orders.gif" class="op_button" />
</span>
</td>
</tr>
</tbody>
<tr id="reveal" style="display:none"><td align="center" colspan="8">没有找到你所需要的数据</td></tr>
<tr>
<th colspan="100" class="pager">
<div align="left" id="waitCtl">正在加载...</div>
<div id="pgCtl" class="pager">
</th>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -