<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<!DOCTYPE html>
<html>
<head lang="en">
	<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
	<%@include file="../../../frame/assets/header-all.jsp"%>

	<style>
		.form-line .text-content{
			width:120px;
		}
	</style>
	<script type="text/javascript" src="../../../common/Constants.js"></script>
	<script type="text/javascript" src="ywxhdtask_show.js"></script>
</head>
<body class="easyui-layout">
<form id="childform" class="easyui-form" data-options="novalidate:true">
	<input id="id" type="hidden" />
	<input id="type" type="hidden" />
	<div class="form-line clearfix" >
		<div class="fl">
			<span class="text-content"><em class="must">*</em>任务名称：</span>
			<input id="rw_name" class="easyui-textbox" data-options="required:true,validType:'length[0,60]'" missingMessage="任务名称必填项" >
		</div>
		 <div class="fl">
			<span class="text-content"><em class="must"></em>是否启用：</span>
			<input id="rw_state" class="easyui-combobox" data-options="valueField:'id', textField:'text',panelHeight:'auto'" missingMessage="检测开关必填项" >
		</div>

	</div>

	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>任务类型：</span>
			<select  id="rw_type" class="easyui-combobox" data-options="valueField:'id', textField:'text',panelHeight:'auto'" missingMessage="任务类型必填项" >
				<option value="1">设备是否异常</option>
			</select>
		</div>
		<div class="fl">
			<span class="text-content"><em class="must"></em>任务模式：</span>
			<input  id="rwms" class="easyui-combobox" data-options="valueField:'id', textField:'text',panelHeight:'auto'" missingMessage="任务模式必填项" >
		</div>

	</div>
	<div class="form-line clearfix">
		<div id="startTime" style="display:block;" class="fl">
			<span class="text-content"><em class="must"></em>执行时间：</span>
			<input id="zxsj" class="easyui-timespinner" data-options="required:false,validType:'length[0,10]'" missingMessage="按天开始时间必填项" >
		</div>
		<div id="intervalTime" style="display:none;" class="fl">
			<span class="text-content"><em class="must"></em>间隔时间(小时)：</span>
			<input id="jgsj" class="easyui-numberbox" data-options="required:false,validType:'length[0,10]'" missingMessage="按天间隔时间(小时)必填项" >
		</div>
	</div>
	<div id="monday" style="display:none;" class="form-line clearfix">
		<div class="fl">
			<span class="text-content">
				<input id="mondayswitch" class="checkStyle"  type="checkbox" checked="checked" >
				<em class="must"></em>周一：
			</span>
			<input value="08:00" id="mondayruntime" class="easyui-timespinner" data-options="required:false,validType:'length[0,5]'" missingMessage="周一运行时间必填项" >
		</div>
		<div class="fl">
			<span class="text-content"><em class="must"></em>间隔时间：</span>
			<input id="mondayrunbyhour" class="easyui-numberbox" data-options="required:false,validType:'length[0,5]'" missingMessage="周一运行间隔时间必填项" >
		</div>
	</div>
	<div id="tuesday" style="display:none;" class="form-line clearfix">
		<div class="fl">
			<span class="text-content">
				<input id="tuesdayswitch" class="checkStyle"  type="checkbox" checked="checked" >
				<em class="must"></em>周二：
			</span>
			<input id="tuesdayruntime" class="easyui-timespinner" data-options="required:false,validType:'length[0,5]'" missingMessage="周二运行时间必填项" >
		</div>
		<div class="fl">
			<span class="text-content"><em class="must"></em>间隔时间：</span>
			<input id="tuesdayrunbyhour" class="easyui-numberbox" data-options="required:false,validType:'length[0,5]'" missingMessage="周二运行间隔时间必填项" >
		</div>
	</div>
	<div id="wednesday" style="display:none;" class="form-line clearfix">
		<div class="fl">
			<span class="text-content">
				<input id="wednesdayswitch" class="checkStyle"  type="checkbox" checked="checked" >
				<em class="must"></em>周三：
			</span>
			<input id="wednesdayuntime" class="easyui-timespinner" data-options="required:false,validType:'length[0,5]'" missingMessage="周三运行时间必填项" >
		</div>
		<div class="fl">
			<span class="text-content"><em class="must"></em>间隔时间：</span>
			<input id="wednesdayunbyhour" class="easyui-numberbox" data-options="required:false,validType:'length[0,5]'" missingMessage="周三运行间隔时间必填项" >
		</div>
	</div>
	<div id="thursday" style="display:none;" class="form-line clearfix">
		<div class="fl">
			<span class="text-content">
				<input id="thursdayswitch" class="checkStyle"  type="checkbox" checked="checked" >
				<em class="must"></em>周四：
			</span>
			<input id="thursdayruntime" class="easyui-timespinner" data-options="required:false,validType:'length[0,5]'" missingMessage="周四运行时间点必填项" >
		</div>
		<div class="fl">
			<span class="text-content"><em class="must"></em>间隔时间：</span>
			<input id="thursdayrunbyhour" class="easyui-numberbox" data-options="required:false,validType:'length[0,5]'" missingMessage="周四运行间隔时间必填项" >
		</div>
	</div>
	<div id="friday" style="display:none;" class="form-line clearfix">
		<div class="fl">
			<span class="text-content">
				<input id="fridayswitch" class="checkStyle"  type="checkbox" checked="checked" >
				<em class="must"></em>周五：
			</span>
			<input id="fridayruntime" class="easyui-timespinner" data-options="required:false,validType:'length[0,5]'" missingMessage="周五运行时间必填项" >
		</div>
		<div class="fl">
			<span class="text-content"><em class="must"></em>间隔时间：</span>
			<input id="fridayrunbyhour" class="easyui-numberbox" data-options="required:false,validType:'length[0,5]'" missingMessage="周五运行间隔时间必填项" >
		</div>
	</div>
	<div id="saturday" style="display:none;" class="form-line clearfix">
		<div class="fl">
			<span class="text-content">
				<input id="saturdayswitch" class="checkStyle"  type="checkbox" checked="checked" >
				<em class="must"></em>周六：
			</span>
			<input id="saturdatruntime" class="easyui-timespinner" data-options="required:false,validType:'length[0,5]'" missingMessage="周六运行时间必填项" >
		</div>
		<div class="fl">
			<span class="text-content"><em class="must"></em>间隔时间：</span>
			<input id="saturdatrunbyhour" class="easyui-numberbox" data-options="required:false,validType:'length[0,5]'" missingMessage="周六运行间隔时间必填项" >
		</div>
	</div>
	<div id="sunday" style="display:none;" class="form-line clearfix">
		<div class="fl">
			<span class="text-content">
				<input id="sundayswitch" class="checkStyle"  type="checkbox" checked="checked" >
				<em class="must"></em>周天：
			</span>
			<input id="sundayruntime" class="easyui-timespinner" data-options="required:false,validType:'length[0,5]'" missingMessage="周天运行时间必填项" >
		</div>
		<div class="fl">
			<span class="text-content"><em class="must"></em>间隔时间：</span>
			<input id="sundayrunbyhour" class="easyui-numberbox" data-options="required:false,validType:'length[0,5]'" missingMessage="周天运行间隔时间必填项" >
		</div>
	</div>

	<div class="form-line hidden">

	</div>
</form>
</body>
</html>
