Commit 8714d74d48d8ec4271e6b6952ea6e3acdc702b50

Authored by 王言钊
1 parent 623681be

修复直播申请模块条件搜索下拉列展开

src/main/resources/templates/page/liveApply.html
@@ -492,8 +492,10 @@ @@ -492,8 +492,10 @@
492 var organization = ""; 492 var organization = "";
493 var shenhe_state = ""; 493 var shenhe_state = "";
494 var count = ""; 494 var count = "";
  495 + var expand_list_state = "";
495 496
496 function updateValue() { 497 function updateValue() {
  498 + expand_list_state = $("#forms").attr("expand_list_state");
497 liveApply_theme = $("#liveApply_theme").val(); 499 liveApply_theme = $("#liveApply_theme").val();
498 start_date = $("#start_date").val(); 500 start_date = $("#start_date").val();
499 end_date = $("#end_date").val(); 501 end_date = $("#end_date").val();
@@ -511,7 +513,6 @@ @@ -511,7 +513,6 @@
511 function quanbu() { 513 function quanbu() {
512 updateValue(); 514 updateValue();
513 var receive = ""; 515 var receive = "";
514 - var expand_list_state = $("#forms").attr("expand_list_state");  
515 window.location.href = "/liveApply/page?theme=" + liveApply_theme + "&start_date=" + start_date + "&end_date=" + end_date + "&shenhe_state=" + shenhe_state + "&receive=" + receive + "&organization=" + organization + "&sp_desc=" + sp_desc + "&page=" + 1 + "&pageSize=" + count + "&expand_list_state=" + expand_list_state; 516 window.location.href = "/liveApply/page?theme=" + liveApply_theme + "&start_date=" + start_date + "&end_date=" + end_date + "&shenhe_state=" + shenhe_state + "&receive=" + receive + "&organization=" + organization + "&sp_desc=" + sp_desc + "&page=" + 1 + "&pageSize=" + count + "&expand_list_state=" + expand_list_state;
516 } 517 }
517 518
@@ -520,27 +521,27 @@ @@ -520,27 +521,27 @@
520 updateValue(); 521 updateValue();
521 if ($.trim(shenhe_state) == '') shenhe_state = 0; 522 if ($.trim(shenhe_state) == '') shenhe_state = 0;
522 var receive = 0; 523 var receive = 0;
523 - window.location.href = "/liveApply/page?theme=" + liveApply_theme + "&start_date=" + start_date + "&end_date=" + end_date + "&shenhe_state=" + shenhe_state + "&receive=" + receive + "&organization=" + organization + "&sp_desc=" + sp_desc + "&page=" + 1 + "&pageSize=" + count; 524 + window.location.href = "/liveApply/page?theme=" + liveApply_theme + "&start_date=" + start_date + "&end_date=" + end_date + "&shenhe_state=" + shenhe_state + "&receive=" + receive + "&organization=" + organization + "&sp_desc=" + sp_desc + "&page=" + 1 + "&pageSize=" + count + "&expand_list_state=" + expand_list_state;
524 }); 525 });
525 //我的待审核 526 //我的待审核
526 $('#Mydaishen').click(function () { 527 $('#Mydaishen').click(function () {
527 updateValue(); 528 updateValue();
528 var receive = 1; 529 var receive = 1;
529 if ($.trim(shenhe_state) == '') shenhe_state = 0; 530 if ($.trim(shenhe_state) == '') shenhe_state = 0;
530 - window.location.href = "/liveApply/page?theme=" + liveApply_theme + "&start_date=" + start_date + "&end_date=" + end_date + "&shenhe_state=" + shenhe_state + "&receive=" + receive + "&organization=" + organization + "&sp_desc=" + sp_desc + "&page=" + 1 + "&pageSize=" + count; 531 + window.location.href = "/liveApply/page?theme=" + liveApply_theme + "&start_date=" + start_date + "&end_date=" + end_date + "&shenhe_state=" + shenhe_state + "&receive=" + receive + "&organization=" + organization + "&sp_desc=" + sp_desc + "&page=" + 1 + "&pageSize=" + count + "&expand_list_state=" + expand_list_state;
531 }); 532 });
532 //我的已审核 533 //我的已审核
533 $('#yishen').click(function () { 534 $('#yishen').click(function () {
534 updateValue(); 535 updateValue();
535 var receive = 1; 536 var receive = 1;
536 if ($.trim(shenhe_state) == '') shenhe_state = 3;//审核状态,3代表通过和拒绝都查询 537 if ($.trim(shenhe_state) == '') shenhe_state = 3;//审核状态,3代表通过和拒绝都查询
537 - window.location.href = "/liveApply/page?theme=" + liveApply_theme + "&start_date=" + start_date + "&end_date=" + end_date + "&shenhe_state=" + shenhe_state + "&receive=" + receive + "&organization=" + organization + "&sp_desc=" + sp_desc + "&page=" + 1 + "&pageSize=" + count; 538 + window.location.href = "/liveApply/page?theme=" + liveApply_theme + "&start_date=" + start_date + "&end_date=" + end_date + "&shenhe_state=" + shenhe_state + "&receive=" + receive + "&organization=" + organization + "&sp_desc=" + sp_desc + "&page=" + 1 + "&pageSize=" + count + "&expand_list_state=" + expand_list_state;
538 }); 539 });
539 540
540 541
541 //查询 542 //查询
542 $('#videos_query').click(function () { 543 $('#videos_query').click(function () {
543 - window.location.href = "/liveApply/page?theme=" + liveApply_theme + "&start_date=" + start_date + "&end_date=" + end_date + "&shenhe_state=" + shenhe_state + "&organization=" + organization + "&sp_desc=" + sp_desc + "&page=" + 1 + "&pageSize=" + count; 544 + window.location.href = "/liveApply/page?theme=" + liveApply_theme + "&start_date=" + start_date + "&end_date=" + end_date + "&shenhe_state=" + shenhe_state + "&organization=" + organization + "&sp_desc=" + sp_desc + "&page=" + 1 + "&pageSize=" + count + "&expand_list_state=" + expand_list_state;
544 }); 545 });
545 /*全选的操作*/ 546 /*全选的操作*/
546 $('#select_all').click(function () { 547 $('#select_all').click(function () {