Commit e2a64d42 authored by Huang's avatar Huang
Browse files

no commit message

parent 0844dd86
<%@ page contentType="text/html;charset=UTF-8" %>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="author" content="http://www.jeespring.org/"/>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=8,IE=9,IE=10" />
<meta http-equiv="Expires" content="0">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Cache-Control" content="no-store">
<!-- 引入jquery插件 -->
<script src="${ctxStatic}/jquery/jquery-2.1.1.min.js" type="text/javascript"></script>
<script src="${ctxStatic}/jquery/jquery-migrate-1.1.1.min.js" type="text/javascript"></script>
<script type="text/javascript" src="${ctxStatic}/TableDnD/jquery.tablednd.js"></script>
<!-- 引入依赖的第三方插件 -->
<script src="${ctxStatic}/slimscroll/jquery.slimscroll.min.js"></script>
<script src="${ctxStatic}/jquery-validation/1.14.0/jquery.validate.min.js" type="text/javascript"></script>
<script src="${ctxStatic}/jquery-validation/1.14.0/localization/messages_zh.min.js" type="text/javascript"></script>
<link href="${ctxStatic}/jquery-jbox/2.3/Skins/Bootstrap/jbox.min.css" rel="stylesheet" />
<script src="${ctxStatic}/jquery-jbox/2.3/jquery.jBox-2.3.min.js" type="text/javascript"></script>
<script src="${ctxStatic}/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
<!--script src="${ctxStatic}/pace/pace.min.js"></script-->
<script src="${ctxStatic}/metisMenu/jquery.metisMenu.js"></script>
<link href="${ctxStatic}/iCheck/custom.css" rel="stylesheet" />
<script src="${ctxStatic}/iCheck/icheck.min.js"></script>
<script src="${ctxStatic}/iCheck/icheck-init.js"></script>
<link href="${ctxStatic}/dataTables/dataTables.bootstrap.css" rel="stylesheet" />
<script src="${ctxStatic}/dataTables/jquery.dataTables.min.js"></script>
<script src="${ctxStatic}/dataTables/dataTables.bootstrap.js"></script>
<!-- jeespring -->
<link href="${ctxStatic}/common/jeespring.css" type="text/css" rel="stylesheet" />
<script src="${ctxStatic}/common/jeespring.js" type="text/javascript"></script>
<script src="${ctxStatic}/common/fullscreen.js" type="text/javascript"></script>
<!-- jquery ui -->
<script src="${ctxStatic}/jquery-ui/jquery-ui.min.js"></script>
<!-- 引入bootstrap插件 -->
<!-- bootswatch主题效果不怎么好,停止切换,使用官网的默认版本,如果你想切换主题请访问http://bootswatch.com/下载最新版版主题,by刘高峰 -->
<!-- <link href="${ctxStatic}/bootstrap/3.3.4/css_${not empty cookie.theme.value ? cookie.theme.value : 'default'}/bootstrap.min.css" type="text/css" rel="stylesheet" />-->
<link href="${ctxStatic}/bootstrap/3.3.4/css_default/bootstrap.min.css" type="text/css" rel="stylesheet" />
<script src="${ctxStatic}/bootstrap/3.3.4/js/bootstrap.min.js" type="text/javascript"></script>
<link href="${ctxStatic}/awesome/4.4/css/font-awesome.min.css" rel="stylesheet" />
<link href="${ctxStatic}/common/css/style.css?v=3.2.0" type="text/css" rel="stylesheet" />
<!-- 引入layer插件 -->
<script src="${ctxStatic}/layer-v2.0/layer/layer.js"></script>
<script src="${ctxStatic}/layer-v2.0/layer/laydate/laydate.js"></script>
<!--引入webuploader-->
<link rel="stylesheet" type="text/css" href="${ctxStatic}/webuploader-0.1.5/webuploader.css">
<script type="text/javascript" src="${ctxStatic}/webuploader-0.1.5/webuploader.js"></script>
<!-- 引入自定义文件 -->
<script src="${ctxStatic}/common/mustache.min.js" type="text/javascript"></script>
<script src="${ctxStatic}/common/content.js" type="text/javascript"></script>
<link href="${ctxStatic}/common/css/animate.css" type="text/css" rel="stylesheet" />
<link href="${ctxStatic}/common/css/login.css" type="text/css" rel="stylesheet" />
<script type="text/javascript">var ctx = '${ctx}', ctxStatic='${ctxStatic}';</script>
<%@ page contentType="text/html;charset=UTF-8" %>
<!-- Bootstrap 3.3.7 {ctxJeeSpringStatic}-->
<link rel="stylesheet" href="/jeeSpringStatic/bower_components/bootstrap/dist/css/bootstrap.min.css">
<!-- Font Awesome -->
<link rel="stylesheet" href="/jeeSpringStatic/bower_components/font-awesome/css/font-awesome.min.css">
<!-- Ionicons -->
<link rel="stylesheet" href="/jeeSpringStatic/bower_components/Ionicons/css/ionicons.min.css">
<!-- jvectormap -->
<link rel="stylesheet" href="/jeeSpringStatic/bower_components/jvectormap/jquery-jvectormap.css">
<!-- Theme style -->
<link rel="stylesheet" href="/jeeSpringStatic/dist/css/AdminLTE.min.css">
<!-- AdminLTE Skins. Choose a skin from the css/skins
folder instead of downloading all of them to reduce the load. -->
<link rel="stylesheet" href="/jeeSpringStatic/dist/css/skins/_all-skins.min.css">
<link rel="stylesheet" href="/jeeSpringStatic/dist/css/app_iframe.css">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<!-- Google Font -->
<!--link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic"-->
<link rel="stylesheet" href="/jeeSpringStatic/plugs/iCheck/custom.css">
<link href="/jeeSpringStatic/plugs/awesome/4.4/css/font-awesome.min.css" rel="stylesheet" />
<%@ page contentType="text/html;charset=UTF-8" %>
<!-- 引入jquery插件 -->
<script src="${ctxJeeSpringStatic}/plugs/jquery/jquery-2.1.1.min.js" type="text/javascript"></script>
<script src="${ctxJeeSpringStatic}/plugs/jquery/jquery-migrate-1.1.1.min.js" type="text/javascript"></script>
<!--script src="${ctxJeeSpringStatic}/bower_components/jquery/dist/jquery.min.js"></script-->
<script src="${ctxJeeSpringStatic}/bower_components/PACE/pace.min.js"></script>
<link href="${ctxJeeSpringStatic}/bower_components/PACE/themes/blue/pace-theme-bounce.css" rel="stylesheet"/>
<script src="/jeeSpringStatic/jeeSpring.js"></script>
<!-- jQuery 3 {ctxJeeSpringStatic} -->
<script src="/jeeSpringStatic/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="/jeeSpringStatic/plugs/layer-v3.1.1/layer/layer.js"></script>
<script src="/jeeSpringStatic/plugs/jquery-toastr/2.0/toastr.min.js"></script>
<link href="/jeeSpringStatic/plugs/jquery-toastr/2.0/toastr.min.css" rel="stylesheet" type="text/css" />
<!-- 引入iCheck插件 -->
<script src="/jeeSpringStatic/plugs/iCheck/icheck.min.js"></script>
<script src="/jeeSpringStatic/plugs/iCheck/icheck-init.js"></script>
<!-- 引入My97DatePicker插件 -->
<script src="/jeeSpringStatic/plugs/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
<!-- 引入layer插件 -->
<script src="/jeeSpringStatic/plugs/layer-v3.1.1/layer/layer.js"></script>
<script src="/jeeSpringStatic/plugs/layer-v3.1.1/layer/laydate/laydate.js"></script>
<!--script src="/jeeSpringStatic/plugs/jquery-migrate-1.1.1.js" type="text/javascript"></script-->
<!-- 引入mustache插件 -->
<script src="/jeeSpringStatic/plugs/mustache/mustache.min.js" type="text/javascript"></script>
<!-- 引入jquery插件TableDnD -->
<script type="text/javascript" src="${ctxJeeSpringStatic}/plugs/TableDnD/jquery.tablednd.js"></script>
<!-- 引入jquery插件slimscroll -->
<script src="${ctxJeeSpringStatic}/plugs/slimscroll/jquery.slimscroll.min.js"></script>
<!-- 引入jquery插件validation -->
<script src="/jeeSpringStatic/plugs/jquery-validation/1.14.0/jquery.validate.min.js" type="text/javascript"></script>
<script src="/jeeSpringStatic/plugs/jquery-validation/1.14.0/localization/messages_zh.min.js" type="text/javascript"></script>
<!-- 引入jquery插件jbox -->
<link href="/jeeSpringStatic/plugs/jquery-jbox/2.3/Skins/Bootstrap/jbox.min.css" rel="stylesheet" />
<script src="/jeeSpringStatic/plugs/jquery-jbox/2.3/jquery.jBox-2.3.min.js" type="text/javascript"></script>
<!-- 引入jquery插件metisMenu -->
<script src="/jeeSpringStatic/plugs/metisMenu/jquery.metisMenu.js"></script>
<!-- 引入dataTables插件 -->
<link href="/jeeSpringStatic/plugs/dataTables/dataTables.bootstrap.css" rel="stylesheet" />
<script src="/jeeSpringStatic/plugs/dataTables/jquery.dataTables.min.js"></script>
<script src="/jeeSpringStatic/plugs/dataTables/dataTables.bootstrap.js"></script>
<!-- jquery ui -->
<script src="/jeeSpringStatic/plugs/jquery-ui/jquery-ui.min.js"></script>
<script type="text/javascript">var ctx = '${ctx}', ctxStatic='${ctxStatic}';</script>
<%@ page contentType="text/html;charset=UTF-8" %>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="author" content="http://www.jeespring.org/"/>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=8,IE=9,IE=10" />
<meta http-equiv="Expires" content="0">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Cache-Control" content="no-store">
<%@ page contentType="text/html;charset=UTF-8" %>
<c:if test="${IMEnable eq 'true'}">
<!-- 即时聊天插件 -->
<link href="${ctxStatic}/layer-v2.0/layim/layim.css" type="text/css" rel="stylesheet"/>
<script type="text/javascript">
var currentId = '${fns:getUser().loginName}';
var currentName = '${fns:getUser().name}';
var currentFace ='${fns:getUser().photo}';
var url="${ctx}";
var wsServer = 'ws://'+window.document.domain+':8668';
</script>
<script src="${ctxStatic}/layer-v2.0/layim/layer.min.js"></script>
<script src="${ctxStatic}/layer-v2.0/layim/layim.js"></script>
</c:if>
\ No newline at end of file
<c:forEach items="menus" var="menu">
<c:if test="${menu.isShow eq '1'}">
<li>
<c:choose>
<c:when test="${empty menu.href}">
<a href="#"><i class="fa fa-gear"></i> <span class="nav-label">${menu.name}</span><span class="fa arrow"></span></a>
</c:when>
<c:otherwise>
<a class="J_menuItem" href="${ctx}${menu.href}"><i class="fa fa-gear"></i> <span class="nav-label">${menu.name}</span><span class="fa arrow"></span></a>
</c:otherwise>
</c:choose>
<ul class="nav nav-second-level">
<c:set var="menus" value="${menu.children}" scope="request"/>
<%@ include file="/WEB-INF/views/include/menu.jsp"%>
</ul>
</li>
</c:if>
</c:forEach>
\ No newline at end of file
<script type="text/javascript">var $cookie='SSESSIONID=${cookie.SSESSIONID.value}';</script>
<script src="${ctxStatic}/supcan/binary/dynaload.js" type="text/javascript"></script>
<script src="${ctxStatic}/supcan/supcan.min.js" type="text/javascript"></script>
\ No newline at end of file
<%@ page contentType="text/html;charset=UTF-8" %>
<c:if test="${fn:length(page.list) eq 0}">
<img class="img-circle" src="/static/common/login/images/flat-avatar3.png">请录入相应信息!
</c:if>
\ No newline at end of file
<%@ taglib prefix="shiro" uri="/WEB-INF/tlds/shiros.tld" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fnc" uri="/WEB-INF/tlds/fnc.tld" %>
<%@ taglib prefix="fns" uri="/WEB-INF/tlds/fns.tld" %>
<%@ taglib prefix="sys" tagdir="/WEB-INF/tags/sys" %>
<%@ taglib prefix="act" tagdir="/WEB-INF/tags/act" %>
<%@ taglib prefix="cms" tagdir="/WEB-INF/tags/cms" %>
<%@ taglib prefix="table" tagdir="/WEB-INF/tags/table" %>
<%@ taglib prefix="echarts" uri="/WEB-INF/tlds/echarts.tld" %>
<%@ taglib prefix="t" uri="/menu-tags"%>
<c:set var="ctx" value="${pageContext.request.contextPath}${fns:getAdminPath()}"/>
<c:set var="ctxStatic" value="${pageContext.request.contextPath}/static"/>
<c:set var="ctxStaticViews" value="${pageContext.request.contextPath}/staticViews"/>
<c:set var="ctxJeeSpringStatic" value="${pageContext.request.contextPath}/jeeSpringStatic"/>
\ No newline at end of file
<link href="${ctxStatic}/treeTable/themes/vsStyle/treeTable.min.css" rel="stylesheet" type="text/css" />
<script src="${ctxStatic}/treeTable/jquery.treeTable.min.js" type="text/javascript"></script>
\ No newline at end of file
<link href="${ctxStatic}/jquery-ztree/3.5.12/css/zTreeStyle/metro.css" rel="stylesheet" type="text/css"/>
<script src="${ctxStatic}/jquery-ztree/3.5.12/js/jquery.ztree.all-3.5.min.js" type="text/javascript"></script>
\ No newline at end of file
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<%@ taglib prefix="sitemesh" uri="http://www.opensymphony.com/sitemesh/decorator" %>
<!DOCTYPE html>
<html style="overflow-x:auto;overflow-y:auto;">
<head>
<title><sitemesh:title/></title><!-- - Powered By JeeSpring -->
<%@include file="/webpage/include/head.jsp" %>
<!-- Baidu tongji analytics --><script>var _hmt=_hmt||[];(function(){var hm=document.createElement("script");hm.src="//hm.baidu.com/hm.js?82116c626a8d504a5c0675073362ef6f";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(hm,s);})();</script>
<sitemesh:head/>
</head>
<body>
<sitemesh:body/>
</body>
</html>
\ No newline at end of file
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<%@ taglib prefix="sitemesh" uri="http://www.opensymphony.com/sitemesh/decorator" %>
<!DOCTYPE html>
<html style="overflow-x:auto;overflow-y:auto;">
<head>
<title><sitemesh:title/> - Powered By JeeSpring</title>
<%@include file="/webpage/include/head.jsp" %>
<!-- Baidu tongji analytics --><script>var _hmt=_hmt||[];(function(){var hm=document.createElement("script");hm.src="//hm.baidu.com/hm.js?82116c626a8d504a5c0675073362ef6f";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(hm,s);})();</script>
<sitemesh:head/>
</head>
<body id="<sitemesh:getProperty property='body.id'/>" class="<sitemesh:getProperty property='body.class'/>" style="<sitemesh:getProperty property='body.style'/>">
<sitemesh:body/>
<script type="text/javascript">//<!-- 无框架时左上角显示菜单图标按钮
if(!(self.frameElement && self.frameElement.tagName=="IFRAME")){
$("body").prepend("<i id=\"btnMenu\" class=\"icon-th-list\" style=\"cursor:pointer;float:right;margin:10px;\"></i><div id=\"menuContent\"></div>");
$("#btnMenu").click(function(){
top.layer.open({
type: 2,
area:['300px','350px'],
content: 'get:${ctx}/sys/menu/treeselect;JSESSIONID=<shiro:principal property="sessionid"/>' //这里content是一个URL,如果你不想让iframe出现滚动条,你还可以content: ['http://sentsin.com', 'no']
});
//top.$.jBox('get:${ctx}/sys/menu/treeselect;JSESSIONID=<shiro:principal property="sessionid"/>', {title:'选择菜单', buttons:{'关闭':true}, width:300, height: 350, top:10});
//if ($("#menuContent").html()==""){$.get("${ctx}/sys/menu/treeselect", function(data){$("#menuContent").html(data);});}else{$("#menuContent").toggle(100);}
});
}//-->
</script>
</body>
</html>
\ No newline at end of file
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp" %>
<html>
<head>
<title>新建模型 - 模型管理</title>
<meta name="decorator" content="default"/>
<%@ include file="/WEB-INF/views/include/headMeta.jsp" %>
<%@ include file="/WEB-INF/views/include/headCss.jsp" %>
<%@ include file="/WEB-INF/views/include/headJs.jsp" %>
<script type="text/javascript">
$(document).ready(function () {
top.$.jBox.tip.mess = null;
$("#inputForm").validate({
submitHandler: function (form) {
loading('正在提交,请稍等...');
form.submit();
setTimeout(function () {
location = '${ctx}/act/model/'
}, 1000);
},
errorContainer: "#messageBox",
errorPlacement: function (error, element) {
$("#messageBox").text("输入有误,请先更正。");
if (element.is(":checkbox") || element.is(":radio") || element.parent().is(".input-append")) {
error.appendTo(element.parent().parent());
} else {
error.insertAfter(element);
}
}
});
});
function page(n, s) {
location = '${ctx}/act/model/?pageNo=' + n + '&pageSize=' + s;
}
</script>
</head>
<body>
<!-- 内容-->
<div class="wrapper">
<!-- 内容盒子-->
<div class="box box-main">
<!-- 内容盒子头部 -->
<div class="box-header">
<div class="box-title"><i class="fa fa-edit"></i>新建模型</div>
<div class="box-tools pull-right">
<button id="btnRefresh" class="btn btn-default btn-sm" title="刷新"><i
class="glyphicon glyphicon-repeat"></i> 刷新
</button>
</div>
</div>
<!-- 内容盒子身体 -->
<div class="box-body">
<ul class="nav nav-tabs">
<li><a href="${ctx}/act/model/">模型管理</a></li>
<li class="active"><a href="${ctx}/act/model/create">新建模型</a></li>
</ul>
<br>
<form id="inputForm" action="${ctx}/act/model/create" target="_blank" method="post" class="form-horizontal">
<div class="content">
<div class="form-group">
<label class="control-label col-sm-2 pull-left">流程分类:</label>
<div class="col-sm-9 col-lg-10 col-xs-12">
<select id="category" name="category" class="form-control required">
<c:forEach items="${fns:getDictList('act_category')}" var="dict">
<option value="${dict.value}">${dict.label}</option>
</c:forEach>
</select>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2 pull-left">模块名称:</label>
<div class="col-sm-9 col-lg-10 col-xs-12">
<input id="name" name="name" type="text" class="form-control required"/>
<span class="help-inline"></span>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2 pull-left">模块标识:</label>
<div class="col-sm-9 col-lg-10 col-xs-12">
<input id="key" name="key" type="text" class="form-control required"/>
<span class="help-inline"></span>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2 pull-left">模块描述:</label>
<div class="col-sm-9 col-lg-10 col-xs-12">
<textarea id="description" name="description" class="form-control required"></textarea>
</div>
</div>
<div class="form-group">
<input id="btnSubmit" class="btn btn-primary" type="submit" value="提 交"/>
<input id="btnCancel" class="btn" type="button" value="返 回" onclick="history.go(-1)"/>
</div>
</div>
</form>
</div>
</div>
</div>
<!-- 信息-->
<div id="messageBox">${message}</div>
<%@ include file="/WEB-INF/views/include/footJs.jsp" %>
<script src="/staticViews/viewBase.js"></script></body>
</html>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp" %>
<html>
<head>
<title>模型管理</title>
<meta name="decorator" content="default"/>
<%@ include file="/WEB-INF/views/include/headMeta.jsp" %>
<%@ include file="/WEB-INF/views/include/headCss.jsp" %>
<%@ include file="/WEB-INF/views/include/headJs.jsp" %>
<script type="text/javascript">
$(document).ready(function () {
top.$.jBox.tip.mess = null;
});
function page(n, s) {
location = '${ctx}/act/model/?pageNo=' + n + '&pageSize=' + s;
}
function updateCategory(id, category) {
$.jBox($("#categoryBox").html(), {
title: "设置分类", buttons: {"关闭": true}, submit: function () {
}
});
$("#categoryBoxId").val(id);
$("#categoryBoxCategory").val(category);
}
</script>
<script type="text/template" id="categoryBox">
<form id="categoryForm" action="${ctx}/act/model/updateCategory" method="post" enctype="multipart/form-data"
style="text-align:center;" class="form-search" onsubmit="loading('正在分类,请稍等...');"><br/>
<input id="categoryBoxId" type="hidden" name="id" value=""/>
<select id="categoryBoxCategory" name="category">
<option value="">无分类</option>
<c:forEach items="${fns:getDictList('act_category')}" var="dict">
<option value="${dict.value}">${dict.label}</option>
</c:forEach>
</select>
<br/><br/>  
<input id="categorySubmit" class="btn btn-primary" type="submit" value=" 保 存 "/>  
</form>
</script>
</head>
<body>
<!-- 内容-->
<div class="wrapper">
<!-- 内容盒子-->
<div class="box box-main">
<!-- 内容盒子头部 -->
<div class="box-header">
<div class="box-title"><i class="fa fa-edit"></i>模型管理</div>
<div class="box-tools pull-right">
<a id="btnSearchView" href="#" class="btn btn-sm btn-default" title="查询"><i class="fa fa-filter"></i>查询</a>
<button id="btnRefresh" class="btn btn-default btn-sm" title="刷新"><i
class="glyphicon glyphicon-repeat"></i> 刷新
</button>
</div>
</div>
<!-- 内容盒子身体 -->
<div class="box-body">
<!-- 查询条件 -->
<ul class="nav nav-tabs">
<li class="active"><a href="${ctx}/act/model/">模型管理</a></li>
<li><a href="${ctx}/act/model/create">新建模型</a></li>
</ul>
<br>
<form id="searchForm" action="${ctx}/act/model/" method="post" class="form-inline">
<div class="form-group">
<label class="control-label">流程分类</label>
<div class="control-inline">
<select id="category" name="category" class="form-control m-b">
<option value="">全部分类</option>
<c:forEach items="${fns:getDictList('act_category')}" var="dict">
<option value="${dict.value}" ${dict.value==category?'selected':''}>${dict.label}</option>
</c:forEach>
</select>
</div>
<div class="control-inline">
<input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/>
</div>
</div>
</form>
<table class="table table-striped table-bordered table-condensed table-nowrap">
<thead>
<tr>
<th>流程分类</th>
<th>模型ID</th>
<th>模型标识</th>
<th>模型名称</th>
<th>版本号</th>
<th>创建时间</th>
<th>最后更新时间</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<c:forEach items="${page.list}" var="model">
<tr>
<td><a href="javascript:updateCategory('${model.id}', '${model.category}')"
title="设置分类">${fns:getDictLabel(model.category,'act_category','无分类')}</a></td>
<td>${model.id}</td>
<td>${model.key}</td>
<td>${model.name}</td>
<td><b title='流程版本号'>V: ${model.version}</b></td>
<td><fmt:formatDate value="${model.createTime}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
<td><fmt:formatDate value="${model.lastUpdateTime}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
<td>
<a href="${pageContext.request.contextPath}/act/process-editor/modeler.jsp?modelId=${model.id}"
target="_blank">编辑</a>
<a href="${ctx}/act/model/deploy?id=${model.id}"
onclick="return confirmx('确认要部署该模型吗?', this.href)">部署</a>
<a href="${ctx}/act/model/export?id=${model.id}" target="_blank">导出</a>
<a href="${ctx}/act/model/delete?id=${model.id}"
onclick="return confirmx('确认要删除该模型吗?', this.href)">删除</a>
</td>
</tr>
</c:forEach>
</tbody>
</table>
${page.toStringPage()}
</div>
</div>
</div>
<!-- 信息-->
<div id="messageBox">${message}</div>
<%@ include file="/WEB-INF/views/include/footJs.jsp" %>
<script src="/staticViews/viewBase.js"></script></body>
</html>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp" %>
<html>
<head>
<title>部署流程 - 流程管理</title>
<%@ include file="/WEB-INF/views/include/headMeta.jsp" %>
<%@ include file="/WEB-INF/views/include/headCss.jsp" %>
<%@ include file="/WEB-INF/views/include/headJs.jsp" %>
</head>
<body>
<!-- 内容-->
<div class="wrapper">
<!-- 内容盒子-->
<div class="box box-main">
<!-- 内容盒子头部 -->
<div class="box-header">
<div class="box-title"><i class="fa fa-edit"></i>部署流程</div>
<div class="box-tools pull-right">
<button id="btnRefresh" class="btn btn-default btn-sm" title="刷新"><i
class="glyphicon glyphicon-repeat"></i> 刷新
</button>
</div>
</div>
<!-- 内容盒子身体 -->
<div class="box-body">
<ul class="nav nav-tabs">
<li><a href="${ctx}/act/process/">流程管理</a></li>
<li class="active"><a href="${ctx}/act/process/deploy/">部署流程</a></li>
<li><a href="${ctx}/act/process/running/">运行中的流程</a></li>
</ul>
<br>
<form id="inputForm" action="${ctx}/act/process/deploy" method="post" enctype="multipart/form-data"
class="form-horizontal">
<div class="content">
<div class="form-group">
<label class="control-label col-sm-2 pull-left">流程分类:</label>
<div class="col-sm-9 col-lg-10 col-xs-12">
<select id="category" name="category" class="form-control required">
<c:forEach items="${fns:getDictList('act_category')}" var="dict">
<option value="${dict.value}">${dict.label}</option>
</c:forEach>
</select>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2 pull-left">流程文件:</label>
<div class="col-sm-9 col-lg-10 col-xs-12">
<label for="file" class="btn btn-default">选择文件</label>
<input type="file" id="file" name="file" class="required"/>
<span class="help-inline">支持文件格式:zip、bar、bpmn、bpmn20.xml</span>
</div>
</div>
<div class="form-group">
<input id="btnSubmit" class="btn btn-primary" type="submit" value="提 交"/>
<input id="btnCancel" class="btn" type="button" value="返 回" onclick="history.go(-1)"/>
</div>
</div>
</form>
</div>
</div>
</div>
<!-- 信息-->
<div id="messageBox">${message}</div>
<%@ include file="/WEB-INF/views/include/footJs.jsp" %>
<script src="/staticViews/viewBase.js"></script></body>
</html>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp" %>
<html>
<head>
<title>流程管理</title>
<meta name="decorator" content="default"/>
<%@ include file="/WEB-INF/views/include/headMeta.jsp" %>
<%@ include file="/WEB-INF/views/include/headCss.jsp" %>
<%@ include file="/WEB-INF/views/include/headJs.jsp" %>
<script type="text/javascript">
$(document).ready(function () {
top.$.jBox.tip.mess = null;
});
function page(n, s) {
location = '${ctx}/act/process/?pageNo=' + n + '&pageSize=' + s;
}
function updateCategory(id, category) {
$.jBox($("#categoryBox").html(), {
title: "设置分类", buttons: {"关闭": true}, submit: function () {
}
});
$("#categoryBoxId").val(id);
$("#categoryBoxCategory").val(category);
}
</script>
<script type="text/template" id="categoryBox">
<form id="categoryForm" action="${ctx}/act/process/updateCategory" method="post" enctype="multipart/form-data"
style="text-align:center;" class="form-search" onsubmit="loading('正在设置,请稍等...');"><br/>
<input id="categoryBoxId" type="hidden" name="procDefId" value=""/>
<select id="categoryBoxCategory" name="category">
<option value="">无分类</option>
<c:forEach items="${fns:getDictList('act_category')}" var="dict">
<option value="${dict.value}">${dict.label}</option>
</c:forEach>
</select>
<br/><br/>  
<input id="categorySubmit" class="btn btn-primary" type="submit" value=" 保 存 "/>  
</form>
</script>
</head>
<body>
<!-- 内容-->
<div class="wrapper">
<!-- 内容盒子-->
<div class="box box-main">
<!-- 内容盒子头部 -->
<div class="box-header">
<div class="box-title"><i class="fa fa-edit"></i>流程管理</div>
<div class="box-tools pull-right">
<a id="btnSearchView" href="#" class="btn btn-sm btn-default" title="查询"><i class="fa fa-filter"></i>查询</a>
<button id="btnRefresh" class="btn btn-default btn-sm" title="刷新"><i
class="glyphicon glyphicon-repeat"></i> 刷新
</button>
</div>
</div>
<!-- 内容盒子身体 -->
<div class="box-body">
<ul class="nav nav-tabs">
<li class="active"><a href="${ctx}/act/process/">流程管理</a></li>
<li><a href="${ctx}/act/process/deploy/">部署流程</a></li>
<li><a href="${ctx}/act/process/running/">运行中的流程</a></li>
</ul>
<br>
<form id="searchForm" action="${ctx}/act/process/" method="post" class="form-inline">
<div class="form-group">
<label class="control-label">流程分类</label>
<div class="control-inline">
<select id="category" name="category" class="form-control m-b">
<option value="">全部分类</option>
<c:forEach items="${fns:getDictList('act_category')}" var="dict">
<option value="${dict.value}" ${dict.value==category?'selected':''}>${dict.label}</option>
</c:forEach>
</select>
</div>
<input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/>
</div>
</form>
<table class="table table-striped table-bordered table-condensed table-nowrap">
<thead>
<tr>
<th>流程分类</th>
<th>流程ID</th>
<th>流程标识</th>
<th>流程名称</th>
<th>流程版本</th>
<th>部署时间</th>
<th>流程XML</th>
<th>流程图片</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<c:forEach items="${page.list}" var="object">
<c:set var="process" value="${object[0]}"/>
<c:set var="deployment" value="${object[1]}"/>
<tr>
<td><a href="javascript:updateCategory('${process.id}', '${process.category}')"
title="设置分类">${fns:getDictLabel(process.category,'act_category','无分类')}</a></td>
<td>${process.id}</td>
<td>${process.key}</td>
<td>${process.name}</td>
<td><b title='流程版本号'>V: ${process.version}</b></td>
<td><fmt:formatDate value="${deployment.deploymentTime}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
<td><a target="_blank"
href="${ctx}/act/process/resource/read?procDefId=${process.id}&resType=xml">${process.resourceName}</a>
</td>
<td><a target="_blank"
href="${ctx}/act/process/resource/read?procDefId=${process.id}&resType=image">${process.diagramResourceName}</a>
</td>
<td>
<c:if test="${process.suspended}">
<a href="${ctx}/act/process/update/active?procDefId=${process.id}"
onclick="return confirmx('确认要激活吗?', this.href)">激活</a>
</c:if>
<c:if test="${!process.suspended}">
<a href="${ctx}/act/process/update/suspend?procDefId=${process.id}"
onclick="return confirmx('确认挂起除吗?', this.href)">挂起</a>
</c:if>
<a href='${ctx}/act/process/delete?deploymentId=${process.deploymentId}'
onclick="return confirmx('确认要删除该流程吗?', this.href)">删除</a>
<a href='${ctx}/act/process/convert/toModel?procDefId=${process.id}'
onclick="return confirmx('确认要转换为模型吗?', this.href)">转换为模型</a>
</td>
</tr>
</c:forEach>
</tbody>
</table>
${page.toStringPage()}
</div>
</div>
</div>
<!-- 信息-->
<div id="messageBox">${message}</div>
<%@ include file="/WEB-INF/views/include/footJs.jsp" %>
<script src="/staticViews/viewBase.js"></script></body>
</html>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp" %>
<html>
<head>
<title>运行中的流程</title>
<%@ include file="/WEB-INF/views/include/headMeta.jsp" %>
<%@ include file="/WEB-INF/views/include/headCss.jsp" %>
<%@ include file="/WEB-INF/views/include/headJs.jsp" %>
<script type="text/javascript">
$(document).ready(function () {
top.$.jBox.tip.mess = null;
});
function page(n, s) {
location = '${ctx}/act/process/running/?pageNo=' + n + '&pageSize=' + s;
}
function updateCategory(id, category) {
$.jBox($("#categoryBox").html(), {
title: "设置分类", buttons: {"关闭": true}, submit: function () {
}
});
$("#categoryBoxId").val(id);
$("#categoryBoxCategory").val(category);
}
</script>
<script type="text/template" id="categoryBox">
<form id="categoryForm" action="${ctx}/act/process/updateCategory" method="post" enctype="multipart/form-data"
style="text-align:center;" class="form-search" onsubmit="loading('正在设置,请稍等...');"><br/>
<input id="categoryBoxId" type="hidden" name="procDefId" value=""/>
<select id="categoryBoxCategory" name="category">
<c:forEach items="${fns:getDictList('act_category')}" var="dict">
<option value="${dict.value}">${dict.label}</option>
</c:forEach>
</select>
<br/><br/>  
<input id="categorySubmit" class="btn btn-primary" type="submit" value=" 保 存 "/>  
</form>
</script>
</head>
<body>
<!-- 内容-->
<div class="wrapper">
<!-- 内容盒子-->
<div class="box box-main">
<!-- 内容盒子头部 -->
<div class="box-header">
<div class="box-title"><i class="fa fa-edit"></i>运行中的流程</div>
<div class="box-tools pull-right">
<a id="btnSearchView" href="#" class="btn btn-sm btn-default" title="查询"><i class="fa fa-filter"></i>查询</a>
<button id="btnRefresh" class="btn btn-default btn-sm" title="刷新"><i
class="glyphicon glyphicon-repeat"></i> 刷新
</button>
</div>
</div>
<!-- 内容盒子身体 -->
<div class="box-body">
<!-- 查询条件 -->
<ul class="nav nav-tabs">
<li><a href="${ctx}/act/process/">流程管理</a></li>
<li><a href="${ctx}/act/process/deploy/">部署流程</a></li>
<li class="active"><a href="${ctx}/act/process/running/">运行中的流程</a></li>
</ul>
<br>
<form id="searchForm" action="${ctx}/act/process/running/" method="post" class="form-inline">
<div class="form-group">
<label class="control-label">流程实例ID:</label>
<input type="text" id="procInsId" name="procInsId" value="${procInsId}"
class="form-control input-sm"/>
</div>
<div class="form-group">
<label class="control-label">流程定义Key:</label>
<input type="text" id="procDefKey" name="procDefKey" value="${procDefKey}"
class="form-control input-sm"/>
</div>
<div class="form-group"><input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/></div>
</form>
<table class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th>执行ID</th>
<th>流程实例ID</th>
<th>流程定义ID</th>
<th>当前环节</th>
<th>是否挂起</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<c:forEach items="${page.list}" var="procIns">
<tr>
<td>${procIns.id}</td>
<td>${procIns.processInstanceId}</td>
<td>${procIns.processDefinitionId}</td>
<td>${procIns.activityId}</td>
<td>${procIns.suspended}</td>
<td>
<shiro:hasPermission name="act:process:edit">
<a href="${ctx}/act/process/deleteProcIns?procInsId=${procIns.processInstanceId}&reason="
onclick="return promptx('删除流程','删除原因',this.href);">删除流程</a>
</shiro:hasPermission>&nbsp;
</td>
</tr>
</c:forEach>
</tbody>
</table>
${page.toStringPage()}
</div>
</div>
</div>
<!-- 信息-->
<div id="messageBox">${message}</div>
<%@ include file="/WEB-INF/views/include/footJs.jsp" %>
<script src="/staticViews/viewBase.js"></script></body>
</html>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<title>任务表单</title>
<meta name="decorator" content="default"/>
<%@ include file="/WEB-INF/views/include/headMeta.jsp" %>
<%@ include file="/WEB-INF/views/include/headCss.jsp" %>
<%@ include file="/WEB-INF/views/include/headJs.jsp" %>
<script type="text/javascript">
$(document).ready(function() {/*
loading('正在加载表单,请稍等...');
$.get("${formUrl}", function(data){
top.$.jBox.closeTip();
$("#formContent").html(data==""?"<h4>没有找到表单数据。</h4><br/>表单地址:${formUrl}<br/>":data);
}).fail(function() {
top.$.jBox.closeTip();
$("#formContent").html("<h4>加载表单失败!</h4>表单地址:${formUrl}<br/>");
});*/
});
</script>
</head>
<body>
<ul class="nav nav-tabs">
<li><a href="${ctx}/act/task/todo/">待办任务</a></li>
<li><a href="${ctx}/act/task/historic/">已办任务</a></li>
<li class="active"><a href="${ctx}/act/task/form?taskId=${act.taskId}&taskName=${act.taskName}&taskDefKey=${act.taskDefKey}&procInsId=${act.procInsId}&procDefId${act.procDefId}">${empty act.procInsId?"新建任务":"任务处理"}</a></li>
</ul>
<form:form method="post" class="form-horizontal">
<sys:message content="${message}"/><%--
<legend>表单信息</legend> --%>
<div id="formContent">
<iframe id="reportFrame" src="${formUrl}" width="100%" height="500" style="border:0;" noresize="noresize"></iframe>
</div>
<act:histoicFlow procInsId="${procInsId}" />
</form:form>
<!-- 信息-->
<div id="messageBox">${message}</div>
<%@ include file="/WEB-INF/views/include/footJs.jsp" %>
<script src="/staticViews/viewBase.js"></script></body>
</html>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<table class="table table-striped table-bordered table-condensed">
<tr><th>执行环节</th><th>执行人</th><th>开始时间</th><th>结束时间</th><th>提交意见</th><th>任务历时</th></tr>
<c:forEach items="${histoicFlowList}" var="act">
<tr>
<td>${act.histIns.activityName}</td>
<td>${act.assigneeName}</td>
<td><fmt:formatDate value="${act.histIns.startTime}" type="both"/></td>
<td><fmt:formatDate value="${act.histIns.endTime}" type="both"/></td>
<td style="word-wrap:break-word;word-break:break-all;">${act.comment}</td>
<td>${act.durationTime}</td>
</tr>
</c:forEach>
</table>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment