You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

203 lines
6.7 KiB
Plaintext

<!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>
<title>加签回复</title>
<link href="../Scripts/bootstrap/css/bootstrap.css" rel="stylesheet" />
<link href="../Scripts/bootstrap/css/components-rounded.css" rel="stylesheet" />
<link href="../Scripts/bootstrap/css/font-awesome.css" rel="stylesheet" />
<link href="../Scripts/bootstrap/css/themes/default/style.min.css" rel="stylesheet" />
<script type="text/javascript" src="../Scripts/QueryString.js"></script>
<script type="text/javascript" src="../Scripts/QueryString.js"></script>
<script type="text/javascript" src="../Scripts/bootstrap/js/jquery.min.js"></script>
<script type="text/javascript" src="../Scripts/bootstrap/js/jquery.cokie.min.js"></script>
<script type="text/javascript" src="../Scripts/bootstrap/js/bootstrap.min.js"></script>
<link href="../../DataUser/Style/Table0.css" rel="Stylesheet" />
<!-- 导入配置文件. -->
<script type="text/javascript" src="../Scripts/config.js"></script>
<script type="text/javascript" src="../Comm/Gener.js"></script>
<style type="text/css">
body
{
background: transparent;
}
body div
{
text-align: left;
}
#Message
{
width: 100%;
}
#SelectEmp
{
position: relative;
width: 400px;
border-top: 0;
display: none;
margin-top: -7px; /*border: solid 2px #3175af;*/
}
.item
{
padding: 3px 5px;
cursor: pointer;
float: left;
width: 190px;
line-height: 20px;
display: inline-block;
background-color: #F7F7F7;
}
#next
{
float: left;
position: relative;
width: 600px;
}
.addbg
{
background: #CFCFCF;
}
</style>
<script type="text/javascript">
var param = {};
$(function () {
Help();
//初始化页面移交页面
param = {
FK_Node: GetQueryString('FK_Node'),
WorkID: GetQueryString('WorkID'),
FID: GetQueryString('FID'),
Message: GetQueryString('Info'),
FK_Flow: GetQueryString("FK_Flow")
};
$('#Msg').val(param.Message);
//初始化人员选择窗口
var selectEmpModalHtml = '<div class="modal fade" id="selectEmpsModal">' +
'<div class="modal-dialog">'
+ '<div class="modal-content" style="border-radius:0px;width:700px;">'
+ '<div class="modal-header">'
+ '<button type="button" class="close" style="color:white;opacity:1;" data-dismiss="modal" aria-hidden="true">&times;</button>'
+ '<h4 class="modal-title">选择加签人</h4>'
+ '</div>'
+ '<div class="modal-body">'
+ '<iframe style="width:100%;border:0px;height:400px;" id="iframeSelectEmpsForm" name="iframeSelectEmpsForm"></iframe>'
+ '</div>'
+ '</div><!-- /.modal-content -->'
+ '</div><!-- /.modal-dialog -->'
+ '</div>';
$('body').append($(selectEmpModalHtml));
var dept = getQueryStringByNameFromUrl("?" + $.cookie('CCS'), "FK_Dept");
if (dept == null || dept == '' || dept == undefined) {
dept = $.cookie('FK_Dept');
}
if (dept == undefined) {
var u = new WebUser();
dept = u.FK_Dept;
}
var url = "SelectEmps.htm?FK_Dept=" + dept + "&FK_Node=" + GetQueryString("FK_Node") + "&s=" + Math.random();
// url = url.replace('101', '10102');
url = url.replace('=101&', '=10102&');
$('#iframeSelectEmpsForm').attr('src', url);
$('#Btn_SelectEmps').bind('click', function () { $('#selectEmpsModal').modal().show(); });
//$("section").show();
$(".Msg").hide();
//执行数据初始化工作.
var hand = new HttpHandler("BP.WF.HttpHandler.WF_WorkOpt");
hand.AddUrlData();
var data = hand.DoMethodReturnString("HuiQian_Init");
if (data.indexOf('err@') == 0) {
alert(data);
return;
}
var gwls = JSON.parse(data);
});
//确定后,就弹出选择到达节点,选择接受人,填写审核意见窗口.
function SaveAndClose() {
var note = $("#TB_Tag2").val();
$("#Btn_JiaQianRe").attr("disabled", "disabled");
$("#Btn_SelectEmps").attr("disabled", "disabled");
//执行数据初始化工作.
var handler = new HttpHandler("BP.WF.HttpHandler.WF_WorkOpt");
handler.AddUrlData();
handler.AddPara("Note", note);
var data = handler.DoMethodReturnString("AskForRe");
if (data.indexOf('err@') == 0) {
alert(data);
$("#Btn_JiaQianRe").attr("disabled", "");
return;
}
if (data.indexOf('url@') == 0) {
data = data.replace('url@./WorkOpt/', './');
SetHref(data);
return;
}
alert(data);
window.parent.close();
return;
}
function Help() {
$("#HelpInfo").toggle();
}
</script>
</head>
<body >
<div style="width: 98%;margin-left:20px">
<br />
<div>
<div id="labInfo">
<div class="Msg" style="text-align: left; display:none;"> <img src='../Img/loading.gif' alt="" /></div>
<div id="Div1">
<th colspan="2">
加签回复:
</th>
<tr>
<td colspan="2">
<textarea id="TB_Tag2" name="TB_Tag2" style="width: 98%; " rows="4">
</textarea>
</td>
</tr>
</div>
<div id="next">
<input type="button" id="Btn_JiaQianRe" value="提交" onclick="SaveAndClose();" />
</div>
</div>
<!--<div class="Msg" style="float: left;">
<img src='../Img/loading.gif' alt="" />页面数据正在加载中,请稍候......</div>
</div>-->
<br />
</div>
</body>
</html>