📄 empmain_marr_disp.asp
字号:
<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="Connections/EmpMain.asp" -->
<!--#include file="EmpMain_CheckRight.asp"-->
<%
Dim EvnWork__MMColParam
If (Request.QueryString("ID") <> "") Then
EvnWork__MMColParam = Request.QueryString("ID")
else
EvnWork__MMColParam = "1"
End If
%>
<%
Dim EvnWork
Dim EvnWork_numRows
Set EvnWork = Server.CreateObject("ADODB.Recordset")
EvnWork.ActiveConnection = MM_EmpMain_STRING
EvnWork.Source = "SELECT * FROM tj WHERE companyid = " + Replace(EvnWork__MMColParam, "'", "''") + " order by id desc"
EvnWork.CursorType = 0
EvnWork.CursorLocation = 2
EvnWork.LockType = 1
EvnWork.Open()
EvnWork_numRows = 0
%>
<%
Dim Repeat3__numRows
Dim Repeat3__index
Repeat3__numRows = 5
Repeat3__index = 0
EvnWork_numRows = EvnWork_numRows + Repeat3__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">
</head><script>
function openBrWindow(id) { //v2.0
var str = showModalDialog("EmpMain_tj_show1.asp?id="+id+"",window,"dialogWidth:500px; dialogHeight:350px; edge:raised;help:off;status:off;scroll:off")
if ((str != null))
{
insertHTML(str);
}
}
var objClassName
function HLItem(obj){
obj.oldClassName=obj.className;
obj.className="ListValuehighlight";
}
function Re(obj){
obj.className=obj.oldClassName
}
</script>
<body class="body">
<form method="POST" action="EmpMain_Marr_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">
<!--DWLayoutTable-->
<tr>
<td width="10%" height="18" align="center" nowrap class="listTitle">日期</td>
<td width="20%" align="center" nowrap class="listTitle">联系人</td>
<td width="10%" align="center" nowrap class="listTitle">交流方式</td>
<td width="60%" align="center" valign="top" nowrap class="listTitle">内容</td>
</tr>
<% If EvnWork.EOF And EvnWork.BOF Then %>
<tr class="ListValueGray" >
<td height="21" colspan="4" class="ListValueWhite">没有记录!</td>
</tr>
<% End If ' end EvnWork.EOF And EvnWork.BOF %>
<%
i = 0
%>
<%
While NOT EvnWork.EOF
%>
<%
i = i + 1
if i mod 2 = 0 then
className = "listValueWhite"
else
className = "listValuegray"
end if
%>
<tr class="<%=className%>" style="cursor:hand" onMouseOver="HLItem(this)" onMouseOut="Re(this)" onClick="openBrWindow(<%=(Evnwork.fields.item("id").value)%>)">
<td height="18" nowrap><%=(EvnWork.Fields.Item("日期").Value)%></td>
<td nowrap><%=(EvnWork.Fields.Item("联系人").Value)%></td>
<td nowrap><%=(EvnWork.Fields.Item("跟踪方式").Value)%></td>
<td valign="top" nowrap><%=(left(EvnWork.Fields.Item("跟踪内容").Value,50))%></td>
</tr>
<%
Repeat3__index=Repeat3__index+1
Repeat3__numRows=Repeat3__numRows-1
EvnWork.MoveNext()
Wend
%>
</table>
<div align="right"><input type="button" value="添加" name="B1" class="button" onclick="window.location='EmpMain_jiangcheng_disp.asp?ID=<%=request("ID")%>'"></div>
</fieldset></form>
<div align="right">
点击各行可查看此次交流信息<br>
</div>
</body>
</html>
<%
EvnWork.Close()
Set EvnWork = Nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -