📄 func_usermodi.asp
字号:
if trim(request("EndTime"))="" then
msg=msg & saveserial & "、请输入结束时间!<br>"
saveserial=saveserial+1
end if
if saveserial<=1 then
if request("saveflag")="4" then
sql="select * from cci_oa_exper"
else
sql="select * from cci_oa_exper where id=" & request("tid")
end if
rs.open sql,connobj,3,3
if request("saveflag")="4" then
rs.addnew
end if
rs("srcid")=request("id")
rs("StartTime")=request("starttime")
rs("EndTime")=request("EndTime")
rs("Jobunit")=request("Jobunit")
rs("Station")=request("Station")
rs("prover")=request("prover")
rs("Prove_tel")=request("Prove_tel")
rs.update
rs.close
msg="员工基本信息保存成功!"
end if
response.Write("<div align=center><font color=#FF0000>" &msg & "</font></div>")
elseif request("saveflag")="6" or request("saveflag")="7" then
if trim(request("relation"))="" then
msg=msg & saveserial & "、请输入关系!<br>"
saveserial=saveserial+1
end if
if trim(request("name"))="" then
msg=msg & saveserial & "、请输入姓名!<br>"
saveserial=saveserial+1
end if
if saveserial<=1 then
if request("saveflag")="6" then
sql="select * from cci_oa_Member"
else
sql="select * from cci_oa_Member where id=" & request("tid")
end if
rs.open sql,connobj,3,3
if request("saveflag")="6" then
rs.addnew
end if
rs("srcid")=request("id")
rs("relation")=request("relation")
rs("Name")=request("Name")
rs("age")=request("age")
rs("Jobunit")=request("Jobunit")
rs("Tel")=request("Tel")
rs.update
rs.close
msg="员工基本信息保存成功!"
end if
response.Write("<div align=center><font color=#FF0000>" &msg & "</font></div>")
end if
sql="select * from cci_oa_emreg where id=" & request("id")
rs.open sql,connobj,1,1
%>
<table width="100%" align="center" cellpadding="1" cellspacing="1" class=tableborder1>
<form name="theform" method="post" action="" onSubmit="return CheckInput()">
<tr >
<th height="25" colspan="6" align="center" class=TopLighNav>员工档案修改</th>
</tr>
<tr>
<td width="92" align="center" class=tablebody1>姓名</td>
<td width="111" class=tablebody1><input name="Name" type="text" value="<%=rs("name")%>" size="15"></td>
<td width="71" align="center" class=tablebody1>性别</td>
<td width="169" class=tablebody1><select name="sex" id="sex">
<option value="1" <%if rs("sex")=1 then response.Write "selected"%>>男</option>
<option value="0" <%if rs("sex")=0 then response.Write "selected"%>>女</option>
<option value="2" <%if rs("sex")=2 then response.Write "selected"%>>未知</option>
</select></td>
<td width="104" align="center" class=tablebody1>出生<br>年月</td>
<td width="200" class=tablebody1><%iyear=year(rs("birthday"))
imonth=month(rs("birthday"))
iday=day(rs("birthday"))
%>
<!-- #include file="func_currtime9.asp" --></td>
</tr>
<tr>
<td align="center" class=tablebody1>政治<br>面貌</td>
<td class=tablebody1><select name="politics" id="politics">
<option value="1" <%if rs("politics")=1 then response.Write "selected"%>>党员</option>
<option value="2" <%if rs("politics")=2 then response.Write "selected"%>>团员</option>
<option value="3" <%if rs("politics")=3 then response.Write "selected"%>>其他</option>
</select></td>
<td align="center" class=tablebody1>婚姻</td>
<td class=tablebody1><select name="Marry" id="Marry">
<option value="0" <%if rs("Marry")=0 then response.Write "selected"%>>未婚</option>
<option value="1" <%if rs("Marry")=1 then response.Write "selected"%>>已婚</option>
</select> </td>
<td align="center" class=tablebody1>民族</td>
<td class=tablebody1><select name="nation" id="nation">
<option value=1 <%if rs("nation")=1 then response.Write "selected"%>>汉族</option>
<option value=2 <%if rs("nation")=2 then response.Write "selected"%>>回族</option>
<option value=3 <%if rs("nation")=3 then response.Write "selected"%>>藏族</option>
<option value=4 <%if rs("nation")=4 then response.Write "selected"%>>壮族</option>
<option value=5 <%if rs("nation")=5 then response.Write "selected"%>>瑶族</option>
<option value=6 <%if rs("nation")=6 then response.Write "selected"%>>彝族</option>
<option value=7 <%if rs("nation")=7 then response.Write "selected"%>>阿昌族</option>
<option value=8 <%if rs("nation")=8 then response.Write "selected"%>>白族</option>
<option value=9 <%if rs("nation")=9 then response.Write "selected"%>>布依族</option>
<option value=10 <%if rs("nation")=10 then response.Write "selected"%>>傣族</option>
<option value=11 <%if rs("nation")=11 then response.Write "selected"%>>侗族</option>
<option value=12 <%if rs("nation")=12 then response.Write "selected"%>>土家族</option>
<option value=13 <%if rs("nation")=13 then response.Write "selected"%>>独龙族</option>
<option value=14 <%if rs("nation")=14 then response.Write "selected"%>>仡佬族</option>
<option value=15 <%if rs("nation")=15 then response.Write "selected"%>>哈尼族</option>
<option value=16 <%if rs("nation")=16 then response.Write "selected"%>>基诺族</option>
<option value=17 <%if rs("nation")=17 then response.Write "selected"%>>景颇族</option>
<option value=18 <%if rs("nation")=18 then response.Write "selected"%>>拉祜族</option>
<option value=19 <%if rs("nation")=19 then response.Write "selected"%>>黎族</option>
<option value=20 <%if rs("nation")=20 then response.Write "selected"%>>傈僳族</option>
<option value=21 <%if rs("nation")=21 then response.Write "selected"%>>珞巴族</option>
<option value=22 <%if rs("nation")=22 then response.Write "selected"%>>毛南族</option>
<option value=23 <%if rs("nation")=23 then response.Write "selected"%>>门巴族</option>
<option value=24 <%if rs("nation")=24 then response.Write "selected"%>>苗族</option>
<option value=25 <%if rs("nation")=25 then response.Write "selected"%>>仫佬族</option>
<option value=26 <%if rs("nation")=26 then response.Write "selected"%>>纳西族</option>
<option value=27 <%if rs("nation")=27 then response.Write "selected"%>>怒族</option>
<option value=28 <%if rs("nation")=28 then response.Write "selected"%>>普米族</option>
<option value=29 <%if rs("nation")=29 then response.Write "selected"%>>羌族</option>
<option value=30 <%if rs("nation")=30 then response.Write "selected"%>>畲族</option>
<option value=31 <%if rs("nation")=31 then response.Write "selected"%>>水族</option>
<option value=32 <%if rs("nation")=32 then response.Write "selected"%>>维吾尔族</option>
<option value=33 <%if rs("nation")=33 then response.Write "selected"%>>哈萨克族</option>
<option value=34 <%if rs("nation")=34 then response.Write "selected"%>>塔塔尔族</option>
<option value=35 <%if rs("nation")=35 then response.Write "selected"%>>满族</option>
<option value=36 <%if rs("nation")=36 then response.Write "selected"%>>蒙古族</option>
<option value=37 <%if rs("nation")=37 then response.Write "selected"%>>土族</option>
<option value=38 <%if rs("nation")=38 then response.Write "selected"%>>东乡族</option>
<option value=39 <%if rs("nation")=39 then response.Write "selected"%>>撒拉族</option>
<option value=40 <%if rs("nation")=40 then response.Write "selected"%>>保安族</option>
<option value=41 <%if rs("nation")=41 then response.Write "selected"%>>鄂伦春族</option>
<option value=42 <%if rs("nation")=42 then response.Write "selected"%>>鄂温克族</option>
<option value=43 <%if rs("nation")=43 then response.Write "selected"%>>达斡尔族</option>
<option value=44 <%if rs("nation")=44 then response.Write "selected"%>>赫哲族</option>
<option value=45 <%if rs("nation")=45 then response.Write "selected"%>>乌兹别克族</option>
<option value=46 <%if rs("nation")=46 then response.Write "selected"%>>柯尔克孜族</option>
<option value=47 <%if rs("nation")=47 then response.Write "selected"%>>锡伯族</option>
<option value=48 <%if rs("nation")=48 then response.Write "selected"%>>裕固族</option>
<option value=49 <%if rs("nation")=49 then response.Write "selected"%>>朝鲜族</option>
<option value=50 <%if rs("nation")=50 then response.Write "selected"%>>布朗族</option>
<option value=51 <%if rs("nation")=51 then response.Write "selected"%>>德昂族</option>
<option value=52 <%if rs("nation")=52 then response.Write "selected"%>>佤族</option>
<option value=53 <%if rs("nation")=53 then response.Write "selected"%>>塔吉克斯坦族</option>
<option value=54 <%if rs("nation")=54 then response.Write "selected"%>>俄罗斯族</option>
<option value=55 <%if rs("nation")=55 then response.Write "selected"%>>高山族</option>
<option value=56 <%if rs("nation")=56 then response.Write "selected"%>>京族</option>
</select> </td>
</tr>
<tr>
<td align="center" class=tablebody1>职称</td>
<td class=tablebody1><input name="Tech_post" value="<%=rs("Tech_post")%>" type="text" size="15">
</td>
<td align="center" class=tablebody1>应聘<br>职位</td>
<td class=tablebody1><select name="stationid"><%
sql="select stationname,id from cci_station"
rsata.open sql,connobj,1,1
do while not rsata.eof
if rsata("id")=rs("stationid") then
response.Write "<option value=" & rsata("id") & " selected>" & rsata("stationname") & "</option>"
else
response.Write "<option value=" & rsata("id") & ">" & rsata("stationname") & "</option>"
end if
rsata.movenext
loop
rsata.close
%></select> </td>
<td width="104" align="center" class=tablebody1>入职<br>日期</td>
<td class=tablebody1><%iyear=year(rs("InTime"))
imonth=month(rs("InTime"))
iday=day(rs("InTime"))
%>
<!-- #include file="func_currtime10.asp" --></td>
</tr>
<tr>
<td align="center" class=tablebody1>身高</td>
<td class=tablebody1><input name="stature" type="text" value="<%=rs("stature")%>" size="15">
</td>
<td align="center" class=tablebody1>身份证</td>
<td colspan="3" class=tablebody1><input name="IDCard" type="text" value="<%=rs("IDCard")%>" size="55" maxlength="20">
</td>
</tr>
<tr>
<td align="center" class=tablebody1>学历</td>
<td class=tablebody1><select name="Edu_level">
<option value="1" <%if rs("Edu_level")=1 then response.Write "selected"%>>初中</option>
<option value="2" <%if rs("Edu_level")=2 then response.Write "selected"%>>中专</option>
<option value="3" <%if rs("Edu_level")=3 then response.Write "selected"%>>高中</option>
<option value="4" <%if rs("Edu_level")=4 then response.Write "selected"%>>大专</option>
<option value="5" <%if rs("Edu_level")=5 then response.Write "selected"%>>本科</option>
<option value="6" <%if rs("Edu_level")=6 then response.Write "selected"%>>硕士</option>
<option value="7" <%if rs("Edu_level")=7 then response.Write "selected"%>>博士</option>
</select> </td>
<td align="center" class=tablebody1>学位</td>
<td class=tablebody1><input name="degree" type="text" value="<%=rs("degree")%>" size="15" maxlength="20">
</td>
<td align="center" class=tablebody1>专业</td>
<td class=tablebody1><input name="speciality" type="text" value="<%=rs("speciality")%>" size="25" maxlength="40">
</td>
</tr>
<tr>
<td align="center" class=tablebody1>计算机<br>能力</td>
<td class=tablebody1><input name="PCability" type="text"value="<%=rs("PCability")%>" size="15" maxlength="100">
</td>
<td align="center" class=tablebody1>应用<br>软件</td>
<td class=tablebody1><input name="Application" type="text" value="<%=rs("Application")%>" size="15" maxlength="100">
</td>
<td align="center" class=tablebody1>参加<br>工作</td>
<td class=tablebody1>
<%iyear=year(rs("WorkTime"))
imonth=month(rs("WorkTime"))
iday=day(rs("WorkTime"))%>
<!-- #include file="func_currtime11.asp" -->
</td>
</tr>
<tr>
<td align="center" class=tablebody1>专业<br>特长</td>
<td colspan="3" class=tablebody1><input name="StrongSuit" type="text" value="<%=rs("StrongSuit")%>" size="40" maxlength="200">
</td>
<td align="center" class=tablebody1>业余<br>爱好</td>
<td class=tablebody1><input name="avocation" type="text" value="<%=rs("avocation")%>" size="25" maxlength="100">
</td>
</tr>
<tr>
<td rowspan="2" align="center" class=tablebody1>语言<br>能力</td>
<td align="center" class=tablebody1>普通话</td>
<td colspan="3" align="center" class=tablebody1>英语</td>
<td align="center" class=tablebody1>粤语</td>
</tr>
<tr>
<td align="center" class=tablebody1><input type="radio" name="chinese" value="1" <%if rs("chinese")=1 then response.Write("checked")%>>熟练 <input type="radio" name="chinese" value="2" <%if rs("chinese")=2 then response.Write("checked")%>>精通</td>
<td colspan="3" align="center" class=tablebody1><input name="englishL" type="checkbox" id="englishL" value="checkbox" <%if rs("englishL")=1 then response.Write("checked")%>>
听
<input name="englishT" type="checkbox" id="englishT" value="checkbox" <%if rs("englishT")=1 then response.Write("checked")%>>
说
<input name="englishR" type="checkbox" id="englishR" value="checkbox" <%if rs("englishR")=1 then response.Write("checked")%>>
读
<input name="englishW" type="checkbox" id="englishW" value="checkbox" <%if rs("englishW")=1 then response.Write("checked")%>>
写 </td>
<td align="center" class=tablebody1><input name="GuangDongL" type="checkbox" id="GuangDongL" value="checkbox" <%if rs("GuangDongL")=1 then response.Write("checked")%>>
听
<input name="GuangDongT" type="checkbox" id="GuangDongT" value="checkbox" <%if rs("GuangDongT")=1 then response.Write("checked")%>>
说</td>
</tr>
<tr >
<td rowspan="2" align="center" class=tablebody1>户口<br>所在地</td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -