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.

61 lines
1.9 KiB
Plaintext

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<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_MyView");
handler.AddUrlData();
var data = handler.DoMethodReturnString("MyView_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=MyView_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>