Commit 44f237d695b7ef36d2208582acae88926c996c65

Authored by 徐近程
1 parent 0a2cdf7e

图文审核update

src/main/resources/templates/page/content.html
@@ -85,6 +85,24 @@ @@ -85,6 +85,24 @@
85 </div> 85 </div>
86 </div> 86 </div>
87 87
  88 + <div class="btn-group margin-bottom col-md-6" style="padding: 0;width: 15%;float: left;">
  89 + <div class="col-md-5" style="padding: 0;width: 100%;">
  90 + <label for="source" class="control-label cb-toolbar">来源(昵称):</label>
  91 + <div class="col-sm-9" style="padding: 0;">
  92 + <input class="form-control" type="text" value="" id="source">
  93 + </div>
  94 + </div>
  95 + </div>
  96 +
  97 + <div class="btn-group margin-bottom col-md-6" style="padding: 0;width: 15%;float: left;">
  98 + <div class="col-md-5" style="padding: 0;width: 100%;">
  99 + <label for="author" class="control-label cb-toolbar">作者(sid):</label>
  100 + <div class="col-sm-9" style="padding: 0;">
  101 + <input class="form-control" type="text" value="" id="author">
  102 + </div>
  103 + </div>
  104 + </div>
  105 +
88 <div class="btn-group margin-bottom col-md-6" style="padding: 0;width: 10%;float: left;"> 106 <div class="btn-group margin-bottom col-md-6" style="padding: 0;width: 10%;float: left;">
89 <div class="col-md-5" style="padding: 0;width: 100%;"> 107 <div class="col-md-5" style="padding: 0;width: 100%;">
90 <label for="content_tag" class="control-label cb-toolbar">标签:</label> 108 <label for="content_tag" class="control-label cb-toolbar">标签:</label>
@@ -130,20 +148,6 @@ @@ -130,20 +148,6 @@
130 </div> 148 </div>
131 </div> 149 </div>
132 150
133 - <div class="col-md-6" style="padding: 0;width: 25%;" th:if="${session.sessionUser.spid==0}">  
134 - <label for="source" class="control-label cb-toolbar">来源(昵称):</label>  
135 - <div class="col-sm-7" style="padding: 0;">  
136 - <input class="form-control" type="text" value="" id="source">  
137 - </div>  
138 - </div>  
139 -  
140 - <div class="col-md-6" style="padding: 0;width: 25%;" th:if="${session.sessionUser.spid==0}">  
141 - <label for="author" class="control-label cb-toolbar">作者(sid):</label>  
142 - <div class="col-sm-7" style="padding: 0;">  
143 - <input class="form-control" type="text" value="" id="author">  
144 - </div>  
145 - </div>  
146 -  
147 <div class="col-md-6" style="padding: 0;width: 15%;" th:if="${session.sessionUser.spid==0}"> 151 <div class="col-md-6" style="padding: 0;width: 15%;" th:if="${session.sessionUser.spid==0}">
148 <label for="count" class="control-label cb-toolbar">每页条数:</label> 152 <label for="count" class="control-label cb-toolbar">每页条数:</label>
149 <div class="col-sm-5" style="padding: 0;"> 153 <div class="col-sm-5" style="padding: 0;">
@@ -433,6 +437,8 @@ @@ -433,6 +437,8 @@
433 437
434 function updateValue(){ 438 function updateValue(){
435 title = $("#video_titleID").val(); 439 title = $("#video_titleID").val();
  440 + source = $("#source").val();
  441 + author = $("#author").val();
436 start_date = $("#start_date").val(); 442 start_date = $("#start_date").val();
437 end_date = $("#end_date").val(); 443 end_date = $("#end_date").val();
438 var spId=[[${session.sessionUser.spid}]]; 444 var spId=[[${session.sessionUser.spid}]];
@@ -449,32 +455,32 @@ @@ -449,32 +455,32 @@
449 function quanbu() { 455 function quanbu() {
450 updateValue(); 456 updateValue();
451 457
452 - window.location.href = "/content/page?title=" + title + "&start_date=" + start_date + "&end_date=" + end_date + "&sp_desc=" + sp_desc+"&pageSize="+count+"&contentId="+contentId+"&content_tag="+content_tag; 458 + window.location.href = "/content/page?title=" + title + "&source=" + source + "&author=" + author + "&start_date=" + start_date + "&end_date=" + end_date + "&sp_desc=" + sp_desc+"&pageSize="+count+"&contentId="+contentId+"&content_tag="+content_tag;
453 } 459 }
454 460
455 //全部待领 461 //全部待领
456 $('#daishen').click(function () { 462 $('#daishen').click(function () {
457 updateValue(); 463 updateValue();
458 var receive_status = 0; 464 var receive_status = 0;
459 - window.location.href = "/content/page?title=" + title + "&start_date=" + start_date + "&end_date=" + end_date + "&receive_status=" + receive_status + "&sp_desc=" + sp_desc+"&pageSize="+count+"&contentId="+contentId+"&content_tag="+content_tag; 465 + window.location.href = "/content/page?title=" + title + "&source=" + source + "&author=" + author + "&start_date=" + start_date + "&end_date=" + end_date + "&receive_status=" + receive_status + "&sp_desc=" + sp_desc+"&pageSize="+count+"&contentId="+contentId+"&content_tag="+content_tag;
460 }); 466 });
461 //我的待审核 467 //我的待审核
462 $('#Mydaishen').click(function () { 468 $('#Mydaishen').click(function () {
463 updateValue(); 469 updateValue();
464 var receive_status = 1; 470 var receive_status = 1;
465 - window.location.href = "/content/page?title=" + title + "&start_date=" + start_date + "&end_date=" + end_date + "&receive_status=" + receive_status + "&sp_desc=" + sp_desc+"&pageSize="+count+"&contentId="+contentId+"&content_tag="+content_tag; 471 + window.location.href = "/content/page?title=" + title + "&source=" + source + "&author=" + author + "&start_date=" + start_date + "&end_date=" + end_date + "&receive_status=" + receive_status + "&sp_desc=" + sp_desc+"&pageSize="+count+"&contentId="+contentId+"&content_tag="+content_tag;
466 }); 472 });
467 //我的已审核 473 //我的已审核
468 $('#yishen').click(function () { 474 $('#yishen').click(function () {
469 updateValue(); 475 updateValue();
470 var receive_status = 2; 476 var receive_status = 2;
471 - window.location.href = "/content/page?title=" + title + "&start_date=" + start_date + "&end_date=" + end_date + "&receive_status=" + receive_status + "&sp_desc=" + sp_desc+"&pageSize="+count+"&contentId="+contentId+"&content_tag="+content_tag; 477 + window.location.href = "/content/page?title=" + title + "&source=" + source + "&author=" + author + "&start_date=" + start_date + "&end_date=" + end_date + "&receive_status=" + receive_status + "&sp_desc=" + sp_desc+"&pageSize="+count+"&contentId="+contentId+"&content_tag="+content_tag;
472 }); 478 });
473 479
474 480
475 //查询 481 //查询
476 $('#videos_query').click(function () { 482 $('#videos_query').click(function () {
477 - window.location.href = "/content/page?title=" + title + "&start_date=" + start_date + "&end_date=" + end_date + "&receive_status=" + "&sp_desc=" + sp_desc+"&pageSize="+count+"&contentId="+contentId+"&content_tag="+content_tag; 483 + window.location.href = "/content/page?title=" + title +"&source=" + source + "&author=" + author + "&start_date=" + start_date + "&end_date=" + end_date + "&receive_status=" + "&sp_desc=" + sp_desc+"&pageSize="+count+"&contentId="+contentId+"&content_tag="+content_tag;
478 }); 484 });
479 /*全选的操作*/ 485 /*全选的操作*/
480 $('#select_all').click(function () { 486 $('#select_all').click(function () {