Commit c83bc79f1e89a7aadea34425327ae8c3351569ab

Authored by liwei2917
1 parent 1b05023b

增加查询条数

src/main/resources/templates/page/video.html
@@ -129,6 +129,12 @@ @@ -129,6 +129,12 @@
129 <input class="form-control" type="text" value="" id="sp_desc"> 129 <input class="form-control" type="text" value="" id="sp_desc">
130 </div> 130 </div>
131 </div> 131 </div>
  132 + <div class="col-md-6" style="padding: 0;width: 25%;" th:if="${session.sessionUser.spid==0}">
  133 + <label for="count" class="control-label cb-toolbar">每页条数:</label>
  134 + <div class="col-sm-9" style="padding: 0;">
  135 + <input class="form-control" type="text" value="" id="count">
  136 + </div>
  137 + </div>
132 </div> 138 </div>
133 </div> 139 </div>
134 <div class="btn-group margin-bottom col-md-6" style="padding: 0;width: 1%;float: left;"> 140 <div class="btn-group margin-bottom col-md-6" style="padding: 0;width: 1%;float: left;">
@@ -349,7 +355,9 @@ @@ -349,7 +355,9 @@
349 var video_title = $("#video_titleID").val(); 355 var video_title = $("#video_titleID").val();
350 var start_date = $("#start_date").val(); 356 var start_date = $("#start_date").val();
351 var end_date = $("#end_date").val(); 357 var end_date = $("#end_date").val();
352 - window.location.href = "page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&receive=" + receive + "&video_priority=" + video_priority; 358 + var sp_desc = $("#sp_desc").val();
  359 + var count = $("#count").val();
  360 + window.location.href = "page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&receive=" + receive + "&video_priority=" + video_priority + "&sp_desc=" + sp_desc+"&pageSize="+count;
353 }); 361 });
354 //我的待审核 362 //我的待审核
355 $('#Mydaishen').click(function () { 363 $('#Mydaishen').click(function () {
@@ -359,7 +367,9 @@ @@ -359,7 +367,9 @@
359 var video_title = $("#video_titleID").val(); 367 var video_title = $("#video_titleID").val();
360 var start_date = $("#start_date").val(); 368 var start_date = $("#start_date").val();
361 var end_date = $("#end_date").val(); 369 var end_date = $("#end_date").val();
362 - window.location.href = "page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&receive=" + receive + "&video_priority=" + video_priority; 370 + var sp_desc = $("#sp_desc").val();
  371 + var count = $("#count").val();
  372 + window.location.href = "page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&receive=" + receive + "&video_priority=" + video_priority + "&sp_desc=" + sp_desc+"&pageSize="+count;
363 }); 373 });
364 //我的已审核 374 //我的已审核
365 $('#yishen').click(function () { 375 $('#yishen').click(function () {
@@ -369,7 +379,9 @@ @@ -369,7 +379,9 @@
369 var video_title = $("#video_titleID").val(); 379 var video_title = $("#video_titleID").val();
370 var start_date = $("#start_date").val(); 380 var start_date = $("#start_date").val();
371 var end_date = $("#end_date").val(); 381 var end_date = $("#end_date").val();
372 - window.location.href = "page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&receive=" + receive + "&video_priority=" + video_priority; 382 + var sp_desc = $("#sp_desc").val();
  383 + var count = $("#count").val();
  384 + window.location.href = "page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&receive=" + receive + "&video_priority=" + video_priority + "&sp_desc=" + sp_desc+"&pageSize="+count;
373 }); 385 });
374 386
375 387
@@ -380,7 +392,8 @@ @@ -380,7 +392,8 @@
380 var start_date = $("#start_date").val(); 392 var start_date = $("#start_date").val();
381 var end_date = $("#end_date").val(); 393 var end_date = $("#end_date").val();
382 var sp_desc = $("#sp_desc").val(); 394 var sp_desc = $("#sp_desc").val();
383 - window.location.href = "/videos/page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=&video_priority=" + video_priority + "&sp_desc=" + sp_desc; 395 + var count = $("#count").val();
  396 + window.location.href = "/videos/page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=&video_priority=" + video_priority + "&sp_desc=" + sp_desc+"&pageSize="+count;
384 }); 397 });
385 /*全选的操作*/ 398 /*全选的操作*/
386 $('#select_all').click(function () { 399 $('#select_all').click(function () {