Authored by qinchao

docker日志支持排序

@@ -7,7 +7,7 @@ import lombok.Data; @@ -7,7 +7,7 @@ import lombok.Data;
7 */ 7 */
8 @Data 8 @Data
9 public class DockerLogReq { 9 public class DockerLogReq {
10 - 10 + private String sort;
11 private String logset_id; 11 private String logset_id;
12 private String topic_ids; 12 private String topic_ids;
13 private String start_time; 13 private String start_time;
@@ -101,6 +101,12 @@ @@ -101,6 +101,12 @@
101 <div class="input-group" > 101 <div class="input-group" >
102 <input id="endTime"type="text" class="form-control dateTimeInput" style="width:150px;" /> 102 <input id="endTime"type="text" class="form-control dateTimeInput" style="width:150px;" />
103 </div> 103 </div>
  104 + <div class="input-group" >
  105 + <select id="sortType" class="form-control">
  106 + <option value="desc" selected>降序排列</option>
  107 + <option value="asc">升序排列</option>
  108 + </select>
  109 + </div>
104 </div> 110 </div>
105 </div> 111 </div>
106 <div class="widget-title" style="height: 56px;margin-left: 5px"> 112 <div class="widget-title" style="height: 56px;margin-left: 5px">
@@ -326,6 +332,7 @@ @@ -326,6 +332,7 @@
326 332
327 333
328 var params = { 334 var params = {
  335 + sort:$("#sortType").val(),
329 logset_id : logset_id, 336 logset_id : logset_id,
330 topic_ids : topic_ids.join(","), 337 topic_ids : topic_ids.join(","),
331 start_time : start_time, 338 start_time : start_time,