You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
703 lines
30 KiB
703 lines
30 KiB
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="JFWEdit.aspx.cs" Inherits="office_workflow_OAjfw_JFWEdit" %>
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" >
|
|
<head id="Head1" runat="server">
|
|
<title>您现在正在办理的工作是:<%=dtPro.Rows[0]["processName"].ToString()%></title>
|
|
<script type="text/javascript" src="../../../js/fullscreen.js"></script>
|
|
|
|
<script src="../../../js/HebcaClient.js" type="text/javascript"></script>
|
|
<link href="../../../css/layout.css" rel="stylesheet" type="text/css" />
|
|
<link href="../../../css/columns.css" rel="stylesheet" type="text/css" />
|
|
<script src="../../../js/ChooseUser.js" type="text/javascript"></script>
|
|
<script language="javascript" src="../../../js/control.js" type="text/javascript"></script>
|
|
<script language="javascript" src="../../../js/jquery-1.3.2-vsdoc2.js"></script>
|
|
<link href="../../../css/css.css" rel="stylesheet" type="text/css" />
|
|
<script type="text/javascript" language="javascript">
|
|
function T()
|
|
{
|
|
document.getElementById('ceng').style.display='none';
|
|
document.getElementById('close').style.display='none';
|
|
var cslb="";
|
|
var radios=document.getElementsByName("users");
|
|
for(var i=0;i<radios.length;i++){
|
|
if(radios[i].checked==true){
|
|
document.getElementById("selectUser").value=radios[i].value;
|
|
document.getElementById("hh").value=radios[i].id;
|
|
}
|
|
}
|
|
|
|
}
|
|
function Pub()
|
|
{
|
|
document.getElementById("change").value="1";
|
|
}
|
|
// function Pub1()
|
|
// {
|
|
// document.getElementById("change1").value="1";
|
|
// }
|
|
</script>
|
|
|
|
<script type="text/javascript" language="javascript">
|
|
function GetId()
|
|
{
|
|
document.getElementById("selectUser").value="";
|
|
var radios = document.getElementsByName("radiobutton");
|
|
for (var i = 0; i < radios.length; i++) {
|
|
if (radios[i].checked == true) {
|
|
document.getElementById("HiddenField4").value = radios[i].id;
|
|
document.getElementById("hiddenradio").value = radios[i].value;
|
|
$.ajax({
|
|
type:"post",
|
|
url:"../GetActionPerson.ashx",
|
|
data:{name:document.getElementById("HiddenField4").value,shili:document.getElementById("HiddenFieldShiLi").value},
|
|
dataType:'text',
|
|
success: function(msg)
|
|
{
|
|
if(msg.length>2){
|
|
var a=msg.split(",");
|
|
if(a[0]=="1")
|
|
{
|
|
document.getElementById("btnSelect").style.display="none";
|
|
}
|
|
else
|
|
{
|
|
document.getElementById("btnSelect").style.display="block";
|
|
}
|
|
document.getElementById("hh").value=a[1];
|
|
document.getElementById("selectUser").value=a[2];
|
|
}
|
|
// else
|
|
// {
|
|
// document.getElementById("selectUser").value="";
|
|
// }
|
|
},
|
|
error: function()
|
|
{
|
|
// alert("默认审核人未能自动获取,请点击“选择用户”");
|
|
}
|
|
});
|
|
}
|
|
}
|
|
|
|
}
|
|
</script>
|
|
|
|
|
|
<script type="text/javascript" language="javascript">
|
|
function Fload()
|
|
{
|
|
document.getElementById('iDBody1').style.display = "";
|
|
document.getElementById('iDBody2').style.display = "none";
|
|
document.getElementById('iDBody3').style.display = "none";
|
|
document.getElementById('iDBody4').style.display = "none";
|
|
document.getElementById('iDBody5').style.display = "";
|
|
document.getElementById('topdiv').style.display = "";
|
|
document.getElementById('divtext').style.display = "";
|
|
}
|
|
|
|
var iBStatus="0";
|
|
$(function() {
|
|
document.getElementById("iUpload").src = "../UploadFile.aspx?filesID=" + document.getElementById("txthide").value;
|
|
|
|
//上传《公平竞争自查、审查表》
|
|
document.getElementById("iUploadgpjzsc").src = "UploadFile.aspx?filesID=" + document.getElementById("txthide").value + "&ordel=1";
|
|
//选择是否涉及下拉框时,是否显示“下载模板”和上传自查、审查表的附件
|
|
$("#ddlaboutmark").change(function() {
|
|
|
|
if ($("#ddlaboutmark").val() == "涉及") {
|
|
$("#gpjzsc").css("display", "");
|
|
$("#uptabletr").css("display", "");
|
|
|
|
}
|
|
else {
|
|
|
|
$("#gpjzsc").css("display", "none");
|
|
$("#uptabletr").css("display", "none");
|
|
|
|
}
|
|
|
|
});
|
|
|
|
//页面加载时判断是否显示“下载模板”和上传自查、审查表的附件
|
|
if ($("#ddlaboutmark").val() == "涉及") {
|
|
$("#gpjzsc").css("display", "");
|
|
$("#uptabletr").css("display", "");
|
|
|
|
}
|
|
else {
|
|
|
|
$("#gpjzsc").css("display", "none");
|
|
$("#uptabletr").css("display", "none");
|
|
}
|
|
|
|
|
|
|
|
$("#docedit").click(function() {
|
|
if (document.getElementById("change").value != "1") {
|
|
alert("请选择信息公开类别!");
|
|
return;
|
|
}
|
|
if (document.getElementById("ddlaboutmark").value == "请选择") {
|
|
|
|
alert("请选择是否涉及市场主体经济活动!");
|
|
return;
|
|
}
|
|
|
|
// if(document.getElementById("change1").value!="1")
|
|
// {
|
|
// alert("请选择是否纳入体系文件!");
|
|
// return;
|
|
// }
|
|
$("#iDBody1").hide();
|
|
if (iBStatus == "1") {
|
|
CopyTextToBookMark();
|
|
}
|
|
$("#iDBody2").show();
|
|
$("#iDBody3").hide();
|
|
$("#iDBody4").hide();
|
|
$("#iDBody5").show();
|
|
// setparent("true");
|
|
|
|
});
|
|
$("#returnMenu").click(function() {
|
|
$("#iDBody2").hide();
|
|
$("#iDBody1").show();
|
|
$("#iDBody3").hide();
|
|
$("#iDBody4").hide();
|
|
$("#iDBody5").show();
|
|
//switchBar("true");
|
|
// setparent("false");
|
|
});
|
|
$("#fujian").click(function() {
|
|
if (document.getElementById("change").value != "1") {
|
|
alert("请选择信息公开类别!");
|
|
return;
|
|
}
|
|
if (document.getElementById("ddlaboutmark").value == "请选择") {
|
|
|
|
alert("请选择是否涉及市场主体经济活动!");
|
|
return;
|
|
}
|
|
if ($("#ddlaboutmark").val() == "涉及" && $("#iUploadgpjzsc").contents().find("#dlAcc").html() == null) {
|
|
alert("涉及市场主体经济活动时,请上传《公平竞争自查、审查表》!")
|
|
return;
|
|
}
|
|
// if(document.getElementById("change1").value!="1")
|
|
// {
|
|
// alert("请选择是否纳入体系文件!");
|
|
// return;
|
|
// }
|
|
$("#iDBody2").hide();
|
|
$("#iDBody1").hide();
|
|
$("#iDBody3").show();
|
|
$("#iDBody4").hide();
|
|
$("#iDBody5").show();
|
|
//switchBar("true");
|
|
// setparent("false");
|
|
});
|
|
$("#Btijiao").click(function() {
|
|
|
|
if (document.getElementById("TxtZCJG").value == "") {
|
|
alert("主送机关不能为空!");
|
|
$("#iDBody2").hide();
|
|
$("#iDBody1").show();
|
|
$("#iDBody3").hide();
|
|
$("#iDBody4").hide();
|
|
$("#iDBody5").show();
|
|
// setparent("false");
|
|
} else if (document.getElementById("change").value != "1") {
|
|
alert("请选择信息公开类别!");
|
|
return;
|
|
} else if (document.getElementById("ddlaboutmark").value == "请选择") {
|
|
|
|
alert("请选择是否涉及市场主体经济活动!");
|
|
return;
|
|
}
|
|
else if ($("#ddlaboutmark").val() == "涉及" && $("#iUploadgpjzsc").contents().find("#dlAcc").html() == null) {
|
|
alert("涉及市场主体经济活动时,请上传《公平竞争自查、审查表》!")
|
|
return;
|
|
}
|
|
// else if(document.getElementById("change1").value!="1")
|
|
// {
|
|
// alert("请选择是否纳入体系文件!");
|
|
// return;
|
|
// }
|
|
else {
|
|
if (iBStatus == "1") {
|
|
SoaSave();
|
|
$("#iDBody2").hide();
|
|
$("#iDBody1").hide();
|
|
$("#iDBody3").hide();
|
|
$("#iDBody4").show();
|
|
$("#iDBody5").hide();
|
|
$("#topdiv").hide();
|
|
$("#divtext").hide();
|
|
// setparent("false");
|
|
}
|
|
else {
|
|
alert("您还未编辑正文,编辑正文后才可以提交!");
|
|
iBStatus = "1";
|
|
$("#iDBody1").hide();
|
|
if (iBStatus == "1") {
|
|
CopyTextToBookMark();
|
|
}
|
|
$("#iDBody2").show();
|
|
$("#iDBody3").hide();
|
|
$("#iDBody4").hide();
|
|
$("#iDBody5").show();
|
|
// setparent("true");
|
|
|
|
|
|
}
|
|
}
|
|
});
|
|
$("#toBack").click(function() {
|
|
$("#iDBody2").hide();
|
|
$("#iDBody1").show();
|
|
$("#iDBody3").hide();
|
|
$("#iDBody4").hide();
|
|
$("#iDBody5").show();
|
|
$("#topdiv").show();
|
|
$("#divtext").show();
|
|
//switchBar("true");
|
|
// setparent("false");
|
|
});
|
|
});
|
|
|
|
function CopyTextToBookMark()
|
|
{
|
|
try
|
|
{
|
|
|
|
BookMarkReplace();
|
|
}
|
|
catch(err){
|
|
// alert(err);
|
|
}
|
|
finally{
|
|
}
|
|
}
|
|
|
|
function SetWinHeight(obj)
|
|
{
|
|
var win=obj;
|
|
if (document.getElementById)
|
|
{
|
|
if (win && !window.opera)
|
|
{
|
|
if (win.contentDocument && win.contentDocument.body.offsetHeight)
|
|
win.height = win.contentDocument.body.offsetHeight;
|
|
else if(win.Document && win.Document.body.scrollHeight)
|
|
win.height = win.Document.body.scrollHeight;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function SoaSave()
|
|
{
|
|
document.getElementById("selectJJCD").value = document.getElementById("DrpJJCD").value;
|
|
document.getElementById("selectOrPublic").value = document.getElementById("DrpOrPublic").value;
|
|
document.getElementById("selectAboutMark").value = document.getElementById("ddlaboutmark").value;
|
|
document.getElementById("txtFileCode").value=document.getElementById("txthide").value;
|
|
// document.getElementById("DropTX").value=document.getElementById("DropType").value;
|
|
if(iBStatus=="1")
|
|
document.getElementById("SOAOfficeCtrl").WebSave();
|
|
|
|
}
|
|
</script>
|
|
<script type="text/javascript" language="javascript">
|
|
|
|
//签名
|
|
function DoSignature() {
|
|
doSignature("ObjWebSealCtrl2", "<%=caName %>", "<%=signatureid %>", "<%=documentid %>");
|
|
}
|
|
//提交检查
|
|
function SubmitCheck() {
|
|
|
|
|
|
return submitCheck('<%=isqzbool %>', "ObjWebSealCtrl2");
|
|
}
|
|
</script>
|
|
|
|
</head>
|
|
<body style="padding:2px;" onload="verifyAndShowSeal('<%=documentid %>','../');">
|
|
<form id="DocForm" runat="server" >
|
|
<div class="workflowhere">
|
|
您现在正在办理的工作是:<%=dtPro.Rows[0]["processName"].ToString()%>
|
|
</div>
|
|
<div class="workflowright" >
|
|
<div id="topdiv" class="linktitle">
|
|
<a id="returnMenu" style=" text-decoration :underline; cursor:pointer;">1)审核单</a>
|
|
<a id="docedit" style=" text-decoration:underline;cursor:pointer;">2)编辑正文</a>
|
|
<a id="fujian" style="text-decoration:underline;cursor:pointer;display:none;">3)上传非编辑型附件 </a></div>
|
|
<div id="iDBody1" align="center" >
|
|
<div id="divtext" class="workflowtitle">
|
|
<span style="color:Red;">注:请填写表单中带*的项后,点击“编辑正文”</span>
|
|
</div>
|
|
<asp:HiddenField ID="HiddenFieldShiLi" runat="server" />
|
|
<asp:HiddenField ID="HiddenFieldLiuCheng" runat="server" />
|
|
<asp:HiddenField ID="HiddenFieldUserName" runat="server" />
|
|
<asp:HiddenField ID="docHead" runat="server" />
|
|
<asp:HiddenField ID="change" runat="server" />
|
|
<%--<asp:HiddenField ID="change1" runat="server" />--%>
|
|
<input type='hidden' name='archivesSealResult' id='archivesSealResult' value="" />
|
|
<table class="messagetable">
|
|
<tr>
|
|
<td class="messagetable_td_right">
|
|
文件标题:</td>
|
|
<td colspan="3" class="messagetable_td_body">
|
|
<asp:TextBox ID="TxtTitle" runat="server" Width="90%"></asp:TextBox> <asp:TextBox ID="txthide" runat="server" Width="50px" style="display:none">
|
|
</asp:TextBox></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="messagetable_td_right">
|
|
起草处室:</td>
|
|
<td class="messagetable_td_body">
|
|
<asp:TextBox ID="TxtFilesDraftOffice" runat="server" Width="201px"
|
|
BackColor="#C0C0C0" ReadOnly="True"></asp:TextBox></td>
|
|
<td class="messagetable_td_right">
|
|
起 草 人:</td>
|
|
<td class="messagetable_td_body">
|
|
<asp:TextBox ID="TxtFilesDraftPerson" runat="server" Width="201px"
|
|
BackColor="#C0C0C0" ReadOnly="True"></asp:TextBox></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="messagetable_td_right">
|
|
签 发 人:</td>
|
|
<td class="messagetable_td_body">
|
|
<asp:TextBox ID="TxtFilesIssuePerson" runat="server" Width="201px" BackColor="#C0C0C0" Enabled="False"></asp:TextBox></td>
|
|
<td class="messagetable_td_right">
|
|
签发日期: </td>
|
|
<td class="messagetable_td_body">
|
|
<asp:TextBox ID="TxtilesIssueTime" runat="server" Width="201px"
|
|
BackColor="#C0C0C0" Enabled="False"></asp:TextBox></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="messagetable_td_right">
|
|
主 题 词:</td>
|
|
<td colspan="3" class="messagetable_td_body">
|
|
<asp:TextBox ID="TxtZTC" runat="server" Width="383px"></asp:TextBox></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="messagetable_td_right">
|
|
主送机关:</td>
|
|
<td colspan="3" class="messagetable_td_body">
|
|
<asp:TextBox ID="TxtZCJG" runat="server" Width="383px"></asp:TextBox>
|
|
<span style="color:Red;">*</span>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="messagetable_td_right">
|
|
抄送机关:</td>
|
|
<td colspan="3" class="messagetable_td_body">
|
|
<asp:TextBox ID="TxtCSJG" runat="server" Width="383px"></asp:TextBox></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="messagetable_td_right">
|
|
密 级:</td>
|
|
<td class="messagetable_td_body">
|
|
<asp:TextBox ID="TxtMJ" runat="server" Width="201px"
|
|
ReadOnly="True" ForeColor="Red">非密</asp:TextBox></td>
|
|
<td class="messagetable_td_right">
|
|
紧急程度:</td>
|
|
<td class="messagetable_td_body">
|
|
<asp:DropDownList ID="DrpJJCD" runat="server">
|
|
<asp:ListItem Value="一般">一般</asp:ListItem>
|
|
<asp:ListItem Value="紧急"></asp:ListItem>
|
|
|
|
</asp:DropDownList><input type="hidden" name="selectJJCD" id="selectJJCD" value="" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="messagetable_td_right">
|
|
文件编号:</td>
|
|
<td class="messagetable_td_body">
|
|
<asp:TextBox ID="TxtFileNum" runat="server" Width="201px" BackColor="#C0C0C0" Enabled="False"></asp:TextBox>
|
|
<input type="hidden" name="selectDllFileNum" id="selectDllFileNum" value=""/>
|
|
<input type="hidden" name="txtFileCode" id="txtFileCode" value="" /></td>
|
|
<td class="messagetable_td_right">
|
|
印 数:</td>
|
|
<td class="messagetable_td_body">
|
|
<asp:TextBox ID="TxtPageNum" runat="server" Width="201px"></asp:TextBox></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="messagetable_td_right">
|
|
信息公开类别:</td>
|
|
<td class="messagetable_td_body">
|
|
<asp:DropDownList ID="DrpOrPublic" runat="server" onclick="Pub()">
|
|
<asp:ListItem>主动公开</asp:ListItem>
|
|
<asp:ListItem>依申请公开</asp:ListItem>
|
|
<asp:ListItem>不予公开</asp:ListItem>
|
|
</asp:DropDownList><span style="color:Red;">*</span>
|
|
<input type="hidden" name="selectOrPublic" id="selectOrPublic" value="" /></td>
|
|
|
|
<td class="messagetable_td_right">
|
|
是否涉及市场主体经济活动:</td>
|
|
<td class="messagetable_td_body">
|
|
<asp:DropDownList ID="ddlaboutmark" runat="server">
|
|
<asp:ListItem>请选择</asp:ListItem>
|
|
<asp:ListItem>不涉及</asp:ListItem>
|
|
<asp:ListItem>涉及</asp:ListItem>
|
|
</asp:DropDownList><span style="color:Red;">*</span>
|
|
<a id="gpjzsc" style="text-decoration: underline; cursor: pointer; display:none;" href="template\gpjzsc.doc" target="_blank">下载《公平竞争自查、审查表》模板</a>
|
|
<input type="hidden" name="selectAboutMark" id="selectAboutMark" value="" /></td>
|
|
</tr>
|
|
<tr id="uptabletr" runat="server" style="display:none;">
|
|
<td colspan="4">
|
|
<div id="iDBody31" runat="server">
|
|
<iframe name="iUploadgpjzsc" id="iUploadgpjzsc" frameborder="0" style="border: 0; height: 80px;width: 100%"></iframe>
|
|
</div>
|
|
</td></tr>
|
|
</table>
|
|
</div>
|
|
<div id="iDBody2" style="display:none;">
|
|
<div class="soaoffice">
|
|
<TABLE>
|
|
<TBODY>
|
|
<TR vAlign="top">
|
|
<TD height="100%">
|
|
<table class="soatable">
|
|
<tr>
|
|
<td><A href="javascript:jsSave();">保存文件</A></td>
|
|
</tr>
|
|
<tr>
|
|
<td><A href="javascript:saveLocal();">保存本地</A></td>
|
|
</tr>
|
|
<tr>
|
|
<td><A href="javascript:jsDocPageSetup();">页面设置</A></td>
|
|
</tr>
|
|
<tr>
|
|
<td><A href="javascript:jsPrintDoc();">打印文件</A></td>
|
|
</tr>
|
|
<tr>
|
|
<td><A href="javascript:jsFullScreen();">全屏显示</A></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a disabled>文件套红</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td><A href="javascript:jsStartHandDraw();">批注[<font color="#993300">绘图</font>]</A></td>
|
|
</tr>
|
|
<tr>
|
|
<td><A href="javascript:jsOpenImageDialog();">插入图片</A></td>
|
|
</tr>
|
|
<tr>
|
|
<td><A href="javascript:jsToggleTitlebar();">切换标题栏</A></td>
|
|
</tr>
|
|
<tr>
|
|
<td><A href="javascript:jsToggleMenubar();">切换菜单栏</A></td>
|
|
</tr>
|
|
<tr>
|
|
<td><A href="javascript:jsToggleToolbars();">切换工具栏</A></td>
|
|
</tr>
|
|
</table>
|
|
</TD>
|
|
<TD width="100%">
|
|
<TABLE class="soa">
|
|
<TBODY>
|
|
<TR vAlign="top" align="left">
|
|
<td height="655px">
|
|
<script language="javascript">
|
|
|
|
function SoaSaveReturn()
|
|
{
|
|
if(iBStatus=="1")
|
|
{
|
|
|
|
// document.getElementById("DropTX").value = document.getElementById("DropType").value;
|
|
document.getElementById("selectJJCD").value = document.getElementById("DrpJJCD").value;
|
|
document.getElementById("selectOrPublic").value = document.getElementById("DrpOrPublic").value;
|
|
document.getElementById("selectAboutMark").value = document.getElementById("ddlaboutmark").value;
|
|
|
|
document.getElementById("txtFileCode").value=document.getElementById("txthide").value;
|
|
document.getElementById("SOAOfficeCtrl").WebSave();
|
|
// setparent("false");
|
|
window.location.href='../Transact.aspx';
|
|
}else
|
|
{
|
|
alert("请先编辑正文!");
|
|
$("#iDBody1").hide();
|
|
$("#iDBody2").show();
|
|
$("#iDBody3").hide();
|
|
$("#iDBody4").hide();
|
|
$("#iDBody5").show();
|
|
// setparent("true");
|
|
}
|
|
|
|
|
|
}
|
|
|
|
//文档另存为Html,并发布到web服务器
|
|
function SaveAsHtml()
|
|
{
|
|
if (bDocOpen)
|
|
{
|
|
formData.SOAOfficeCtrl.WebSaveAsHtml();
|
|
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<script type="text/javascript" language="javascript">
|
|
function ShowUserDialog(){
|
|
var obj=new Object();
|
|
var userDg=window.showModalDialog("selectuser1/PubIndex.aspx",obj,"dialogHeight=600px;dialogWidth=800px;center=yes;");
|
|
document.getElementById("lblCheckedUser").value=userDg[0];
|
|
document.getElementById("selectUser").value = userDg[1];
|
|
|
|
}
|
|
</script>
|
|
|
|
<!--************** SOAOFFICE 客户端代码开始 ************************-->
|
|
<SCRIPT language="JavaScript" event="OnInit()" for="SOAOfficeCtrl">
|
|
// 控件打开文档前触发,用来初始化界面样式
|
|
</SCRIPT>
|
|
<SCRIPT language="JavaScript" event="OnDocumentOpened(str, obj)" for="SOAOfficeCtrl">
|
|
// 控件打开文档后立即触发,添加自定义菜单,自定义工具栏,禁止打印,禁止另存,禁止保存等等
|
|
bDocOpen = true;
|
|
|
|
// 添加自定义菜单
|
|
SOAOfficeCtrl.UserMenuCaption = "自定义菜单(&N)";
|
|
SOAOfficeCtrl.AppendMenuItem(1, "显示痕迹(&S)", false);
|
|
SOAOfficeCtrl.AppendMenuItem(2, "隐藏痕迹(&H)", false);
|
|
SOAOfficeCtrl.AppendMenuItem(3, "-");
|
|
SOAOfficeCtrl.AppendMenuItem(4, "显示标题(&T)");
|
|
SOAOfficeCtrl.AppendMenuItem(5, "-");
|
|
SOAOfficeCtrl.AppendMenuItem(6, "领导圈阅(&D)");
|
|
// SOAOfficeCtrl.AppendMenuItem(7, "插入印章(&I)",false);
|
|
SOAOfficeCtrl.AppendMenuItem(8, "接受所有修订(&A)", false);
|
|
SOAOfficeCtrl.AppendMenuItem(9, "-");
|
|
SOAOfficeCtrl.AppendMenuItem(10, "分层显示手写批注(&G)");
|
|
// document.all("SOAOfficeCtrl").Titlebar = false;
|
|
// TrackRevision(false);
|
|
BookMarkReplace();
|
|
//TrackRevision(true);
|
|
//修改痕迹所有者
|
|
//SetWordRevisionUser('<%= Session["UserName"].ToString() %>');
|
|
iBStatus="1";
|
|
//SOAOfficeCtrl.ShowRevisions = false;
|
|
</SCRIPT>
|
|
<SCRIPT language="JavaScript" event="OnDocumentClosed()" for="SOAOfficeCtrl">
|
|
bDocOpen = false;
|
|
</SCRIPT>
|
|
<SCRIPT language="JavaScript" event="OnUserMenuClick(index, caption)" for="SOAOfficeCtrl">
|
|
// 添加您的自定义菜单项事件响应
|
|
if(index == 1) SOAOfficeCtrl.ShowRevisions = true;
|
|
if(index == 2) SOAOfficeCtrl.ShowRevisions = false;
|
|
if(index == 4) alert("该菜单的标题是:"+caption);
|
|
if(index == 6) SOAOfficeCtrl.StartHandDraw();
|
|
if(index == 7) jsInsertSeal();
|
|
if(index == 8) SOAOfficeCtrl.AcceptAllRevisions();
|
|
if(index == 10) SOAOfficeCtrl.ShowHandDrawDispBar();
|
|
</SCRIPT>
|
|
<SCRIPT language="JavaScript" event="OnCustomToolBarClick(index, caption)" for="SOAOfficeCtrl">
|
|
// 添加您的自定义工具栏按钮事件响应
|
|
if(index == 1) {
|
|
formData.SOAOfficeCtrl.WebSave();
|
|
alert("保存成功!");
|
|
}
|
|
if(index == 3) SOAOfficeCtrl.ShowRevisions = !SOAOfficeCtrl.ShowRevisions;
|
|
if(index == 6) SOAOfficeCtrl.StartHandDraw();
|
|
if(index == 7) SOAOfficeCtrl.ShowHandDrawDispBar();
|
|
if(index == 9) SOAOfficeCtrl.FullScreen = !SOAOfficeCtrl.FullScreen;
|
|
</SCRIPT>
|
|
<!--************** SOAOFFICE 客户端代码结束 ************************-->
|
|
<script src="../../../js/soaoffice.js"></script>
|
|
</td>
|
|
</TR>
|
|
</TBODY></TABLE>
|
|
</TD>
|
|
</TR>
|
|
</TBODY></TABLE>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="iDBody3" style="display:none;">
|
|
<iframe name="iUpload" id="iUpload" frameborder="0" style="border:0;height:auto;width:100%"></iframe>
|
|
</div>
|
|
<div id="iDBody4" style="display:<%=iDBody4Display %>;">
|
|
<table class="messagetable" style="font-size:14px;">
|
|
<tr>
|
|
<td class="messagetable_td_right">当前环节:</td>
|
|
<td colspan="2" class="messagetable_td_body">起草人办理<asp:HiddenField ID="HiddenField1" runat="server" />
|
|
<asp:HiddenField ID="hiddenFieldFileName" runat="server" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="messagetable_td_right" style="width:20%">处理动作:</td>
|
|
<td class="messagetable_td_body" style="width:40%"><input id="hiddenradio" name="hiddenradio" type="hidden" value=""/>
|
|
<%for (int i = 0; i < 4; i++)
|
|
{%>
|
|
<input id="<%=dtAction.Rows[i]["actionID"].ToString() %>" type="radio" name="radiobutton" value="<%=dtAction.Rows[i]["nexNodeID"].ToString() %>" onclick="document.getElementById('show').style.display='block',GetId()"/><%=dtAction.Rows[i]["actionName"].ToString()%>
|
|
<br/>
|
|
<%} %><asp:HiddenField ID="HiddenField4" runat="server" />
|
|
|
|
</td>
|
|
<td style="width:40%">
|
|
<div id="show" style="border:0px;display:none; background-color: #FFFFFF;">
|
|
<table border="0">
|
|
<tr>
|
|
<td style="border:0px"> <input type="text" name="selectUser" style="font-size:14px;" id="selectUser" value="" readonly="readonly" /> <input type="hidden" id="hh" name="hh" value=""/></td>
|
|
<td style="border:0px"> <input type="button" id="btnSelect" onclick="user_select('hh','selectUser','','1','../../userdialog/selectuser_local/PubIndex.aspx')" value="" class="xzyh" /><asp:Label style="display:none;" runat="server" ID="lblCheckedUser" Text=""></asp:Label></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="messagetable_td_right">处理意见:</td>
|
|
<td colspan="2" class="messagetable_td_body">
|
|
<asp:TextBox ID="txtTransactMessage" name="txtTransactMessage" runat="server" Font-Size="14px" Height="105px" TextMode="MultiLine"
|
|
Width="85%"></asp:TextBox><asp:HiddenField ID="hidRecordid" runat="server" />
|
|
<input id="hidopinion" name="<%=signatureid %>" type="hidden" value="" />
|
|
</td>
|
|
</tr>
|
|
<tr style="display: <%=issignature %>">
|
|
<td class="messagetable_td_right">
|
|
签名区:
|
|
</td>
|
|
<td class="messagetable_td_body">
|
|
<object style="width:94px;height:57px" id="ObjWebSealCtrl2" classid="CLSID:AD05FC92-22B4-47D3-9D3A-A8558CBFB912"></object>
|
|
</td>
|
|
<td class="messagetable_td_body" style="text-align: left; height: 35px; vertical-align: middle;">
|
|
<input type="button" value="" class="qm" onclick="DoSignature()" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="messagetable_td_right">提醒方式:</td>
|
|
<td colspan="2" class="messagetable_td_body">
|
|
<asp:CheckBox ID="CheckBox6" runat="server" Text="及时提醒" Checked="true" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="messagetable_td_right" colspan="3">
|
|
<asp:ImageButton ID="ImageButton1" runat="server"
|
|
ImageUrl="~/images/Button/button26.gif" OnClientClick="return SubmitCheck()" onclick="ImageButton1_Click" />
|
|
|
|
<img src="../../../images/Button/button25.gif" id="toBack"/>
|
|
|
|
<asp:ImageButton ID="ImageButton2" runat="server"
|
|
ImageUrl="~/images/Button/dybd.gif" onclick="imgBtnPrint_Click" />
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div id="iDBody5" class="tablebtn" style="height:30px;">
|
|
<img id="Btijiao" src="../../../images/Button/button26.gif" />
|
|
|
|
<img src="../../../images/Button/bcbfh.gif" onClick="SoaSaveReturn();" />
|
|
|
|
<asp:ImageButton ID="imgBtnPrint" runat="server"
|
|
ImageUrl="~/images/Button/dybd.gif" OnClientClick="SoaSave();" onclick="imgBtnPrint_Click" />
|
|
|
|
</div>
|
|
</form>
|
|
</body>
|
|
</html>
|
|
|