|
@@ -1,181 +0,0 @@
|
|
|
-<%@ page language="java" contentType="text/html; charset=UTF-8"
|
|
|
- pageEncoding="UTF-8"%>
|
|
|
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
|
|
|
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
|
-<HTML>
|
|
|
- <HEAD>
|
|
|
- <meta http-equiv="Content-Language" content="zh-cn">
|
|
|
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
|
- <LINK href="${pageContext.request.contextPath}/css/Style.css" type="text/css" rel="stylesheet">
|
|
|
- <script language="javascript" src="${pageContext.request.contextPath}/js/public.js"></script>
|
|
|
- <script language="javascript" src="${pageContext.request.contextPath}/js/check.js"></script>
|
|
|
- <!-- 日期插件,使用jquery -->
|
|
|
- <script type="text/javascript" src="${pageContext.request.contextPath}/jquery/jquery-1.4.2.js"></script>
|
|
|
- <link rel="stylesheet" href="${pageContext.request.contextPath}/jquery/jquery.datepick.css" type="text/css">
|
|
|
- <script type="text/javascript" src="${pageContext.request.contextPath}/jquery/jquery.datepick.js"></script>
|
|
|
- <script type="text/javascript" src="${pageContext.request.contextPath}/jquery/jquery.datepick-zh-CN.js"></script>
|
|
|
- </HEAD>
|
|
|
- <script type="text/javascript">
|
|
|
- $(document).ready(function(){
|
|
|
- //使用class属性处理 'yy-mm-dd' 设置格式"yyyy/mm/dd"
|
|
|
- $('#birthday').datepick({dateFormat: 'yy-mm-dd'});
|
|
|
- });
|
|
|
-
|
|
|
- $(function() {
|
|
|
- //获取所有option
|
|
|
- //$("#education option[value='${person.education}']").attr("selected","selected");
|
|
|
- var values = '${person.education}';
|
|
|
- alert(values);
|
|
|
- var numbers = $("#education").find("option"); //获取select下拉框的所有值
|
|
|
-for (var j = 1; j < numbers.length; j++) {
|
|
|
-if ($(numbers[j]).val() == values) {
|
|
|
- alert($(numbers[j]).val());
|
|
|
-$(numbers[j]).attr("selected", "selected");
|
|
|
-}
|
|
|
-}
|
|
|
- })
|
|
|
- </script>
|
|
|
- <body>
|
|
|
- <form id="userAction_save_do" name="Form1" action="${pageContext.request.contextPath}/user/list.jsp" method="post" enctype="multipart/form-data">
|
|
|
-
|
|
|
- <table cellSpacing="1" cellPadding="5" width="100%" align="center" bgColor="#eeeeee" style="border: 1px solid #8ba7e3" border="0">
|
|
|
- <input type="hidden" name="pid" value="${person.pid }" id="pid"/>
|
|
|
- <input type="hidden" name="resume" value="${person.resume }" id="path"/>
|
|
|
- <tr>
|
|
|
- <td class="ta_01" align="center" bgColor="#afd1f3" colSpan="4"
|
|
|
- height="26">
|
|
|
- <strong><STRONG>编辑人员信息</STRONG>
|
|
|
- </strong>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
-
|
|
|
- <tr>
|
|
|
- <td width="18%" align="center" bgColor="#f5fafe" class="ta_01">
|
|
|
- 登录名:
|
|
|
- </td>
|
|
|
- <td class="ta_01" bgColor="#ffffff" colspan="3">
|
|
|
- <input type="text" name="logonName" value="${person.username }" id="userAction_save_do_logonName" class="bg"/>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td align="center" bgColor="#f5fafe" class="ta_01">
|
|
|
- 密码:
|
|
|
- </td>
|
|
|
- <td class="ta_01" bgColor="#ffffff">
|
|
|
- <input type="password" name="logonPwd" value="${person.password }" id="logonPwd"/>
|
|
|
- </td>
|
|
|
- <td align="center" bgColor="#f5fafe" class="ta_01">
|
|
|
- 用户姓名:
|
|
|
- </td>
|
|
|
- <td class="ta_01" bgColor="#ffffff">
|
|
|
- <input type="text" name="userName" value="${person.realname }" id="userAction_save_do_userName" class="bg"/>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td align="center" bgColor="#f5fafe" class="ta_01">
|
|
|
- 性别:
|
|
|
- </td>
|
|
|
- <td class="ta_01" bgColor="#ffffff">
|
|
|
-
|
|
|
-<input type="radio" name="sex" id="sex男" value="男" <c:if test="${person.gender =='男' }">checked</c:if>/><label for="sex男">男</label>
|
|
|
-<input type="radio" name="sex" id="sex女" value="女" <c:if test="${person.gender =='女' }">checked</c:if>/><label for="sex女">女</label>
|
|
|
-
|
|
|
- </td>
|
|
|
- <td align="center" bgColor="#f5fafe" class="ta_01">
|
|
|
- 学历:
|
|
|
- </td>
|
|
|
- <td class="ta_01" bgColor="#ffffff">
|
|
|
-
|
|
|
-
|
|
|
- <select name="education" id="education">
|
|
|
- <option value=""
|
|
|
- >--选择学历--</option>
|
|
|
- <option value="博士">博士</option>
|
|
|
- <option value="硕士">硕士</option>
|
|
|
- <option value="研究生">研究生</option>
|
|
|
- <option value="本科">本科</option>
|
|
|
- <option value="专科">专科</option>
|
|
|
- <option value="高中">高中</option>
|
|
|
-
|
|
|
-
|
|
|
- </select>
|
|
|
-
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td align="center" bgColor="#f5fafe" class="ta_01">
|
|
|
- 出生日期:
|
|
|
- </td>
|
|
|
- <td class="ta_01" bgColor="#ffffff">
|
|
|
- <input type="text" name="birthday" size="20" value="${person.birthday }" readonly="readonly" id="birthday"/>
|
|
|
- </td>
|
|
|
- <td align="center" bgColor="#f5fafe" class="ta_01">
|
|
|
- 电话:
|
|
|
- </td>
|
|
|
- <td class="ta_01" bgColor="#ffffff">
|
|
|
- <input type="text" name="telephone" value="${person.phone }" id="telephone"/>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td align="center" bgColor="#f5fafe" class="ta_01">
|
|
|
- 兴趣爱好:
|
|
|
- </td>
|
|
|
- <td class="ta_01" bgColor="#ffffff" colSpan="3">
|
|
|
- <input type="checkbox" name="interest" value="看电影" id="interest-1" checked="checked"/>
|
|
|
- <label for="interest-1" class="checkboxLabel">看电影</label>
|
|
|
- <input type="checkbox" name="interest" value="旅游" id="interest-2" checked="checked"/>
|
|
|
- <label for="interest-2" class="checkboxLabel">旅游</label>
|
|
|
- <input type="checkbox" name="interest" value="健身" id="interest-3"/>
|
|
|
- <label for="interest-3" class="checkboxLabel">健身</label>
|
|
|
- <input type="checkbox" name="interest" value="购物" id="interest-4"/>
|
|
|
- <label for="interest-4" class="checkboxLabel">购物</label>
|
|
|
- <input type="checkbox" name="interest" value="睡觉" id="interest-5"/>
|
|
|
- <label for="interest-5" class="checkboxLabel">睡觉</label>
|
|
|
- <input type="hidden" id="__multiselect_userAction_save_do_interest" name="__multiselect_interest" value="" />
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td align="center" bgColor="#f5fafe" class="ta_01">
|
|
|
- 简历资料:
|
|
|
- </td>
|
|
|
- <td class="ta_01" bgColor="#ffffff" colSpan="3">
|
|
|
- ${person.resume }
|
|
|
- <!-- <input type="file" name="upload" size="30" value="" id="userAction_save_do_upload"/> -->
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <TR>
|
|
|
- <TD class="ta_01" align="center" bgColor="#f5fafe">
|
|
|
- 备注:
|
|
|
- </TD>
|
|
|
- <TD class="ta_01" bgColor="#ffffff" colSpan="3">
|
|
|
- <textarea name="remark" cols="30" rows="3" id="userAction_save_do_remark" style="WIDTH: 96%">${person.rmark }</textarea>
|
|
|
- </TD>
|
|
|
- </TR>
|
|
|
- <TR>
|
|
|
- <td align="center" colSpan="4" class="sep1">
|
|
|
- <img src="${pageContext.request.contextPath}/images/shim.gif">
|
|
|
- </td>
|
|
|
- </TR>
|
|
|
- <tr>
|
|
|
- <td class="ta_01" style="WIDTH: 100%" align="center"
|
|
|
- bgColor="#f5fafe" colSpan="4">
|
|
|
- <button type="submit" id="userAction_save_do_submit" name="submit" value="确定" class="button_ok">
|
|
|
- 确定
|
|
|
- </button>
|
|
|
-
|
|
|
- <FONT face="宋体"> </FONT>
|
|
|
- <button type="reset" value="重置" class="button_cancel">重置</button>
|
|
|
-
|
|
|
- <FONT face="宋体"> </FONT>
|
|
|
- <INPUT class="button_ok" type="button" onclick="history.go(-1)" value="返回"/>
|
|
|
- <span id="Label1"></span>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
- </form>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- </body>
|
|
|
-</HTML>
|