sentshengqinglistfsdghs.asp

来自「绿叶oa系统办公自动化 2008.工作日志管理,文件管理」· ASP 代码 · 共 570 行 · 第 1/2 页

ASP
570
字号
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">
<!--
.style5 {color: #FFFFFF}
-->
</style>
<link href="../../css/link.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style37 {color: #000000}
.style38 {color: #FF0000}
.style39 {font-size: 12px}
.style2 {font-weight: bold}
.style40 {color: #999999}
body {
	margin-top: 2px;
}
.style41 {color: #CCCCCC}
-->
</style>
<div align="center">  
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><form name="form1" method="post" action="sentshengqinglistfsdghsforquesry.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="style40"></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%">&nbsp;</td>
          </tr>
          <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td colspan="11"><div align="right">
                <input name="q" type="text" class="style40" 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>&nbsp;</td>
          </tr>
        </table>
      </form></td>
    </tr>
  </table>
  <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="style5"><strong>收 文 拟 稿 记 录 与 流 程 查 看</strong></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" style="word-break:break-all;Width:fixed">
          <tr bgcolor="#FFFFFF">
            <td height="22">&nbsp;<strong>标 题<br>
            </strong></td>
            <td><div align="center"><strong>归 档</strong></div></td>
            <td><div align="center"><strong>修 改</strong></div></td>
            <td><div align="center"><strong>删 除</strong></div></td>
            <td><div align="center"><strong>删除记录</strong></div></td>
            <td><div align="center"><strong>开 关</strong></div></td>
            <td><div align="center"><strong>状 态</strong></div></td>
            <td width="20%"><div align="center"><strong>时 间</strong></div></td>
          </tr>
          <% 
While ((Repeat1__numRows <> 0) AND (NOT r.EOF)) 
%>
          <%dim geter 
geter=r("接收人")%>
          <%dim shiyou,kg
shiyou=r.Fields.Item("事由").Value
kg=r("开关")%>
          <tr bgcolor="#FFFFFF" onMouseOver = "this.style.backgroundColor = '#EEEEEE'" onMouseOut = "this.style.backgroundColor = ''">
            <td width="42%" height="22">&nbsp;<img src="../tz/img/icon1.gif" width="7" height="9"><a href="shouwenjiludetail.asp?id=<%=(r.Fields.Item("id").Value)%>">
              <%if len(shiyou)<20 then%>
              <%=shiyou%>
              <%else%>
              <%=left(shiyou,20)&".."%>
              <%end if%>
              </a>
                <%if r.Fields.Item("附件数").Value<>0 then%>
                <img src="../../img/common.gif" width="16" height="16"> <span class="style40"><%=(r.Fields.Item("附件数").Value)%>个附件</span>
            <%end if%></td>
            <td width="8%"><div align="center"><a href="sentdobanli.asp?id=<%=(r.Fields.Item("id").Value)%>&s=<%=s%>&bl=<%=(r.Fields.Item("办理人").Value)%>"></a>
                    <%if r("归档否")="是" then%>
                    <a href="toguidangadmin.asp?id=<%=(r.Fields.Item("ID").Value)%>&bt=<%=shiyou%>">管理</a><img src="../workreport/img/cs-1.gif" width="25" height="16">
                    <%else%>
                    <a href="toguidang.asp?id=<%=(r.Fields.Item("ID").Value)%>&bt=<%=shiyou%>">归档</a> <span class="style2"><img src="../workreport/img/cs-3.gif" width="20" height="10"></span>
                    <%end  if%>
            </div></td>
            <td width="6%" height="15"><div align="center"><a href="updateshenpimyfddafornigaoren.asp?id=<%=(r.Fields.Item("id").Value)%>">修改</a></div></td>
            <td width="5%"><div align="center"><a href="delnigao.asp?id=<%=(r.Fields.Item("ID").Value)%>" onClick="return confirm('您确定要删除 <%=shiyou%> 收文吗?该过程将不可恢复。')">删除</a></div></td>
            <td width="7%"><div align="center"><a href="delnigaojilu.asp?id=<%=(r.Fields.Item("ID").Value)%>" onClick="return confirm('您确定要删除 <%=shiyou%> 收文记录吗?这将不影响其受理。')">删除记录</a></div></td>
            <td width="6%"><div align="center">
                <%if kg="否" then%>
                <a href="admin/kaitongnigao.asp?id=<%=(r.Fields.Item("ID").Value)%>">开通</a>
                <%else%>
                <a href="admin/guanbi.asp?id=<%=(r.Fields.Item("ID").Value)%>">关闭</a>
                <%end if%>
            </div></td>
            <td width="6%"><div align="center">
                <%if kg="是" then%>
                <img src="../workreport/img/cs-1.gif" width="25" height="16">
                <%else%>
                <span class="style2"><img src="../workreport/img/cs-3.gif" width="20" height="10"></span>
                <%end if%>
            </div></td>
            <td width="20%" height="15">
              <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>
          <% 
  Repeat1__index=Repeat1__index+1
  Repeat1__numRows=Repeat1__numRows-1
  r.MoveNext()
Wend
%>
      </table></td>
    </tr>
  </table>
  <p> <span class="style39">记录<%=(r_first)%> 到 <%=(r_last)%> 共( <%=(r_total)%></span> )<span class="style39">条</span><br><%nigaohouwen=r_total%>  
  </p>

  <table border="0" width="50%" align="center">
    <tr>
      <td width="23%" align="center"><% If MM_offset <> 0 Then %>
          <a href="<%=MM_moveFirst%>">首页</a>
          <% End If ' end MM_offset <> 0 %>
      </td>
      <td width="31%" align="center"><% If MM_offset <> 0 Then %>
          <a href="<%=MM_movePrev%>">前页</a>
          <% End If ' end MM_offset <> 0 %>
      </td>
      <td width="23%" align="center"><% If Not MM_atTotal Then %>
          <a href="<%=MM_moveNext%>">Next</a>
          <% End If ' end Not MM_atTotal %>
      </td>
      <td width="23%" align="center"><% If Not MM_atTotal Then %>
          <a href="<%=MM_moveLast%>">Last</a>
          <% End If ' end Not MM_atTotal %>
      </td>
    </tr>
  </table>
</div>
<p align="center" class="style39">
  <% If r.EOF And r.BOF Then %>
暂无收文拟稿记录..
<% End If ' end r.EOF And r.BOF %>
  <br>
  <a href="javascript:history.go(-1)">返回
</a></p>

<% If Not r.EOF Or Not r.BOF Then %>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td>“删除”:指在该记录暂未开始审稿或者签阅、办理前提下,不可恢复地删除,并影响审稿人对其接收与访问;<br>
      “删除记录”:指仅影响本页拟稿记录的显示,不影响所有该收文的审稿人等对其访问与操作;<br>
      “开关”:指在该记录暂未开始审稿或者签阅、办理前提下,适时将该记录允许访问或者屏蔽,并影响审稿人对其接收与访问。<br>      </td>
  </tr>
</table>
<% End If ' end Not r.EOF Or NOT r.BOF %>

<p align="center" class="style39"><br>
</p>
<%
r.Close()
Set r = Nothing
%>

⌨️ 快捷键说明

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