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

📄 empmain_evenwork_disp.asp

📁 人力资源管理系统 人力资源管理系统
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="Connections/EmpMain.asp" -->
<!--#include file="EmpMain_CheckRight.asp"-->
<%call fnCheckRight("EvenWork","1")%>
<%
Dim EvnWork__MMColParam
EvnWork__MMColParam = "1"
If (Request.QueryString("ID") <> "") Then 
  EvnWork__MMColParam = Request.QueryString("ID")
End If
%>
<%
Dim EvnWork
Dim EvnWork_numRows

Set EvnWork = Server.CreateObject("ADODB.Recordset")
EvnWork.ActiveConnection = MM_EmpMain_STRING
EvnWork.Source = "SELECT * FROM WorkHistory WHERE EmpID = " + Replace(EvnWork__MMColParam, "'", "''") + ""
EvnWork.CursorType = 0
EvnWork.CursorLocation = 2
EvnWork.LockType = 1
EvnWork.Open()

EvnWork_numRows = 0
%>
<%
Dim Repeat1__numRows
Dim Repeat1__index

Repeat1__numRows = -1
Repeat1__index = 0
EvnWork_numRows = EvnWork_numRows + Repeat1__numRows
%>
<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>工作经历</title>
<link rel="stylesheet" href="CSS/SellWellWeb.css" type="text/css">
<script>
var objClassName
function HLItem(obj){
	obj.oldClassName=obj.className;
	obj.className="ListValuehighlight";
}

function Re(obj){
 obj.className=obj.oldClassName 
}

function doEdit(ID){
  window.location ="EmpMain_Evenwork_Edit.asp?EmpID=<%=Request.QueryString("ID")%>&ID="+ID
}
</script>
</head>

<body class="body">
<form method="POST" action="EmpMain_EvenWork_Disp.asp" webbot-action="--WEBBOT-SELF--">
  <fieldset style="padding: 2" class="fiedset"> <legend>工作经历</legend> 
  <table  width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="table">
    <tr> 
      <td width="30%" align="center" nowrap class="listTitle">日期</td>
      <td width="30%" align="center" nowrap class="listTitle">任职单位</td>
      <td width="16%" align="center" nowrap class="listTitle">职务</td>
      <td width="8%" align="center" nowrap class="listTitle">联系人</td>
      <td width="16%" align="center" nowrap class="listTitle">电话</td>
    </tr>
<% If EvnWork.EOF And EvnWork.BOF Then %>
    <tr class="ListValueGray">  
      <td colspan="5" class="ListValueWhite">没有记录!</td>  
    </tr>
<% End If ' end EvnWork.EOF And EvnWork.BOF %>
    <%
	i = -1
	%>
    <% 
While ((Repeat1__numRows <> 0) AND (NOT EvnWork.EOF)) 
%>
    <%
i = i + 1
if i mod 2 = 0 then
className = "listValueWhite"
else
className = "listValuegray"
end if
%>
    <tr class="<%=className%>" onClick="doEdit('<%=(EvnWork.Fields.Item("ID").Value)%>')" style="cursor:hand" onMouseOver="HLItem(this)" onMouseOut="Re(this)"> 
      <td nowrap><%=(EvnWork.Fields.Item("WKStart").Value)%>至<%=(EvnWork.Fields.Item("WKEnd").Value)%></td>
      <td nowrap><%=(EvnWork.Fields.Item("WKComp").Value)%></td>
      <td nowrap><%=(EvnWork.Fields.Item("WKTitle").Value)%></td>
      <td nowrap><%=(EvnWork.Fields.Item("WKContPer").Value)%></td>
      <td nowrap><%=(EvnWork.Fields.Item("WKContTel").Value)%></td>
    </tr>
    <% 
  Repeat1__index=Repeat1__index+1
  Repeat1__numRows=Repeat1__numRows-1
  EvnWork.MoveNext()
Wend
%>
  </table>
  </fieldset> 
  <div align="right">
    <input type="button" value="添加" name="B1" class="button" onClick="window.location='EmpMain_EvenWork_AddNew.asp?ID=<%=request.QueryString("ID")%>'">
  </div>
</form>

</body>

</html>
<%
EvnWork.Close()
Set EvnWork = Nothing
%>

⌨️ 快捷键说明

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