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.

63 lines
2.0 KiB
Plaintext

11 months ago
<html>
<head>
<meta charset="UTF-8">
<title>抄送:正在加载请稍候...</title>
<script type="text/javascript" src="./Scripts/bootstrap/js/jquery.min.js"></script>
<script src="./Scripts/QueryString.js" type="text/javascript"></script>
<!-- 引用通用的js文件. -->
<script type="text/javascript" src="./Scripts/config.js"></script>
<script type="text/javascript" src="./Comm/Gener.js"></script>
<script type="text/javascript" language="javascript">
//页面启动函数.
$(function () {
$("#Msg").html("<br><center><img src=./Img/loading.gif />正在加载,请稍后......</center>");
var name, value;
var str = location.href; //取得整个地址栏
var num = str.indexOf("?")
str = str.substr(num + 1); //取得所有参数 stringvar.substr(start [, length ]
var handler = new HttpHandler("BP.WF.HttpHandler.WF_MyCC");
handler.AddUrlData();
handler.AddPara("CCSta", 1);
handler.AddPara("IsReadonly", 1);
var data = handler.DoMethodReturnString("MyCC_Init");
if (data.indexOf('err@') == 0) {
$("#Msg").html("<br>" + data);
return;
}
if (data.indexOf('url@') == 0) {
data = data.replace('url@', ''); //如果返回url就直接转向.
data = data.replace('?DoType=HttpHandler', '?');
data = data.replace('&DoType=HttpHandler', '');
data = data.replace('&DoMethod=MyCC_Init', '');
data = data.replace('&HttpHandlerName=BP.WF.HttpHandler.WF_MyCC', '');
data = data.replace('?&', '?');
//如果返回url就直接转向.
SetHref(data);
return;
}
$("#Msg").html(data);
return;
});
</script>
</head>
<body>
<form id="cc">
<div id="Msg" style=""> 正在加载,请稍后。。。</div>
</form>
</body>
</html>