📄 clientsearch.jsp
字号:
<%--
模块名称:客户管理
模块功能:客户查询
版 本:V1.0
著 作 人:蔡静
著作日期:2001-10-08
使用说明:
主要技术说明:
参考文献:法律事务设计书
修改历史:
= = = = = = = = = = = = = = = = = = = = = = = = = =
修改日期:
修 改 人:
修改理由:
修改出处:
= = = = = = = = = = = = = = = = = = = = = = = = = =
--%>
<%@ page contentType= "text/html; charset=gb2312" %>
<%@ page language="java" import="java.sql.*" %>
<%@ page import="system.*" %>
<jsp:useBean id="db" class="dbconnection.DbConnection" scope="page" />
<%
Security auth = new Security();
String employee_id = (String)session.getAttribute("employee_id");
if(employee_id == null || employee_id.equals(""))
{
response.sendRedirect(response.encodeRedirectURL("../Error/nonlogin.htm"));
}
String modelid = "Cli015";
int authflag = auth.popedom(employee_id, modelid);
if(authflag == 0 || authflag == 2 || authflag == -1)
{
%>
<jsp:forward page="../inc/noauth.jsp" >
</jsp:forward>
<%
}
%>
<html>
<head>
<title>客户查询</title>
<%@ include file="../inc/config.jsp" %>
</head>
<body class="page">
<!--显示工具条-->
<table width="98%" align="center" cellspacing="1">
<tr>
<td width="90%"><a href="Client.jsp"><img src="../images/all.gif" height="22" border="0" width="88"></a><a href="ClientAdd.jsp"><img src="../images/add.gif" alt="增加内容" width="79" height="22" border="0" ></a><img src="../images/delete.gif" alt="删除选中的内容" onClick="return Del();" style="cursor:hand" width="79" height="22"><a href="ClientSearch.jsp"><img src="../images/query.gif" alt="查询内容" width="79" height="22" border="0"></a></td>
<td width="10%" align="right"><img src="../images/back.gif" width="50" height="22" onClick="window.history.back()" style="cursor:hand"></td>
</tr>
</table>
<table width="98%" background="../images/line.gif" border="0" cellspacing="0" cellpadding="0" height="12" align="center">
<tr>
<td> </td>
</tr>
</table>
<!--显示工具条结束-->
<form name="form1" method="post" action="ClientSearchInfo.jsp">
<table width="98%" align="center" border="0" cellspacing="1" cellpadding="3" class="table_bg">
<tr>
<td height="24" width="152" align="right" class="title_bg"> 客户代码:</td>
<td height="24" width="596" class="tr_bg1">
<select name="customer_id" class="select">
<option value=""></option>
<%
ResultSet rs = db.executeQuery("select customer_id from t_customer");
while (rs.next()) {
%>
<option value=<%=rs.getString("customer_id")%>><%=rs.getString("customer_id")%></option>
<%}%>
</select>
</td>
</tr>
<tr>
<td align="right" height="28" width="152" class="title_bg"> 客户名称:</td>
<td height="28" width="596" class="tr_bg1">
<input name="customer_name" size="20" class="input">
</td>
</tr>
<tr>
<td align=right height=28 width=152 class="title_bg"> 客户类型:</td>
<td height=28 width=596 class="tr_bg1">
<select name="customer_type" size=1 class="select">
<option value="all">全部</option>
<option value="gq">国企</option>
<option value="zf">政府</option>
<option value="sz">三资</option>
<option value="my">民营</option>
<option value="gr">个人</option>
<option value="qt">其他</option>
</select>
</td>
</tr>
<tr>
<td align=right height=28 width=152 class="title_bg"> 承办律师:</td>
<td height=28 width=596 class="tr_bg1">
<select name="lawyer_id" class="select">
<option value=""></option>
<%
rs = db.executeQuery("select employee_id,employee_name from t_employee where (duty like '%律师' or duty='主任' or duty='合伙人') and active='1'");
while (rs.next()) {
%>
<option value=<%=rs.getString("employee_id")%>><%=rs.getString("employee_name")%></option>
<%}%>
</select>
</td>
</tr>
<tr>
<td align=right height=28 width=152 class="title_bg">案件编码: </td>
<td height=28 class="tr_bg1" width="596">
<select name="case_id" class="select"">
<option value=""> </option>
<%
String case_id, case_reason;
rs = db.executeQuery("select case_id from t_caseinfo order by case_id");
while (rs.next()) {
case_id = rs.getString("case_id");
%>
<option value=<%=case_id%>><%=case_id%></option>
<%}%>
</select>
</td>
</tr>
<tr>
<td align=right height=14 width=152 class="title_bg"> 案 由:</td>
<td height=14 width=596 class="tr_bg1">
<input name="case_reason" size="20" class="input">
</td>
</tr>
<tr>
<td align=right height=14 width=152 class="title_bg"> 登记时间: </td>
<td height=14 width=596 class="tr_bg1">
<input type="text" name="enter_date1" maxlength="10" size="10" value="" class="input" readOnly>
<img src="../images/datetime.gif" border="0" align="absmiddle"
alt="弹出日历下拉菜单" onClick="fPopUpCalendarDlg(enter_date1);return false" width="16" height="16">
到
<input type="text" name="enter_date2" maxlength="10" size="10" value="" class="input" readOnly>
<img src="../images/datetime.gif" border="0" align="absmiddle"
alt="弹出日历下拉菜单" onClick="fPopUpCalendarDlg(enter_date2);return false" width="16" height="16">
</td>
</tr>
</table>
<br>
<div align="center">
<input type="submit" value="查询" name="save" class="button">
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -