Skip to content

Commit

Permalink
Merge pull request #342 from Zhangxinguo/master
Browse files Browse the repository at this point in the history
Fixed #341
  • Loading branch information
haocao authored May 31, 2017
2 parents c2eb1ba + 3d20b6a commit 57cf7ad
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,14 @@
</div>
</div>
</div>
<div class="row">
<div class="form-group" id="bootstrap-script-div" hidden="hidden">
<label for="script-command-line" class="col-sm-2 control-label"><i>*</i>作业执行脚本</label>
<div class="col-sm-9">
<input type="text" id="script-command-line" name="scriptCommandLine" class="form-control" data-toggle="tooltip" data-placement="bottom" title="SCRIPT类型作业命令行执行脚本" />
</div>
</div>
</div>
<div class="row">
<div class="form-group">
<label for="description" class="col-sm-2 control-label">作业描述信息</label>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,14 @@
</div>
</div>
</div>
<div class="row">
<div class="form-group" id="bootstrap-script-div" hidden="hidden">
<label for="script-command-line" class="col-sm-2 control-label"><i>*</i>作业执行脚本</label>
<div class="col-sm-9">
<input type="text" id="script-command-line" disabled="disabled" name="scriptCommandLine" class="form-control" data-toggle="tooltip" data-placement="bottom" title="SCRIPT类型作业命令行执行脚本" />
</div>
</div>
</div>
<div class="row">
<div class="form-group">
<label for="description" class="col-sm-2 control-label">作业描述信息</label>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,14 @@
</div>
</div>
</div>
<div class="row">
<div class="form-group" id="bootstrap-script-div" hidden="hidden">
<label for="script-command-line" class="col-sm-2 control-label"><i>*</i>作业执行脚本</label>
<div class="col-sm-9">
<input type="text" id="script-command-line" name="scriptCommandLine" class="form-control" data-toggle="tooltip" data-placement="bottom" title="SCRIPT类型作业命令行执行脚本" />
</div>
</div>
</div>
<div class="row">
<div class="form-group">
<label for="description" class="col-sm-2 control-label">作业描述信息</label>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ function getJob() {
streamingProcess: $("#streaming-process").prop("checked"),
applicationContext: $("#application-context").val(),
shardingItemParameters: $("#sharding-item-parameters").val(),
scriptCommandLine: $("#script-command-line").val(),
description: $("#description").val()
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ function renderJob(job) {
$("#misfire").prop("checked", job.misfire);
$("#streaming-process").prop("checked", job.streamingProcess);
$("#job-type").val(job.jobType);
$("#script-command-line").val(job.scriptCommandLine);
if("SIMPLE" === job.jobType) {
$("#job-class").attr("value", job.jobClass);
$("#job-class-model").show();
Expand Down

0 comments on commit 57cf7ad

Please sign in to comment.