Authored by qinchao

docker日志支持排序

... ... @@ -7,7 +7,7 @@ import lombok.Data;
*/
@Data
public class DockerLogReq {
private String sort;
private String logset_id;
private String topic_ids;
private String start_time;
... ...
... ... @@ -101,6 +101,12 @@
<div class="input-group" >
<input id="endTime"type="text" class="form-control dateTimeInput" style="width:150px;" />
</div>
<div class="input-group" >
<select id="sortType" class="form-control">
<option value="desc" selected>降序排列</option>
<option value="asc">升序排列</option>
</select>
</div>
</div>
</div>
<div class="widget-title" style="height: 56px;margin-left: 5px">
... ... @@ -326,6 +332,7 @@
var params = {
sort:$("#sortType").val(),
logset_id : logset_id,
topic_ids : topic_ids.join(","),
start_time : start_time,
... ...