⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tongxun_yuangong_edit.jsp

📁 oa办公系统
💻 JSP
字号:
<%@ page language="java" import="java.util.*,cn.jx.ecjtu.oa.ps.pojo.*,cn.jx.ecjtu.oa.servlets.dept.*,java.text.SimpleDateFormat,cn.jx.ecjtu.oa.services.*,cn.jx.ecjtu.oa.ps.pojo.Dept,java.sql.*" pageEncoding="GBK"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<jsp:directive.page import="java.sql.Date"/>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<title>无标题文档</title>
<link href="../common/defaultFa/css/all.css" rel="stylesheet" type="text/css" />
<link href="../common/defaultFa/css/css.css" rel="stylesheet" type="text/css" />

<script language="javascript" src="../common/js/checkform.js"></script>
<script language="JavaScript">
function date(){
           var xx=event.clientX;
           var yy=event.clientY;
           document.f1.birthday.value=window.showModalDialog("tongxun_geren_add_SelectDate.jsp","12435","dialogWidth:350px;dialogHeight:180px;dialogLeft:"+xx+"px;dialogTop:"+yy+"px;status:0;");
           document.f1.submit.select();
     }
</script>
</head>
<%!
private SimpleDateFormat formatter=new SimpleDateFormat("yyyy-MM-dd");
private String getDateString(Date date){
	if(date==null) return "";
	else return formatter.format(date);
	//formatter.parse("yyyy-MM-dd");
} 
%>
<body style="overflow-y:auto" background="summer_relaxation_JD047.jpg">
<table border="0" align="center" cellpadding="0" cellspacing="0" class="tb_title">
  <tr>
    <th align="left" valign="middle">修改个人信息</th>
    <td>&nbsp;</td>
  </tr>
</table>
<form name="f1" action="acctionDetailServlet" method="post" onSubmit="return CheckForm.Check(this,2)">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tb_form">
  <tr>
    <td  height="22" align="right" >员工编号:</td>
    <td><input name="textfield" type="text"  disabled value="${requestScope.user.id }"></td>
  </tr>
   <tr>
    <td  height="22" align="right" >员工姓名:</td>
    <td ><input name="textfield2" type="text"  disabled  value="${requestScope.user.realName} "></td>
  </tr>
  <tr>
      <td width="146" height="20"><div align="right" class="style2">部门:</div></td>
      <td ><input name="deptName" type="text"  disabled  value="${requestScope.name} "></td>
    </tr>
  <tr>
    <td  height="22" align="right">联系电话:</td>
    <td><div align="left" class="style1">
    <input name="phone" type="text" require="false" value="${requestScope.detail.phone }" dataType="Mobile" msg="电话号码长度为(7-11)且不能包含空格!(如:7120472或07917120472\手机号码:15979196123)">
    </div>
    </td>
  </tr>
  <tr>
    <td height="22" align="right">性&nbsp;&nbsp;&nbsp;别:</td>
   <td><select name="select" id="gender">
      <option value="true" ${requestScope.detail.gender? "selected":"" }>男</option>
      <option value="false" ${requestScope.detail.gender? "":"selected" }>女</option>
                </select></td>
  </tr>
  <tr>
    <td height="22" align="right">家庭住址:</td>
    <td><input name="address" type="text" dataType="Limit" min="0" max="100" msg="地址不能超过100个字符!" value="${requestScope.detail.address }"></td>
  </tr>
  <tr>
    <td height="22" align="right">电子邮箱:</td>
    <td>
    <input name="email" type="text" dataType="Email" msg="邮箱格式不正确!(不能包含空格)" value="${requestScope.detail.email }"></td>
  </tr>
  <tr>
    <td height="22" align="right">出生日期:</td>
    <td><input name="birthday" type="text"  onfocus="date()" readonly value="<%Detail detail=(Detail)request.getAttribute("detail");
     if(detail != null) out.print(getDateString(detail.getBirthday())); %>"></td>
  </tr>
  <tr>
    <td height="22" align="right">Q&nbsp;Q&nbsp;&nbsp;:</td>
    <td><input name="qq" type="text" require="false"  dataType="QQ" msg="QQ号码长度不能超过11且不能包含空格" value="${requestScope.detail.qq }"></td>
  </tr>
  <tr>
    <td height="22" align="right">M&nbsp;S&nbsp;N&nbsp;&nbsp;</td>
    <td><input name="msn" type="text" dataType="Limit" min="0" max="50" msg="MSN号码不能超过50个字符!" value="${requestScope.detail.msn }"></td>
  </tr>
 </table>
<table border="0" align="center" cellpadding="0" cellspacing="0" class="tb_foot">
  <tr>
    <td >	
	     <input type="submit" name="submit" value="  保   存 ">
	  </td>
  </tr>
</table>
</form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -