懒羊羊
2023-12-04 b3e9a47f4c17c0d708398698432a109420e7d9e1
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Guns</title>
    <!-- HTML5 Shim and Respond.js IE10 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 10]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <!-- Meta -->
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
</head>
<body>
 
<div style="width:100%;" id="app">
 
    <!-- 调用流程设计器插件 -->
    <iframe name="mainFrame" id="mainFrame" frameborder="0" src="" style="margin:0 auto;width:100%;height:681px;"></iframe>
 
</div>
 
<script type="text/javascript" src="../assets/expand/plugins/jquery/jquery-3.2.1.min.js"></script>
 
<script type="text/javascript">
    function getUrlKey(name) {
        return decodeURIComponent(
            (new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(location.href) || [, ""])[1].replace(/\+/g, '%20')) || null;
    }
 
    $(function () {
 
        var curl = getUrlKey('curl');
        var modelId = getUrlKey('modelId');
 
        var src = 'modeler.html?modelId=' + modelId + '&curl=' + curl;
        $("#mainFrame").attr("src", src);
 
    });
</script>
</body>
</html>