|
@@ -101,6 +101,17 @@ |
|
@@ -101,6 +101,17 @@ |
101
|
</c:forEach>
|
101
|
</c:forEach>
|
102
|
</select>
|
102
|
</select>
|
103
|
</div>
|
103
|
</div>
|
|
|
104
|
+ <div class="input-group" style="float: left;">
|
|
|
105
|
+ <span class="input-group-addon">状态:</span>
|
|
|
106
|
+ <select id="currentStatus" name="currentStatus" class="form-control">
|
|
|
107
|
+ <option value="0"></option>
|
|
|
108
|
+ <option value="1">正在进行</option>
|
|
|
109
|
+ <option value="2">成功</option>
|
|
|
110
|
+ <option value="3">强制退出</option>
|
|
|
111
|
+ <option value="4">出错退出</option>
|
|
|
112
|
+
|
|
|
113
|
+ </select>
|
|
|
114
|
+ </div>
|
104
|
<button id="searchBtn" class="btn btn-primary" style="margin-left: 18px;">搜索</button>
|
115
|
<button id="searchBtn" class="btn btn-primary" style="margin-left: 18px;">搜索</button>
|
105
|
</div>
|
116
|
</div>
|
106
|
</div>
|
117
|
</div>
|
|
@@ -153,10 +164,10 @@ |
|
@@ -153,10 +164,10 @@ |
153
|
width: "8%"
|
164
|
width: "8%"
|
154
|
}, {
|
165
|
}, {
|
155
|
title: "状态",
|
166
|
title: "状态",
|
156
|
- field: "status",
|
167
|
+ field: "currentStatus",
|
157
|
formatter : function(value, rowData, rowIndex) {
|
168
|
formatter : function(value, rowData, rowIndex) {
|
158
|
if(value == 1){
|
169
|
if(value == 1){
|
159
|
- return '成功';
|
170
|
+ return '正在进行';
|
160
|
} else if(value == 2){
|
171
|
} else if(value == 2){
|
161
|
return '成功';
|
172
|
return '成功';
|
162
|
}else if(value == 3){
|
173
|
}else if(value == 3){
|
|
@@ -189,9 +200,12 @@ |
|
@@ -189,9 +200,12 @@ |
189
|
$("#searchBtn").click(function () {
|
200
|
$("#searchBtn").click(function () {
|
190
|
var currentProject = $("#currentProject").val();
|
201
|
var currentProject = $("#currentProject").val();
|
191
|
var environment = $("#environment").val();
|
202
|
var environment = $("#environment").val();
|
|
|
203
|
+ var currentStatus = $("#currentStatus").val();
|
|
|
204
|
+
|
192
|
$("#historyTable").table("load", {
|
205
|
$("#historyTable").table("load", {
|
193
|
'currentProject': currentProject,
|
206
|
'currentProject': currentProject,
|
194
|
- 'environment': environment
|
207
|
+ 'environment': environment,
|
|
|
208
|
+ 'currentStatus': currentStatus
|
195
|
});
|
209
|
});
|
196
|
});
|
210
|
});
|
197
|
|
211
|
|