| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
- <%
- String path = request.getContextPath();
- String basePath = path+"/";
- String instanceId=request.getParameter("id");
- %>
- <!doctype html>
- <html>
- <head>
- <title>SinoWorkFlow</title>
- <meta http-equiv="content-type" content="text/html; charset=utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <link rel="stylesheet" href="<%=basePath%>player/js/bootstrap-3.3.7-dist/css/bootstrap.min.css">
- <link rel="stylesheet" href="<%=basePath%>player/css/font-awesome/css/font-awesome.min.css">
- <link rel="stylesheet" href="<%=basePath%>player/css/app.v2.css">
- <link rel="stylesheet" href="<%=basePath%>player/css/extjs.css">
- <link rel="stylesheet" href="<%=basePath%>player/js/toastr/toastr.min.css">
- </head>
- <body>
- <div class="text-small padder" style="border-bottom: 1px rgb(209, 212, 215);height: calc(100% - 110px);">
- <!-- <div class="block clearfix" style="margin-bottom:0px;width: 100%;overflow: hidden;">-->
- <!-- <div class="doc-buttons pull-right inline">-->
- <!-- <a class="btn btn-white btn-sm" onclick="showPlay1()" style="cursor:pointer;"><i class="fa fa-play-circle"></i> PLAY1</a>-->
- <!-- <a class="btn btn-white btn-sm" onclick="showPlay2()" style="cursor:pointer;"><i class="fa fa-play-circle-o"></i> PLAY2</a>-->
- <!-- </div>-->
- <!-- </div>-->
- <div class="text-small" style="width:90%;height:450px;border:solid 1px rgb(209, 212, 215);">
- <iframe id="bpmnPlay" src="<%= basePath%>player/design/play.jsp?id=<%= instanceId%>" style="border: none;width:100%;height:100%;" ></iframe>
- </div>
- <!-- <div class="text-small" style="width:100%;height:500px;border:solid 1px rgb(209, 212, 215);">-->
- <!-- <iframe id="listFrame" src="<%= basePath%>jsp/framework/blank_todolist_detail2.jsp?pid=<%= instanceId%>" style="border: none;width:100%;height:100%;" ></iframe>-->
- <!-- </div>-->
- <br>
- <div class="block clearfix" style="margin-bottom:0px;width: 90%;overflow: hidden;">
- <div class="doc-buttons pull-right inline">
- <a class="btn btn-white btn-sm" id="index" onclick="changeContent(this)" style="cursor:pointer;"><i class="fa fa-play-circle"></i> 流程管理</a>
- </div>
-
-
- </div>
- </body>
- <script type="text/javascript">
- window.name = "dialogPage";
- var basePath='<%=basePath%>';
- var instanceId='<%=instanceId%>';
- function showPlay1(){
- var url = basePath+'player/design/play.jsp?id=' + instanceId;
- $('#bpmnPlay').attr("src",url);
- }
-
- function showPlay2(){
- var url = basePath+'player/design/play2.jsp?id=' + instanceId;
- $('#bpmnPlay').attr("src",url);
- }
-
- //页面切换
- function changeContent(type){
- var contextPath=basePath;
- var url=contextPath+'/player/index.jsp';
- if(type.id === 'lcmb'){
- url=contextPath+'/player/page/lcmb.jsp';
- }else if(type.id === 'lcdy'){
- url=contextPath+'/player/page/lcdy.jsp';
- }else if(type.id === 'lcsl'){
- url=contextPath+'/player/page/lcsl.jsp';
- }
-
- if(window.showModalDialog == undefined){
- $('#mainContent').attr("src",url);
- CFW.oWin.fnDivOpen('myWindowNvl');
- }else{
- var position = "resizable:1;status:0;help:0;scroll:1;center:1;dialogWidth:1250px;dialogHeight:700px";
- //window.showModalDialog(url,window,position);
- window.open(url,"dialogPage",position);
- //window.open(url);
- }
- }
- </script>
- <script src="<%=basePath%>player/js/jquery/dist/jquery.min.js"></script>
- <script src="<%=basePath %>player/design/bpmn/play/bpmn-viewer.min.js"></script>
- <script src="<%=basePath %>player/design/bpmn/play/play.js"></script>
- </html>
|