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

📄 lost_list.jsp

📁 crm系统 有源码 及相关文档sql2005 数据库 客户反馈模块
💻 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="/WEB-INF/jb-common.tld" prefix="jb"%>
<script src="validate.js" type="text/javascript"></script>
<script src="icommon.js" type="text/javascript"></script>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
<head>
<title>客户流失管理</title>
<link rel="stylesheet" type="text/css" href="styles.css">
<script type="text/javascript">
		function doDel(id){
			if ( window.confirm("确定删除?") ){
				window.location.href = "?o=doDel&id=" + id;
			}
		}
	</script>
</head>
<body>
<html:form action="lost">
	<html:hidden property="o" value="toList" />
	<div class="page_title">客户流失管理</div>
	<div class="button_bar">
	<button class="common_button" onclick="help('');">帮助</button>
	<button class="common_button" onclick="javascript:doSubmit('toList');">查询</button>
	</div>
	<table class="query_form_table" border="0" cellPadding="3"
		cellSpacing="0">
		<tr>
			<th>客户名称</th>
			<td><html:text property="item.lstCustName" /></td>
			<th>客户经理</th>
			<td><html:text property="item.lstCustManagerName" /></td>
			<th>&nbsp;</th>
			<td>&nbsp;</td>
		</tr>
	</table>
	<!-- 列表数据 -->
	<br />
	<table class="data_list_table" border="0" cellPadding="3"
		cellSpacing="0">
		<tr>
			<th>编号</th>
			<th onclick="order_by('lstCustName');">客户名称</th>
			<th onclick="order_by('lstCustManagerName');">客户经理</th>
			<th onclick="order_by('lstLastOrderDate');">上次下单时间</th>
			<th onclick="order_by('lstLostDate');">确认流失时间</th>
			<th>流失原因</th>
			<th onclick="order_by('lstStatus');">状态</th>
			<th>操作</th>
		</tr>
		<logic:iterate id="item" name="lostForm" property="pageResult.list"
			type="org.jb.y272.team0.entity.CstLost">
			<tr>
				<td class="list_data_number">${item.lstId }&nbsp;</td>
				<td class="list_data_ltext">${item.lstCustName }&nbsp;</td>
				<td class="list_data_text">${item.lstCustManagerName }&nbsp;</td>
				<td class="list_data_text"><bean:write name="item"
					property="lstLastOrderDate" format="yyyy年MM月dd日" />&nbsp;</td>
				<td class="list_data_text"><bean:write name="item"
					property="lstLostDate" format="yyyy年MM月dd日" />&nbsp;</td>
				<td class="list_data_ltext">${item.lstReason }&nbsp;</td>
				<td class="list_data_text"><%
					if ("1".equals(item.getLstStatus().trim())){
						out.print("警告");
					}else if ("2".equals(item.getLstStatus().trim())){
						out.print("暂缓流失");
					}else if ("3".equals(item.getLstStatus().trim())){
						out.print("已经流失");
					}
				 %>&nbsp;</td>
				<td class="list_data_op">				
				<logic:notEqual name="item" property="lstStatus" value="3">
					<img
					onclick="window.location.href='?o=toConfirm&amp;id=${item.lstId }';"
					title="确认流失" src="images/bt_confirm.gif" class="op_button" alt="" /> <img
					onclick="window.location.href='?o=toRelay&amp;id=${item.lstId }';" title="暂缓流失"
					src="images/bt_relay.gif" class="op_button" alt="" /></td>
				</logic:notEqual>
			</tr>
		</logic:iterate>
		<logic:empty name="lostForm" property="pageResult.list">
			<tr>
				<td class="data_cell" colspan="20"
					style="text-align:center;height:40px;">没有记录</td>
			</tr>
		</logic:empty>
		<tr>
			<td colspan="20" style="padding:0 1px;">
			<div class="pager"><jb:pager form="lostForm" /></div>
			</td>
		</tr>
	</table>
</html:form>
</body>
</html:html>

⌨️ 快捷键说明

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