📄 sendhuiqian.asp
字号:
<!--#include file="check.asp"-->
<!--#INCLUDE FILE="connect.asp" -->
<html>
<head>
<title>选择会签单位</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<%
LocalFile="sendhuiqian.asp"
SaveFile="savehg.asp"
HttpUrl="http://" & Request.ServerVariables("HTTP_HOST") & Request.ServerVariables("SCRIPT_NAME")
HttpUrl=Left(HttpUrl,Len(HttpUrl)-Len(LocalFile))
SaveUrl=HttpUrl & SaveFile
if Request.ServerVariables("Request_Method")="POST" and request("flag")="2" then
'response.write "flowid "&request("flowid")&"newworkid"&request("nwid")
'response.end
set bzwb=server.createobject("oaserver.sendhuiqian")
bzwb.main(conn)
response.write("<script language=javascript>alert('提交意见成功!')</script>")
response.write("<script>document.location='right.asp'</script>")
end if
%>
<script language="javascript" src="fawen.js"></script>
<script language="JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
function checkform() {
if (document.form.hiddenselect.value=="")
{
alert("请选择会签人,可以多选!")
document.form.username.focus()
return false;
}
FileName=document.form.opendoc.value
if (!confirm("您是否要提交公文呢?"))
{return false;}
else {
if(FileName!="") { //如果修改公文则保存公文
SaveUrl="<%=SaveUrl%>"
FileSize="<%=session("MaxSize")%>"
FilePath="" //为空表示文件在默认位置
result=form.web.upload(SaveUrl,FileName,FilePath,FileSize) //上传公文到数据库
if (!result)
{
alert("找不到公文或与服务器连接失败!")
return false;
} //公文上传失败,返回起草公文页面
form.web.delfile() //删除临时文件
} //上传公文完毕
}
}
</script>
<link rel="stylesheet" href="fawen.css" type="text/css">
</head>
<body oncontextmenu="return false">
<div align="center">
<form name="form" method="POST" action="sendhuiqian.asp" >
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="400">
<tr height="25">
<td valign="top" align="center" >
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="40">
<tr>
<td valign="middle" height="50" align="center" class="title">选择会签领导(可多选)</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
<tr>
<td valign="bottom" align="left" height="26" width="90%" class="textblue">
<div align="center" >会签领导:
<input readonly type="text" name="username" size="30" onClick="checkpeople()" style="cursor:hand" title="点击选择会签领导!">
</div>
</td>
</tr>
<tr>
<td valign="bottom" align="center" height="35" width="90%">
<input type="image" name="send" value="提交公文" onClick="return checkform()" src="images/addpapergif.gif" alt="提交公文">
<input type="image" name="send2" value=" 返 回 " onClick="history.go(-1);return false;" src="images/fanhuigif.gif" alt="返回">
</td>
</tr>
<tr>
<td valign="top" align="left" colspan="2">
<input type="hidden" name="hiddenselect">
<input type="hidden" name="hiddennum" value="0" >
<input type="hidden" name="single">
<input type="hidden" name="flag" value="2">
<input type="hidden" name="flowid" value="<%=request("flowid")%>">
<input type="hidden" name="nwid" value="<%=request("nwid")%>">
<input type="hidden" name="qianfa" value="<%=request("hiddenselect")%>">
<input type="hidden" name="opendoc" value="<%=request("opendoc")%>">
</td>
</tr>
</table>
</td>
<td height="296" valign="top" align="center" width="200" >
<!--#include file="turnmorefawen.asp"-->
</td>
</tr>
<tr>
<td valign="bottom" height="35" >
<div align="center"> </div>
</td>
<td valign="bottom" height="35" >
<object classid="clsid:8C9AA244-AC33-47F9-8968-CC114654A6EC" codebase="web.ocx" id="web" width="1" height="1">
<param name="_ExtentX" value="847">
<param name="_ExtentY" value="847">
</object> </td>
</tr>
</table>
</form>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -