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.

78 lines
2.2 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>
<script type="text/javascript" src="../Scripts/QueryString.js"></script>
<script type="text/javascript" src="../Scripts/jquery-1.7.2.min.js"></script>
<!-- 导入配置文件. -->
<script type="text/javascript" src="../Scripts/config.js"></script>
<script type="text/javascript" src="../Comm/Gener.js"></script>
<style type="text/css">
#TB_Doc
{
height: 132px;
width: 433px;
}
</style>
<script type="text/javascript">
var isFrameCross = GetQueryString("isFrameCross");
//确定 退回 执行退回操作
function Press() {
var msg = $("#TB_Msg").val();
if (msg == "") {
alert('请输入结束原因.');
return;
}
var btn = $("#Btn_Press");
var handler = new HttpHandler("BP.WF.HttpHandler.WF_WorkOpt");
handler.AddUrlData();
handler.AddPara("Msg", encodeURI(msg));
var data = handler.DoMethodReturnString("Press");
if (data.indexOf('err@') == 0) {
alert(data);
return;
}
alert(data);
window.close();
}
//取消退回
function Close() {
if (window.parent != null && window.parent.returnWorkWindowClose != null) {
window.parent.returnWorkWindowClose("取消");
}
}
</script>
<style type="text/css">
#TB_Msg
{
width: 97%;
}
</style>
</head>
<body>
<fieldset>
<legend>请输入结束原因 </legend>
<textarea rows="4" name="TB_Msg" id="TB_Msg" >此工作需要您请处理.... </textarea>
<br />
通知给:
<input type=text id="TB_Emps" />
</fieldset>
<input type="button" value='结束' onclick="Press();" id="Btn_Press" name="Btn_Press" />
<input type="button" value='取消'onclick="window.close();" />
</body>
</html>