daishenlist.asp
来自「绿叶oa系统办公自动化 2008.工作日志管理,文件管理」· ASP 代码 · 共 551 行 · 第 1/2 页
ASP
551 行
MM_keepNone=""
' add the URL parameters to the MM_keepURL string
For Each MM_item In Request.QueryString
MM_nextItem = "&" & MM_item & "="
If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
MM_keepURL = MM_keepURL & MM_nextItem & Server.URLencode(Request.QueryString(MM_item))
End If
Next
' add the Form variables to the MM_keepForm string
For Each MM_item In Request.Form
MM_nextItem = "&" & MM_item & "="
If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
MM_keepForm = MM_keepForm & MM_nextItem & Server.URLencode(Request.Form(MM_item))
End If
Next
' create the Form + URL string and remove the intial '&' from each of the strings
MM_keepBoth = MM_keepURL & MM_keepForm
If (MM_keepBoth <> "") Then
MM_keepBoth = Right(MM_keepBoth, Len(MM_keepBoth) - 1)
End If
If (MM_keepURL <> "") Then
MM_keepURL = Right(MM_keepURL, Len(MM_keepURL) - 1)
End If
If (MM_keepForm <> "") Then
MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1)
End If
' a utility function used for adding additional parameters to these strings
Function MM_joinChar(firstItem)
If (firstItem <> "") Then
MM_joinChar = "&"
Else
MM_joinChar = ""
End If
End Function
%>
<%
' *** Move To Record: set the strings for the first, last, next, and previous links
Dim MM_keepMove
Dim MM_moveParam
Dim MM_moveFirst
Dim MM_moveLast
Dim MM_moveNext
Dim MM_movePrev
Dim MM_urlStr
Dim MM_paramList
Dim MM_paramIndex
Dim MM_nextParam
MM_keepMove = MM_keepBoth
MM_moveParam = "index"
' if the page has a repeated region, remove 'offset' from the maintained parameters
If (MM_size > 1) Then
MM_moveParam = "offset"
If (MM_keepMove <> "") Then
MM_paramList = Split(MM_keepMove, "&")
MM_keepMove = ""
For MM_paramIndex = 0 To UBound(MM_paramList)
MM_nextParam = Left(MM_paramList(MM_paramIndex), InStr(MM_paramList(MM_paramIndex),"=") - 1)
If (StrComp(MM_nextParam,MM_moveParam,1) <> 0) Then
MM_keepMove = MM_keepMove & "&" & MM_paramList(MM_paramIndex)
End If
Next
If (MM_keepMove <> "") Then
MM_keepMove = Right(MM_keepMove, Len(MM_keepMove) - 1)
End If
End If
End If
' set the strings for the move to links
If (MM_keepMove <> "") Then
MM_keepMove = Server.HTMLEncode(MM_keepMove) & "&"
End If
MM_urlStr = Request.ServerVariables("URL") & "?" & MM_keepMove & MM_moveParam & "="
MM_moveFirst = MM_urlStr & "0"
MM_moveLast = MM_urlStr & "-1"
MM_moveNext = MM_urlStr & CStr(MM_offset + MM_size)
If (MM_offset - MM_size < 0) Then
MM_movePrev = MM_urlStr & "0"
Else
MM_movePrev = MM_urlStr & CStr(MM_offset - MM_size)
End If
%>
<style type="text/css">
<!--
.style36 { font-size: 13px;
color: #FFFFFF;
font-weight: bold;
}
.style5 {color: #FFFFFF}
-->
</style>
<link href="../../css/link.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style37 {color: #000000}
.style38 {color: #FF0000}
.style40 {font-size: 12px}
.style41 {color: #FFFFFF;
font-size: 14px;
font-weight: bold;
}
.style43 {font-size: 12px; color: #999999; }
.style44 {color: #999999}
body {
margin-top: 2px;
}
-->
</style>
<div align="center">
<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><form name="form1" method="post" action="getshenlistqorquery.asp">
<table width="100%" height="23" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="5%"><div align="right">收文:</div></td>
<td width="2%"><div align="right"><img src="../../img/txl/29.gif" width="16" height="16"></div></td>
<td width="6%"><div align="right"><a href="../../toall/shouwen/sendgwfoxz.asp">收文拟稿</a></div></td>
<td width="3%"><div align="right"><img src="../../img/txl/28.gif" width="16" height="16"></div></td>
<td width="6%"><div align="right"><a href="../../toall/shouwen/sentshengqinglistfsdghs.asp">拟稿记录</a></div></td>
<td width="3%"><div align="right"><img src="../../img/txl/15.gif" width="16" height="16"></div></td>
<td width="6%"><div align="right"><a href="../../toall/shouwen/daishenlist.asp">待审收文</a></div></td>
<td width="3%"><div align="right"><img src="../../img/txl/26.gif" width="16" height="16"></div></td>
<td width="6%"><div align="right"><a href="../../toall/shouwen/yishenlist.asp">已审收文</a></div></td>
<td width="3%"><div align="right"><img src="../../img/txl/From.gif" width="16" height="16"></div></td>
<td width="6%"><div align="right"><a href="../../toall/shouwen/getshenlist.asp">审稿列表</a></div></td>
<td width="3%"><div align="right"><img src="../../img/txl/12.gif" width="16" height="16"></div></td>
<td width="6%"><div align="right"><a href="../../toall/shouwen/havenoqianyuelist.asp">待签收文</a> <span class="style44"></span></div></td>
<td width="3%"><div align="right"><img src="../../img/txl/1.gif" width="16" height="16"></div></td>
<td width="6%"><div align="right"><a href="../../toall/shouwen/haveedqianyuelist.asp">已签收文</a></div></td>
<td width="2%"><div align="right"><img src="../../img/txl/16.gif" width="16" height="16"></div></td>
<td width="6%"><div align="right"><a href="../../toall/shouwen/qianyuelist.asp">签阅列表</a></div></td>
<td width="2%"><div align="right"><img src="../../img/txl/24.gif" width="16" height="16"></div></td>
<td width="6%"><div align="right"><a href="../../toall/shouwen/havenobanlilist.asp">待办收文</a></div></td>
<td width="2%"><div align="right"><img src="../../img/txl/hn2_sunny.gif" width="19" height="19"></div></td>
<td width="6%"><div align="right"><a href="../../toall/shouwen/haveedbanlilist.asp">已办收文</a></div></td>
<td width="2%"><div align="right"><img src="../../img/txl/31.gif" width="16" height="16"></div></td>
<td width="6%"><div align="right"><a href="../../toall/shouwen/banlilist.asp">办理列表</a></div></td>
<td width="1%"> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td colspan="11"><div align="right">
<input name="q" type="text" class="style44" id="q" onclick=this.value='' value="检索收文审稿">
<span class="bg style2">
<input name="提交" type=submit style="FONT-SIZE: 12px; HEIGHT: 27px" value= " 搜 索 " >
</span></div></td>
<td> </td>
</tr>
</table>
</form></td>
</tr>
</table>
</div>
<table width="100%" height="20" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="6" height="20"><img src="/img/bbs/leftlin1red.gif" width="6" height="21"></td>
<td width="936" height="20" bgcolor="#FF3333"><div align="center" class="style41"><span class="style5"><span class="style13 style5 style6"><span class="style36"> 待 审 收 文 </span></span></span></div></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FF3333">
<tr>
<td bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
<tr>
<td height="22" bgcolor="#FFFFFF"> <strong>标 题</strong></td>
<td bgcolor="#FFFFFF"><div align="center"><strong>操 作</strong></div></td>
<td bgcolor="#FFFFFF"><div align="center"><strong>拟稿人</strong></div></td>
<td width="22%" bgcolor="#FFFFFF"><div align="center"><strong>时 间</strong></div></td>
</tr>
<%
While ((Repeat1__numRows <> 0) AND (NOT r.EOF))
%>
<% If Not r.EOF Or Not r.BOF Then %><%dim geter
geter=r("接收人")%><%dim s
s=r.Fields.Item("事由").Value%>
<tr bgcolor="#FFFFFF" onMouseOver = "this.style.backgroundColor = '#EEEEEE'" onMouseOut = "this.style.backgroundColor = ''">
<td width="52%" height="22"> <img src="../tz/img/icon1.gif" width="7" height="9"><a href="doshenpideatilvbgf.asp?id=<%=(r.Fields.Item("id").Value)%>">
<%if len(s)<30 then%>
<%=s%>
<%else%>
<%=left(s,30)&".."%>
<%end if%>
</a><%if r.Fields.Item("附件数").Value<>0 then%>
<img src="../../img/common.gif" width="16" height="16"> <span class="style43"><%=(r.Fields.Item("附件数").Value)%>个附件</span>
<%end if%></td>
<td width="18%">
<div align="center"><a href="geterupdateshouwen.asp?id=<%=(r.Fields.Item("ID").Value)%>">修改</a> <a href="sendtoshenpifordijioahuobanli.asp?id=<%=(r.Fields.Item("id").Value)%>&s=<%=s%>&u=<%=(r.Fields.Item("添加人姓名").Value)%>">转审</a> <a href="sentdobanli.asp?id=<%=(r.Fields.Item("id").Value)%>&s=<%=s%>&u=<%=(r.Fields.Item("添加人姓名").Value)%>">转办</a> <a href="chengyue.asp?id=<%=(r.Fields.Item("ID").Value)%>&s=<%=(r.Fields.Item("添加人姓名").Value)%>&bt=<%=s%>">向上呈阅</a></div></td>
<td width="8%"><div align="center"><%=(r.Fields.Item("添加人姓名").Value)%></div></td>
<td width="22%">
<div align="center">
<%if r("最后更新日期")="2006-10-1" then%>
<span class="style5 style37"><%=(r.Fields.Item("添加时间").Value)%></span>
<%end if%>
<%if r("最后更新日期")<>"2006-10-1" then%>
<span class="style12 style38"><%=(r.Fields.Item("最后更新时间").Value)%></span> <span class="style12 style11 style38">[更新]</span>
<%end if%>
</div></td></tr>
<% End If ' end Not r.EOF Or NOT r.BOF %>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
r.MoveNext()
Wend
%>
</table></td>
</tr>
</table>
<span class="style40"><br>
记录<%=(r_first)%> 到 <%=(r_last)%> 共 (<%=(r_total)%>)<%daishenshouwen=r_total%>条<br>
</span>
<table border="0" width="50%" align="center">
<tr>
<td width="23%" align="center"><span class="style40">
<% If MM_offset <> 0 Then %>
<a href="<%=MM_moveFirst%>">首页</a>
<% End If ' end MM_offset <> 0 %>
</span></td>
<td width="31%" align="center"><span class="style40">
<% If MM_offset <> 0 Then %>
<a href="<%=MM_movePrev%>">前页</a>
<% End If ' end MM_offset <> 0 %>
</span></td>
<td width="23%" align="center"><span class="style40">
<% If Not MM_atTotal Then %>
<a href="<%=MM_moveNext%>">下页</a>
<% End If ' end Not MM_atTotal %>
</span></td>
<td width="23%" align="center"><span class="style40">
<% If Not MM_atTotal Then %>
<a href="<%=MM_moveLast%>">末页</a>
<% End If ' end Not MM_atTotal %>
</span></td>
</tr>
</table>
<span class="style40"> </span></div>
<div align="center">
<% If r.EOF And r.BOF Then %>
</div>
<p align="center" class="style40">暂无待审收文..</p>
<div align="center">
<p><%end if%>
<%
r.Close()
Set r = Nothing
%>
</p>
<p><a href="javascript:history.go(-1)">返回</a> </p>
</div>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?