提交 | 用户 | 时间
|
1ac2bc
|
1 |
<!DOCTYPE html> |
懒 |
2 |
<html lang="en"> |
|
3 |
<head> |
|
4 |
<meta charset="utf-8"> |
|
5 |
<title>Guns</title> |
|
6 |
<!-- HTML5 Shim and Respond.js IE10 support of HTML5 elements and media queries --> |
|
7 |
<!-- WARNING: Respond.js doesn't work if you view the page via file:// --> |
|
8 |
<!--[if lt IE 10]> |
|
9 |
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> |
|
10 |
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> |
|
11 |
<![endif]--> |
|
12 |
<!-- Meta --> |
|
13 |
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui"> |
|
14 |
<meta http-equiv="X-UA-Compatible" content="IE=edge"/> |
|
15 |
</head> |
|
16 |
<body> |
|
17 |
|
|
18 |
<div style="width:100%;" id="app"> |
|
19 |
|
|
20 |
<!-- 调用流程设计器插件 --> |
|
21 |
<iframe name="mainFrame" id="mainFrame" frameborder="0" src="" style="margin:0 auto;width:100%;height:681px;"></iframe> |
|
22 |
|
|
23 |
</div> |
|
24 |
|
|
25 |
<script type="text/javascript" src="../assets/expand/plugins/jquery/jquery-3.2.1.min.js"></script> |
|
26 |
|
|
27 |
<script type="text/javascript"> |
|
28 |
function getUrlKey(name) { |
|
29 |
return decodeURIComponent( |
|
30 |
(new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(location.href) || [, ""])[1].replace(/\+/g, '%20')) || null; |
|
31 |
} |
|
32 |
|
|
33 |
$(function () { |
|
34 |
|
|
35 |
var curl = getUrlKey('curl'); |
|
36 |
var modelId = getUrlKey('modelId'); |
|
37 |
|
|
38 |
var src = 'modeler.html?modelId=' + modelId + '&curl=' + curl; |
|
39 |
$("#mainFrame").attr("src", src); |
|
40 |
|
|
41 |
}); |
|
42 |
</script> |
|
43 |
</body> |
|
44 |
</html> |