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

📄 userlist.jsp

📁 基于Sturts+Spring+Hibernate的一个高级销售管理系统。内容丰富
💻 JSP
字号:
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; UTF-8">
<title>Y6高级销售管理平台</title>
<link href="${pageContext.request.contextPath}/css/global.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {font-size: 14px}
-->
</style>
<script type='text/javascript' src='${pageContext.request.contextPath}/yctech${pageContext.request.contextPath}/engine.js'> </script>
<script type='text/javascript' src='${pageContext.request.contextPath}/yctech${pageContext.request.contextPath}/interface/busiOpportMgr.js'></script>
<script type='text/javascript' src='${pageContext.request.contextPath}/yctech${pageContext.request.contextPath}/util.js'></script>
<script type='text/javascript' src='${pageContext.request.contextPath}/js/busiOpportDwr.js'></script>
<script type="text/javascript">
 function newCreateBusiOpport(){  
        document.location.href = "${pageContext.request.contextPath}/busiOpport/newBusiOpport.jsp";
 }
 function folder(){
     var mybusiOpports = document.getElementById('mybusiOpports');
     mybusiOpports.style.display == "none"?mybusiOpports.style.display="block":mybusiOpports.style.display="none";
 }
 //搜索业务机会
 function searchBusiOpport(){      
     getBusiOpport($('optionId').value);     
 }
 
 function modifyBusiOpport(id){
     document.location.href = "${pageContext.request.contextPath}/busiOpport.do?method=editBusiOpport&id="+id;
 } 
 function editOption(){
     var optionId = $('optionId').value;
     if(optionId !=""){
       document.location.href="${pageContext.request.contextPath}/busiOpport.do?method=editOption&optionId="+optionId;
     }     
 }
</script>
</head>
<body >
<table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="20" background="${pageContext.request.contextPath}/images/main_19.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="1%">&nbsp;</td>
              <td width="2%"><img src="${pageContext.request.contextPath}/images/go.gif" width="17" height="16"> </td>
              <td width="71%">
                  业务机会管理
              </td>
              <td width="26%">了解详细信息! | 此页面的帮助</td>
            </tr>
          </table></td>
        </tr>
        <tr>
          <td height="46" background="${pageContext.request.contextPath}/images/main_22.gif">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
              <td width="5%"></td>       
                <td width="10%" align="center"><span class="style1">&nbsp;业务机会搜索:</span></td>
                <td width="18%">                     
                  <select id="optionId" name="optionId">
                  <option value="">所有业务机会</option> 
                  <logic:notEmpty name="busiOpportOptions">
                  <logic:iterate id="busiOpportOption" name="busiOpportOptions">
                     <option value="${busiOpportOption.id }">${busiOpportOption.definedName }</option>
                  </logic:iterate>
                  </logic:notEmpty>
                  </select>  
                </td>
                <td width="8%"><input type="image" src="${pageContext.request.contextPath}/images/ss.gif" onClick="searchBusiOpport();">
                </td>
                <td width="59%">
                  <a href="javascript:editOption();">编辑 </a>|<a href="${pageContext.request.contextPath}/busiOpport/newBusiOpportOption.jsp"> 创建新选项</a></td>
              </tr>
            </table>
          </td>
        </tr>
        <tr>
          <td height="30" background="${pageContext.request.contextPath}/images/main_25.gif">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="1%">&nbsp;</td>
                <td width="2%"><a href="javascript:folder()">
                <img src="${pageContext.request.contextPath}/images/jia.gif" width="19" height="17"></a>                </td>
                <td width="35%"><a href="javascript:folder()">业务机会列表</a></td>
				<td width="36%"><input type="image" src="${pageContext.request.contextPath}/images/xj2.gif" onClick="newCreateBusiOpport();"></td>
                <td width="26%">
                  <select name="select">
                    <option>最新创建</option>
                  </select>
                </td>
              </tr>
            </table>
          </td>
        </tr>
</table>
      <br>
      <div id="mybusiOpports">
      <div id="fields">      
      <table width="96%" border="0" cellspacing="4" cellpadding="0" align="center">
        <tr align="center"> 
          <td height="25" width="203" bgcolor="#F4F8FB">业务机会名称</td>
          <td height="25" width="137" bgcolor="#F4F8FB">客户名称</td>
          <td height="25" width="269" bgcolor="#F4F8FB">涉及产品</td>
          <td height="25" width="203" bgcolor="#F4F8FB">预计成交日期</td>
          <td height="25" width="207" bgcolor="#F4F8FB">操作</td>
        </tr>
      </table>
      </div>
      <div id="customers">
      <table width="96%" border="0" cellspacing="4" cellpadding="0" align="center">
      <logic:notEmpty name="xpage">
      <bean:define id="busiOpports" name="xpage" property="currentItems" scope="request"></bean:define>
        <logic:iterate id="busiOpport" name="busiOpports" indexId="i">
        <tr align="center">
          <td height="20" width="203">${busiOpport.busiOpportName }</td>
          <td height="20" width="137">${busiOpport.customerName }</td>
          <td height="20" width="269">${busiOpport.involveProduct }</td>
          <td height="20" width="203">${busiOpport.preTransactionDate }</td>
          <td height="20" width="207">
          <input type="image" src="${pageContext.request.contextPath}/images/sc.gif" onClick="deleteBusiOpport('${busiOpport.id }');">
          <input type="image" src="${pageContext.request.contextPath}/images/xg.gif" onClick="modifyBusiOpport('${busiOpport.id }');">  
          </td>              
        </tr>
        <tr align="center"> 
          <td height="20" colspan="5">
          <table width="100%" border="0" cellspacing="0" cellpadding="0" height="2" bgcolor="#D5E4F4">
            <tr>
              <td></td>
            </tr>
          </table></td>
        </tr>        
        </logic:iterate>        
        <tr align="center"> 
          <td height="25" colspan="20">
          ${xpage.pageBar }
          </td>
        </tr>         
       </logic:notEmpty>       
      </table>
      </div> 
      </div>
</body>
</html>

⌨️ 快捷键说明

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