📄 docadd.jsp
字号:
<%@ page contentType="text/html;charset=GB2312" %>
<HTML>
<HEAD>
<TITLE>发文拟稿</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link rel="stylesheet" type="text/css" href="/krm/jsp/css/css.css">
</HEAD>
<BODY leftmargin="0" topmargin="0">
<form name="addDoc" method="post">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="tdC" align="center"><font color="#FF0000">关闭页面请点击页面下方的关闭按钮!</font></td>
</tr>
</table>
<%
String templetID=request.getParameter("templetID");
%><input type="hidden" name="templetID" value="<%=templetID%>">
<div align="center">
<APPLET code="applet.DocAddApplet" codebase="." width=90% height=90% name="obj_applet" mayscript="true"></APPLET>
</div>
<table width="100%" class="collapse">
<tr height="25">
<td width="8%" class="common"> 附件 :</td><td class="common" width="92%">
<!--add by tang 2004.04.22 begin-->
<table width="100%" cellspacing="0" cellpadding="0" height="20">
<tr class="common" >
<td width="12%" valign="middle" align="left"> <a href="javascript:upload();"> 添加附件</a></td>
<td width="88%" valign="middle" align="left"><iframe src="/krm/jsp/docmanage/attach.jsp" name="attach" height="20" marginheight="100%" frameborder="0" scrolling="no"></iframe>
</td>
</tr>
</table>
<!--add by tang 2004.04.22 end-->
<!--replace by tang 2004.04.22 begin-->
<!-- <a href="javascript:upload();"> 添加附件 </a> -->
</td>
</tr>
<tr>
<td height="20" colspan="2" align="center"><INPUT name="Button1" type="button" onClick="callApplet()" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" value="提 交">
<INPUT name="Button1" type="button" onClick="deleteFile()" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" value="关 闭"></td>
</tr>
</table>
</form>
<Script language=javascript>
function callApplet()
{
window.document.obj_applet.executeButton();
var clientError= window.document.obj_applet.getClientError();
var serverError= window.document.obj_applet.getServerError();
if(!clientError&&!serverError)
{
alert('提交成功');
window.close();
}
else alert('请检查是否删除了模板中的公文域,或者填写的数据格式不正确!');
}
function deleteFile()
{
window.document.obj_applet.closeBook();
window.close();
}
function openWin(url) {
window.open(url,'','toolbar=no,location=no,menubar=no,resizable=1,scrollbars=yes,left=0,top=0,width=600,height=400');
}
function upload(){
var docid=window.document.obj_applet.getSDI_ID();
openWin('/krm/servlet/DocUploadServlet?status=q&docid='+docid);
}
</Script>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -