first commit
This commit is contained in:
20
bin/WebRoot/jsp/views/common.jsp
Normal file
20
bin/WebRoot/jsp/views/common.jsp
Normal file
@ -0,0 +1,20 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||
pageEncoding="UTF-8"%>
|
||||
<%@ page import="java.util.*"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Insert title here</title>
|
||||
</head>
|
||||
<body>
|
||||
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
102
bin/WebRoot/jsp/views/leaveApp.jsp
Normal file
102
bin/WebRoot/jsp/views/leaveApp.jsp
Normal file
@ -0,0 +1,102 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||
pageEncoding="UTF-8"%>
|
||||
|
||||
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<%@ include file="/jsp/views/common.jsp" %>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>Insert title here</title>
|
||||
<link href="${ctx }/css/style.css" type="text/css" rel="stylesheet"/>
|
||||
<link rel="stylesheet" href="${ctx }/css/blueprint/screen.css" type="text/css" media="screen, projection">
|
||||
<link rel="stylesheet" href="${ctx }/css/blueprint/print.css" type="text/css" media="print">
|
||||
<link href="${ctx }/js/common/plugins/jui/themes/redmond/jquery-ui-1.9.2.custom.css" type="text/css" rel="stylesheet" />
|
||||
<link href="${ctx }/js/common/plugins/jui/extends/timepicker/jquery-ui-timepicker-addon.css" type="text/css" rel="stylesheet" />
|
||||
<link href="${ctx }/js/common/plugins/qtip/jquery.qtip.min.css" type="text/css" rel="stylesheet" />
|
||||
<script src="${ctx }/js/common/jquery-1.8.3.js" type="text/javascript"></script>
|
||||
<script src="${ctx }/js/common/plugins/jui/jquery-ui-1.9.2.min.js" type="text/javascript"></script>
|
||||
<script type="text/javascript" src="${ctx }/js/module/activiti/workflow.js"></script>
|
||||
<script type="text/javascript" src="${ctx }/js/module/oa/leave/leave-todo.js"></script>
|
||||
<script src="${ctx }/js/common/plugins/qtip/jquery.qtip.pack.js" type="text/javascript"></script>
|
||||
<script src="${ctx }/js/common/plugins/html/jquery.outerhtml.js" type="text/javascript"></script>
|
||||
<jsp:include page="/jsp/inc.jsp"></jsp:include>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
//alert();
|
||||
});
|
||||
|
||||
var addFun = function() {
|
||||
//alert("2017-2-17 10:00");
|
||||
alert(ext.contextPath);
|
||||
var dialog = parent.ext.modalDialog({
|
||||
title : '添加Modbus服务器信息',
|
||||
url : ext.contextPath + '/activiti/leave/start.do',
|
||||
buttons : [ {
|
||||
text : '保存',
|
||||
handler : function() {
|
||||
dialog.find('iframe').get(0).contentWindow.dosave(dialog, grid);
|
||||
}
|
||||
} ]
|
||||
});
|
||||
/* $.post(ext.contextPath + '/activiti/leave/start.do', {ids:datas} , function(data) {
|
||||
if(data>0){
|
||||
parent.$.messager.alert('提示','成功删除'+data+'条记录','info',function(){
|
||||
grid.datagrid('reload');
|
||||
grid.datagrid('clearChecked');
|
||||
});
|
||||
}else{
|
||||
parent.$.messager.alert('提示','删除失败','info');
|
||||
}
|
||||
}); */
|
||||
};
|
||||
</script>
|
||||
</head>
|
||||
<body class="easyui-layout" data-options="fit:true,border:false">
|
||||
<div class="container showgrid">
|
||||
|
||||
<form:form id="inputForm" action="${ctx}/leave.do/start.do" method="post" class="form-horizontal">
|
||||
<fieldset>
|
||||
<legend><small>请假申请</small></legend>
|
||||
<table border="1">
|
||||
<tr>
|
||||
<td>请假类型:</td>
|
||||
<td>
|
||||
<select id="leaveType" name="leaveType">
|
||||
<option>公休</option>
|
||||
<option>病假</option>
|
||||
<option>调休</option>
|
||||
<option>事假</option>
|
||||
<option>婚假</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>开始时间:</td>
|
||||
<td><input type="text" id="startTime" name="startTime" value="2017-2-17 10:00"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>结束时间:</td>
|
||||
<td><input type="text" id="endTime" name="endTime" value="2017-2-17 10:00"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>请假原因:</td>
|
||||
<td>
|
||||
<textarea name="reason"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
<a href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true"
|
||||
onclick="addFun();">提交</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
</form:form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
55
bin/WebRoot/jsp/views/login.jsp
Normal file
55
bin/WebRoot/jsp/views/login.jsp
Normal file
@ -0,0 +1,55 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||
pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<%@ include file="/views/common.jsp" %>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Insert title here</title>
|
||||
<script src="${ctx }/js/common/jquery-1.8.3.js" type="text/javascript"></script>
|
||||
<script src="${ctx }/js/common/plugins/jui/jquery-ui-1.9.2.min.js" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$('button').button({
|
||||
icons: {
|
||||
primary: 'ui-icon-key'
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<c:if test="${not empty param.error}">
|
||||
<h2 id="error" class="alert alert-error">用户名或密码错误!!!</h2>
|
||||
</c:if>
|
||||
<c:if test="${not empty param.timeout}">
|
||||
<h2 id="error" class="alert alert-error">未登录或超时!!!</h2>
|
||||
</c:if>
|
||||
|
||||
<div style="text-align: center;">
|
||||
<h2>工作流引擎Activiti演示项目</h2>
|
||||
</div>
|
||||
<hr />
|
||||
<form action="${ctx }/user.do/login.do" method="get">
|
||||
<table>
|
||||
<tr>
|
||||
<td width="200" style="text-align: right;">用户名:</td>
|
||||
<td><input id="username" name="username" class="login-input" placeholder="用户名" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right;">密码:</td>
|
||||
<td><input id="password" name="password" type="password" class="login-input" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
<button type="submit">登录Demo</button>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<hr />
|
||||
</body>
|
||||
</html>
|
||||
95
bin/WebRoot/jsp/views/process-list.jsp
Normal file
95
bin/WebRoot/jsp/views/process-list.jsp
Normal file
@ -0,0 +1,95 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
<title>流程列表</title>
|
||||
<%@ include file="/jsp/views/common.jsp" %>
|
||||
<script src="${ctx }/js/common/jquery-1.8.3.js" type="text/javascript"></script>
|
||||
<script src="${ctx }/js/common/plugins/jui/jquery-ui-${themeVersion }.min.js" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$('#redeploy').button({
|
||||
icons: {
|
||||
primary: 'ui-icon-refresh'
|
||||
}
|
||||
});
|
||||
$('#deploy').button({
|
||||
icons: {
|
||||
primary: 'ui-icon-document'
|
||||
}
|
||||
}).click(function() {
|
||||
$('#deployFieldset').toggle('normal');
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<c:if test="${not empty message}">
|
||||
<div class="ui-widget">
|
||||
<div class="ui-state-highlight ui-corner-all" style="margin-top: 20px; padding: 0 .7em;">
|
||||
<p><span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span>
|
||||
<strong>提示:</strong>${message}</p>
|
||||
</div>
|
||||
</div>
|
||||
</c:if>
|
||||
<div style="text-align: right;padding: 2px 1em 2px">
|
||||
<div id="message" class="info" style="display:inline;"><b>提示:</b>点击xml或者png链接可以查看具体内容!</div>
|
||||
<a id='deploy' href='#'>部署流程</a>
|
||||
<a id='redeploy' href='${ctx }/workflow/redeploy/all' style="display:none">重新部署流程</a>
|
||||
</div>
|
||||
<fieldset id="deployFieldset" style="display: none">
|
||||
<legend>部署新流程</legend>
|
||||
<div><b>支持文件格式:</b>zip、bar、bpmn、bpmn20.xml</div>
|
||||
<form action="${ctx }/workflow/deploy" method="post" enctype="multipart/form-data">
|
||||
<input type="file" name="file" />
|
||||
<input type="submit" value="Submit" />
|
||||
</form>
|
||||
</fieldset>
|
||||
<table width="100%" class="need-border">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ProcessDefinitionId</th>
|
||||
<th>DeploymentId</th>
|
||||
<th>名称</th>
|
||||
<th>KEY</th>
|
||||
<th>版本号</th>
|
||||
<th>XML</th>
|
||||
<th>图片</th>
|
||||
<th>部署时间</th>
|
||||
<th>是否挂起</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach items="${page.result }" var="object">
|
||||
<c:set var="process" value="${object[0] }" />
|
||||
<c:set var="deployment" value="${object[1] }" />
|
||||
<tr>
|
||||
<td>${process.id }</td>
|
||||
<td>${process.deploymentId }</td>
|
||||
<td>${process.name }</td>
|
||||
<td>${process.key }</td>
|
||||
<td>${process.version }</td>
|
||||
<td><a target="_blank" href='${ctx }/workflow/resource/read?processDefinitionId=${process.id}&resourceType=xml'>${process.resourceName }</a></td>
|
||||
<td><a target="_blank" href='${ctx }/workflow/resource/read?processDefinitionId=${process.id}&resourceType=image'>${process.diagramResourceName }</a></td>
|
||||
<td>${deployment.deploymentTime }</td>
|
||||
<td>${process.suspended} |
|
||||
<c:if test="${process.suspended }">
|
||||
<a href="processdefinition/update/active/${process.id}">激活</a>
|
||||
</c:if>
|
||||
<c:if test="${!process.suspended }">
|
||||
<a href="processdefinition/update/suspend/${process.id}">挂起</a>
|
||||
</c:if>
|
||||
</td>
|
||||
<td>
|
||||
<a href='${ctx }/workflow/process/delete?deploymentId=${process.deploymentId}'>删除</a>
|
||||
<a href='${ctx }/workflow/process/convert-to-model/${process.id}'>转换为Model</a>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
64
bin/WebRoot/jsp/views/running.jsp
Normal file
64
bin/WebRoot/jsp/views/running.jsp
Normal file
@ -0,0 +1,64 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||
pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<%@ include file="/views/common.jsp" %>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>Insert title here</title>
|
||||
<link href="${ctx }/css/style.css" type="text/css" rel="stylesheet"/>
|
||||
<link rel="stylesheet" href="${ctx }/css/blueprint/screen.css" type="text/css" media="screen, projection">
|
||||
<link rel="stylesheet" href="${ctx }/css/blueprint/print.css" type="text/css" media="print">
|
||||
<link href="${ctx }/js/common/plugins/jui/themes/redmond/jquery-ui-1.9.2.custom.css" type="text/css" rel="stylesheet" />
|
||||
<link href="${ctx }/js/common/plugins/jui/extends/timepicker/jquery-ui-timepicker-addon.css" type="text/css" rel="stylesheet" />
|
||||
<link href="${ctx }/js/common/plugins/qtip/jquery.qtip.min.css" type="text/css" rel="stylesheet" />
|
||||
<script src="${ctx }/js/common/jquery-1.8.3.js" type="text/javascript"></script>
|
||||
<script src="${ctx }/js/common/plugins/jui/jquery-ui-1.9.2.min.js" type="text/javascript"></script>
|
||||
<script type="text/javascript" src="${ctx }/js/module/activiti/workflow.js"></script>
|
||||
<script type="text/javascript" src="${ctx }/js/module/oa/leave/leave-todo.js"></script>
|
||||
<script src="${ctx }/js/common/plugins/qtip/jquery.qtip.pack.js" type="text/javascript"></script>
|
||||
<script src="${ctx }/js/common/plugins/html/jquery.outerhtml.js" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
var ctx = '<%=request.getContextPath() %>';
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<table width="100%" class="need-border">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>假种</th>
|
||||
<th>申请人</th>
|
||||
<th>申请时间</th>
|
||||
<th>开始时间</th>
|
||||
<th>结束时间</th>
|
||||
<th>当前节点</th>
|
||||
<th>任务创建时间</th>
|
||||
<th>流程状态</th>
|
||||
<th>当前处理人</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach items="${page.result }" var="leave">
|
||||
<c:set var="task" value="${leave.task }" />
|
||||
<c:set var="pi" value="${leave.processInstance }" />
|
||||
<tr id="${leave.id }" tid="${task.id }">
|
||||
<td>${leave.leaveType }</td>
|
||||
<td>${leave.userId }</td>
|
||||
<td>${leave.applyTime }</td>
|
||||
<td>${leave.startTime }</td>
|
||||
<td>${leave.endTime }</td>
|
||||
<td>
|
||||
<a class="trace" href='#' pid="${pi.id }" pdid="${pi.processDefinitionId}" ASSIGNEE="${task.assignee }" title="点击查看流程图">${task.name }</a>
|
||||
</td>
|
||||
<td>${task.createTime }</td>
|
||||
<td>${pi.suspended ? "已挂起" : "正常" };<b title='流程版本号'>V: ${leave.processDefinition.version }</b></td>
|
||||
<td>${task.assignee }</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
<tags:pagination page="${page}" paginationSize="${page.pageSize}"/>
|
||||
</body>
|
||||
</html>
|
||||
165
bin/WebRoot/jsp/views/taskList.jsp
Normal file
165
bin/WebRoot/jsp/views/taskList.jsp
Normal file
@ -0,0 +1,165 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||
pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<%@ include file="/views/common.jsp" %>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>请假待办任务列表</title>
|
||||
|
||||
|
||||
<style type="text/css">
|
||||
/* block ui */
|
||||
.blockOverlay {
|
||||
z-index: 1004 !important;
|
||||
}
|
||||
.blockMsg {
|
||||
z-index: 1005 !important;
|
||||
}
|
||||
</style>
|
||||
<link href="${ctx }/css/style.css" type="text/css" rel="stylesheet"/>
|
||||
<link rel="stylesheet" href="${ctx }/css/blueprint/screen.css" type="text/css" media="screen, projection">
|
||||
<link rel="stylesheet" href="${ctx }/css/blueprint/print.css" type="text/css" media="print">
|
||||
<link href="${ctx }/js/common/plugins/jui/themes/redmond/jquery-ui-1.9.2.custom.css" type="text/css" rel="stylesheet" />
|
||||
<link href="${ctx }/js/common/plugins/jui/extends/timepicker/jquery-ui-timepicker-addon.css" type="text/css" rel="stylesheet" />
|
||||
<link href="${ctx }/js/common/plugins/qtip/jquery.qtip.min.css" type="text/css" rel="stylesheet" />
|
||||
<script src="${ctx }/js/common/jquery-1.8.3.js" type="text/javascript"></script>
|
||||
<script src="${ctx }/js/common/plugins/jui/jquery-ui-1.9.2.min.js" type="text/javascript"></script>
|
||||
<script type="text/javascript" src="${ctx }/js/module/activiti/workflow.js"></script>
|
||||
<script type="text/javascript" src="${ctx }/js/module/oa/leave/leave-todo.js"></script>
|
||||
<script src="${ctx }/js/common/plugins/blockui/jquery.blockUI.js" type="text/javascript"></script>
|
||||
<script src="${ctx }/js/common/plugins/qtip/jquery.qtip.pack.js" type="text/javascript"></script>
|
||||
<script src="${ctx }/js/common/plugins/html/jquery.outerhtml.js" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
var ctx = '<%=request.getContextPath() %>';
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<c:if test="${not empty message}">
|
||||
<div id="message" class="alert alert-success">${message}</div>
|
||||
</c:if>
|
||||
<table width="100%" class="need-border">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>假种</th>
|
||||
<th>申请人</th>
|
||||
<th>申请时间</th>
|
||||
<th>开始时间</th>
|
||||
<th>结束时间</th>
|
||||
<th>当前节点</th>
|
||||
<th>任务创建时间</th>
|
||||
<th>流程状态</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach items="${page.result }" var="leave">
|
||||
<c:set var="task" value="${leave.task }" />
|
||||
<c:set var="pi" value="${leave.processInstance }" />
|
||||
<tr id="${leave.id }" tid="${task.id }">
|
||||
<td>${leave.leaveType }</td>
|
||||
<td>${leave.userId }</td>
|
||||
<td>${leave.applyTime }</td>
|
||||
<td>${leave.startTime }</td>
|
||||
<td>${leave.endTime }</td>
|
||||
<td>
|
||||
<a class="trace" href='#' pid="${pi.id }" pdid="${pi.processDefinitionId}" ASSIGNEE="${task.assignee }" title="点击查看流程图">${task.name }</a>
|
||||
</td>
|
||||
<%--<td><a target="_blank" href='${ctx }/workflow/resource/process-instance?pid=${pi.id }&type=xml'>${task.name }</a></td> --%>
|
||||
<td>${task.createTime }</td>
|
||||
<td>${pi.suspended ? "已挂起" : "正常" };<b title='流程版本号'>V: ${leave.processDefinition.version }</b></td>
|
||||
<td>
|
||||
<c:if test="${empty task.assignee }">
|
||||
<a class="claim" href="${ctx }/leave.do/task/claim/${task.id}.do">签收</a>
|
||||
</c:if>
|
||||
<c:if test="${not empty task.assignee }">
|
||||
<%-- 此处用tkey记录当前节点的名称 --%>
|
||||
<a class="handle" tkey='${task.taskDefinitionKey }' tname='${task.name }' href="#">办理</a>
|
||||
</c:if>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
<%-- <tags:pagination page="${page}" paginationSize="${page.pageSize}"/> --%>
|
||||
<!-- 下面是每个节点的模板,用来定义每个节点显示的内容 -->
|
||||
<!-- 使用DIV包裹,每个DIV的ID以节点名称命名,如果不同的流程版本需要使用同一个可以自己扩展(例如:在DIV添加属性,标记支持的版本) -->
|
||||
|
||||
<!-- 部门领导审批 -->
|
||||
<div id="deptLeaderAudit" style="display: none">
|
||||
|
||||
<!-- table用来显示信息,方便办理任务 -->
|
||||
<%@include file="view-form.jsp" %>
|
||||
</div>
|
||||
|
||||
<!-- HR审批 -->
|
||||
<div id="hrAudit" style="display: none">
|
||||
|
||||
<!-- table用来显示信息,方便办理任务 -->
|
||||
<%@include file="view-form.jsp" %>
|
||||
</div>
|
||||
|
||||
<div id="modifyApply" style="display: none">
|
||||
<div class="info" style="display: none"></div>
|
||||
<div id="radio">
|
||||
<input type="radio" id="radio1" name="reApply" value="true" /><label for="radio1">调整申请</label>
|
||||
<input type="radio" id="radio2" name="reApply" checked="checked" value="false" /><label for="radio2">取消申请</label>
|
||||
</div>
|
||||
<hr />
|
||||
<table id="modifyApplyContent" style="display: none">
|
||||
<caption>调整请假内容</caption>
|
||||
<tr>
|
||||
<td>请假类型:</td>
|
||||
<td>
|
||||
<select id="leaveType" name="leaveType">
|
||||
<option>公休</option>
|
||||
<option>病假</option>
|
||||
<option>调休</option>
|
||||
<option>事假</option>
|
||||
<option>婚假</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>开始时间:</td>
|
||||
<td><input type="text" id="startTime" name="startTime" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>结束时间:</td>
|
||||
<td><input type="text" id="endTime" name="endTime" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>请假原因:</td>
|
||||
<td>
|
||||
<textarea id="reason" name="reason" style="width: 250px;height: 50px"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!-- 销假 -->
|
||||
<div id="reportBack" style="display: none">
|
||||
<!-- table用来显示信息,方便办理任务 -->
|
||||
<%@include file="view-form.jsp" %>
|
||||
<hr/>
|
||||
<table>
|
||||
<tr>
|
||||
<td>实际请假开始时间:</td>
|
||||
<td>
|
||||
<input id="realityStartTime" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>实际请假开始时间:</td>
|
||||
<td>
|
||||
<input id="realityEndTime" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
28
bin/WebRoot/jsp/views/view-form.jsp
Normal file
28
bin/WebRoot/jsp/views/view-form.jsp
Normal file
@ -0,0 +1,28 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||
pageEncoding="UTF-8"%>
|
||||
<table class='view-info'>
|
||||
<tr>
|
||||
<td width="100" class="label">申请人:</td>
|
||||
<td name="userId"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">假种:</td>
|
||||
<td name="leaveType"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">申请时间:</td>
|
||||
<td name="applyTime"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">请假<font color="red">开始</font>时间:</td>
|
||||
<td name="startTime"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">请假<font color="red">结束</font>时间:</td>
|
||||
<td name="endTime"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">请假事由:</td>
|
||||
<td name="reason"></td>
|
||||
</tr>
|
||||
</table>
|
||||
Reference in New Issue
Block a user