Showing
2 changed files
with
16 additions
and
0 deletions
@@ -48,6 +48,11 @@ | @@ -48,6 +48,11 @@ | ||
48 | <div class="span12"> | 48 | <div class="span12"> |
49 | <div class="section section-visible"> | 49 | <div class="section section-visible"> |
50 | <h3>Queues</h3> | 50 | <h3>Queues</h3> |
51 | + <div class="input-group" style="float: right; margin-right: 50px;"> | ||
52 | + <input type="text" id="tx_search_queue" width="50" style="display: inline" placeholder="队列关键字"/> | ||
53 | +         | ||
54 | + <button type="button" class="btn btn-default" data-dismiss="modal" id="search_button">搜索</button> | ||
55 | + </div> | ||
51 | <div class="hider updatable" style="display:block;"> | 56 | <div class="hider updatable" style="display:block;"> |
52 | <table class="table table-bordered table-striped table-hover" id="queueViewTable"> | 57 | <table class="table table-bordered table-striped table-hover" id="queueViewTable"> |
53 | </table> | 58 | </table> |
@@ -61,6 +66,15 @@ | @@ -61,6 +66,15 @@ | ||
61 | </div> | 66 | </div> |
62 | 67 | ||
63 | <script> | 68 | <script> |
69 | + $("#search_button").click(function () { | ||
70 | + var key=$("#tx_search_queue").val(); | ||
71 | + $("#queueViewTable").table("load", | ||
72 | + { | ||
73 | + 'moId': moId, | ||
74 | + 'queueKey': key | ||
75 | + }) | ||
76 | + }) | ||
77 | + | ||
64 | </script> | 78 | </script> |
65 | 79 | ||
66 | <script src="<%=basePath %>js/rabbit.js" type="text/javascript"></script> | 80 | <script src="<%=basePath %>js/rabbit.js" type="text/javascript"></script> |
-
Please register or login to post a comment