|
|
<html>
|
|
|
<head>
|
|
|
<meta charset="UTF-8">
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|
|
<title>驰骋工作流</title>
|
|
|
<script language="JavaScript" src="./Comm/JScript.js" type="text/javascript"></script>
|
|
|
<script type="text/javascript" src="./Scripts/bootstrap/js/jquery.min.js"></script>
|
|
|
<script src="./Scripts/QueryString.js" type="text/javascript"></script>
|
|
|
<!--多选-->
|
|
|
<link href="Scripts/bootstrap/bootstrap-select-1.12.4/css/bootstrap-select.css" rel="stylesheet" />
|
|
|
<link href="js/mui/css/mui.css" rel="stylesheet" type="text/css" />
|
|
|
<script src="js/mui/js/mui.min.js" type="text/javascript"></script>
|
|
|
<!--多选-->
|
|
|
<script src="Scripts/bootstrap/bootstrap-select-1.12.4/js/bootstrap-select.js"></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 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,就直接转向.
|
|
|
window.location.href = filterXSS(data);
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
$("#Msg").html(data);
|
|
|
return;
|
|
|
});
|
|
|
</script>
|
|
|
</head>
|
|
|
<body >
|
|
|
|
|
|
<form id="cc">
|
|
|
|
|
|
<div id="Msg" > 正在加载,请稍后。。。</div>
|
|
|
|
|
|
</form>
|
|
|
|
|
|
</body>
|
|
|
</html>
|