deparusermod.jsp~15~
上传用户:dlqqsh
上传日期:2021-11-13
资源大小:7840k
文件大小:1k
源码类别:

OA系统

开发平台:

Java

  1. <%@ page contentType="text/html; charset=GBK" import="officeol.mc.tools.*" %>
  2. <%request.setCharacterEncoding("GBK"); %>
  3. <html>
  4. <head>
  5. <title>
  6. 天津市河东区经济贸易委员会内部办公网
  7. </title>
  8. </head>
  9. <body bgcolor="#ffffff">
  10. <h4>
  11. 部门用户修改
  12. </h4>
  13. <a href="userdeparadd.jsp">用户部门添加</a>
  14. <a href="userdeparmod.jsp">用户部门修改</a>
  15. <a href="deparusermod.jsp">部门所属用户修改</a><br />
  16. <p>
  17.   <%
  18. String message = request.getAttribute("msg")==null?"":request.getAttribute("msg").toString();
  19. out.print(message);
  20. DBConn dbc = new DBConn();
  21. String depsql = "select deparname,dnmd5 from deparment";
  22. String[][] dep = dbc.getArray(depsql);
  23. if(dep!=null){
  24.   %>
  25. </p>
  26. <table width="90%" border="1">
  27.   <tr>
  28.     <td>部门</td>
  29.     <td>修改部门所属人员</td>
  30.   </tr>
  31.   <%
  32.   for(int i = 0; i < dep.length; i++){
  33.     %>
  34.     <tr>
  35.       <td><%=dep[i][0] %></td>
  36.       <td><a href="deparuseradd.jsp?dep=<%=dep[i][1] %>">修改</a></td>
  37.     </tr>
  38.     <%
  39.     }
  40.   %>
  41.   <tr>
  42.     <td>&nbsp;</td>
  43.     <td>&nbsp;</td>
  44.   </tr>
  45. </table>
  46. <%
  47. }else{
  48.   out.print("没有部门!");
  49. }
  50. %>
  51. <p>&nbsp;</p>
  52. </body>
  53. </html>