Authored by fu

增加查询条件

@@ -81,6 +81,12 @@ @@ -81,6 +81,12 @@
81 <span class="input-group-addon">模块名称:</span> 81 <span class="input-group-addon">模块名称:</span>
82 <input type="text" id="moduleName" name="moduleName" class="form-control" 82 <input type="text" id="moduleName" name="moduleName" class="form-control"
83 placeholder=""/> 83 placeholder=""/>
  84 + <span class="input-group-addon">任务ID:</span>
  85 + <input type="text" id="jobId" name="jobId" class="form-control"
  86 + placeholder=""/>
  87 + <span class="input-group-addon">任务名称:</span>
  88 + <input type="text" id="jobName" name="jobName" class="form-control"
  89 + placeholder=""/>
84 </div> 90 </div>
85 <button id="searchBtn" class="btn btn-primary" style="margin-left: 18px;">搜索</button> 91 <button id="searchBtn" class="btn btn-primary" style="margin-left: 18px;">搜索</button>
86 </div> 92 </div>
@@ -610,8 +616,12 @@ @@ -610,8 +616,12 @@
610 //点击查询按钮 616 //点击查询按钮
611 $("#searchBtn").click(function () { 617 $("#searchBtn").click(function () {
612 var moduleName = $("#moduleName").val(); 618 var moduleName = $("#moduleName").val();
  619 + var jobId = $("#jobId").val();
  620 + var jobName = $("#jobName").val();
613 $("#jobInfoDiv #jobInfoListTable").table("load", { 621 $("#jobInfoDiv #jobInfoListTable").table("load", {
614 - 'module': moduleName 622 + 'module': moduleName,
  623 + 'jobId':jobId,
  624 + 'jobName':jobName
615 }); 625 });
616 }); 626 });
617 </script> 627 </script>