📄 employee_create_basic_info.jsp
字号:
</select>
<!--部门列表结束-->
</td>
</tr>
<tr bgcolor="#e0e0e0">
<td width="21%"><font class=strong> 职位:</font></td>
<td width="79%">
<select name="dutyId">
<%
try
{
System.out.println("deIdTemp:"+deIdTemp);
%>
<hr:DutyList divisionId='<%= deIdTemp %>'>
<vnex:items >
<option value="<hr:DutyAttribute attribute="id" />" >
<hr:DutyAttribute attribute='<%= null %>' /></option>
</vnex:items>
</hr:DutyList>
<%
}
catch(Exception e)
{
System.out.println("Error at Employee_role_setting.jsp at the DutyList tag:"+e.getMessage());
}
%>
</select>
</td>
</tr>
<tr bgcolor="#fafafa">
<td width="21%"><font class=strong> 主要职务:</font></td>
<td width="79%">
<input type="checkbox" name="isMainDuty" value=true >
</td>
</tr>
<tr bgcolor="#fafafa" align="center">
<td colspan="2" height="30">
<input type=button value=新增职务 name=B3 class=text onclick="submitAdd()" >*
</td>
</tr>
</table>
</td>
</tr>
<!-- end role seting-->
<tr bgcolor="#fafafa">
<td colspan="3" align="center" height="30">
<input type="button" value="保存" name="B1" class=text onclick="checkdata()">
<input type="reset" name="Button32" value="重置" class=text>
<input type="reset" value="放弃" name="B2" class=text onclick="location='/mainctrl/intranet/hr/search_result'">
</td>
</tr>
<%
}//end of the condition ( do new status. )
else
{
System.out.println("\n\n^^^^doAdd status.");
%>
<tr>
<td bgcolor="#e0e0e0" width="21%"><font class=strong> 姓名:</font></td>
<td bgcolor="#e0e0e0" colspan="2" width="79%">
<input type="text" name="name" readonly class=text size="20" value=<%= memberInfoBean.getName() %> >*
</td>
</tr>
<tr>
<td bgcolor="#fafafa" width="21%"><font class=strong> 员工编号:</font></td>
<td bgcolor="#fafafa" colspan="2" width="79%"> <%= memberInfoBean.getId() %></td>
</tr>
<tr bgcolor="#e0e0e0">
<td width="21%"><font class=strong> 性别:</font></td>
<td colspan="2" width="79%"><b>
<select style="WIDTH:65px" size="1" name="sex" disabled >
<option value=0 <% if (memberInfoBean.getSex() == 0) out.print("selected"); %>>男</option>
<option value=1 <% if (memberInfoBean.getSex() == 1) out.print("selected"); %>>女</option>
</select>
</b></td>
</tr>
<tr bgcolor="#e0e0e0">
<td width="21%"><font class=strong> 用户名:</font></td>
<td colspan="2" width="79%" bgcolor="#e0e0e0"> <b>
<input type="text" name="username" readonly class=text size="20" value="<%= memberInfoBean.getUserName() %>"></b>*
</td>
</tr>
<tr>
<td bgcolor="#fafafa" width="21%"><font class=strong> E_mail:</font></td>
<td bgcolor="#fafafa" colspan="2" width="79%">
<input type="text" name="email" readonly class=text size="20" value="<%= memberInfoBean.getEmail() %>">*
</td>
</tr>
<tr bgcolor="#e0e0e0">
<td width="21%"><font class=strong> 电话号码:</font></td>
<td colspan="2" width="79%">
<input type="text" name="phone" readonly class=text size="20" value="<%= memberInfoBean.getPhone() %>">
</td>
</tr>
<tr>
<td bgcolor="#fafafa" width="21%"><font class=strong> 传真号码:</font></td>
<td bgcolor="#fafafa" colspan="2" width="79%">
<input type="text" name="fax" readonly class=text size="20" value="<%= memberInfoBean.getFax() %>">
</td>
</tr>
<tr bgcolor="#e0e0e0">
<td width="21%"><font class=strong> 手/呼机号码:</font></td>
<td colspan="2" width="79%">
<input type="text" name="mobile" readonly class=text size="20" value=<%= memberInfoBean.getMobile() %>>
</td>
</tr>
<tr>
<td bgcolor="#fafafa" width="21%"><font class=strong> 上级:</font></td>
<td bgcolor="#fafafa" colspan="2" width="79%">
<select size="1" name="managerId" disabled>
<option value="-1" >--无--</option>
<%
Iterator iter3 = collAllP.iterator();
while ( iter3.hasNext() )
{
MemberSearchBean ms = (MemberSearchBean)iter3.next();
%>
<option value=<%= ms.getId() %> <% if ( ms.getId() == memberInfoBean.getManagerId() ) out.print("selected");%>><%= ms.getName() %></option>
<%
}
%>
</select><!--*-->
</td>
</tr>
<tr bgcolor="#e0e0e0">
<td width="21%"><font class=strong> 助理:</font></td>
<td colspan="2" width="79%">
<select size="1" name="assistantId" disabled>
<option value="-1" >--无--</option>
<%
Iterator iter4 = collAllP.iterator();
while ( iter4.hasNext() )
{
MemberSearchBean ms = (MemberSearchBean)iter4.next();
%>
<option value=<%= ms.getId() %> <% if ( ms.getId() == memberInfoBean.getAssistantId() ) out.print("selected");%>><%= ms.getName() %></option>
<%
}
%>
</select>
</td>
</tr>
<tr>
<td width="21%" bgcolor="#fafafa"><b><font class = strong > 职称</font></b></td>
<td width="79%" bgcolor="#fafafa"><input type="text" name="title" readonly class=text size="20" value="<%= memberInfoBean.getTitle() %>"></td>
</tr>
<tr bgcolor="#e0e0e0">
<td width="21%"><font class=strong> 备注:</font></td>
<td colspan="2" width="79%">
<textarea name="note" rows="6" cols="36" readonly><%= memberInfoBean.getNote() %></textarea>
</td>
</tr>
<!-- start role seting-->
<tr>
<td colspan = 3>
<table class=title cellspacing=1 width="600" border=0>
<%
if ( pageColl.size() > 0 )
{
%>
<tr bgcolor="#fafafa">
<td colspan="6" height="30">
<input type="button" value="删除" name="B22" onClick="submitDel()" class=text>
</td>
</tr>
<%
}
%> <tr>
<td width="40" align="center"><font class=strong>选择</font></td>
<td width="140" align="center"><font class=strong>设定时间</font></td>
<td width="140" align="center"><font class=strong>部门</font></td>
<td width="140" align="center"><font class=strong>主管</font></td>
<td width="140" align="center"> <font class=strong>职务</font></td>
<td width="10" align="center"> <font class=strong>主</font></td>
</tr>
<%
String bgcolor = null;
int color_i = 0;
Iterator iter = pageColl.iterator();
%>
<input type = hidden name = "ifAddedDuty" value = "<%=iter.hasNext()?"Yes":"No"%>">
<%
while ( iter.hasNext() )
{
MemberDutyInfo mdi = (MemberDutyInfo)iter.next();
color_i++;
if( color_i%2==0 )
{
bgcolor = "#e0e0e0";
}
else
{
bgcolor = "#fafafa";
}
%>
<tr bgcolor="<%= bgcolor %>">
<td width="40" align="center"><font class=strongw>
<input type="checkbox" name="delId" value="<%= hrProxyBean.isValidForDel(mdi.getDutyId(),emp_id)?"Y":"N"%><%= mdi.getDutyId() %>" onclick = "checkIfValidForDel(this,'<%= mdi.getDivisionName() %>','<%= mdi.getDutyName() %>')">
</font></td>
<td width="140" align="center"><%= MyDateFormat.myDate(mdi.getAssignDate()) %></td>
<td align="center" width="140"><%= mdi.getDivisionName() %></td>
<td width="140" align="center"><%= mdi.getManagerName() %></td>
<td width="140" align="center"><%= mdi.getDutyName() %></td>
<td width="10" align="center"><input type="radio" name="radio<%=mdi.getDutyId()%>" value="<%=mdi.getIsMainDuty()?"Y":"N"%>" <% if( mdi.getIsMainDuty() == true ) out.print("checked");%> onclick = "domodifyMainDuty(this,'<%= mdi.getDutyId() %>','<%=mdi.getDivisionId()%>','<%=emp_id%>')" ></td>
</tr>
<%
}
%>
</table>
<table class=title cellspacing=1 width="600" border=0>
<tr>
<td bgcolor="#fafafa" width="21%"><font class=strong> 部门:</font></td>
<td bgcolor="#fafafa" width="79%">
<!--部门列表开始-->
<select name="divisionId" class=choice onChange=change(this)>
<option value="-1">------------请选择部门------------</option>
<org:DivisionList>
<vnex:items select='<%= deIdTemp+"" %>' >
<option value=<org:DivisionAttribute attribute="id"/> <org:DivisionAttribute attribute="isSelected"/> >
<org:DivisionAttribute attribute="levelStr"/>+<org:DivisionAttribute attribute="name"/></option>
</vnex:items>
</org:DivisionList>
</select>
<!--部门列表结束-->
</td>
</tr>
<tr bgcolor="#e0e0e0">
<td width="21%"><font class=strong> 职位:</font></td>
<td width="79%">
<select name="dutyId">
<%
try
{
System.out.println("deIdTemp:"+deIdTemp);
%>
<hr:DutyList divisionId='<%= deIdTemp %>'>
<vnex:items >
<option value="<hr:DutyAttribute attribute="id" />" >
<hr:DutyAttribute attribute='<%= null %>' /></option>
</vnex:items>
</hr:DutyList>
<%
}
catch(Exception e)
{
System.out.println("Error at Employee_role_setting.jsp at the DutyList tag:"+e.getMessage());
}
%>
</select>
</td>
</tr>
<tr bgcolor="#fafafa">
<td width="21%"><font class=strong> 主要职务:</font></td>
<td width="79%">
<input type="checkbox" name="isMainDuty" value=true >
</td>
</tr>
<tr bgcolor="#fafafa" align="center">
<td colspan="2" height="30">
<input type=button value=新增职务 name=B3 class=text onclick="submitAdd()" >*
</td>
</tr>
</table>
</td>
</tr>
<!-- end role seting-->
<tr bgcolor="#fafafa">
<td colspan="3" align="center" height="30">
<input type="reset" value="返回" name="B2" class=text onclick="location='/mainctrl/intranet/hr/search_result'">
</td>
</tr>
<%
}
%>
</table>
</td>
</tr>
</table>
<br><br>
<jsp:include page="/vnex/page/TTOA_HELP.jsp" />
</TD>
</TR>
<jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
</TBODY>
</TABLE>
<BR>
<jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
</form></DIV>
</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -