📄 call_index.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*"%>
<% request.setCharacterEncoding("gb2312"); %>
<%@ page import="java.util.Collection"%>
<%@ page import="com.zh.conpool.Condata"%>
<%@ page import="com.bwm.string.*"%>
<%@ page import="com.zh.util.call"%>
<%@ page import="com.zh.util.callsql"%>
<%@ page import="java.util.Iterator"%>
<%@ page import="java.util.Vector"%>
<%
String sess=(String)session.getAttribute("username");
if(sess==null||sess.equals("")){
response.sendRedirect("../main.jsp");
}else{
swing.Rous rou=new swing.Rous();
boolean maybe=rou.toInt(sess,"row124");
if(!maybe){
response.sendRedirect("../notrous.jsp");
}
}
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<link href="../css/style1.css" rel="stylesheet">
</head>
<body>
<%
String id=request.getParameter("id");
%>
<table width="100%" height="25" border="1" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#EEF2F9">
<tr>
<td> <img src="../images/Manual14.gif" width="16" height="16">客户管理 >> <img src="../images/Manual1.gif" width="16" height="16"><a href="Call_Index_Add.jsp?id=<%=id%>" target="mainName">添加回访记录</a>
<hr color="#006699" size="1">
<img src="../images/icon_group.gif" width="15" height="15"><a href="Client_Index_Sql.jsp?id=<%=id%>&&tag=1">客户nt pagesize=5;
if(showpagebsp; <img src="../images/Manual54.gif" width="16" height="16"><a href="Stock_Index.jsp?id=<%=id%>">采购记录</a> <img src="../images/Manual65.gif" width="16" height="16"><a href="Follow_Index.jsp?id=<%=id%>">跟进记录</a> <img src="../images/Manual1.gif" width="16" height="16"><a href="Call_Index.jsp?id=<%=id%>">回访记录</a> <img src="../images/Manual11.gif" width="16" height="16"><a href="Demand_Index.jsp?id=<%=id%>">需求表</a> <img src="../images/icon_go_left.gif" width="15" height="15"><a href="Client_Index.jsp">返回</a>
<hr color="#003366" size="1"></td>
</tr>
</table>
<table width="100%" height="74" border="1" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" bordercolordark="#EEF2F9" bordercolorlight="#FFFFFF">
<tr align="center" bgcolor="#EEF2F9">
<td width="11%" height="24">回访日期</td>
<td width="26%">回访内容</td>
<td width="25%">回访结果</td>
<td width="25%">问题备注</td>
<td width="13%">操作</td>
</tr>
<%
int showpage=1;
String topage=request.getParameter("topage");
if(topage!=null){
showpage=Integer.parseInt(topage);
}else{
showpage=1;
}
if(showpage<=0){
showpage=1;
}
callsql calsql=new callsql();
int pagesize=5;
if(showpage>calsql.count(pagesize,showpage)){
showpage=calsql.count(pagesize,showpage);
}
calsql.count(pagesize,showpage);
Vector coll=calsql.select(pagesize,showpage,id);
for(int i=0;i<coll.size();i++){
call cal=(call)coll.elementAt(i);
String callid=cal.getCallid();
%>
<tr align="center">
<td height="24"><%=cal.getDattime().substring(0,10)%></td>
<td height="24"><%=cal.getCallTest()%></td>
<td height="24"><%=cal.getResult()%></td>
<td height="24"><%=cal.getCallremark()%></td>
<td height="24"><a href="Call_Index_Update.jsp?callid=<%=callid%>&&modify=modify&&file=Call_Index.jsp&&id=<%=id%>"><img src="../images/ico/a_delete.gif" width="52" height="16" border="0"></a></td>
</tr>
<%
}
%>
<input type="hidden" name="modify" value="modify">
<tr align="center" bgcolor="#EFF3FF">
<td height="26" colspan="5">当前显示第【<font color="#FF0000"><%=showpage%></font>】页 每页【<font color="#FF0000">5</font>】条记录 <a href="Call_Index.jsp?topage=<%=showpage-1%>&&id=<%=id%>"><img src="../images/1-prev.gif" width="36" height="11" border="0"></a> <a href="Call_Index.jsp?topage=<%=showpage+1%>&&id=<%=id%>"><img src="../images/1-next.gif" width="36" height="11" border="0"></a></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -