<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<!-- 添加编辑任务 start -->
<div id="index_addEditTask_window" class="easyui-window" closed="true" collapsible="false" minimizable="false" maximizable="false" modal="true" title="<fmt:message key="common.add" />/<fmt:message key="common.edit" />" style="width:450px;height:auto">
<form>

	<input type="hidden" name="eventTaskDTO.taskId" id="index_eventTaskDTO_taskId" />
	<input type="hidden" name="eventTaskDTO.eno" id="index_eventTaskDTO_eno"/>
	<input type="hidden" name="eventTaskDTO.eventType" id="index_eventTaskDTO_eventType" />
	<div class="lineTableBgDiv">
      		<table style="width:100%" class="lineTable" cellspacing="1">
		<tr>
			<td style="width:30%"><fmt:message key="common.title"/></td>
			<td style="width:70%">
				<input name="eventTaskDTO.title" id="index_eventTaskDTO_taskTitle"  class="easyui-validatebox input" required="true" />
			</td>
		</tr>
		<tr>
			<td><fmt:message key="lable.task.location"/></td>
			<td>
				<input name="eventTaskDTO.location" id="index_eventTaskDTO_taskLocation" class="easyui-validatebox input" />
			</td>
		</tr>
		<tr>
			<td><fmt:message key="label.user.description" /></td>
			<td>
				<textarea rows="3" cols="50" name="eventTaskDTO.introduction" id="index_eventTaskDTO_introduction" class="easyui-validatebox input" ></textarea>
			</td>
		</tr>
		<tr>
			<td><fmt:message key="common.state" /></td>
			<td>
				<input type="radio" name="eventTaskDTO.taskStatus" id="index_eventTaskDTO_statusNew" value="0" checked="checked" /><fmt:message key="title.newCreate" />
				<input type="radio" name="eventTaskDTO.taskStatus" id="index_eventTaskDTO_statusProcessing" value="1"/><fmt:message key="title.processing" />
				<input type="radio" name="eventTaskDTO.taskStatus" id="index_eventTaskDTO_statusDone" value="2"/><fmt:message key="titie.complete" />
			</td>
		</tr>
		<tr>
			<td><fmt:message key="label.orgSettings.startTime" /></td>
			<td>
				<input name="eventTaskDTO.startTime" id="index_eventTaskDTO_startTime" class="easyui-datebox choose" required="true" readonly/>
			</td>
		</tr>
		<tr>
			<td><fmt:message key="label.orgSettings.endTime" /></td>
			<td>
				<input name="eventTaskDTO.endTime" id="index_eventTaskDTO_endTime" class="easyui-datebox easyui-validatebox input" required="true" validType="DateComparison['index_eventTaskDTO_startTime']" readonly/>
			</td>
		</tr>
		<tr>
			<td><fmt:message key="task.allDay" /></td>
			<td>
				<input type="checkbox" name="eventTaskDTO.allDay" value="true" id="index_eventTaskDTO_allDay" />
			</td>
		</tr>
		<tr>
			<td><fmt:message key="task.ownerName" /></td>
			<td>
				<input id="index_eventTaskDTO_owner"  name="eventTaskDTO.owner"  class="easyui-validatebox input" required="true" onclick="itsm.security.userUtil.selectUser('#index_eventTaskDTO_owner','','','loginName')" readonly="readonly" />
			</td>
		</tr>
		<tr>
			<td colspan="2">
				<a  class="easyui-linkbutton" icon="icon-ok" id="index_addEditTask_save"><fmt:message key="common.save" /></a>
			</td>
		</tr>
	</table>
	</div>
</form>
</div>
<!-- 添加编辑任务 end -->