|
|
@ -34,7 +34,7 @@
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-4">
|
|
|
|
<div class="col-xs-4">
|
|
|
|
<div class="input-group">
|
|
|
|
<div class="input-group">
|
|
|
|
<span class="input-group-addon">任务组</span>
|
|
|
|
<span class="input-group-addon">分组</span>
|
|
|
|
<select class="form-control" id="jobGroup" >
|
|
|
|
<select class="form-control" id="jobGroup" >
|
|
|
|
<#list JobGroupList as group>
|
|
|
|
<#list JobGroupList as group>
|
|
|
|
<option value="${group}" >${group.desc}</option>
|
|
|
|
<option value="${group}" >${group.desc}</option>
|
|
|
@ -44,8 +44,8 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-4">
|
|
|
|
<div class="col-xs-4">
|
|
|
|
<div class="input-group">
|
|
|
|
<div class="input-group">
|
|
|
|
<span class="input-group-addon">任务名</span>
|
|
|
|
<span class="input-group-addon">名称</span>
|
|
|
|
<input type="text" class="form-control" id="jobName" value="${jobName}" autocomplete="on" >
|
|
|
|
<input type="text" class="form-control" id="jobDesc" value="${jobName}" autocomplete="on" >
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-2">
|
|
|
|
<div class="col-xs-2">
|
|
|
@ -67,9 +67,9 @@
|
|
|
|
<thead>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th name="id" >id</th>
|
|
|
|
<th name="id" >id</th>
|
|
|
|
<th name="jobGroup" >任务组</th>
|
|
|
|
<th name="jobGroup" >jobGroup</th>
|
|
|
|
<th name="jobName" >任务名</th>
|
|
|
|
<th name="jobName" >jobName</th>
|
|
|
|
<th name="jobDesc" >描述</th>
|
|
|
|
<th name="jobDesc" >名称</th>
|
|
|
|
<th name="jobCron" >Cron</th>
|
|
|
|
<th name="jobCron" >Cron</th>
|
|
|
|
<th name="jobClass" >JobBean</th>
|
|
|
|
<th name="jobClass" >JobBean</th>
|
|
|
|
<th name="executorAddress" >执行器地址</th>
|
|
|
|
<th name="executorAddress" >执行器地址</th>
|
|
|
@ -104,12 +104,12 @@
|
|
|
|
<div class="modal-dialog modal-lg">
|
|
|
|
<div class="modal-dialog modal-lg">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<div class="modal-header">
|
|
|
|
<h4 class="modal-title" >新增任务调度信息</h4>
|
|
|
|
<h4 class="modal-title" >新增任务</h4>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<div class="modal-body">
|
|
|
|
<form class="form-horizontal form" role="form" >
|
|
|
|
<form class="form-horizontal form" role="form" >
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="firstname" class="col-sm-2 control-label">任务组<font color="red">*</font></label>
|
|
|
|
<label for="firstname" class="col-sm-2 control-label">分组<font color="red">*</font></label>
|
|
|
|
<div class="col-sm-4">
|
|
|
|
<div class="col-sm-4">
|
|
|
|
<select class="form-control" name="jobGroup" >
|
|
|
|
<select class="form-control" name="jobGroup" >
|
|
|
|
<#list JobGroupList as group>
|
|
|
|
<#list JobGroupList as group>
|
|
|
@ -117,33 +117,31 @@
|
|
|
|
</#list>
|
|
|
|
</#list>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<label for="firstname" class="col-sm-2 control-label">任务名<font color="red">*</font></label>
|
|
|
|
<label for="lastname" class="col-sm-2 control-label">名称<font color="red">*</font></label>
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="jobName" placeholder="请输入“任务名”" minlength="4" maxlength="100" ></div>
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="jobDesc" placeholder="请输入“描述”" maxlength="50" ></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="lastname" class="col-sm-2 control-label">Cron<font color="red">*</font></label>
|
|
|
|
<label for="lastname" class="col-sm-2 control-label">Cron<font color="red">*</font></label>
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="jobCron" placeholder="请输入“Cron”" maxlength="100" ></div>
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="jobCron" placeholder="请输入“Cron”" maxlength="20" ></div>
|
|
|
|
<label for="lastname" class="col-sm-2 control-label">描述<font color="red">*</font></label>
|
|
|
|
<label for="lastname" class="col-sm-2 control-label">执行器地址<font color="red">*</font></label>
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="jobDesc" placeholder="请输入“描述”" maxlength="200" ></div>
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="executorAddress" placeholder="请输入“执行器地址”,多个地址逗号分隔" maxlength="50" ></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
|
|
|
<label for="lastname" class="col-sm-2 control-label">执行器地址<font color="red">*</font></label>
|
|
|
|
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="executorAddress" placeholder="请输入“执行器地址”,多个地址逗号分隔" maxlength="200" ></div>
|
|
|
|
|
|
|
|
<label for="lastname" class="col-sm-2 control-label">jobHandler<font color="red">*</font></label>
|
|
|
|
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="executorHandler" placeholder="请输入“jobHandler”" maxlength="200" ></div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="firstname" class="col-sm-2 control-label">执行参数<font color="black">*</font></label>
|
|
|
|
<label for="lastname" class="col-sm-2 control-label">JobHandler<font color="red">*</font></label>
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="executorParam" placeholder="请输入“执行参数”" maxlength="100" ></div>
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="executorHandler" placeholder="请输入“jobHandler”" maxlength="50" ></div>
|
|
|
|
<label for="lastname" class="col-sm-2 control-label">负责人<font color="red">*</font></label>
|
|
|
|
<label for="firstname" class="col-sm-2 control-label">执行参数<font color="black">*</font></label>
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="author" placeholder="请输入“负责人”" maxlength="200" ></div>
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="executorParam" placeholder="请输入“执行参数”" maxlength="100" ></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="lastname" class="col-sm-2 control-label">报警邮件<font color="red">*</font></label>
|
|
|
|
<label for="lastname" class="col-sm-2 control-label">报警邮件<font color="red">*</font></label>
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="alarmEmail" placeholder="请输入“报警邮件”,多个邮件地址逗号分隔" maxlength="200" ></div>
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="alarmEmail" placeholder="请输入“报警邮件”,多个邮件地址逗号分隔" maxlength="100" ></div>
|
|
|
|
<label for="lastname" class="col-sm-2 control-label">报警阈值<font color="red">*</font></label>
|
|
|
|
<label for="lastname" class="col-sm-2 control-label">报警阈值<font color="red">*</font></label>
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="alarmThreshold" placeholder="请输入“报警阈值”" maxlength="200" ></div>
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="alarmThreshold" placeholder="请输入“报警阈值”" maxlength="5" ></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
|
|
|
<label for="lastname" class="col-sm-2 control-label">负责人<font color="red">*</font></label>
|
|
|
|
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="author" placeholder="请输入“负责人”" maxlength="50" ></div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="col-sm-offset-3 col-sm-6">
|
|
|
|
<div class="col-sm-offset-3 col-sm-6">
|
|
|
|
<button type="submit" class="btn btn-primary" >保存</button>
|
|
|
|
<button type="submit" class="btn btn-primary" >保存</button>
|
|
|
@ -190,41 +188,47 @@ public class DemoJobHandler extends IJobHandler {
|
|
|
|
<div class="modal-dialog modal-lg">
|
|
|
|
<div class="modal-dialog modal-lg">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<div class="modal-header">
|
|
|
|
<h4 class="modal-title" >更新任务调度信息</h4>
|
|
|
|
<h4 class="modal-title" >更新任务</h4>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<div class="modal-body">
|
|
|
|
<form class="form-horizontal form" role="form" >
|
|
|
|
<form class="form-horizontal form" role="form" >
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="firstname" class="col-sm-2 control-label">任务组<font color="red">*</font></label>
|
|
|
|
<label for="firstname" class="col-sm-2 control-label">分组<font color="red">*</font></label>
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="jobGroup" placeholder="请输入“任务组”" minlength="4" maxlength="100" readonly ></div>
|
|
|
|
<div class="col-sm-4">
|
|
|
|
<label for="firstname" class="col-sm-2 control-label">任务名<font color="red">*</font></label>
|
|
|
|
<select class="form-control" name="jobGroupTitle" disabled>
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="jobName" placeholder="请输入“任务名”" minlength="4" maxlength="100" readonly ></div>
|
|
|
|
<#list JobGroupList as group>
|
|
|
|
|
|
|
|
<option value="${group}" >${group.desc}</option>
|
|
|
|
|
|
|
|
</#list>
|
|
|
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<input type="hidden" name="jobGroup" >
|
|
|
|
|
|
|
|
<input type="hidden" name="jobName" >
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<label for="lastname" class="col-sm-2 control-label">名称<font color="red">*</font></label>
|
|
|
|
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="jobDesc" placeholder="请输入“描述”" maxlength="50" ></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="lastname" class="col-sm-2 control-label">Cron<font color="red">*</font></label>
|
|
|
|
<label for="lastname" class="col-sm-2 control-label">Cron<font color="red">*</font></label>
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="jobCron" placeholder="请输入“Cron”" maxlength="100" ></div>
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="jobCron" placeholder="请输入“Cron”" maxlength="20" ></div>
|
|
|
|
<label for="lastname" class="col-sm-2 control-label">描述<font color="red">*</font></label>
|
|
|
|
<label for="lastname" class="col-sm-2 control-label">执行器地址<font color="red">*</font></label>
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="jobDesc" placeholder="请输入“描述”" maxlength="200" ></div>
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="executorAddress" placeholder="请输入“执行器地址”,多个地址逗号分隔" maxlength="50" ></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="lastname" class="col-sm-2 control-label">执行器地址<font color="red">*</font></label>
|
|
|
|
<label for="lastname" class="col-sm-2 control-label">JobHandler<font color="red">*</font></label>
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="executorAddress" placeholder="请输入“执行器地址”,多个地址逗号分隔" maxlength="200" ></div>
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="executorHandler" placeholder="请输入“jobHandler”" maxlength="50" ></div>
|
|
|
|
<label for="lastname" class="col-sm-2 control-label">jobHandler<font color="red">*</font></label>
|
|
|
|
<label for="firstname" class="col-sm-2 control-label">执行参数<font color="black">*</font></label>
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="executorHandler" placeholder="请输入“jobHandler”" maxlength="200" ></div>
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="executorParam" placeholder="请输入“执行参数”" maxlength="100" ></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
|
|
|
<label for="firstname" class="col-sm-2 control-label">执行参数<font color="black">*</font></label>
|
|
|
|
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="executorParam" placeholder="请输入“执行参数”" maxlength="100" ></div>
|
|
|
|
|
|
|
|
<label for="lastname" class="col-sm-2 control-label">负责人<font color="red">*</font></label>
|
|
|
|
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="author" placeholder="请输入“负责人”" maxlength="200" ></div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="lastname" class="col-sm-2 control-label">报警邮件<font color="red">*</font></label>
|
|
|
|
<label for="lastname" class="col-sm-2 control-label">报警邮件<font color="red">*</font></label>
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="alarmEmail" placeholder="请输入“报警邮件”,多个邮件地址逗号分隔" maxlength="200" ></div>
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="alarmEmail" placeholder="请输入“报警邮件”,多个邮件地址逗号分隔" maxlength="100" ></div>
|
|
|
|
<label for="lastname" class="col-sm-2 control-label">报警阈值<font color="red">*</font></label>
|
|
|
|
<label for="lastname" class="col-sm-2 control-label">报警阈值<font color="red">*</font></label>
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="alarmThreshold" placeholder="请输入“报警阈值”" maxlength="200" ></div>
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="alarmThreshold" placeholder="请输入“报警阈值”" maxlength="5" ></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
|
|
|
<label for="lastname" class="col-sm-2 control-label">负责人<font color="red">*</font></label>
|
|
|
|
|
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="author" placeholder="请输入“负责人”" maxlength="50" ></div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="col-sm-offset-3 col-sm-6">
|
|
|
|
<div class="col-sm-offset-3 col-sm-6">
|
|
|
|
<button type="submit" class="btn btn-primary" >保存</button>
|
|
|
|
<button type="submit" class="btn btn-primary" >保存</button>
|
|
|
|