102 lines
3.7 KiB
Plaintext
102 lines
3.7 KiB
Plaintext
<%@ 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> |