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

📄 potentiallist.jsp

📁 客户关系管理系统主要管理新老客户的一些信息并可以发现潜在客户
💻 JSP
字号:
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<%@ include file="/commons/taglibs.jsp" %>

<html>
  <head>
    <title>My JSP 'clientList.jsp' starting page</title>
    <%@ include file="/commons/meta.jsp" %>
  </head>
  <body class="bodycolor" topmargin="5">

<table class="title1">
  <tr>
    <td class="Big"><img src="${ctx }/images/notify_new.gif" align="absmiddle"><span class="big3"> 潜在客户信息</span><br>
    </td>
    </tr>
</table>
<br>

<div align="left">

<fieldset style="width:95%;padding-bottom:5px;">
	 <legend class="small" align=left>
      <b>快捷操作</b>
  </legend>
  <html:form action="potential.do" method="post">
  <input type="hidden" name="p" value="list">
<table cellspacing="1" class="small" align="left" cellpadding="3">

  <tr>
    <td nowrap class="TableData">&nbsp;&nbsp;潜在客户名称: </td>
    <td nowrap class="TableData">
        <html:text property="potentiaName"  size="20" maxlength="100"></html:text>
    </td>
     <td nowrap class="TableData">电话: </td>
    <td nowrap class="TableData">
        
        <html:text property="telephone"  size="20" maxlength="100"></html:text>
    </td>
    <td nowrap class="TableData">地区: </td>
    <td nowrap class="TableData" >
        <select name="address" class="SmallSelect">
		<option value= >--请选择--</option><option value="北京" >北京</option><option value="天津" >天津</option><option value="河北" >河北</option><option value="山西" >山西</option><option value="内蒙" >内蒙古</option><option value=210000 >辽宁</option><option value="吉林" >吉林</option><option value="黑龙江" >黑龙江</option><option value="上海" >上海</option><option value="江苏" >江苏</option><option value=330000 >浙江</option><option value=340000 >安徽</option><option value=350000 >福建</option><option value=360000 >江西</option><option value=370000 >山东</option><option value=410000 >河南</option><option value=420000 >湖北</option><option value=430000 >湖南</option><option value=440000 >广东</option><option value=450000 >广西</option><option value=460000 >海南</option><option value=500000 >重庆</option><option value=510000 >四川</option><option value=520000 >贵州</option><option value=530000 >云南</option><option value=540000 >西藏</option><option value=610000 >陕西</option><option value=620000 >甘肃</option><option value=630000 >青海</option><option value=640000 >宁夏</option><option value=650000 >新疆</option><option value=710000 >台湾</option><option value=810000 >香港</option><option value=820000 >澳门</option>        </select>
    </td>
   </tr>
  <tr>
    <td nowrap class="TableData">&nbsp;&nbsp;客户来源: </td>
    <td nowrap class="TableData" >
        <select name="origin" class="SmallSelect">
<option value= >--请选择--</option><option value="新闻" >新闻</option><option value="报纸" >报纸</option><option value="网站搜索" >网站搜索</option><option value="广告" >广告</option>        </select>
    </td>
    <td nowrap class="TableData">客户类型:</td>
    <td nowrap class="TableData"  >
       	<html:select property="clientTypeId">
	       	<html:option value="--请选择--"></html:option>
			<html:options collection="clientTypes" property="id" labelProperty="name"/>
		</html:select>
    </td>
  </tr>
 <tr>
 	<td nowrap class="TableData"  colspan="5" >
 	&nbsp;&nbsp;<input value="快速查询" type="submit" class="SmallButton" title="模糊查询" name="button" >
   <input value="添加客户资料" type="button" class="SmallButton" title="潜在客户资料导入" name="button1" onClick="location.href='${ctx }/potential.do?p=edit'">
  </td>
 </tr>

</table>
</html:form>

</fieldset>
</div>
<br>
<br>
<!-- 如果没有数据显示 提示 -->
<c:if test="${empty potentials}">
	<%@ include file="/utility/noData.jsp" %>
</c:if>
<c:if test="${! empty sorry }">
<table align="center">
<tr><td align="center"><font style="color:#CC3300; font-size:18px">${sorry }</font></td></tr>
</table>
</c:if>
<%@ include file="/commons/messages.jsp"%>


<!-- 有数据时 -->
<c:if test="${!empty potentials}">
	<table     class="tablestyle1">
  <tr class="TableHeader">
      <td nowrap align="center" width="5%">选择</td>
      <td nowrap align="center" width="15%">客户名称</td>
      <td nowrap align="center" width="10%">客户类型</td>
      <td nowrap align="center" width="15%">客户地址</td>
      <td nowrap align="center" width="10%">电话</td>
      <td nowrap align="center" width="10%">客户潜在性</td>
      <td nowrap align="center" width="10%">客户负责人</td>
      <td nowrap align="center" width="25%">操作</td>
  </tr>
  
  <c:forEach items="${potentials}" var="item">
    <tr class="TableLine1">
    	<td >&nbsp;<input type="checkbox" name="email_select" value="2"  onClick="check_one(self);"></td>
      <td nowrap align="center">${item.potentiaName}</td>
       <td nowrap align="center">${item.clientType.name}</td>
       <td nowrap align="center">${item.address}</td>
       <td nowrap align="center">${item.telephone }</td>
      <td nowrap align="center">${item.probability}</td>
      <td nowrap align="center">${item.employee.employeeName }</td>
      <td nowrap align="center">
 <a href="${ctx }/potential.do?p=info&&id=${item.id }"> 详细信息 </a>
 <a href="${ctx }/potential.do?p=edit&&id=${item.id }"> 编辑</a>
 <a href="${ctx }/potential.do?p=delete&&id=${item.id }" onClick="{if(confirm('确定要删除该潜在客户吗?')){return true;}return false;}"> 删除 </a>
 
      </td>
    </tr>
</c:forEach>

 <tr class="TableControl" >
 <td colspan="11">
 	   &nbsp;<input type="checkbox" name="allbox" id="allbox_for"  onClick="check_all();">
      <label for="allbox_for">全选</label> &nbsp;
     
    <input type="button"  value="批量删除" class="SmallButton" onClick="delete_mail();" title="删除所选客户"> &nbsp;
    <input type="button"  value="客户资料转交" class="SmallButton" onClick="change_customer('');" title="客户资料转交"> &nbsp; 
 
 </td>
 </tr>
 <tr>
 	<pager:pager value="pager" url="potential.do" pagerStr="pagerstruts"/>
 </tr>
</table>
</c:if>
  </body>
</html>

⌨️ 快捷键说明

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