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

📄 index.asp

📁 绿叶OA 一个功能比较全面的办公OA系统
💻 ASP
📖 第 1 页 / 共 2 页
字号:
end function
</script>
<script>
function SummaryFromText(){
	if (iEditorType==0)
	{
		var Summary = content1.getHTML();
	}
	else{
		var Summary = a1.content.value;
	}
	Summary=Summary.substring(1,250)
	Summary=cleanHtml(Summary);
	
	a1.summary.value=Summary;
}
</SCRIPT>
<script>
function change(obj,i) {
he=parseInt(obj.style.height);
if (he>=80&&he<=400)
   obj.style.height=he+i+'px';
else 
   obj.style.height='80px';
}
</script>
<script language="JavaScript" src="swfj.js"></script>
<script language=javascript>
var upfj;
upfj=0;           //上传附件没有错误
//--------------------------------send fujian file------------------------------
function sendfj(fileid){
   var NameUrl="<%=NameUrl%>"               //保存公文文件url路径
	var FjUrl="<%=FjUrl%>"                  //保存附件文件url路径
	var FjDelUrl="<%=FjDelUrl%>"                  //上传失败删除临时文件
	var MaxSize="<%=session("MaxSize")%>"   //限制上传附件文件的大小 
	var fileform = document.form1;
	PsoPath=fileform.elements[fileid].value
	//PsoPath=document.form1.filefj0.value
	PsoFile=PsoPath                     //定义附件的文件名
	PsoType=""
    while(PsoFile.indexOf("\\")>0)             //获得附件的文件名
    { 
     i = PsoFile.indexOf("\\") 
     PsoFile = PsoFile.substring(i + 1, PsoFile.length); 
    }                                //获得附件的文件名
	                    
	 PsoPath=PsoPath.substring(0,PsoPath.lastIndexOf("\\"))   //获得附件的路径
	 PsoType=PsoFile
	 if (PsoType.lastIndexOf(".")>0)              //获得附件的扩展名
     { 
     i = PsoType.lastIndexOf(".") 
     PsoType = PsoType.substring(i + 1, PsoType.length); 
     } 

   result=form.web.upload(FjUrl,PsoFile,PsoPath,MaxSize)  //向服务器上传附件
   //document.form1.fujian.value=PsoFile
  if (!result)
  {
  
   result=form.web.sendurl(FjDelUrl,"","");             //删除前面上传的临时文件
   alert("上传附件失败或附件不存在!");
   fileform.elements[fileid].focus();
   upfj=1;
   return false;                             //上传附件失败,返回起草公文页面
   }
   else{
   result=form.web.sendurl(NameUrl,PsoFile,PsoType)
   }
     
}
//------------------end function-------------------------------------------------------
function checkform() {
upfj=0;

//-------发送附件
var fileform = document.form1;              //调用上传附件函数
	for ( var i= 0 ; i <fileform.elements.length ; i ++ ) {				    
		if ( fileform.elements[i].type == "file" && fileform.elements[i].name !="file" ) {
			if (fileform.elements[i].value!="") {
				sendfj(i);
				if(upfj==1) return false;
			}
		}
	}//for
//--------发送附件
document.form1.submit()
return false;
}
</script><style type="text/css">
<!--
body {
	margin-top: 2px;
}
-->
</style>
<script>
<!--
function dis1(){
document.form2.submit.value=' 查询..'
document.form2.submit.disabled=true;
return true;
}

//-->
</SCRIPT>
<link href="../../../css/textarea.css" rel="stylesheet" type="text/css">
<form name="form2" method="post" action="../userfolderasdffqerdfv/adminfiles/accessfiles/listquery.asp" onSubmit="return dis1()">
  <table width="103%" border="0">
    <tr>
      <td width="702"><div align="right">
          <input name="q" type="text" id="q" size="19" maxlength="50">
          <input name="submit" type=submit id="submit" style="FONT-SIZE: 12px; HEIGHT: 27px" value= " 查 询 ">
      </div></td>
      <td width="84"><span class="style2"><img src="../../../../../img/share/arrowtop.gif" width="12" height="14">&nbsp;<a href="../userfolderasdffqerdfv/adminfiles/accessfiles/list.asp">接收文件</a> </span></td>
      <td width="114"><img src="../../../../../img/share/article_icon.gif" width="15" height="12">&nbsp;<a href="totongshifiles.asp">发送记录</a></td>
    </tr>
  </table>
</form>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td valign="top"><form action="upfileintodatalog.asp" method="post" enctype="multipart/form-data" name="form1" onSubmit="return dis()">
      <ul>
        <div align="center">
          <table width="85%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><div align="center">
                  <div class="RoundedCorner"> <b class="rtop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b> <span class="style1"><%=webtilesname%></span></div>
              </div></td>
            </tr>
          </table>
        </div>
        <div align="center">
          <table width="85%" border="0" cellpadding="0" cellspacing="1" bgcolor="<%=secaiid%>">
            <tr>
              <td><div align="center">
                  <table width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="5EAE19">
                    <tr bgcolor="#FFFFFF">
                      <td height="12" colspan="2"></td>
                    </tr>
                    <tr bgcolor="#FFFFFF">
                      <td><div align="right">接收人:</div></td>
                      <td><select name="bumen" onchange ="changeselect(document.form1.bumen.options[document.form1.bumen.selectedIndex].value)">
                          <option value="请选择部门" selected>请选择部门</option>
                          <%=DbCombox()%>
                        </select>
                          <select name="City" id="City">
                            <option value="" selected>请选择对象</option>
                          </select>
                     
                    <input type="button" name="Submit" value="传给自己" onClick="javascript:document.location.href='indextome.asp'">
                     
                    <input type="button" name="Submit" value="集群传输" onClick="javascript:document.location.href='sendfilesadfvfvsfadtomany.asp'">
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </td>
                    </tr>
                    <tr bgcolor="#FFFFFF">
                      <td width="73">&nbsp;</td>
                      <td width="524"><input type="file" name="file1" style="width:400" value="" size="20"></td>
                    </tr>
                    <tr bgcolor="#FFFFFF">
                      <td rowspan="4"><div align="center"><img src="../../../toall/gw/img/gif/1.gif" width="37" height="35"> </div></td>
                      <td><input name="file2" type="file" id="file2" style="width:400" value="" size="20"></td>
                    </tr>
                    <tr bgcolor="#FFFFFF">
                      <td><input name="file3" type="file" id="file3" style="width:400" value="" size="20"></td>
                    </tr>
                    <tr bgcolor="#FFFFFF">
                      <td><input name="file4" type="file" id="file4" style="width:400" value="" size="20"></td>
                    </tr>
                    <tr bgcolor="#FFFFFF">
                      <td><input name="file5" type="file" id="file5" style="width:400" value="" size="20"></td>
                    </tr>
                    <tr bgcolor="#FFFFFF">
                      <td>&nbsp;</td>
                      <td><input name="file6" type="file" id="file6" style="width:400" value="" size="20"></td>
                    </tr>
                    <tr bgcolor="#FFFFFF">
                      <td>&nbsp;</td>
                      <td><span id="idfilespan"></span><a href="javascript:;" name="attach" id="attach" onclick="add();this.childNodes[0].nodeValue='增加文件';" title="如果您要继续发送文件">增加文件</a></td>
                    </tr>
                    <tr bgcolor="#FFFFFF">
                      <td>&nbsp;</td>
                      <td height="10"><input name="huizhi" type="checkbox" id="huizhi" value="是">
                          <span class="style9">对方收到后,让oa小秘书提醒我 <img src="../../../img/oaserver.gif" width="25" height="26"></span> <br>
                          <div id=his style=display:none >
                            <textarea name="fuyan" cols="44" rows="5" id="fuyan"></textarea>
                            <a href="javascript:SummaryFromText()"></a><br>
&nbsp;<a href="javascript:change(document.all.fuyan,-20)"><img src="../../../img/minus.gif" border=0 title="缩小文本框"></a>&nbsp;&nbsp;<a href="javascript:change(document.all.fuyan,20)"><img src="../../../img/plus.gif" border=0 title="放大文本框"></a></div></td>
                    </tr>
                    <tr bgcolor="#FFFFFF">
                      <td>&nbsp;</td>
                      <td><input name="submit" type=submit id="submit" style="FONT-SIZE: 12px; HEIGHT: 27px" onClick='return check();'  value= " 发 送 ">
                      
                      <input name="重置" type=reset style="FONT-SIZE: 12px; HEIGHT: 27px"  value= " 清 空 " >
                     
                    <input name="按钮" type=button style="FONT-SIZE: 12px; HEIGHT: 27px"   onClick="javascript:history.go(-1)" value= " 取 消 " >
                    备注:
                    <input type=checkbox name=tof onClick=tof_Click() >
                    </tr>
                    <tr bgcolor="#FFFFFF">
                      <td height="10" colspan="2"></td>
                    </tr>
                  </table>
              </div></td>
            </tr>
          </table>
 
    </form></td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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