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

📄 list.jsp

📁 通过这个系统完成对客户基本信息、联系人信息、交往信息、客户服务信息的充分共享和规范化管理;希望通过对销售机会、客户开发过程的追踪和记录
💻 JSP
字号:
<%@ page language="java" pageEncoding="GBK"%>
<jsp:directive.page import="com.t53.crm4.common.PaginationBean" />
<%@ include file="../../include.inc"%>

<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()%>/js/customer.js"></script>

		<script type="text/javascript"
			src="<%=request.getContextPath()%>/js/customer-ajax.js"></script>
	</head>
	<body>
		<html:form action="/customer/lost.do?op=find" method="POST">
			<div class="page_title">
				客户流失管理
			</div>
			<html:hidden styleId="bean.operate" property="bean.operate" />
			<div class="button_bar">
				<button class="common_button" onclick="help('');">
					帮助
				</button>
				<input type="button" class="common_button" value="查询" name="btnx"
					onclick="sub('<%=PaginationBean.FIRST%>')" />
			</div>
			<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>
						<select name="lost.lstStatus">
							<option value="0">
								全部
							</option>
							<c:if test="${not empty requestScope.lostStatus}">


								<c:if test="${requestScope.lostStatus[0] eq 0}">
									<c:if test="${0 eq requestScope.currentStatu}">
										<option value="0" selected="selected"></option>
									</c:if>
								</c:if>
								<c:if test="${requestScope.lostStatus[0] eq 1}">
									<c:if test="${1 eq requestScope.currentStatu}">
										<option value="1" selected="selected">
											警告
										</option>
									</c:if>
									<c:if test="${1 ne requestScope.currentStatu}">
										<option value="1">
											警告
										</option>
									</c:if>
								</c:if>
								<c:if test="${requestScope.lostStatus[0] ne 1}">
									<option value="1">
										警告
									</option>
								</c:if>
								<c:if test="${requestScope.lostStatus[0] ne 2}">
									<c:if test="${2 eq requestScope.currentStatu}">
										<option value="2" selected="selected">
											暂缓流失
										</option>
									</c:if>
									<c:if test="${2 ne requestScope.currentStatu}">
										<option value="2">
											暂缓流失
										</option>
									</c:if>
								</c:if>
								<c:if test="${requestScope.lostStatus[0] eq 2}">
									<option value="2">
										暂缓流失
									</option>
								</c:if>
								<c:if test="${requestScope.lostStatus[0] ne 3}">
									<c:if test="${3 eq requestScope.currentStatu}">
										<option value="3" selected="selected">
											已经流失
										</option>
									</c:if>
									<c:if test="${3 ne requestScope.currentStatu}">
										<option value="3">
											已经流失
										</option>
									</c:if>
								</c:if>
								<c:if test="${requestScope.lostStatus[0] eq 3}">
									<option value="3">
										已经流失
									</option>
								</c:if>


							</c:if>
						</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>
				<c:if test="${not empty requestScope.lostList}">
					<c:forEach items="${requestScope.lostList}" var="lost"
						varStatus="vs">
						<tr>
							<td class="list_data_number">
								${vs.count }
							</td>
							<td class="list_data_text">
								${lost.lstCustName }
							</td>
							<td class="list_data_ltext">
								${lost.lstCustManagerName }
							</td>
							<td class="list_data_text">
								${lost.lstLastOrderDate }
							</td>
							<td class="list_data_text">
								${lost.lstLostDate }
							</td>
							<td class="list_data_text">

								<c:if test="${lost.lstStatus eq 1}">
									
											警告
										
									</c:if>
								<c:if test="${lost.lstStatus eq 2}">
										
											暂缓流失
										
									</c:if>
								<c:if test="${lost.lstStatus eq 3}">
									
											已经流失									
								</c:if>

							</td>
							<c:if test="${lost.lstStatus ne 3}">
								<td class="list_data_op">
									<img onclick="to('lost.do?op=confirm&lstId=${lost.lstId }');"
										title="确认流失"
										src="<%=request.getContextPath()%>/images/bt_confirm.gif"
										class="op_button" />
									<img onclick="to('lost.do?op=relay&lstId=${lost.lstId }');"
										title="暂缓流失"
										src="<%=request.getContextPath()%>/images/bt_relay.gif"
										class="op_button" />

								</td>
							</c:if>
							<c:if test="${lost.lstStatus eq 3}">
								<td>
									&nbsp;
								</td>
							</c:if>

						</tr>
					</c:forEach>
				</c:if>
				<tr>
					<th colspan="100" class="pager">
						<div class="pager">

							<span><html:hidden property="bean.maxinum" write="true" />
							</span> 条 每页
							<html:text property="bean.perCount" styleClass="mytext"
								style="width:30px;"></html:text>
							条 第
							<span><html:hidden property="bean.pageCount" write="true" />
							</span>页/共
							<span><html:hidden property="bean.pageNum" write="true" />
							</span>页
							<input type="button" value="首页" name="btn1"
								onclick="sub('<%=PaginationBean.FIRST%>')" class="common_button" />
							<input type="button" value="上一页" name="btn2"
								onclick="sub('<%=PaginationBean.PREVIOUS%>')"
								class="common_button" />
							<input type="button" value="下一页" name="btn3"
								onclick="sub('<%=PaginationBean.NEXT%>')" class="common_button" />
							<input type="button" value="尾页" name="btn4"
								onclick="sub('<%=PaginationBean.LAST%>')" class="common_button" />
							转到
							<html:text property="bean.pageCount" styleClass="mytext"
								style="width:30px;"></html:text>
							<input type="button" value="GO" name="btn5" onclick="sub('')"
								class="common_button" />
						</div>
					</th>
				</tr>
			</table>
		</html:form>
	</body>
</html>

⌨️ 快捷键说明

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