add.jsp
上传用户:sxwtmm
上传日期:2022-08-11
资源大小:2183k
文件大小:2k
源码类别:

OA系统

开发平台:

Java

  1. <%@ page contentType="text/html; charset=gb2312" language="java" errorPage="" %>
  2. <%@ include file="../hear/hear.jsp"%>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  7. <title>部门增加</title>
  8. <link href="../css/style.css" rel="stylesheet" type="text/css" />
  9. <script src="../js/oa.js"></script>
  10. <style type="text/css">
  11. <!--
  12. .style1 {
  13. font-size: 16px;
  14. font-weight: bold;
  15. }
  16. -->
  17. </style>
  18. </head>
  19. <body bgcolor="#FFFFDF">
  20. <table width="49%" height="25" align="center" cellpadding="0" cellspacing="0">
  21.   <tr>
  22.     <td width="49%" height="23" colspan="6" align="center" background="../KCM/zs.gif" class="style1 advise"><strong>添加<strong>部门</strong></strong></td>
  23.   </tr>
  24. </table>
  25. <table width="49%" height="211" align="center" cellpadding="0" cellspacing="0">
  26. <form name="form1" id="form1" method="post" action="add" onsubmit="return dep()">
  27.   <tr>
  28.     <td width="177" height="48" align="center" bgcolor="#FFFFFF">部门名称:</td>
  29.     <td width="308" align="center" bgcolor="#FFFFFF">
  30.       <input name="name" type="text" size="22" maxlength="40" />
  31.     </td>
  32.   </tr>
  33.   <tr>
  34.     <td height="95" align="center" bgcolor="#FFFFFF">部门描述:</td>
  35.     <td align="center" bgcolor="#FFFFFF"><div align="left">
  36.       <textarea name="explain" cols="40" rows="5"></textarea>
  37.     </div></td>
  38.   </tr>
  39.   <tr>
  40.     <td height="30" colspan="2" align="center" bgcolor="#FFFFFF">
  41.       <div align="center">
  42.   <input type="submit" name="Submit" value="添加" />
  43. &nbsp;&nbsp;&nbsp;
  44.   <input type="reset" name="myreset" value="取消" />
  45.       </div></td>
  46.   </tr>
  47.   <tr>
  48.     <td colspan="2" align="center" valign="top">
  49.     <span class="advise">
  50.     <% 
  51. String daymsg=(String)session.getAttribute("depmsg");
  52. if(daymsg!=null){
  53. out.print(daymsg);
  54. session.removeAttribute("depmsg");
  55. }
  56. %>
  57.     </span> &nbsp;</td>
  58.   </tr>
  59. </form>
  60. </table>
  61. </body>
  62. </html>