📄 disptransact.aspx
字号:
}
}else{
StatusMsg(webform.WebOffice.Status);
}
}
function WebUpdateFile(){
if (webform.WebOffice.WebUpdateFile()){
StatusMsg(webform.WebOffice.Status);
}else{
StatusMsg(webform.WebOffice.Status);
}
}
function WebInportText(){
var mText;
webform.WebOffice.WebSetMsgByName("COMMAND","INPORTTEXT");
if (webform.WebOffice.WebSendMessage()){
mText=webform.WebOffice.WebGetMsgByName("CONTENT");
webform.WebOffice.WebObject.Application.Selection.Range.InsertAfter(mText);
alert("导入文本成功");
}
StatusMsg(webform.WebOffice.Status);
}
function WebExportText(){
var mText=webform.WebOffice.WebObject.Content.Text;
webform.WebOffice.WebSetMsgByName("COMMAND","EXPORTTEXT");
webform.WebOffice.WebSetMsgByName("CONTENT",mText);
if (webform.WebOffice.WebSendMessage()){
alert("导出文本成功");
}
StatusMsg(webform.WebOffice.Status);
}
</script>
</HEAD>
<body onload="Load()" onunload="UnLoad()" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" >
<div align="center">
<form name="webform" method="post" action="doTransact.aspx" onsubmit="return SaveDocument();">
<input type=hidden name=RecordID value="<%=mRecordID%>">
<input type=hidden name=Template value="<%=mTemplate%>">
<input type=hidden name=FileType value="<%=mFileType%>">
<input type=hidden name=EditType value="<%=mEditType%>">
<input type=hidden name=HTMLPath value="<%=mHTMLPath%>">
<table width="100%" border="0">
<tr>
<td bgcolor="#fbe3b5"><table width="27%" border="0">
<tr>
<td width="42%" height="24" class="titlebar"><img src="../images/mingpianguanli.gif" width="16" height="16"> 详细信息</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%" border="1" bgcolor="#fafad2" class="tableframe">
<!--DWLayoutTable-->
<tr bgcolor="#fffaf0">
<td width =20%><div align="left">标题:</div>
</td>
<td width=80% colspan =3><div id=fucktitle><% =PTitle %></div></td>
</tr>
<tr bgcolor="#fafad2">
<td width="20%"><div align="left">来文时间:</div>
</td>
<td width="50%"><% =PSendDate %></td>
<td width="10%"><div align="left">密级:</div>
</td>
<td width="40%"><% =Psecretgreadname %></td>
</tr>
</table>
<table width="100%" border="1" cellpadding="0" cellspacing="0" class="tableframe">
<!--DWLayoutTable-->
<tr bgcolor="#fffaf0">
<td width =20%><div align="left">文档类型:</div>
</td>
<td width="10%"><% =Pdocumenttypename %></td>
<td width="20%"><div align="left">紧急程度:</div>
</td>
<td width="20%"><% =Pexigencedegreename%></td>
<td width="10%"><div align="left">起草人:</div>
</td>
<td><%=drawman%></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableframe">
<!--DWLayoutTable-->
<tr>
<td height =500>
<!-- word begin -->
<table border=0 cellspacing='0' cellpadding='0' width=100% height=100% align=center class=TBStyle>
<tr>
<td align=left valign=top class="TDTitleStyle" id ="pftd" width=55 height=100% >
<!-- <asp:Panel id="Panel1" runat="server">-->
<span id="hiddeltd" style ="display:''">
<br>功能列表<br>
<input type=button class=buttonqsq name="Revision" value="隐藏痕迹" <%=mDisabled%> onclick="ShowRevision(this)"><br>
<input type=button class=buttonqsq value="签名印章" <%=mDisabled%> onclick="WebOpenSignature()"><br>
<input type=button class=buttonqsq value="显示签名" <%=mDisabled%> onclick="WebShowSignature()"><br>
<input type=button class=buttonqsq value="验证签名" <%=mDisabled%> onclick="WebCheckSignature()"><br>
<input type=button class=buttonqsq value="隐藏签名" <%=mDisabled%> onclick="WebHideSignature()"><br>
<input type=button class=buttonqsq value="删除签名" <%=mDisabled%> onclick="webform.WebOffice.WebDelSignature();"><br>
<input type=button class=buttonqsq value="保存版本" <%=mDisabled%> onclick="WebSaveVersion()"><br>
<input type=button class=buttonqsq value="打开版本" <%=mDisabled%> onclick="WebOpenVersion()"><br>
<input type=button class=buttonqsq value="刷新文档" <%=mDisabled%> onclick="WebFocus()"><br>
<input type=button class=buttonqsq value="页面设置" <%=mDisabled%> onclick="WebOpenPageSetup()"><br>
<input type=button class=buttonqsq value="打印文档" <%=mDisabled%> onclick="WebOpenPrint()"><br>
<input type=button class=buttonqsq value="插入图片" <%=mDisabled%> onclick="WebOpenPicture()"><br>
<input type=button class=buttonqsq value="重调文档" <%=mDisabled%> onclick="LoadDocument()"><br>
<input type=button class=buttonqs value="打开本地文件" <%=mDisabled%> onclick="WebOpenLocal()"><br>
<input type=button class=buttonqs value="存为本地文件" <%=mDisabled%> onclick="WebSaveLocal()"><br>
工具栏
<input type=button class=buttonqs value="关闭常用工具" <%=mDisabled%> onclick="WebToolsVisible('Standard',false)"><br>
<input type=button class=buttonqs value="打开常用工具" <%=mDisabled%> onclick="WebToolsVisible('Standard',true)"><br>
<input type=button class=buttonqs value="关闭格式工具" <%=mDisabled%> onclick="WebToolsVisible('Formatting',false)"><br>
<input type=button class=buttonqs value="打开格式工具" <%=mDisabled%> onclick="WebToolsVisible('Formatting',true)"><br>
<input type=button class=buttonqs value="关闭审阅按钮" <%=mDisabled%> onclick="WebToolsVisible('Reviewing',false)"><br>
<input type=button class=buttonqs value="打开审阅按钮" <%=mDisabled%> onclick="WebToolsVisible('Reviewing',true)"><br>
<input type=button class=buttonqs value="关闭打印按钮" <%=mDisabled%> onclick="WebToolsEnable('Standard',5,false);"><br>
<input type=button class=buttonqs value="打开打印按钮" <%=mDisabled%> onclick="WebToolsEnable('Standard',5,true);"><br>
其他调用
<input type=button class=buttonqsq value="插入页眉" <%=mDisabled%> <%=mWord%> onclick="webform.WebOffice.WebObj.ActiveWindow.ActivePane.View.SeekView=9;"><br>
<input type=button class=buttonqsq value="插入页码" <%=mDisabled%> <%=mWord%> onclick="webform.WebOffice.WebDialogs(294);"><br>
<input type=button class=buttonqsq value="插入字符" <%=mDisabled%> <%=mWord%> onclick="webform.WebOffice.WebDialogs(162);"><br>
<input type=button class=buttonqsq value="插入目录" <%=mDisabled%> <%=mWord%> onclick="webform.WebOffice.WebDialogs(171);"><br>
<input type=button class=buttonqsq value="插入表格" <%=mDisabled%> <%=mWord%> onclick="webform.WebOffice.WebDialogs(129);"><br>
<!--</asp:Panel> -->
</span>
</td>
<td width=100% height=100% >
<table border=0 cellspacing='0' cellpadding='0' width='100%' height='100%' >
<tr>
<td bgcolor=menu >
<object classid="clsid:3010A4BD-B471-4146-95D8-4927D5C5C79F" id="WebOffice" name="WebOffice" codebase="../FairyWebOfficeOcx.ocx" width="100%" height="100%" VIEWASTEXT>
<param name="Visible" value="0">
<param name="AutoScroll" value="0">
<param name="AutoSize" value="0">
<param name="AxBorderStyle" value="1">
<param name="Caption" value="WebOffice">
<param name="Color" value="2147483663">
<param name="Font" value="MS Sans Serif">
<param name="KeyPreview" value="0">
<param name="PixelsPerInch" value="96">
<param name="PrintScale" value="1">
<param name="Scaled" value="-1">
<param name="DropTarget" value="0">
<param name="HelpFile" value>
<param name="DoubleBuffered" value="0">
<param name="Enabled" value="-1">
<param name="Cursor" value="0">
<param name="HelpType" value="1">
<param name="HelpKeyword" value>
<param name="ServerPath" value>
<param name="RecordID" value>
<param name="Template" value>
<param name="FileName" value>
<param name="FileType" value>
<param name="EditType" value="0">
<param name="UserName" value>
<param name="Model" value="0">
</object>
</td>
</tr>
<tr>
<td bgcolor=menu height='20'>
<div id=StatusBar>状态栏</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table class="tableframe" cellpadding="0" cellspacing="0" width="100%" border="0" align=left>
<tr align=left>
<td>
<TABLE cellSpacing="0" cellPadding="0" width="58" align="right" border="0" align=left>
<TBODY>
<TR align=left>
<TD width="5"><IMG height="21" src="../images/button_left.gif" width="5" border="0"></TD>
<TD class="button" noWrap background="../images/button_bg.gif"><a href="#" onclick ="OpenFind('../stream/changeusers.aspx?DocumentID=<% =PdocumentID%>')">选下一个处理人</a></TD>
<TD width="14"><IMG height="21" src="../images/button_right.gif" width="5" border="0"></TD>
<TD width="5"><IMG height="21" src="../images/button_left.gif" width="5" border="0"></TD>
<TD class="button" style="WIDTH: 80px" noWrap background="../images/button_bg.gif"><a href=# onclick="OpenFind('../desktop/StreamDetail.aspx?DocumentID=<% =PdocumentID%>')">查看流程信息</a></TD>
<TD width="14"><IMG height="21" src="../images/button_right.gif" width="5" border="0"></TD>
</TR>
</TBODY>
</TABLE>
</td>
</tr>
<tr>
<td>
<table id="TableIdea" border="1" cellspacing='0' cellpadding='0' width="100%" align="center"
class="tableframe">
<tr width="100%">
<td colspan="5" bgcolor="#fafad2" width="100%"><STRONG> 公文处理意见</STRONG></td>
</tr>
<% =Lbl_Content %>
</table>
</td>
</tr>
<tr>
<td vAlign="top" width="100%">
<TABLE id="Table1" cellSpacing="0" cellPadding="0" width="100%" border="0">
<tr>
<td>
私章密码:
</td>
<td>
<input id=signpass type=password name=signpass>
</td>
</tr>
<TR>
<td>
处理类型:
</td>
<TD >
<div >
<input type=radio name =ifagree checked value="同意">同意
<input type=radio name =ifagree value="退回">退回
常用语句<select id =normalcontent onchange =_change()>
<% =normalcontent%>
</select>
</div>
</TD>
</TR>
<TR>
<TD width="10%" align=left><FONT face="宋体">意 见:</FONT></TD>
<TD width="90%"><FONT face="宋体">
<textarea id =ider name=ider style="width:70%;hight:500px" rows=5> </textarea>
</FONT></TD>
</TR>
<TR>
<TD ></TD>
<TD ></TD>
</TR>
<TR>
<TD colSpan="2" align=center>
<input type=button value="隐藏工具栏" id="hiddenjob" class =input onclick =changeTable()>
<input type =submit class =input value=' 提交 '>
<% =displayTransfer%>
</TD>
</TR>
<tr >
<td colSpan="2">
<div align="right"><a href="#" onclick="javascript:history.back()"><img src="../images/back1.gif" border="0"></a> </div>
</td>
</tr>
</TABLE>
</td>
</tr>
</table>
<input type=hidden name ="documentid" value =<% =PdocumentID%>><input type=hidden id="CuenceNodeId" name ="CuenceNodeId" value =<% =PCuenceNodeId%>>
<input type=hidden id="title" name ="title" value =<% =PTitle%>>
<div id="menu" style=" position:absolute;visibility:hidden;top:114px;left:8px;width:100%; height::20px; background-color::red">
<table id=table1 border="=0" cellpadding="0"; cellspacing="0">
<tr>
<td>
</td>
</tr>
<tr>
<td>
</td>
</tr>
</table>
<iframe src="javascript:false" style="position::absolute; visibility:inherit;top:0px;left:8px;width:100%;height:20px; z-index:-1; filter='progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)';">
</iframe>
</div>
</FORM>
</body>
</HTML>
<script language=javascript >
function changeTable()
{
if (webform.hiddenjob.value =="隐藏工具栏")
{
hiddeltd.style.display ='none';
pftd.width =1;
webform.hiddenjob.value ="显示工具栏";
}
else
{
hiddeltd.style.display ='';
pftd.width =55;
webform.hiddenjob.value ="隐藏工具栏";
}
}
function getTitle()
{
WebSaveLocal();
var p= window.location.href='../PersonSend/AddEdit.aspx?id=-1&title='+fucktitle.innerText;
}
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -