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

📄 jspadminmodify.jsp

📁 使用jsp,数据库使用orcale
💻 JSP
字号:
<%@include file="/internet/common.jsp"%><SCRIPT language="JavaScript" src="/pageComponent/resources/scripts/dataformcheck.js"></SCRIPT><link rel="stylesheet" href="/pageComponent/resources/theme/style.css" type="text/css"><SCRIPT language="JavaScript" src="/pageComponent/resources/scripts/calendar.js"></SCRIPT><%--  作者:xiao  部门:BIT  创建时间:Tue Nov 28 15:15:40 CST 2006  描述:通过向导自动产生entity表单输入的jsp页面--%><title>修改个人信息</title><body background="../../image/admin/adminmodify.JPG"><br><PG:DataForm><%--自动生成代码,请不要手动修改<?xml version="1.0" encoding="GB2312" standalone="no"?><wizardContent version="1.0">    <content>        <formAction value="admin.pr_automata.pr.prOA_EMP_INFOInsert.do" type="String"/>        <cols value="3" type="Integer"/>        <title value="新增(OA_EMP_INFO)信息" type="String"/>        <hasForm value="true" type="Boolean"/>        <formName value="inputForm" type="String"/>        <submitTarget value="_top" type="String"/>    </content>    <entity name="OA_EMP_INFO" id="entity">        <field name="EMPLOYEE_ID" displayName="员工编号" length="20" isKey="true">            <dictNullLable value="其它"/>            <readonly value="false"/>            <htmlInputType value="text"/>            <dictHasNull value="true"/>        </field>        <field name="EMPLOYEE_NAME" displayName="员工姓名" length="20">            <dictNullLable value="其它"/>            <readonly value="false"/>            <htmlInputType value="text"/>            <dictHasNull value="true"/>        </field>        <field name="SEX" dataType="number" dictTypeID="BNDICT_gender" displayName="性别" length="22">            <dictNullLable value="其它"/>            <readonly value="false"/>            <htmlInputType value="text"/>            <dictHasNull value="true"/>        </field>        <field name="BIRTHDAY" dataType="date" displayFormat="yyyy-MM-dd" displayName="出生日期" isNullable="true">            <dictNullLable value="其它"/>            <readonly value="false"/>            <htmlInputType value="text"/>            <dictHasNull value="true"/>        </field>        <field name="PROVINCE" displayName="籍贯" length="20" isNullable="true">            <dictNullLable value="其它"/>            <readonly value="false"/>            <htmlInputType value="text"/>            <dictHasNull value="true"/>        </field>        <field name="DEPARTMENT_ID" displayName="部门编号" length="20">            <dictNullLable value="其它"/>            <readonly value="false"/>            <htmlInputType value="text"/>            <dictHasNull value="true"/>        </field>        <field name="CARD_ID" displayName="身份证号" length="20">            <dictNullLable value="其它"/>            <readonly value="false"/>            <htmlInputType value="text"/>            <dictHasNull value="true"/>        </field>        <field name="SCHOOL" displayName="毕业学校" length="20" isNullable="true">            <dictNullLable value="其它"/>            <readonly value="false"/>            <htmlInputType value="text"/>            <dictHasNull value="true"/>        </field>        <field name="EDULEVEL" dictTypeID="BNDICT_education" displayName="学历" length="20" isNullable="true">            <dictNullLable value="其它"/>            <readonly value="false"/>            <htmlInputType value="text"/>            <dictHasNull value="true"/>        </field>        <field name="TELPHONE" displayName="办公电话" length="20" isNullable="true">            <dictNullLable value="其它"/>            <readonly value="false"/>            <htmlInputType value="text"/>            <dictHasNull value="true"/>        </field>        <field name="MOBILE" displayName="移动电话" length="20" isNullable="true">            <dictNullLable value="其它"/>            <readonly value="false"/>            <htmlInputType value="text"/>            <dictHasNull value="true"/>        </field>        <field name="ADDRESS" displayName="家庭地址" length="50" isNullable="true">            <dictNullLable value="其它"/>            <readonly value="false"/>            <htmlInputType value="text"/>            <dictHasNull value="true"/>        </field>        <field name="EMAIL" displayName="E-MAIL" length="50" isNullable="true">            <dictNullLable value="其它"/>            <readonly value="false"/>            <htmlInputType value="text"/>            <dictHasNull value="true"/>        </field>        <field name="ROLE_ID" displayName="角色编号" length="20">            <dictNullLable value="其它"/>            <readonly value="false"/>            <htmlInputType value="text"/>            <dictHasNull value="true"/>        </field>        <field name="PWD" displayName="密码" length="100">            <dictNullLable value="其它"/>            <readonly value="false"/>            <htmlInputType value="text"/>            <dictHasNull value="true"/>        </field>    </entity></wizardContent> --%><form action="admin.pr_automata.pr.prAdminModify.do" target="_top" name="inputForm" method="post">	  <TABLE width="80%" border="0" align="center" cellPadding="0" cellSpacing="0" class="pg_add">    <TR>       <TD class="pg_add_title" colspan="6"><font size="5" face="华文新魏">修改个人信息</font></TD>    </TR>    <TR>       <TD width="24%" class="pg_add_head"><div align="left"><font size="4" face="宋体"> 员工编号:           </font></div></TD>      <TD width="76%" class="pg_add_content"> <html:text property="OA_EMP_INFO/EMPLOYEE_ID"   attributesText='eos_isnull="false" eos_maxsize="20" eos_displayname="员工编号"' onblur="checkInput(this)"/>         <font color="red">*</font> </TD>    </TR>    <TR>       <TD class="pg_add_head"><div align="left"><font size="4" face="宋体"> 员工姓名:           </font></div></TD>      <TD class="pg_add_content"> <html:text property="OA_EMP_INFO/EMPLOYEE_NAME"   attributesText='eos_isnull="false" eos_maxsize="20" eos_displayname="员工姓名"' onblur="checkInput(this)"/>         <font color="red">*</font> </TD>    </TR>    <TR>       <TD class="pg_add_head"><div align="left"><font size="4" face="宋体"> 性&nbsp;&nbsp;&nbsp;&nbsp;别:           </font></div></TD>      <TD class="pg_add_content"> <dict:select businTypeId="BNDICT_gender" nullOption="true" nullLabel="" property="OA_EMP_INFO/SEX" />         <font color="red">*</font> </TD>    </TR>    <TR>       <TD class="pg_add_head"><div align="left"><font size="4" face="宋体"> 出生日期:           </font></div></TD>      <TD class="pg_add_content"> <input type="text" name="OA_EMP_INFO/BIRTHDAY" size="13" eos_isnull="true" eos_maxsize="0" eos_datatype="date(yyyy-MM-dd)" eos_displayname="出生日期"   value="<bean:write property="OA_EMP_INFO/BIRTHDAY" formatType="yyyy-MM-dd" formatClass="com.primeton.eos.webtag.bean.BeanWriteDateFormatImpl"/>         "/> <html:hidden property="OA_EMP_INFO/BIRTHDAY/@pattern" value="yyyy-MM-dd"/>         <input type="button" value="日历" onclick="var txt=document.getElementById(&quot;OA_EMP_INFO/BIRTHDAY&quot;),format=&quot;yyyy-MM-dd&quot;; calendar(txt,format);">       </TD>    </TR>    <TR>       <TD class="pg_add_head"><div align="left"><font size="4" face="宋体"> 籍&nbsp;&nbsp;&nbsp;&nbsp;贯:           </font></div></TD>      <TD class="pg_add_content"> <html:text property="OA_EMP_INFO/PROVINCE"   attributesText='eos_isnull="true" eos_maxsize="20" eos_displayname="籍贯"' onblur="checkInput(this)"/>       </TD>    </TR>    <TR>       <TD class="pg_add_head"><div align="left"><font size="4" face="宋体"> 部门编号:           </font></div></TD>      <TD class="pg_add_content"> <html:text property="OA_EMP_INFO/DEPARTMENT_ID"   attributesText='eos_isnull="false" eos_maxsize="20" eos_displayname="部门编号"' onblur="checkInput(this)"/>         <font color="red">*</font> </TD>    </TR>    <TR>       <TD class="pg_add_head"><div align="left"><font size="4" face="宋体"> 身份证号:           </font></div></TD>      <TD class="pg_add_content"> <html:text property="OA_EMP_INFO/CARD_ID"   attributesText='eos_isnull="false" eos_maxsize="20" eos_displayname="身份证号"' onblur="checkInput(this)"/>         <font color="red">*</font> </TD>    </TR>    <TR>       <TD height="19" class="pg_add_head"><div align="left"><font size="4" face="宋体"> 毕业学校:           </font></div></TD>      <TD class="pg_add_content"> <html:text property="OA_EMP_INFO/SCHOOL"   attributesText='eos_isnull="true" eos_maxsize="20" eos_displayname="毕业学校"' onblur="checkInput(this)"/>       </TD>    </TR>    <TR>       <TD class="pg_add_head"><div align="left"><font size="4" face="宋体"> 学&nbsp;&nbsp;&nbsp;&nbsp;历:           </font></div></TD>      <TD class="pg_add_content"> <dict:select businTypeId="BNDICT_education" nullOption="true" nullLabel="" property="OA_EMP_INFO/EDULEVEL" />       </TD>    </TR>    <TR>       <TD class="pg_add_head"><div align="left"><font size="4" face="宋体"> 办公电话:           </font></div></TD>      <TD class="pg_add_content"> <html:text property="OA_EMP_INFO/TELPHONE"   attributesText='eos_isnull="true" eos_maxsize="20" eos_displayname="办公电话"' onblur="checkInput(this)"/>       </TD>    </TR>    <TR>       <TD class="pg_add_head"><div align="left"><font size="4" face="宋体"> 移动电话:           </font></div></TD>      <TD class="pg_add_content"> <html:text property="OA_EMP_INFO/MOBILE"   attributesText='eos_isnull="true" eos_maxsize="20" eos_displayname="移动电话"' onblur="checkInput(this)"/>       </TD>    </TR>    <TR>       <TD class="pg_add_head"><div align="left"><font size="4" face="宋体"> 家庭地址:           </font></div></TD>      <TD class="pg_add_content"> <html:text property="OA_EMP_INFO/ADDRESS"   attributesText='eos_isnull="true" eos_maxsize="50" eos_displayname="家庭地址"' onblur="checkInput(this)"/>       </TD>    </TR>    <TR>       <TD class="pg_add_head"><div align="left"><font size="4" face="宋体"> E-MAIL:           </font></div></TD>      <TD class="pg_add_content"> <html:text property="OA_EMP_INFO/EMAIL"   attributesText='eos_isnull="true" eos_maxsize="50" eos_displayname="E-MAIL"' onblur="checkInput(this)"/>       </TD>    </TR>    <TR>       <TD class="pg_add_head"><div align="left"><font size="4" face="宋体"> 角色编号:           </font></div></TD>      <TD class="pg_add_content"> <html:text property="OA_EMP_INFO/ROLE_ID"   attributesText='eos_isnull="false" eos_maxsize="20" eos_displayname="角色编号"' onblur="checkInput(this)"/>         <font color="red">*</font> </TD>    </TR>    <TR>       <TD class="pg_add_head"><div align="left"><font size="4" face="宋体">密 &nbsp;&nbsp;&nbsp;码:</font></div></TD>      <TD class="pg_add_content"> <html:password onblur="checkInput(this)" style="WIDTH: 152px" property="OA_EMP_INFO/PWD"			attributesText='eos_isnull="false" eos_maxsize="50" eos_displayname="密码"' />         <FONT color="red">*</FONT></TD>    </TR>    <TR>       <TD class="pg_add_head"><div align="left"><font size="4" face="宋体">确认密码:</font></div></TD>      <TD class="pg_add_content"> <html:password style="WIDTH: 152px" property="password"			attributesText='eos_isnull="false" eos_maxsize="50" eos_displayname="密码"' />         <FONT color="red">*</FONT></TD>    </TR>    <TR class="pg_add_bottom">       <TD colspan="6" > <DIV align="center"> 【<a href="javascript:check(document.inputForm);">提交</a>】           【<a href="javascript:resetData(document.inputForm);">重置</a>】 【<a href="javascript:history.go(-1);">返回</a>】         </DIV></TD>    </TR>  </TABLE></form></PG:DataForm><SCRIPT language="javascript" type="text/javascript">		function _save(){			var frm = document.form1;			if (frm.elements["hciPasswordTypeTEA_INFO/PWD"].value != frm.elements["hciPasswordTypepassword"].value) {				alert("两次输入的用户密码不匹配,请重新输入!");				frm.elements["hciPasswordTypeTEA_INFO/PWD"].value="";				frm.elements["hciPasswordTypepassword"].value="";				return;			}			check(document.form1);		}	</SCRIPT>

⌨️ 快捷键说明

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