📄 oa_emp_infoinsert.jsp
字号:
<%@include file="/internet/common.jsp"%>
<TITLE>添加新员工信息</TITLE>
<SCRIPT language="JavaScript" src="/pageComponent/resources/scripts/dataformcheck.js" type="text/javascript"></SCRIPT>
<LINK href="/pageComponent/resources/theme/style.css" rel="stylesheet" type="text/css">
<SCRIPT language="JavaScript" src="/pageComponent/resources/scripts/calendar.js" type="text/javascript"></SCRIPT>
<%--
作者:xiao
部门:BIT
创建时间:Tue Nov 28 15:15:40 CST 2006
描述:通过向导自动产生entity表单输入的jsp页面
--%>
<BR>
<PG:DataForm style="WIDTH: 584px; HEIGHT: 428px">
<%--自动生成代码,请不要手动修改
<?xml version="1.0" encoding="GB2312" standalone="no"?>
<wizardContent version="1.0">
<content>
<formAction value="admin.pr.prOA_EMP_INFOInsert.do" type="String"/>
<cols value="1" type="Integer"/>
<title value="添加新员工" type="String"/>
<hasForm value="true" type="Boolean"/>
<submitTarget value="_top" type="String"/>
<formName value="inputForm" type="String"/>
</content>
<entity name="OA_EMP_INFO" id="entity">
<field name="EMPLOYEE_ID" displayName="员工编号" length="20" isKey="true">
<readonly value="false"/>
<dictNullLable value="其它"/>
<htmlInputType value="text"/>
<dictHasNull value="true"/>
</field>
<field name="EMPLOYEE_NAME" displayName="员工姓名" length="20">
<readonly value="false"/>
<dictNullLable value="其它"/>
<htmlInputType value="text"/>
<dictHasNull value="true"/>
</field>
<field name="SEX" dataType="number" dictTypeID="BNDICT_gender" displayName="性别" length="22">
<readonly value="false"/>
<dictNullLable value="其它"/>
<htmlInputType value="text"/>
<dictHasNull value="true"/>
</field>
<field name="BIRTHDAY" dataType="date" displayFormat="yyyy-MM-dd" displayName="出生日期" isNullable="true">
<readonly value="false"/>
<dictNullLable value="其它"/>
<htmlInputType value="text"/>
<dictHasNull value="true"/>
</field>
<field name="PROVINCE" displayName="籍贯" length="20" isNullable="true">
<readonly value="false"/>
<dictNullLable value="其它"/>
<htmlInputType value="text"/>
<dictHasNull value="true"/>
</field>
<field name="DEPARTMENT_ID" displayName="部门编号" length="20">
<readonly value="false"/>
<dictNullLable value="其它"/>
<htmlInputType value="text"/>
<dictHasNull value="true"/>
</field>
<field name="CARD_ID" displayName="身份证号" length="20">
<readonly value="false"/>
<dictNullLable value="其它"/>
<htmlInputType value="text"/>
<dictHasNull value="true"/>
</field>
<field name="SCHOOL" displayName="毕业学校" length="20" isNullable="true">
<readonly value="false"/>
<dictNullLable value="其它"/>
<htmlInputType value="text"/>
<dictHasNull value="true"/>
</field>
<field name="EDULEVEL" dictTypeID="BNDICT_education" displayName="学历" length="20" isNullable="true">
<readonly value="false"/>
<dictNullLable value="其它"/>
<htmlInputType value="text"/>
<dictHasNull value="true"/>
</field>
<field name="TELPHONE" displayName="办公电话" length="20" isNullable="true">
<readonly value="false"/>
<dictNullLable value="其它"/>
<htmlInputType value="text"/>
<dictHasNull value="true"/>
</field>
<field name="MOBILE" displayName="移动电话" length="20" isNullable="true">
<readonly value="false"/>
<dictNullLable value="其它"/>
<htmlInputType value="text"/>
<dictHasNull value="true"/>
</field>
<field name="ADDRESS" displayName="家庭地址" length="50" isNullable="true">
<readonly value="false"/>
<dictNullLable value="其它"/>
<htmlInputType value="text"/>
<dictHasNull value="true"/>
</field>
<field name="EMAIL" displayName="E-MAIL" length="50" isNullable="true">
<readonly value="false"/>
<dictNullLable value="其它"/>
<htmlInputType value="text"/>
<dictHasNull value="true"/>
</field>
<field name="ROLE_ID" displayName="角色编号" length="20">
<readonly value="false"/>
<dictNullLable value="其它"/>
<htmlInputType value="text"/>
<dictHasNull value="true"/>
</field>
<field name="PWD" displayName="密码" length="100">
<readonly value="false"/>
<dictNullLable value="其它"/>
<htmlInputType value="text"/>
<dictHasNull value="true"/>
</field>
</entity>
</wizardContent>
--%>
<FORM name="inputForm" action="admin.pr.prOA_EMP_INFOInsert.do" method="post" target="_top">
<TABLE width="80%" cellPadding="0" align="center" class="pg_add" border="0" cellSpacing="0">
<TBODY>
<TR>
<TD class="pg_add_title" colSpan="2">添加新员工</TD>
</TR>
<TR>
<TD class="pg_add_head">员工编号:</TD>
<TD class="pg_add_content">
<html:text onblur="checkInput(this)" property="OA_EMP_INFO/EMPLOYEE_ID"
attributesText='eos_isnull="false" eos_maxsize="20" eos_displayname="员工编号"' />
<FONT color="red">*</FONT></TD>
</TR>
<TR>
<TD class="pg_add_head">员工姓名:</TD>
<TD class="pg_add_content">
<html:text onblur="checkInput(this)" property="OA_EMP_INFO/EMPLOYEE_NAME"
attributesText='eos_isnull="false" eos_maxsize="20" eos_displayname="员工姓名"' />
<FONT color="red">*</FONT></TD>
</TR>
<TR>
<TD class="pg_add_head">性别:</TD>
<TD class="pg_add_content">
<dict:select property="OA_EMP_INFO/SEX" businTypeId="BNDICT_gender" nullOption="true" nullLabel="" />
<FONT color="red">*</FONT></TD>
</TR>
<TR>
<TD class="pg_add_head">出生日期:</TD>
<TD class="pg_add_content"><INPUT eos_displayname="出生日期"
value='<bean:write property="OA_EMP_INFO/BIRTHDAY" formatType="yyyy-MM-dd" formatClass="com.primeton.eos.webtag.bean.BeanWriteDateFormatImpl"/>'
type="text" eos_datatype="date(yyyy-MM-dd)" eos_maxsize="0" size="13" name="OA_EMP_INFO/BIRTHDAY"
eos_isnull="true">
<html:hidden property="OA_EMP_INFO/BIRTHDAY/@pattern" value="yyyy-MM-dd" />
<INPUT value="日历" type="button"
onclick='var txt=document.getElementById("OA_EMP_INFO/BIRTHDAY"),format="yyyy-MM-dd"; calendar(txt,format);'></TD>
</TR>
<TR>
<TD class="pg_add_head">籍贯:</TD>
<TD class="pg_add_content">
<html:text onblur="checkInput(this)" property="OA_EMP_INFO/PROVINCE"
attributesText='eos_isnull="true" eos_maxsize="20" eos_displayname="籍贯"' />
</TD>
</TR>
<TR>
<TD class="pg_add_head">部门编号:</TD>
<TD class="pg_add_content">
<html:text onblur="checkInput(this)" property="OA_EMP_INFO/DEPARTMENT_ID"
attributesText='eos_isnull="false" eos_maxsize="20" eos_displayname="部门编号"' />
<FONT color="red">*</FONT></TD>
</TR>
<TR>
<TD class="pg_add_head">身份证号:</TD>
<TD class="pg_add_content">
<html:text onblur="checkInput(this)" property="OA_EMP_INFO/CARD_ID"
attributesText='eos_isnull="false" eos_maxsize="20" eos_displayname="身份证号"' />
<FONT color="red">*</FONT></TD>
</TR>
<TR>
<TD class="pg_add_head">毕业学校:</TD>
<TD class="pg_add_content">
<html:text onblur="checkInput(this)" property="OA_EMP_INFO/SCHOOL"
attributesText='eos_isnull="true" eos_maxsize="20" eos_displayname="毕业学校"' />
</TD>
</TR>
<TR>
<TD class="pg_add_head">学历:</TD>
<TD class="pg_add_content">
<dict:select property="OA_EMP_INFO/EDULEVEL" businTypeId="BNDICT_education" nullOption="true" nullLabel="" />
</TD>
</TR>
<TR>
<TD class="pg_add_head">办公电话:</TD>
<TD class="pg_add_content">
<html:text onblur="checkInput(this)" property="OA_EMP_INFO/TELPHONE"
attributesText='eos_isnull="true" eos_maxsize="20" eos_displayname="办公电话"' />
</TD>
</TR>
<TR>
<TD class="pg_add_head">移动电话:</TD>
<TD class="pg_add_content">
<html:text onblur="checkInput(this)" property="OA_EMP_INFO/MOBILE"
attributesText='eos_isnull="true" eos_maxsize="20" eos_displayname="移动电话"' />
</TD>
</TR>
<TR>
<TD class="pg_add_head">家庭地址:</TD>
<TD class="pg_add_content">
<html:text onblur="checkInput(this)" property="OA_EMP_INFO/ADDRESS"
attributesText='eos_isnull="true" eos_maxsize="50" eos_displayname="家庭地址"' />
</TD>
</TR>
<TR>
<TD class="pg_add_head">E-MAIL:</TD>
<TD class="pg_add_content">
<html:text onblur="checkInput(this)" property="OA_EMP_INFO/EMAIL"
attributesText='eos_isnull="true" eos_maxsize="50" eos_displayname="E-MAIL"' />
</TD>
</TR>
<TR>
<TD class="pg_add_head">用户角色:</TD>
<TD class="pg_add_content">
<html:select onblur="checkInput(this)" property="OA_EMP_INFO/ROLE_ID"
attributesText='eos_isnull="false" eos_maxsize="20" eos_displayname="角色编号"' >
<OPTION value="3" selected>普通员工</OPTION>
<OPTION value="2" >部门经理</OPTION>
<OPTION value="1" >系统管理员</OPTION>
</html:select>
<FONT color="red">*</FONT></TD>
</TR>
<TR>
<TD class="pg_add_head">密码:</TD>
<TD class="pg_add_content">
<html:text onblur="checkInput(this)" property="OA_EMP_INFO/PWD"
attributesText='eos_isnull="false" eos_maxsize="100" eos_displayname="密码"' />
<FONT color="red">*</FONT></TD>
</TR>
<TR class="pg_add_bottom">
<TD colSpan="2">
<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>
</TBODY>
</TABLE>
</FORM>
</PG:DataForm>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -