OA单点图标跳转页面
This commit is contained in:
parent
05511ebb4e
commit
2693a2e346
@ -0,0 +1,39 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<link rel="stylesheet" href="./commons/css/font/iconfont.css"/>
|
||||
<link rel="stylesheet" href="./commons/css/awsui.css"/>
|
||||
<script src="./commons/js/jquery/scripts/jquery.js"></script>
|
||||
<script src="./commons/js/awsui.js"></script>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>伊利身份认证</title>
|
||||
</head>
|
||||
<body>
|
||||
<p></p>
|
||||
</body>
|
||||
<script>
|
||||
|
||||
|
||||
window.onload = function() {
|
||||
//先加载这个正在加载的这个效果
|
||||
debugger;
|
||||
$.simpleAlert('正在登录,请稍后', 'loading');
|
||||
var open_url = window.location.href;
|
||||
var code = GetQueryString("code");
|
||||
var url = open_url.substring(0,open_url.indexOf("/index_yili"));
|
||||
window.location.replace("https://bpm.yili.com:8088"+"/portal/r/or?cmd=com.actionsoft.apps.addons.xpages_home&id=a399c826-8c86-4013-8ebe-53c2810f35b8&oauthName=oauthLoginView&code="+code);
|
||||
$.simpleAlert('close');
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
function GetQueryString(name)
|
||||
{
|
||||
var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
|
||||
var r = window.location.search.substr(1).match(reg);
|
||||
if(r!=null)return unescape(r[2]); return null;
|
||||
}
|
||||
|
||||
</script>
|
||||
</html>
|
||||
Loading…
Reference in New Issue
Block a user