⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 list_jg_setup.asp

📁 用C++编写的人事管理系统
💻 ASP
📖 第 1 页 / 共 2 页
字号:
      第一学历</span></td>
      <td><span class="style6" style="font-size: 12px">
        <input name="plastxueli" type="checkbox" id="f_birthday43" value="on">
      最后学历 </span></td>
      <td> <span class="style6" style="font-size: 12px">
        <input name="pzhiwu" type="checkbox" id="f_birthday618" value="on">
      职务 </span></td>
      <td><span class="style6" style="font-size: 12px">
        <input name="pbianzhi" type="checkbox" id="pbianzhi" value="on">
      编制 </span></td>
      <td> <span class="style6" style="font-size: 12px">
        <input name="pleibie" type="checkbox" id="pleibie" value="on">
      编制类别</span></td>
    </tr>
    <tr align="left" valign="middle" bordercolor="#FFFFFF" bgcolor="#C9E3FA" class="cssresult">
      <td><span class="style6" style="font-size: 12px">
        <input name="prenshidaili" type="checkbox" id="prenshidaili3" value="on">
      人事代理</span></td>
      <td><span class="style6" style="font-size: 12px">
        <input name="pshenfenzheng" type="checkbox" id="pshenfenzheng3" value="on" checked>
      身份证号</span></td>
      <td><span class="style6" style="font-size: 12px">
        <input name="pemail" type="checkbox" id="pemail2" value="on">
      电子信箱</span></td>
      <td><span class="style6" style="font-size: 12px">
        <input name="pphone" type="checkbox" id="pphone2" value="on" checked>
      </span><span style="font-size: 12px">电话号码</span></td>
      <td><span class="style6" style="font-size: 12px">
        <input name="pzhuzhi" type="checkbox" id="pzhuzhi2" value="on">
      </span><span style="font-size: 12px">家庭住址 </span></td>
      <td><span class="style6" style="font-size: 12px">
        <input name="pniankao" type="checkbox" id="pniankao3" value="on">
      年度考核</span></td>
      <td><span class="style6" style="font-size: 12px">
        <input name="pgongzu" type="checkbox" id="pgongzu2" value="on">
      </span><span style="font-size: 12px">工资情况</span></td>
      <td> <span class="style6" style="font-size: 12px">
        <input name="plunwen" type="checkbox" id="plunwen2" value="on">
      发表论文 </span></td>
    </tr>
  </table>
</form>
<% 
   if rs.eof and rs.bof then
  response.write("没找到记录,或者记录被删除到回收站中,或者没有通过审核")
  response.end
  end if %>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td><div align="center" style="font-size: 12px; color: #FFFF00;">
              <div align="center"><span class="style1">性别<a title="按性别升序排列" <%if by="sexasc" then%> style="color:#FF00FF;"<%end if%> href="list_jg_setup.asp?by=sexasc&size=all" >↑</a> <a title="按性别降序排列" <%if by="sexdesc" then%> style="color:#FF00FF;"<%end if%> href="list_jg_setup.asp?by=sexdesc&size=all" >↓ </a>出生<a title="按出生升序排列" <%if by="birthdayasc" then%> style="color:#FF00FF;"<%end if%> href="list_jg_setup.asp?by=birthdayasc&size=all" >↑</a> <a title="按出生降序排列" <%if by="birthdaydesc" then%> style="color:#FF00FF;"<%end if%> href="list_jg_setup.asp?by=birthdaydesc&size=all" >↓</a> 共<%=rs.recordcount%>条记录,每页显示<%=rs.pagesize%>条 ,第<%=page%>/<%=rs.pagecount%>页&nbsp;
                        <%if page>1 then%>
                        <a href="list_jg_setup.asp?Page=<% = 1%>">首页</a> <a href="list_jg_setup.asp?Page=<% =page -1 %>">上一页</a>
                        <%end if %>
                        <%if page<>rs.pagecount then %>
                        <a href="list_jg_setup.asp?Page=<% =page + 1%>">下一页</a> <a href="list_jg_setup.asp?Page=<% = rs.PageCount%>">尾页</a></span>
          
              
                <% end if %>
                    <select name="select" id="select2" onChange="javascript:window.location.href('list_jg_setup.asp?page='+this.options[this.selectedIndex].value+'')">
                      <% for i=1 to rs.pagecount%>
                      <option value="<%=i%>" <%if i=page then response.Write("selected") end if%> ><%=i%> </option>
                      <% next%>
                </select>
                <% if size<>"all" then%><a href="list_jg_setup.asp?size=all"><u>显示全部记录</u></a>
                <% end if%> <% if size="all" then%><a href="list_jg_setup.asp"><u>分页显示记录</u></a>
              <% end if%></div></td>
          </tr>
      </table>
  <form name="form2" method="post" action="">
  <table width="100%" border="1" align="center" cellpadding="2" cellspacing="0" bordercolor="#FFFFFF" bgcolor="#FFFFFF">

  <tr align="center" bgcolor="#75B7F2">
    <td width="54"><div align="center">全<input name="checkbox" type=checkbox id="checkbox" onClick="this.value=check(this.form.seljgid)" value="全选">选</div></td>
    <td width="66" bgcolor="#75B7F2" ><div align="center"> 姓名</div></td>
    <td width="52" bgcolor="#75B7F2"><div align="center"><span class="style6">性别</span></div></td>
    <td width="68" bgcolor="#75B7F2"><div align="center"><span class="style6">出生</span></div></td>
    <td width="36" bgcolor="#75B7F2"><div align="center">年龄</div></td>
    <td width="36" bgcolor="#75B7F2"><div align="center">教龄</div></td>
    <td width="67"><div align="center"><span class="style6">政治面貌</span></div></td>
    <td width="66" class="style6"><div align="center">最后学历</div></td>
    <td width="62"><div align="center"><span class="style6">第一学历</span></div></td>
    <td width="70"><div align="center"><span class="style6">学科</span></div></td>
    <td width="56"><div align="center"><span class="style6">职称</span></div></td>
    <td width="72"><div align="center">允许修改</div></td>
    </tr>
 <%count=0
do while not rs.eof and count<rs.pagesize  %>
   <%if count Mod 2=0 then%><TR bgcolor="#C9E3FA" onMouseOver="this.style.backgroundColor='#FFE8E8'" onMouseOut="this.style.backgroundColor='#C9E3FA'">
     <%else%><TR bgcolor="#E2EEFC" onMouseOver="this.style.backgroundColor='#FFE8E8'" onMouseOut="this.style.backgroundColor='#E2EEFC'">
<%end if%>
    <td>
      <div align="center">
        <input name="seljgid" type="checkbox" id="seljgid" value="<%=rs("id")%>">
      </div></td>
    <td><div align="center"><a href="admin_jgdetial.asp?id=<%=rs("id")%>"><%=rs("name")%></a></div></td>
    <td><div align="center"><%=rs("sex")%></div></td>
    <td ><div align="center"><%=rs("birthday")%></div></td>
	<% if rs("birthday")<>"" and isdate(rs("birthday")) then
	bir=rs("birthday")
	age=datediff("yyyy",bir,date)
	else age=""
	end if
	 if rs("workstart")<>"" and isdate(rs("workstart")) then
	workdate=rs("workstart")
	jiaolin=datediff("yyyy",workdate,date)
	else jiaolin=""
	end if
	%>
    <td ><div align="center"><%=age%></div></td>
    <td ><div align="center"><%=jiaolin%></div></td>
    <td ><div align="center"><%=rs("mianmao")%></div></td>
    <td><div align="center"><%=rs("lastxueli")%></div></td>
    <td ><div align="center"><%=rs("firstxueli")%></div></td>
    <td><div align="center"><%=rs("xueke")%></div></td>
    <td><div align="center"><%=rs("zhicheng")%>      </div></td>
    <td  ><div align="center"><%=rs("isupdate")%></div></td>
    </tr>
  <% count=count+1
  rs.movenext
loop %>
</table>
    <div align="center">
      
      <table width="100%" height="37" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td height="28"><div align="center" style="font-size: 12px"><span class="style1">性别<a title="按性别升序排列" <%if by="sexasc" then%> style="color:#FF00FF;"<%end if%> href="list_jg_setup.asp?by=sexasc&size=all" >↑</a> <a title="按性别降序排列" <%if by="sexdesc" then%> style="color:#FF00FF;"<%end if%> href="list_jg_setup.asp?by=sexdesc&size=all" >↓ </a>出生<a title="按出生升序排列" <%if by="birthdayasc" then%> style="color:#FF00FF;"<%end if%> href="list_jg_setup.asp?by=birthdayasc&size=all" >↑</a> <a title="按出生降序排列" <%if by="birthdaydesc" then%> style="color:#FF00FF;"<%end if%> href="list_jg_setup.asp?by=birthdaydesc&size=all" >↓</a> </span>共<%=rs.recordcount%>条记录,每页显示<%=rs.pagesize%>条
            ,第<%=page%>/<%=rs.pagecount%>页&nbsp;
			<%if page>1 then%><a Href="list_jg_setup.asp?Page=<% = 1%>">首页</a> <a Href="list_jg_setup.asp?Page=<% =page -1 %>">上一页</a>
			<%end if %><%if page<>rs.pagecount then %><a Href="list_jg_setup.asp?Page=<% =page + 1%>">下一页</a> <a Href="list_jg_setup.asp?Page=<% = rs.PageCount%>">尾页</a> <% end if %>
               <select name="page" id="page" onChange="javascript:window.location.href('list_jg_setup.asp?page='+this.options[this.selectedIndex].value+'')">
                 <% for i=1 to rs.pagecount%>
                 <option value="<%=i%>" <%if i=page then response.Write("selected") end if%> ><%=i%> </option>
                 <% next%>
               </select>
               <% if size<>"all" then%><a href="list_jg_setup.asp?size=all">显示全部记录</a><% end if%> <% if size="all" then%><a href="list_jg_setup.asp">分页显示记录</a><% end if%></div></td>
        </tr>
      </table>
      全选/不选
      <input name="checkbox" type=checkbox onClick="this.value=check(this.form.seljgid)" value="全选">
      <input type="button" name="Submit" value="删除到回收站" onClick="subdeletetozhan()" style="width:85;background-color: #FFCC66; color: #000000; border: 1 solid #00CC00">
      <input type="button" name="Submit3" value="永久删除" onClick="subdeleteforever()" style="width:70;background-color: #FFCC66; color: #000000; border: 1 solid #00CC00">
      <input type="button" name="Submit2" value="设定修改权" onClick="subupdate()" style="width:80;background-color: #FFCC66; color: #000000; border: 1 solid #00CC00">
      <input type="button" name="Submit23" value="限制修改" onClick="subupdateno()" style="width:80;background-color: #FFCC66; color: #000000; border: 1 solid #00CC00">
      <input type="button" name="Submit232" value="查询具有修改权的教工" onclick="javascript:window.open('list_jg_setup_updquan.asp','_self','')" style="width:135;background-color: #FFCC66; color: #000000; border: 1 solid #00CC00">
      <input name="deleteorupdate" type="hidden" id="deleteorupdate">
      </p>
  </div>
</form>
</td>
  </tr>
</table>
</body>
</html>

  <script language="javascript">
//
function subdeletetozhan()
{
form2.action="jgsetup_delupd.asp"; 
form2.deleteorupdate.value="deletetozhan";
form2.submit();
}
//
function subdeleteforever()
{
    if (window.confirm('真的要永久删除所选教工吗?该操作不可恢复!继续吗?'))
     {
	  form2.action="jgsetup_delupd.asp";
	  form2.deleteorupdate.value="deletforever";
       form2.submit();//提交该表单; 
     }
    
}
//
function subupdate()
{
form2.action="jgsetup_delupd.asp"; 
form2.deleteorupdate.value="update";
form2.submit();
}
//
function subupdateno()
{
form2.action="jgsetup_delupd.asp"; 
form2.deleteorupdate.value="updateno";
form2.submit();
}
</script>
<SCRIPT LANGUAGE="JavaScript">

<!-- 
var checkflag = "false";
function check(field) {
if (checkflag == "false") {
for (i = 0; i < field.length; i++) {
field[i].checked = true;}
checkflag = "true";
return "false"; }
else {
for (i = 0; i < field.length; i++) {
field[i].checked = false; }
checkflag = "false";
return "true"; }
}
 -->
</script>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -