📄 list.jsp
字号:
<%@ page language="java" pageEncoding="GBK"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean"
prefix="bean"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html"
prefix="html"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>jb-aptech毕业设计项目</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="<%=request.getContextPath()%>/css/style.css" rel="stylesheet" type="text/css">
<script src="<%=request.getContextPath()%>/script/common.js"></script>
<script type="text/javascript">
function move()
{
document.forms[0].action ="/CrmPrj/lost.do?op=GetLostByLost";
document.forms[0].submit();
}
</script>
</head>
<body>
<div class="page_title">
客户流失管理
</div>
<div class="button_bar">
<button class="common_button" onclick="help('');">
帮助
</button>
<button class="common_button" onclick="javascript:move()">
查询
</button>
</div>
<html:form action="/lost">
<table class="query_form_table">
<tr>
<th>
客户
</th>
<td>
<html:text property="lost.lstCustName" />
</td>
<th>
客户经理
</th>
<td>
<html:text property="lost.lstCustManagerName" />
</td>
<th>
状态
</th>
<td>
<html:select property="lost.lstStatus">
<html:option value="0">
全部
</html:option>
<html:option value="1">
预警
</html:option>
<html:option value="2">
暂缓流失
</html:option>
<html:option value="3">
确认流失
</html:option>
</html:select>
</td>
</tr>
</table>
</html:form>
<br />
<table class="data_list_table">
<tr>
<th>
编号
</th>
<th>
客户
</th>
<th>
客户经理
</th>
<th>
上次下单时间
</th>
<th>
确认流失时间
</th>
<th>
状态
</th>
<th>
操作
</th>
</tr>
<c:if test="${message != null}">
<tr>
<td colspan="7" style="color:blue" align="center">
${message }
</td>
</tr>
</c:if>
<c:if test="${message == null}">
<c:forEach var="lost" items="${lost}">
<tr>
<td class="list_data_number">
${lost.lstId }
</td>
<td class="list_data_text" >
${lost.lstCustName }
</td>
<td class="list_data_ltext" align="center">
${lost.lstCustManagerName }
</td>
<td class="list_data_text">
${lost.lstLastOrderDate2 }
</td>
<td class="list_data_text">
${lost.lstLostDate2 }
</td>
<td class="list_data_text">
<c:if test="${lost.lstStatus == 1}">预警</c:if>
<c:if test="${lost.lstStatus == 2}">暂缓流失</c:if>
<c:if test="${lost.lstStatus == 3}">确认流失</c:if>
</td>
<td class="list_data_op">
<c:if test="${lost.lstStatus == 1}">
<img onclick="to('lost.do?op=GetLostById&lostId=${lost.lstId}&status=0');" title="暂缓流失"
src="<%=request.getContextPath()%>/images/bt_relay.gif" class="op_button" />
</c:if>
<img onclick="to('lost.do?op=GetLostById&lostId=${lost.lstId}&status=0');" title="暂缓流失"
src="<%=request.getContextPath()%>/images/bt_relay.gif" class="op_button" />
<img onclick="to('lost.do?op=GetLostById&status=1&lostId=${lost.lstId}');" title="确认流失"
src="<%=request.getContextPath()%>/images/bt_confirm.gif" class="op_button" />
</td>
</tr>
</c:forEach>
</c:if>
<tr>
<th colspan="7" class="pager">
<div class="pager">
共59条记录 每页
<input value="10" size="2" />
条 第
<input value="1" size="2" />
页/共5页
<a href="#">第一页</a>
<a href="#">上一页</a>
<a href="#">下一页</a>
<a href="#">最后一页</a> 转到
<input value="1" size="2" />
页
<button width="20" onclick="reload();">
GO
</button>
</div>
</th>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -