Commit a124a56e56482b0b808635bbfd9ac1f0d89e5293
1 parent
8714d74d
修复点播模块条件搜索下拉列展开
Showing
1 changed file
with
6 additions
and
5 deletions
src/main/resources/templates/page/video.html
| @@ -478,6 +478,7 @@ | @@ -478,6 +478,7 @@ | ||
| 478 | var shen_auditor_id = ""; | 478 | var shen_auditor_id = ""; |
| 479 | var contentId = ""; | 479 | var contentId = ""; |
| 480 | var video_id = ""; | 480 | var video_id = ""; |
| 481 | + var expand_list_state = ""; | ||
| 481 | 482 | ||
| 482 | 483 | ||
| 483 | function updateValue() { | 484 | function updateValue() { |
| @@ -489,6 +490,7 @@ | @@ -489,6 +490,7 @@ | ||
| 489 | source = $("#source").val(); | 490 | source = $("#source").val(); |
| 490 | var spId = [[${session.sessionUser.spid}]]; | 491 | var spId = [[${session.sessionUser.spid}]]; |
| 491 | count = $("#pageSize").val(); | 492 | count = $("#pageSize").val(); |
| 493 | + expand_list_state = $("#forms").attr("expand_list_state"); | ||
| 492 | if (spId == 0) { | 494 | if (spId == 0) { |
| 493 | sp_desc = $("#sp_desc").val(); | 495 | sp_desc = $("#sp_desc").val(); |
| 494 | video_user_id = $("#video_user_id").val(); | 496 | video_user_id = $("#video_user_id").val(); |
| @@ -502,7 +504,6 @@ | @@ -502,7 +504,6 @@ | ||
| 502 | //全部 | 504 | //全部 |
| 503 | function quanbu() { | 505 | function quanbu() { |
| 504 | updateValue(); | 506 | updateValue(); |
| 505 | - var expand_list_state = $("#forms").attr("expand_list_state"); | ||
| 506 | window.location.href = "/videos/page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&video_priority=" + video_priority + "&sp_desc=" + sp_desc + "&page=" + 1 + "&pageSize=" + count + "&sp_Id=" + sp_Id + "&source=" + source + "&video_user_id=" + video_user_id + "&shen_auditor_id=" + shen_auditor_id + "&contentId=" + contentId + "&video_id=" + video_id + "&expand_list_state=" + expand_list_state; | 507 | window.location.href = "/videos/page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&video_priority=" + video_priority + "&sp_desc=" + sp_desc + "&page=" + 1 + "&pageSize=" + count + "&sp_Id=" + sp_Id + "&source=" + source + "&video_user_id=" + video_user_id + "&shen_auditor_id=" + shen_auditor_id + "&contentId=" + contentId + "&video_id=" + video_id + "&expand_list_state=" + expand_list_state; |
| 507 | 508 | ||
| 508 | } | 509 | } |
| @@ -512,27 +513,27 @@ | @@ -512,27 +513,27 @@ | ||
| 512 | updateValue(); | 513 | updateValue(); |
| 513 | if ($.trim(state) == '') state = 0; | 514 | if ($.trim(state) == '') state = 0; |
| 514 | var receive = 0; | 515 | var receive = 0; |
| 515 | - 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 + "&page=" + 1 + "&pageSize=" + count + "&sp_Id=" + sp_Id + "&source=" + source + "&video_user_id=" + video_user_id + "&shen_auditor_id=" + shen_auditor_id + "&contentId=" + contentId + "&video_id=" + video_id; | 516 | + 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 + "&page=" + 1 + "&pageSize=" + count + "&sp_Id=" + sp_Id + "&source=" + source + "&video_user_id=" + video_user_id + "&shen_auditor_id=" + shen_auditor_id + "&contentId=" + contentId + "&video_id=" + video_id + "&expand_list_state=" + expand_list_state; |
| 516 | }); | 517 | }); |
| 517 | //我的待审核 | 518 | //我的待审核 |
| 518 | $('#Mydaishen').click(function () { | 519 | $('#Mydaishen').click(function () { |
| 519 | updateValue(); | 520 | updateValue(); |
| 520 | var receive = 1; | 521 | var receive = 1; |
| 521 | if ($.trim(state) == '') state = 0; | 522 | if ($.trim(state) == '') state = 0; |
| 522 | - 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 + "&page=" + 1 + "&pageSize=" + count + "&sp_Id=" + sp_Id + "&source=" + source + "&video_user_id=" + video_user_id + "&shen_auditor_id=" + shen_auditor_id + "&contentId=" + contentId + "&video_id=" + video_id; | 523 | + 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 + "&page=" + 1 + "&pageSize=" + count + "&sp_Id=" + sp_Id + "&source=" + source + "&video_user_id=" + video_user_id + "&shen_auditor_id=" + shen_auditor_id + "&contentId=" + contentId + "&video_id=" + video_id + "&expand_list_state=" + expand_list_state; |
| 523 | }); | 524 | }); |
| 524 | //我的已审核 | 525 | //我的已审核 |
| 525 | $('#yishen').click(function () { | 526 | $('#yishen').click(function () { |
| 526 | updateValue(); | 527 | updateValue(); |
| 527 | var receive = 1; | 528 | var receive = 1; |
| 528 | if ($.trim(state) == '') state = 3;//审核状态,3代表通过和拒绝都查询 | 529 | if ($.trim(state) == '') state = 3;//审核状态,3代表通过和拒绝都查询 |
| 529 | - 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 + "&page=" + 1 + "&pageSize=" + count + "&sp_Id=" + sp_Id + "&source=" + source + "&video_user_id=" + video_user_id + "&shen_auditor_id=" + shen_auditor_id + "&contentId=" + contentId + "&video_id=" + video_id; | 530 | + 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 + "&page=" + 1 + "&pageSize=" + count + "&sp_Id=" + sp_Id + "&source=" + source + "&video_user_id=" + video_user_id + "&shen_auditor_id=" + shen_auditor_id + "&contentId=" + contentId + "&video_id=" + video_id + "&expand_list_state=" + expand_list_state; |
| 530 | }); | 531 | }); |
| 531 | 532 | ||
| 532 | 533 | ||
| 533 | //查询 | 534 | //查询 |
| 534 | $('#videos_query').click(function () { | 535 | $('#videos_query').click(function () { |
| 535 | - window.location.href = "/videos/page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&video_priority=" + video_priority + "&sp_desc=" + sp_desc + "&page=" + 1 + "&pageSize=" + count + "&sp_Id=" + sp_Id + "&source=" + source + "&video_user_id=" + video_user_id + "&shen_auditor_id=" + shen_auditor_id + "&contentId=" + contentId + "&video_id=" + video_id; | 536 | + window.location.href = "/videos/page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&video_priority=" + video_priority + "&sp_desc=" + sp_desc + "&page=" + 1 + "&pageSize=" + count + "&sp_Id=" + sp_Id + "&source=" + source + "&video_user_id=" + video_user_id + "&shen_auditor_id=" + shen_auditor_id + "&contentId=" + contentId + "&video_id=" + video_id + "&expand_list_state=" + expand_list_state; |
| 536 | }); | 537 | }); |
| 537 | /*全选的操作*/ | 538 | /*全选的操作*/ |
| 538 | $('#select_all').click(function () { | 539 | $('#select_all').click(function () { |