del.jsp
上传用户:sxwtmm
上传日期:2022-08-11
资源大小:2183k
文件大小:2k
- <%@ page contentType="text/html; charset=gb2312" language="java" errorPage="" %>
- <%@ include file="../hear/hear.jsp"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
- <title>员工状态删除</title>
- <link href="../css/work.css" rel="stylesheet" type="text/css" />
- <script src="../js/oa.js"></script>
- <style type="text/css">
- <!--
- .style1 {
- color: #000000;
- font-family: "宋体";
- font-weight: bold;
- font-size: 16px;
- }
- -->
- </style>
- </head>
- <body bgcolor="#FFFFDF">
- <table width="49%" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
- <form name="form" id="form" method="post" action="del">
- <tr>
- <td height="24" colspan="5" align="center" background="../KCM/zs.gif" class="title style1">员工状态删除</td>
- </tr>
- <%
- Collection coll=(Collection)session.getAttribute("msg");
- if(coll==null){
- %>
- <tr>
- <td height="35" colspan="4" align="center" class="advise" >没有员工状态信息</td>
- </tr>
- <tr align="right" bgcolor="#FFFFDF">
- <td height="21" colspan="5"><span class="return" onclick="javascript:document.history.go(-1);"><img src="../image/more.gif" width="30" height="9" />返回</span> </td>
- </tr>
- <%
- }else{
- %>
- <tr>
- <td height="28" colspan="2"><div align="center"><span class="advise">注意:请首先删除属于此员工状态的所有员工信息</span>
- </div>
- <td width="164">
- <tr>
- <td width="351" height="28" align="center">请选择要删除的员工状态名称:</td>
- <td width="263" align="center"><select name="id" >
- <%
- Iterator it=coll.iterator();
- while(it.hasNext()){
- Department dep=(Department)it.next();
- %>
- <option value="<%= dep.getId() %>"><%= dep.getName() %></option>
- <%
- }
- %>
- </select></td>
- <tr>
- <td height="50" colspan="4" align="center" class="advise"><input type="submit" name="Submit" value="删除" />
-
- <input type="button" name="Submit2" value="返回" onclick="javascript:history.back(-1);"/></td>
- </tr>
- <tr>
- <%
- String delmsg=(String)request.getAttribute("delmsg");
- if(delmsg!=null){
- %>
- <td colspan="4" align="center" class="advise"> <%= delmsg %></td>
- <%
- session.removeAttribute("msg");
- }
- }
- %>
- </tr>
- </form>
- </table>
- </body>
- </html>