yiqianqianfawen.asp
来自「绿叶oa系统办公自动化 2008.工作日志管理,文件管理」· ASP 代码 · 共 229 行
ASP
229 行
<%@LANGUAGE="VBSCRIPT"%>
<%
Response.ExpiresAbsolute=now()-1
Response.CacheControl="no-cache"
%>
<%
MM_authorizedUsers=""
MM_authFailedURL="../../index.asp"
MM_grantAccess=false
If Session("userssdfgfhtrh") <> "" Then
If (true Or CStr(Session("MM_UserAuthorization"))="") Or _
(InStr(1,MM_authorizedUsers,Session("MM_UserAuthorization"))>=1) Then
MM_grantAccess = true
End If
End If
If Not MM_grantAccess Then
MM_qsChar = "?"
If (InStr(1,MM_authFailedURL,"?") >= 1) Then MM_qsChar = "&"
MM_referrer = Request.ServerVariables("URL")
if (Len(Request.QueryString()) > 0) Then MM_referrer = MM_referrer & "?" & Request.QueryString()
MM_authFailedURL = MM_authFailedURL & MM_qsChar & "accessdenied=" & Server.URLEncode(MM_referrer)
Response.Redirect(MM_authFailedURL)
End If
%>
<!--#include file="../../Connections/oavbsconn.asp" -->
<%
Dim s__u
s__u = "1"
If (session("names") <> "") Then
s__u = session("names")
End If
%>
<%
Dim s
Dim s_numRows
Set s = Server.CreateObject("ADODB.Recordset")
s.ActiveConnection = MM_oavbsconn_STRING
s.Source = "SELECT fawenhuiqian.顺序 as s FROM fawen inner join fawenhuiqian on fawenhuiqian.发文id=fawen.id WHERE fawenhuiqian.会签人='" + Replace(s__u, "'", "''") + "'"
s.CursorType = 0
s.CursorLocation = 2
s.LockType = 1
s.Open()
s_numRows = 0
%>
<%if not s.eof or not s.bof then
dim ss
ss=s("s")
end if%>
<%
Dim r__ss
r__ss = "1"
If (ss <> "") Then
r__ss = ss
End If
%>
<%
Dim r__MMColParam
r__MMColParam = "1"
If ("|"&session("names") <> "") Then
r__MMColParam = "|"&session("names")
End If
%>
<%
Dim r__u
r__u = "1"
If (session("names") <> "") Then
r__u = session("names")
End If
%>
<%
Dim r
Dim r_numRows
Set r = Server.CreateObject("ADODB.Recordset")
r.ActiveConnection = MM_oavbsconn_STRING
r.Source = "SELECT *,fawen.id as ids FROM fawen inner join fawenhuiqian on fawenhuiqian.发文id=fawen.id WHERE 签阅人 like '%" + Replace(r__MMColParam, "'", "''") + "%' and 已会签人列表 like '%" + Replace(r__MMColParam, "'", "''") + "%' and 开关='是' and( fawenhuiqian.是否会签完毕='是' and 顺序<" + Replace(r__ss, "'", "''") + " and fawenhuiqian.会签人<>'" + Replace(r__u, "'", "''") + "' or (顺序=1 and fawenhuiqian.会签人='" + Replace(r__u, "'", "''") + "')) ORDER BY 最后更新时间 desc,fawen.id desc"
r.CursorType = 0
r.CursorLocation = 2
r.LockType = 1
r.Open()
r_numRows = 0
%>
<%
Dim Repeat1__numRows
Dim Repeat1__index
Repeat1__numRows = 30
Repeat1__index = 0
r_numRows = r_numRows + Repeat1__numRows
%>
<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;
}
.style42 {color: #999999}
body {
margin-top: 2px;
}
-->
</style>
<title>待 签 发 文 </title><div align="center">
<form name="form1" method="post" action="qianyuefawenquery.asp">
<table width="100%" height="23" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="20%"><div align="right">发文:</div></td>
<td width="3%"><div align="right"><img src="../../img/txl/29.gif" width="16" height="16"></div></td>
<td width="7%"><div align="right"><a href="../../toall/fawen/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/fawen/sentshengqinglistfsdghs.asp">拟稿记录</a></div></td>
<td width="2%"><div align="right"><img src="../../img/txl/15.gif" width="16" height="16"></div></td>
<td width="6%"><div align="right"><a href="../../toall/fawen/daishenfawen.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/fawen/yishenshenlist.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/fawen/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/fawen/daiqianfawen.asp">待签发文</a> <span class="style42"></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/fawen/yiqianqianfawen.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/fawen/qianyuefawen.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/fawen/updatimgpath.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 colspan="9"><div align="right">
<input name="q" type="text" class="style42" 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>
<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 bgcolor="#FFFFFF">
<td width="71%" height="22"> <strong>标题</strong></td>
<td><div align="center"><strong>提交人</strong></div></td>
<td width="18%"><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("接收人")%>
<tr bgcolor="#FFFFFF" onMouseOver = "this.style.backgroundColor = '#EEEEEE'" onMouseOut = "this.style.backgroundColor = ''">
<td height="22"><div align="left"> <img src="../tz/img/icon1.gif" width="8" height="9"> <a href="doshenforqianyeu.asp?id=<%=(r.Fields.Item("ids").Value)%>&q=qianyue"><%=(r.Fields.Item("文件标题").Value)%></a></div></td>
<td width="11%"><div align="center"><%=(r.Fields.Item("添加人姓名").Value)%></div></td>
<td width="18%">
<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%>
<%if DateDiff("d",r("最后更新日期"),now())<2 then %>
<span class="style12 style38"><%=(r.Fields.Item("最后更新时间").Value)%></span> <span class="style12 style11 style38">[更新]</span>
<%else%>
<span class="style37"><%=(r.Fields.Item("最后更新时间").Value)%></span>
<%end if%>
<%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>
</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 + -
显示快捷键?