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

📄 workflowwaitlist.asp

📁 一个比较完整的oa系统
💻 ASP
字号:
<!--#INCLUDE FILE="../HXINCLUDE/HXINCLUDEHEAD.ASP"-->
<%'程序编写及设计:徐勇
'QQ号码: 563097256(网络侠客)
'网址:http://www.wsoas.com
'E_mail(MSN):netcst@126.com 
'电话:13856921303   0551-5168961
'以上信息不影响程序运行!
'在使用过程中请保留以上信息,以便出现问题时及时与我取得联系
'注意:免费版程序不得用于商业用途,否则后果自负!!!!
if WS_S.MemberPriv("WS_WorkFlowWaitList")<>1 then HX_GoBack "对不起,您的权限不够!",""
ColumnName="":Tablename="HX_WorkFlow"
action=request("action"):page=request("page")
Orderby=" where WS_WorkFlowToMan="&loginuid&" and WS_WorkFlowFlag=1 and WS_WorkFlowQT=0"
if action="del" then 
  WS_FCID=request("MAID") 
  if WS_FCID<>"" then 
    ToUidarr=split(WS_FCID,",")
	 for ii=0 to ubound(ToUidarr)  
       conn.execute("update "&Tablename&" set WS_WorkFlowQT=1,WS_WorkFlowQTDate=#"&now&"# where WS_FCID="&ToUidarr(ii))
	 next  
  end if
   WS_S.HX_Redirect "WorkFlowWaitList.asp?page="&page
elseif action="WorkFlowQT"  then
Orderby=Orderby&" and WS_WorkFlowQT="&request("flag")
end if
Orderby=Orderby&" order by WS_WorkFlowDate desc"
set rs=WS_S.HX_SetRSD(ColumnName,Tablename,Orderby)
response.Write "<head><meta http-equiv='Content-Type' content='text/html; charset=gb2312'><title>待办公文</title><link rel=stylesheet type=text/css href='../HXinclude/HX_Style.css'><script src='../HXinclude/HX_Function.js'></script></head><body topmargin='10' leftmargin='0' bottommargin='10'><table width='98%'  border='0' cellspacing='1' cellpadding='0' align=center bgcolor='#115F8F'><tr><td colspan='2' bgcolor=ffffff background='../hximages/titlelinebg.gif'><table width='580'  border='0' cellspacing='0' cellpadding='0'><tr><td height='25' background='../hximages/titleline.gif'><font class='fontmenu'>待办公文</font></td></tr></table><table width='100%'  border='0' cellspacing='1' cellpadding='3' bgcolor=ffffff><form method='post' action='WorkFlowWaitList.asp?action=del&page="&page&"' name='form1'><tr bgcolor='#A1BBE0' class='td4'><td width='28' align=center><input type='checkbox' name='checkall' value='checkbox' onClick='chkall(this)' class='radio' style='background-color:A1BBE0;'></td><td width='140' align='center'>办文编号</td><td width='156' align='center'>标  题</td><td width='61' align='center'>公文类别 </td><td width='145' align='center'>正  文 </td><td width='83' align='center'>拟办意见</td><td width='61' align='center'>保密级别</td><td width='33' align='center'>附件</td><td width='80' align='center'>收文日期</td><td width='55' align='center'>状态</td><td width='67' align='center'>发文人</td></tr>"
if rs.recordcount<=0 then
response.Write "<tr><td colspan=11 bgcolor=ffffff height=25 align=center>待办公文中暂时还没有公文!</td></tr>"
else
 rs.PageSize =14 '每页记录条数
	iCount=rs.RecordCount '记录总数
	iPageSize=rs.PageSize
    	maxpage=rs.PageCount 
    if Not IsNumeric(page) or page="" then
        page=1
    else
        page=cint(page)
    end if
    if page<1 then
        page=1
    elseif  page>maxpage then
        page=maxpage
    end if
    rs.AbsolutePage=Page
	if page=maxpage then
		x=iCount-(maxpage-1)*iPageSize
	else
		x=iPageSize
	end if
	ii=0
do while not rs.EOF
response.Write "<tr bgcolor='#ECF2F2' onmouseover=javascript:this.bgColor='#F9F8F2' onmouseout=javascript:this.bgColor='#ECF2F2'><td width='28' align=center><input type='checkbox' name='MAID' value='"&rs("WS_FCID")&"' class='radio' style='background-color:ECF2F2;'></td><td width='140'>"&rs("WS_WorkFlowNumber")&"</td><td width='156'>"&rs("WS_WorkFlowTitle")&"</td><td width='61' align=center>"&WS_S.HX_OutWorkFlowType(rs("WS_WorkFlowFlowType"))&"</td><td width='145' title='"&rs("WS_WorkFlowContent")&"'>"&left(rs("WS_WorkFlowContent"),10)&"</td><td width='83' title='"&rs("WS_WorkFlowBrief")&"'>"&left(rs("WS_WorkFlowBrief"),10)&"</td><td width='61' align=center>"&rs("WS_WorkFlowGrade")&"</td><td width='33' align=center>"
if rs("WS_WorkFlowAnnex")<>"" then response.write "<a href='"&rs("WS_WorkFlowAnnex")&"' target='_blank'><img src='../HXIMAGES/Message/sign.gif' border=0></a>"
response.Write "</td><td width='80' align=center>"&rs("WS_WorkFlowDate")&"</td><td width='55' align=center>"
if rs("WS_WorkFlowQT")=0 then response.Write "<font color=red>未签收</font>" else response.Write "<font color=blue title='签收日期:"&rs("WS_WorkFlowQTDate")&"'>已签收</font>'"
response.write "</td><td width='67' align=center>"
Call WS_S.HX_OutUserInfo(rs("WS_WorkFlowMan")):response.Write OutName&"</td></tr>"
ii=ii+1
if ii>=rs.PageSize then Exit Do
rs.movenext
loop
response.Write "<tr bgcolor='#A1BBE0' class='td4'><td colspan='15' height='30'>&nbsp;<input type='checkbox' name='checkall' value='checkbox' onClick='chkall(this)' id='checkall' class='radio' style='background-color:A1BBE0;'><label for='checkall'>全选</label>&nbsp;将选中全部&nbsp;<input name='del' type='submit' value='签收' style='font-size: 12px;color:#FFFFFF;border: 1px solid #000000;background-color: #A1BBE0; '>	  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  </tr>"
call WS_S.PageControl(iCount,maxpage,page,"border=0 align=right","<p align=right>",11)
end if
call WS_S.HX_RSClose(rs)
response.write "</form></table></td></tr></table>"%>

⌨️ 快捷键说明

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