📄 h_plan.asp.bak
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>人力资源管理系统</title>
<link href="../Include/type.css" rel="stylesheet" type="text/css">
</head>
<body>
<!--#include file="../Include/conn.asp"-->
<!--#include file="../Include/Head.asp"-->
<div id="content" style="position:absolute; width:90%; height:318px; z-index:3; left: 48px; top: 82px;">
<!--内容开始-->
<script type="text/javascript" src="../Include/date.js"></script>
<script type="text/javascript" src="../Include/regtest.js"></script>
<%
dim rs,intInvId,intStage
intStage=request.queryString("stage") '接收从列表页面传来的操作方式
intInvId=Request.QueryString("invid") '从.asp接收待录入的需求计划的编号
set rs=server.CreateObject("adodb.recordset")'&intInvId
rs.Open "select * from invite where invite_id="&intInvId,conn,3,3
%>
<%Select Case intStage
Case 0%>
<form name="frmPlanAdd" method="post" action="H_plan_save.asp?stage=0&action=add&invid=<%=intInvId%>" onSubmit="return Validator.Validate(this,2)" >
<table width="80%" height="" border="1" align="center" cellspacing="0">
<tr>
<td height="17" colspan="6" align="center"><font color=Coral>需求计划添加</font></td>
</tr>
<tr>
<td height="17" colspan="6"><font color=Coral>岗位基本信息</font></td>
</tr>
<tr>
<td width="10%">招聘部门:</td>
<td width="24%"><input name="txtDeptName" type="text" id="txtDeptName" size="12" value="<%=rs("dept_name")%>" disabled dataType="CEN" msg="部门输入非法字符"></td>
<td width="15%">招聘岗位:</td>
<td width="22%"><input name="txtPostName" type="text" id="txtPostName" size="12" value="<%=rs("post_name")%>" disabled dataType="CEN" msg="岗位输入非法字符"></td>
<td width="10%">招聘人数:</td>
<td width="18%"><input name="txtRquestNumber" type="text" id="txtRquestNumber" size="4" value="<%=rs("invite_mannumber")%>" dataType="HumanNum" msg="招聘人数最大为3位的正整数"> </td>
</tr>
<tr>
<td>需求日期:</td>
<td><input type="text" name="textRequestDate" value="<%=rs("invite_requestdate")%>" size="12" onfocus="javascript:ShowCalendar(this.name)" dataType="Date" msg="需求日期输入非法!"></td>
<td>薪资范畴:</td>
<td ><select name="selMoney">
<option value="0" selected="selected">--请选择薪资范畴--</option>
<option value="1000以下">1000以下</option>
<option value="1000--2000之间">1000--2000之间</option>
<option value="2000--3000之间">2000--3000之间</option>
<option value="3000--4000之间">3000--4000之间</option>
<option value="4000--5000之间">4000--5000之间</option>
<option value="5000以上">5000以上</option>
<option value="面议">面议</option>
</select></td>
<td>工作性质:</td>
<td><select name="selWorkProperty">
<option value="全职" selected="selected">全职</option>
<option value="兼职">兼职</option>
<option value="临时">临时</option>
</select></td>
</tr>
<tr>
<td>工作地点:</td>
<td colspan="5"><input name="txtWorkStation" type="text" id="txtWorkStation" size="50" dataType="CEN" msg="工作地点输入非法字符!"></td>
</tr>
<tr>
<td colspan="6" height="17"><font color="Coral">人员基本要求</font></td>
</tr>
<tr>
<td>年龄要求:</td>
<td><select name="selAge">
<option value="0" selected>-请选择年龄段-</option>
<option value="18--25之间" >18--25之间</option>
<option value="25--35之间">25--35之间</option>
<option value="35--45之间">35--45之间</option>
<option value="45--55之间">45--55之间</option>
</select>
</td>
<td>性别要求:</td>
<td><input type="radio" name="radSex" value="男">
男
<input type="radio" name="radSex" value="女">
女
<input name="radSex" type="radio" value="不限" checked>
不限 </td>
<td>学历要求:</td>
<td>
<select name="selEduDegree">
<option value="0">初中及以上</option>
<option value="1">高中及以上</option>
<option value="2">中专及以上</option>
<option value="3">大专及以上</option>
<option value="4" selected>本科及以上</option>
<option value="5">硕士及以上</option>
<option value="6">博士及以上</option>
</select>
</td>
</tr>
<tr>
<td>专业要求:</td>
<td ><input type="text" name="txtMajor" dataType="CEN" msg="专业输入非法字符!" size="25"> </td>
<td>工作经验要求:</td>
<td colspan="3"><input type="text" name="txtWorkExperience" size="30" dataType="CEN" msg="工作经验要求:输入非法字符!"> </td>
</tr>
<tr>
<td height="17" colspan="6"><font color=Coral>其他要求</font></td>
</tr>
<tr>
<td>备 注:</td>
<td colspan="5">
<textarea name="txtaRemark" cols="40" rows="6" id="txtaRemark" onblur="testlen(this,80,0)"></textarea>
</td>
</tr>
<tr> <td colspan="6" align="center"> <input type="submit" name="Submit" value="提交">
<input name="reset" type="reset" id="reset" value="重置"></td>
</tr>
</table>
</form>
<%Case 5%>
<form name="frmPlanModify" method="post" action="H_plan_save.asp?stage=0&action=edit&invid=<%=intInvId%>" onSubmit="return Validator.Validate(this,2)">
<table width="80%" height="" border="1" align="center" cellspacing="0">
<tr>
<td height="17" colspan="6" align="center"><font color=Coral>需求计划修改</font></td>
</tr>
<tr>
<td height="17" colspan="6"><font color=Coral>岗位基本信息</font></td>
</tr>
<tr>
<td width="10%">招聘部门:</td>
<td width="24%"><input name="txtDeptName" type="text" id="txtDeptName" size="12" value="<%=rs("dept_name")%>" readonly dataType="CEN" msg="部门输入非法字符!"></td>
<td width="15%">招聘岗位:</td>
<td width="24%"><input name="txtPostName" type="text" id="txtPostName" size="12" value="<%=rs("post_name")%>" readonly dataType="CEN" msg="岗位输入非法字符"></td>
<td width="10%">招聘人数:</td>
<td width="15%"><input name="txtRquestNumber" type="text" id="txtRquestNumber" size="3" value="<%=rs("invite_mannumber")%>" dataType="HumanNum" msg="招聘人数最大为3位的正整数"> </td>
</tr>
<tr>
<td>需求日期:</td>
<td><input type="text" name="textRequestDate" size="12" value="<%=rs("invite_requestdate")%>" onfocus="javascript:ShowCalendar(this.name)" dataType="Date" msg="需求日期输入非法!"></td>
<td>薪资范畴:</td>
<td ><select name="selMoney">
<option value="0" selected="selected">--请选择薪资范畴--</option>
<option value="1000以下" <%If rs("invite_money")="1000以下" Then response.write "selected" End if%>>1000以下</option>
<option value="1000--2000之间" <%If rs("invite_money")="1000--2000之间" Then response.write "selected" End if%>>1000--2000之间</option>
<option value="2000--3000之间" <%If rs("invite_money")="2000--3000之间" Then response.write "selected" End if%>>2000--3000之间</option>
<option value="3000--4000之间" <%If rs("invite_money")="3000--4000之间" Then response.write "selected" End if%>>3000--4000之间</option>
<option value="4000--5000之间" >4000--5000之间</option>
<option value="5000以上" <%If rs("invite_money")="5000以上" Then response.write "selected" End if%>>5000以上</option>
<option value="面议" <%If rs("invite_money")="面议" Then response.write "selected" End if%>>面议</option>
</select></td>
<td>工作性质:</td>
<td><select name="selWorkProperty">
<option value="全职" <%if rs("invite_property")="全职" then response.Write("selected") end if%>>全职</option>
<option value="兼职" <%if rs("invite_property")="兼职" then response.Write("selected") end if%>>兼职</option>
</select></td>
</tr>
<tr>
<td>工作地点:</td>
<td colspan="5"><input name="txtWorkStation" type="text" id="txtWorkStation" size="50" value="<%=rs("work_station")%>" dataType="CEN" msg="工作地点输入非法字符!"></td>
</tr>
<tr>
<td colspan="6" height="17"><font color=Coral>人员基本要求</font></td>
</tr>
<tr>
<td>年龄要求:</td>
<td>
<select name="selAge">
<option value="0" <%If rs("invite_age")="0" Then response.write "selected" End if%>>--请选择年龄段--</option>
<option value="18--25之间" <%If rs("invite_age")="18--25之间" Then response.write "selected" End if%>>18--25之间</option>
<option value="25--35之间" <%If rs("invite_age")="25--35之间" Then response.write "selected" End if%>>25--35之间</option>
<option value="35--45之间" <%If rs("invite_age")="35--45之间" Then response.write "selected" End if%>>35--45之间</option>
<option value="45--55之间" <%If rs("invite_age")="45--55之间" Then response.write "selected" End if%>>45--55之间</option>
</select>
</td>
<td>性别要求:</td>
<td><input type="radio" name="radSex" value="男" <%if rs("invite_sex")="男" then response.Write "checked" end if%>>
男
<input type="radio" name="radSex" value="女" <%if rs("invite_sex")="女" then response.Write "checked" end if%>>
女
<input name="radSex" type="radio" value="不限" <%if rs("invite_sex")="不限" then response.Write "checked" end if%>>
不限 </td>
<td>学历要求:</td>
<td>
<select name="selEduDegree">
<option value="0" <%if rs("invite_education")="0" then response.Write "selected" end if%>>初中及以上</option>
<option value="1" <%if rs("invite_education")="1" then response.Write "selected" end if%>>高中及以上</option>
<option value="2" <%if rs("invite_education")="2" then response.Write "selected" end if%>>中专及以上</option>
<option value="3" <%if rs("invite_education")="3" then response.Write "selected" end if%>>大专及以上</option>
<option value="4" <%if rs("invite_education")="4" then response.Write "selected" end if%>>本科及以上</option>
<option value="5" <%if rs("invite_education")="5" then response.Write "selected" end if%>>硕士及以上</option>
<option value="6" <%if rs("invite_education")="6" then response.Write "selected" end if%>>博士及以上</option>
</select>
</td>
</tr>
<tr>
<td>专业要求:</td>
<td colspan=""> <input type="text" name="txtMajor" size="25" value="<%=rs("invite_major")%>" dataType="CEN" msg="专业输入非法字符!"> </td>
<td>工作经验要求:</td>
<td colspan="3"><input type="text" name="txtWorkExperience" size="30" value="<%=rs("invite_workexp")%>" dataType="CEN" msg="工作经验要求:输入非法字符!"> </td>
</tr>
<tr>
<td height="17" colspan="6"><font color=Coral>其他要求</font></td>
</tr>
<tr>
<td>备 注:</td>
<td colspan="5">
<textarea name="txtaRemark" cols="40" rows="6" id="txtaRemark" value="<%=rs("invite_remark")%>" onblur="testlen(this,10,0)"><%=rs("invite_remark")%></textarea>
</td>
</tr>
<tr>
<td colspan="6" align="center"> <input type="submit" name="Submit" value="提交">
</label>
<label>
<input name="reset" type="reset" id="reset" value="重置"></td>
</tr>
</table>
</form>
<%if rs("invite_stage")="待修改" then
dim rs1
set rs1=server.CreateObject("adodb.recordset")
rs1.open "select * from inviteaudit where invaudit_state='不通过' and invite_id="&rs("invite_id"),conn,3,3
%>
<table width="80%" height="" border="1" align="center" cellspacing="0">
<tr><td colspan="6"><font color="OrangeRed">未通过的详细信息及原因:</font></td></tr>
<tr><td width="12%"><%=rs1("invaudit_stage")%>状态:</td><td width="20%">不通过</td>
<td width="12%"><%=rs1("invaudit_stage")%>人:</td><td width="20%"><%=rs1("invaudit_man")%></td>
<td width="12%"><%=rs1("invaudit_stage")%>时间:</td><td width="20%"><%=rs1("invaudit_date")%></td></tr>
<tr><td><%=rs1("invaudit_stage")%>意见:</td><td colspan="5"><%=rs1("invaudit_idea")%></td></tr></table>
<%rs.Close
set rs1=nothing
end if%>
<%End select%>
<!--#include file="../Include/bottom.asp"-->
<!--内容结束-->
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -