📄 modinf.jsp
字号:
<td><input class="text" name="txt_mobile" size="20" value="<%=str[15]%>"></td>
</tr>
<tr bgColor="#E7E7E7" height="22">
<td align="right">家庭地址:</td>
<td><input class="text" name="txt_address" size="20" value="<%=str[16]%>"></td>
<td align="right">邮政编码:</td>
<td><input class="text" value="<%=str[17]%>" name="txt_yzbm" size="20"></td>
</tr>
<tr bgColor="#ffffff" height="22">
<td align="right"> QQ :</td>
<td><input class="text" name="txt_qq" size="20" value="<%=str[18]%>"></td>
<td align="right">E-mail :</td>
<td><input class="text" name="txt_email" size="20" value="<%=str[19]%>"></td>
</tr>
<!---style="text-transform:uppercase;"--->
<tr bgColor="#E7E7E7" height="22">
<td align="right">*用户名 :</td>
<td><input class="text" name="txt_username" size="20" value="<%=str[21]%>" style="text-transform:lowercase;"></td>
<td align="right">注册日期:</td>
<td><input class="text" name="txt_regdate" size="20" value="<%=str[22]%>" readonly></td>
</tr>
<tr>
<td align="right">级别序号: </td>
<td><input class="text" name="txt_jbxh" size="20" value="<%=str[27]%>"></td>
</tr>
</tbody>
</table>
<table cellSpacing="0"width="100%" align=center>
<!--tr bgColor="#ffffff" height="22">
<td align="right"> 职务操作权限 :</td>
<td align="left">
<input type="text" size="35" value="<%//=oper%>" name="txt_doright" class=txtframe readonly>
<input type="button" value="选择操作" class=fashion onmouseover="msover();" onmouseout="msout();"onclick="GoCzqxWindow(1);">
</td>
</tr>
<tr bgColor="#E7E7E7" height="22">
<td align="right"> 职务流程权限 :</td>
<td align="left">
<input type="text" size="35" value="<%//=flow%>" name="txt_roadright" class=txtframe readonly>
<input type="button" value="选择流程" class=fashion onmouseover="msover();" onmouseout="msout();"onclick="GoCzqxWindow(2);">
</td>
</tr-->
<%if(rtBean.isRightMode("修改人员信息","资源配置参数")){%>
<tr bgColor="#ffffff" height="22">
<td align="right"> 资源配置参数 :</td>
<td align="left">
<input type="text" size="35" value="<%=str[20]%>" name="txt_confpara" class=txtframe readonly>
<input type="button" value="选择配置" class=fashion onmouseover="msover();" onmouseout="msout();"onclick="GoCzqxWindow(3);" >
</td>
</tr>
<%}%>
<!-- -->
<tr bgColor="#E7E7E7">
<td align=right valign="top">个人简介 :</td>
<!--/tr>
<tr-->
<td align=left >
<textarea rows="5" cols="46" name="txt_grjj"><%=str[25]%></textarea>
</td>
</tr>
<%
if(rtBean.isRightMode("发表文章","分配公司发表"))
{
rtBean.setUID(strPersonNo);
rtBean.setOrgid("-1");
if(rtBean.isRightMode("主页管理","发表文章") && rtBean.isRightMode("发表文章","公司发表文章"))
{
%>
<tr bgColor="#ffffff" height="22">
<td></td>
<td align=center><input type="button" value='修改版面权限' class=fashion onmouseover="msover();" onmouseout="msout();" onclick='modBMQX()' style="cursor:hand;">
</td>
</tr>
<%
}
}
%>
</table>
<table align=center>
<tr bgColor="#ffffff" height="22">
<td align="middle" colSpan="2">
<p align="center">
<input type="submit" value="提交" name="B1"onclick="return oncheckdata()" class=fashion>
<input type="button" value="返回" name="B2"class=fashion onclick="javascript:history.back()"></p>
</td>
</tr>
</table>
<script>
function oncheckdata()
{
document.all.form1.submit();
if(document.all.txt_xm.value=="")
{
alert("请填写完整您的姓名和密码!");
return false;
}
else if(document.all.pass_checkagain.value!=document.all.password_check.value)
{
alert("输入的密码不一致!");
return false;
}
else if(document.all.txt_gh.value!="" && !isDig(document.all.txt_gh.value))
{
alert("工号必须为数字!");
return false;
}
else if(document.all.txt_qq.value!="" && !isDig(document.all.txt_qq.value))
{
alert("QQ必须为数字!");
return false;
}
else if(document.all.txt_bgdh.value!="" && !isPhonenumger(document.all.txt_bgdh.value))
{
alert("请正确输入电话号码!");
return false;
}
else if(document.all.txt_fjdh.value!="" && !isPhonenumger(document.all.txt_fjdh.value))
{
alert("请正确输入电话号码!");
return false;
}
else if(document.all.txt_yzbm.value!="" && !isDig(document.all.txt_yzbm.value))
{
alert("邮政编码必须为数字!");
return false;
}
else if(document.all.txt_jtdh.value!="" && !isPhonenumger(document.all.txt_jtdh.value))
{
alert("请正确输入电话号码!");
return false;
}
else if(document.all.txt_mobile.value!="" && !isDig(document.all.txt_mobile.value))
{
alert("移动电话必须为数字!");
return false;
}
else if(document.all.txt_username.value=="")
{
alert("用户名不能为空!");
return false;
}
else if(document.all.txt_jbxh.value!="" && !isDig(document.all.txt_jbxh.value))
{
alert("级别序号必须为数字!");
return false;
}
else
{
document.all.txt_type.value = "3";
document.all.txt_orgno.value = "<%=strOrgNO%>";
document.all.txt_dutyno.value = "<%=strDutyNO%>";
document.all.txt_personno.value = "<%=strPersonNo%>";
document.all.txt_edit.value = "<%=strEdit%>";
document.all.form1.action = "../../Org";
//document.all.form1.action = "test.jsp";
document.all.form1.submit();
}
}
function clear_pswqr()
{
document.all.pass_checkagain.value="";
}
function isDig(str)
{
var bool = true;
for(var i=0;i<str.length;i++)
{
if(!(str.charAt(i)>=0&&str.charAt(i)<=9))
{
bool = false;
break;
}
}
return bool;
}
function isPhonenumger(str)
{
var bool = true;
for(var i=0;i<str.length;i++)
{
if(!( (str.charAt(i)>=0&&str.charAt(i)<=9) || str.charAt(i)=="-" ))
{
bool = false;
break;
}
}
return bool;
}
function GoCzqxWindow(id)//选择操作权限formname
{
var url = "";
if(id==1)
url = "selczqx.jsp";
if(id==2)
url = "sellcqx.jsp?strlcqx="+document.all.txt_roadright.value;
if(id==3)
url = "splitNetSource.jsp?strnetsource="+document.all.txt_confpara.value;
var hWnd = window.open(url,"HelpWindow","width=500,height=335,resizable=yes,scrollbars=yes");
if ((document.window != null) && (!hWnd.opener))
hWnd.opener = document.window;
hWnd.focus();
}
function onchg(selobj,kjname)
{
var choice = selobj.selectedIndex;
kjname.value = selobj.options[choice].value;
}
function gototree()
{
var url = "";
url = "selDadbm.jsp?flg=3";
var hWnd = window.open(url,"HelpWindow","width=500,height=335,resizable=no,scrollbars=yes");
if ((document.window != null) && (!hWnd.opener))
hWnd.opener = document.window;
hWnd.focus();
}
function modBMQX()
{
var url = "modMenuQX.jsp?strpersonno=<%=strPersonNo%>";
var hWnd = window.open(url,"HelpWindow4","width=800,height=600,resizable=yes,scrollbars=yes,menubar=yes");
if ((document.window != null) && (!hWnd.opener))
hWnd.opener = document.window;
hWnd.focus();
}
</script>
<%
}catch(Exception e){oa.main.Logger.log("ERROR:oa.organization.modInf.jsp=>");e.printStackTrace(oa.main.Logger.log);}
finally{
if(myBean!=null)myBean.closeConn();
if(rtBean!=null)rtBean.closeConn();
}%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -