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

📄 activities.jsp

📁 J2EE客户关系管理系统!!!!!!!!!!!!!!!!!!!!
💻 JSP
字号:
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
<title>jb-aptech毕业设计项目</title>
<script type='text/javascript' src='<%=request.getContextPath()%>/dwr/engine.js'></script>
<script type='text/javascript' src='<%=request.getContextPath()%>/dwr/util.js'></script>
<script type='text/javascript' src='<%=request.getContextPath()%>/dwr/interface/Pager.js'></script>
<script type='text/javascript' src='<%=request.getContextPath()%>/dwr/interface/custservice.js'></script>	
		<!-- 自定义分页控件的客户端js -->
<script type='text/javascript' src='<%=request.getContextPath()%>/js/PageCtl.js'></script>
<script type='text/javascript' src='<%=request.getContextPath()%>/js/s1.js'></script>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/cust.js"></script>
<script>
      var tab = new TablePage('tab','tbody', 'pgCtl', 'active');
      //以下是可选的
      tab.dateformat="yyyy年MM月dd日" ;    //如果包含日期列,这里可以定义日期的显示格式
      tab.sqlFilter="";  //查询条件
      tab.pagesize=10;                                //每页多少行
      tab.wait='waitCtl';                            //等待的提示
      tab.default_callback=function over()                   //显示完成以后的回调函数
                    {
                      waitCtl.style.display = 'none';
                    };
                    
      function shose(id)
		   		{    
		   
		   		$('template:atv_date'+id).style.background='#6ec2fd';		
				$('template:atv_place'+id).style.background='#6ec2fd';
				$('template:atv_title'+id).style.background='#6ec2fd';
				$('template:atv_desc'+id).style.background='#6ec2fd';
				$('template:atvId'+id).style.background='#6ec2fd';
		   		}
		function go00(id)
		   		{
		   		$('template:atv_date'+id).style.background='eeeeff';
				$('template:atv_place'+id).style.background='eeeeff';
				$('template:atv_title'+id).style.background='eeeeff';
				$('template:atv_desc'+id).style.background='eeeeff';
				$('template:atvId'+id).style.background='eeeeff';
		   		}
   </script>
</head>
<body onload="initActive()">
<input type="hidden" id="userFlag" value="${sessionScope.usrIdIndex}">
<input type="hidden" id="pagenum" value="${param.pagenum}">
<form action="cust/activities_add.jsp" method="get" name="frm">
<input type="hidden" id="atv_cust_no" name="atv_cust_no" value="${param.atv_cust_no}" />
<input type="hidden" id="atv_custName" name="atv_custName"/>
</form>
<div class="page_title">客户信息 &gt; 交往记录</div>
<div class="button_bar">
	<button class="common_button" onclick="helpq5();">帮助</button>
	<button class="common_button" onclick="subadd();">新建</button>  
	<button class="common_button" onclick="goto('list.jsp?pagenum='+$('pagenum').value);">返回</button>  
</div>
<table class="query_form_table">
	<tr>
		<th>客户编号</th>
		<td id="activecustid">&nbsp;</td>
		<th>客户名称</th>
		<td id="activecustname">&nbsp;</td>
	</tr>
	</table>
<br />
<table class="data_list_table">
	<tr>
		<th width="232">时间</th>
		<th>地点</th>
		<th>概要</th>
		<th>详细信息</th>
		<th>操作</th>
	</tr>
	<tbody id="tbody">
	<tr id="template" style="display:none" ondblclick="goto('activities_edit.jsp?atvId='+this.id.substring(8));" onmouseenter="shose(this.id.substring(8))" onmouseleave="go00(this.id.substring(8))">
		<td id="template:atv_date" class="list_data_text" width="230">2007年10月09日</td>
		<td id="template:atv_place" class="list_data_text">友谊宾馆</td>
		<td id="template:atv_title" class="list_data_ltext">签订意向协议</td>
		<td id="template:atv_desc" class="list_data_ltext">...</td>
		<td id="template:atvId" class="list_data_op">
			<img onclick="goto('activities_edit.jsp?atvId='+this.parentNode.id.substring(14)+'&pagenum='+$('pagenum').value);" title="编辑" src="images/bt_edit.gif" class="op_button" />
			<img id='deleimg' onclick="delActive(this.parentNode.id.substring(14))" title="删除" src="images/bt_del.gif" class="op_button"/>			
		</td>
	</tr>
	</tbody>
	<tr id="reveal" style="display:none"><td align="center" colspan="8">没有找到你所需要的数据</td></tr>
	<tr>
	<th colspan="100" class="pager">
		<div align="left" id="waitCtl">正在加载...</div>
		<div id="pgCtl" class="pager">
	</th>
	</tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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