lxrxxSelect.jsp
上传用户:quasar007
上传日期:2022-08-11
资源大小:4067k
文件大小:4k
源码类别:

企业管理

开发平台:

Java

  1. <%@ page contentType="text/html; charset=gb2312"%>
  2. <%@ page import="com.domain.LxrxxForm"%>
  3. <%@ page import="java.sql.*"%>
  4. <%@ page import="java.util.List"%>
  5. <%List list=(List)request.getAttribute("list");%>
  6. <%session.setAttribute("manager",request.getParameter("manager"));%>
  7. <html>
  8. <head>
  9. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  10. <title>联系人信息操作</title>
  11. <style type="text/css">
  12. <!--
  13. body {
  14. background-color: #000000;
  15. margin-left: 0px;
  16. margin-top: 0px;
  17. }
  18. td{
  19. font-size:9pt;
  20. }
  21. .style1 {font-size: 11pt}
  22. -->
  23. </style></head>
  24. <script Language="JavaScript">
  25. function projectDelete(date){
  26. if(confirm("是否删除编号为["+date+"]这一组数据吗?"))
  27. window.location="lxrxxDelete.do?id="+date;
  28. }
  29. </script>
  30. <body>
  31. <table width="579"  border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"> 
  32.   <tr> 
  33.     <td>&nbsp;</td> 
  34.   </tr> 
  35. </table> 
  36. <table width="579" border="0" cellpadding="0" cellspacing="0"> 
  37.   <tr> 
  38.     <td align="left" valign="top" bgcolor="#FFFFFF"> <table width="579" height="487"  border="0" cellpadding="0" cellspacing="0"> 
  39.         <tr> 
  40.           <td align="left" valign="top" bgcolor="#FFFFFF"><table width="579" border="0" cellpadding="0" cellspacing="0"> 
  41.               <tr> 
  42.                 <td width="2%" height="28">&nbsp;</td> 
  43.                 <td width="9%" background="images/circle.jpg">&nbsp;</td> 
  44.                 <td width="89%" bgcolor="#FFFFFF"><span class="style1">联系人信息操作</span></td> 
  45.               </tr> 
  46.               <tr style="line-height:2px"> 
  47.                 <td width="2%" height="5">&nbsp;</td> 
  48.                 <td height="5" colspan="2" bgcolor="#D4D0C8">&nbsp;</td> 
  49.               </tr> 
  50.               <tr align="center" valign="top" bgcolor="#FFFFFF"> 
  51.                 <td height="454" colspan="3"><p>&nbsp;</p>
  52.                   <table width="112" height="38" align="center" background="../../../images/bar1.jpg" border="0" cellspacing="0" cellpadding="0">
  53.                  
  54.                  
  55.                 </table>
  56.                   <table width="85%"  border="1" cellspacing="0" cellpadding="0">
  57.                     <tr  bgcolor="#FFCC00">
  58.                       <td width="20%" height="26" align="center" >联系人编号</td>
  59.                       <td width="22%" align="center">企业名称</td>
  60.                       <td width="20%" align="center">联系人姓名</td>
  61.                       <td width="38%" align="center">操作</td>
  62.                     </tr>
  63.           <%for(int i=0;i<list.size();i++){
  64. LxrxxForm form=(LxrxxForm)list.get(i);    
  65. %>
  66.                     <tr>
  67.                       <td height="27" align="center"><%=form.getLxrxx_id()%></td>
  68.                       <td align="center"><%=form.getLxrxx_qymc()%></td>
  69.                       <td align="center"><%=form.getLxrxx_xm()%></td>
  70.                       <td align="center"><a href="lxrxxSelectOne.do?id=<%=form.getId()%>&manager=<%=form.getLxrxx_xxdjr()%>">查看全部信息</a>&nbsp;&nbsp;&nbsp;
  71.   
  72.   <%if(request.getParameter("manager").equals(form.getLxrxx_xxdjr())){%>
  73.   <a href="javascript:projectDelete('<%=form.getId()%>')">删除</a>
  74.   <%}else{%>
  75. 删除   
  76. <%}%>   
  77.   </td>
  78.                     </tr>
  79. <%}%>
  80.                   </table>
  81.                   <table width="100%"  border="0" cellspacing="0" cellpadding="0">
  82.                     <tr>
  83.                       <td>&nbsp;</td>
  84.                     </tr>
  85.                   </table>
  86.                   <table width="84%"  border="0" cellspacing="0" cellpadding="0">
  87.                     <tr>
  88.                       <td width="69%" height="41">&nbsp;</td>
  89.                       <td width="31%"><div align="center"><a href="lxrxxCountID.do?manager=<%=request.getParameter("manager")%>">添加联系人信息</a></div></td>
  90.                     </tr>
  91.                   </table>
  92.                   <p>&nbsp;</p></td> 
  93.         </tr> 
  94.       </table></td> 
  95.   </tr> 
  96. </table>
  97. </body>
  98. </html>