42 lines
1.2 KiB
Plaintext
42 lines
1.2 KiB
Plaintext
|
|
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||
|
|
<%@ page import="com.sipai.tools.SessionManager"%>
|
||
|
|
<%
|
||
|
|
SessionManager sessionManager = new SessionManager();
|
||
|
|
%>
|
||
|
|
<%String contextPath = request.getContextPath();%>
|
||
|
|
<html>
|
||
|
|
<head>
|
||
|
|
<title>流程定义</title>
|
||
|
|
<jsp:include page="/jsp/inc.jsp"></jsp:include>
|
||
|
|
|
||
|
|
<script src="<%=contextPath%>/JS/raphael-min.js" type="text/javascript"></script>
|
||
|
|
<script src="<%=contextPath%>/JS/snaker/extends/snaker.designer.select.js" type="text/javascript"></script>
|
||
|
|
<script src="<%=contextPath%>/JS/snaker/snaker.model.js" type="text/javascript"></script>
|
||
|
|
|
||
|
|
<script type="text/javascript">
|
||
|
|
$(function() {
|
||
|
|
var json="${process }";
|
||
|
|
var model;
|
||
|
|
if(json) {
|
||
|
|
model=eval("(" + json + ")");
|
||
|
|
} else {
|
||
|
|
model="";
|
||
|
|
}
|
||
|
|
$('#snakerflow').snakerflow({
|
||
|
|
basePath : ext.contextPath+"/JS/snaker/",
|
||
|
|
restore : model,
|
||
|
|
title:"工序",
|
||
|
|
modalDialogWidth:"1000",
|
||
|
|
modalDialogHeight:"600",
|
||
|
|
url:ext.contextPath + "/process/worktask/configSnakerTask.do?pid=${param.id}"
|
||
|
|
});
|
||
|
|
});
|
||
|
|
|
||
|
|
</script>
|
||
|
|
</head>
|
||
|
|
|
||
|
|
<body>
|
||
|
|
<div id="snakerflow"></div>
|
||
|
|
</body>
|
||
|
|
</html>
|