pc.html
1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html>
<html data-scale="true" lang="zh-cmn-Hans">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" />
<script>
if (!window.Promise) {
document.writeln('<script src="/cloudstore/resource/mobile/es6-promise/3.2.2/es6-promise.min.js"' + '>' + '<' + '/' + 'script>');
}
</script>
</head>
<body>
<div id="root"></div>
<script type="text/javascript" src="/cloudstore/resource/mobile/fastclick/fastclick-1.0.6.js"></script>
<script type="text/javascript" src="/cloudstore/resource/mobile/inobounce/inobounce.min.js"></script>
<script type="text/javascript" src="/cloudstore/resource/mobile/loadjs/loadjs.min.js"></script>
<script>
document.writeln('<script src="/spa/coms/ssoConfig/config.js?v=' + new Date().getTime() + '">' + '<' + '/' + 'script>');
document.writeln('<script src="/spa/coms/ssoSDK/ssoInit.js?v=' + new Date().getTime() + '">' + '<' + '/' + 'script>');
</script>
<script>
if ('addEventListener' in document) {
document.addEventListener('DOMContentLoaded', function () {
FastClick.attach(document.body);
}, false);
}
</script>
<script>
window.em_ssoInit().then(function () {
window.sso_callApi({
url: '/api/system/appmanage/route',
params: {
type: '2'
}
}).then(function (res) {
if (res.status == '1') {
window.location.href = res.url || '/spa/portal/static4em/index.html#/main'
} else {
alert(JSON.stringify(res));
}
}).catch(function (error) {
alert(JSON.stringify(error));
})
}).catch(function (error) {
alert(JSON.stringify(error));
})
</script>
</body>
</html>