2024-08-14 15:17:51 +08:00

105 lines
3.2 KiB
Plaintext

<%@page import="org.activiti.engine.repository.ProcessDefinition"%>
<%@page import="org.activiti.bpmn.model.*"%>
<%@page import="com.blueland.bpm.engine.config.model.*"%>
<%@page import="com.blueland.bpm.common.page.*"%>
<%@page import="com.blueland.bpm.common.util.*"%>
<%@page import="java.util.*"%>
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib tagdir="/WEB-INF/tags/simpletable" prefix="simpletable"%>
<%@ include file="/commons/taglibs.jsp"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@ include file="/commons/meta.jsp"%>
<base href="<%=basePath%>">
<title>待办列表</title>
<link href="${ctx_js_plugins}/simpletable/simpletable.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="${ctx_js_plugins}/simpletable/simpletable.js"></script>
<script type="text/javascript">
$(document).ready(function() {
});
function selectUserResource(){
var userResourceType=$(".userResourceType").val();
if(userResourceType=="user"){
showDiaLog(url, "修改环节人员", '800px', '600px');
}else if(userResourceType=="role"){
showDiaLog(url, "修改环节人员", '800px', '600px');
}else if(userResourceType=="org"){
showDiaLog(url, "修改环节人员", '800px', '600px');
}else if(userResourceType=="tableVal"){
alert("暂不支持该选项");
}else if(userResourceType=="script"){
alert("暂不支持该选项");
}
}
</script>
</head>
<body class="white-page">
<%@ include file="/commons/messages.jsp"%>
<form id="procDefForm" name="procDefForm"
action="${ctx}/procDefMgr/list.do" method="post"
style="display: inline;">
<div class="box2" panelTitle="" roller="false">
<table>
<tr>
<td colspan="7">
<button type="button" onclick="importProcessBpmnXml();"/>
<span class="icon_add">保存</span>
<i class="ace-icon fa fa-save bigger-110"></i>
</button>
<button type="submit"/>
<span class="icon_find">取消</span>
<i class="ace-icon fa fa-undo icon-on-right bigger-110"></i>
</button>
</td>
</tr>
</table>
</div>
<table class="tableStyle">
<tr>
<th width="60px">序号</th>
<th width="200px">用户类型</th>
<th>用户来源</th>
</tr>
<tr>
<td>1&nbsp;</td>
<td>
<select id="userResourceType" name="userResourceType">
<option id="user">用户</option>
<option id="role">角色</option>
<option id="org">组织</option>
<option id="tableVal">表单变量</option>
<option id="script">脚本</option>
</select>
</td>
<td>
<textarea name="userResourceVal" style="width:350px;height:50px;">
</textarea>
<button type="button" onclick="selectUserResource();"/>
<span class="icon_find">选择</span>
</button>
</td>
</tr>
</table>
</form>
</body>
</html>