Commit 6782e06124820ff531543fff93b37d33b60d8f31
Merge branch 'test' into dev
Showing
6 changed files
with
26 additions
and
43 deletions
src/main/java/com/cnlive/shenhe/dto/AudioDTO.java
| @@ -16,7 +16,6 @@ public class AudioDTO extends ShyAudio implements Serializable { | @@ -16,7 +16,6 @@ public class AudioDTO extends ShyAudio implements Serializable { | ||
| 16 | private String end_date; | 16 | private String end_date; |
| 17 | private Integer page; | 17 | private Integer page; |
| 18 | private Integer pageSize; | 18 | private Integer pageSize; |
| 19 | - private String video_priority; | ||
| 20 | private String orderByClause; | 19 | private String orderByClause; |
| 21 | private String sp_desc; | 20 | private String sp_desc; |
| 22 | private String sp_Id; | 21 | private String sp_Id; |
| @@ -26,13 +25,12 @@ public class AudioDTO extends ShyAudio implements Serializable { | @@ -26,13 +25,12 @@ public class AudioDTO extends ShyAudio implements Serializable { | ||
| 26 | public AudioDTO() { | 25 | public AudioDTO() { |
| 27 | } | 26 | } |
| 28 | 27 | ||
| 29 | - public AudioDTO(String video_title, String start_date, String end_date, Integer page, Integer pageSize, String video_priority, String orderByClause, String sp_desc, String sp_Id, Integer spid, String userId) { | 28 | + public AudioDTO(String video_title, String start_date, String end_date, Integer page, Integer pageSize, String orderByClause, String sp_desc, String sp_Id, Integer spid, String userId) { |
| 30 | this.video_title = video_title; | 29 | this.video_title = video_title; |
| 31 | this.start_date = start_date; | 30 | this.start_date = start_date; |
| 32 | this.end_date = end_date; | 31 | this.end_date = end_date; |
| 33 | this.page = page; | 32 | this.page = page; |
| 34 | this.pageSize = pageSize; | 33 | this.pageSize = pageSize; |
| 35 | - this.video_priority = video_priority; | ||
| 36 | this.orderByClause = orderByClause; | 34 | this.orderByClause = orderByClause; |
| 37 | this.sp_desc = sp_desc; | 35 | this.sp_desc = sp_desc; |
| 38 | this.sp_Id = sp_Id; | 36 | this.sp_Id = sp_Id; |
| @@ -80,15 +78,6 @@ public class AudioDTO extends ShyAudio implements Serializable { | @@ -80,15 +78,6 @@ public class AudioDTO extends ShyAudio implements Serializable { | ||
| 80 | this.pageSize = pageSize; | 78 | this.pageSize = pageSize; |
| 81 | } | 79 | } |
| 82 | 80 | ||
| 83 | - | ||
| 84 | - public String getVideo_priority() { | ||
| 85 | - return video_priority; | ||
| 86 | - } | ||
| 87 | - | ||
| 88 | - public void setVideo_priority(String video_priority) { | ||
| 89 | - this.video_priority = video_priority; | ||
| 90 | - } | ||
| 91 | - | ||
| 92 | public String getOrderByClause() { | 81 | public String getOrderByClause() { |
| 93 | return orderByClause; | 82 | return orderByClause; |
| 94 | } | 83 | } |
| @@ -137,7 +126,6 @@ public class AudioDTO extends ShyAudio implements Serializable { | @@ -137,7 +126,6 @@ public class AudioDTO extends ShyAudio implements Serializable { | ||
| 137 | ", end_date='" + end_date + '\'' + | 126 | ", end_date='" + end_date + '\'' + |
| 138 | ", page=" + page + | 127 | ", page=" + page + |
| 139 | ", pageSize=" + pageSize + | 128 | ", pageSize=" + pageSize + |
| 140 | - ", video_priority='" + video_priority + '\'' + | ||
| 141 | ", orderByClause='" + orderByClause + '\'' + | 129 | ", orderByClause='" + orderByClause + '\'' + |
| 142 | ", sp_desc='" + sp_desc + '\'' + | 130 | ", sp_desc='" + sp_desc + '\'' + |
| 143 | ", sp_Id='" + sp_Id + '\'' + | 131 | ", sp_Id='" + sp_Id + '\'' + |
src/main/java/com/cnlive/shenhe/service/serviceImpl/AudioServiceImpl.java
| @@ -290,9 +290,6 @@ public class AudioServiceImpl implements AudioService { | @@ -290,9 +290,6 @@ public class AudioServiceImpl implements AudioService { | ||
| 290 | if (CommonUtils.isNotEmpty(audioDTO.getVideo_title())) { | 290 | if (CommonUtils.isNotEmpty(audioDTO.getVideo_title())) { |
| 291 | criteria.andLike("audioTitle", "%" + audioDTO.getVideo_title() + "%"); | 291 | criteria.andLike("audioTitle", "%" + audioDTO.getVideo_title() + "%"); |
| 292 | } | 292 | } |
| 293 | - if (CommonUtils.isNotEmpty(audioDTO.getVideo_priority())) { | ||
| 294 | - criteria.andEqualTo("priority", audioDTO.getVideo_priority()); | ||
| 295 | - } | ||
| 296 | if (CommonUtils.isNotNull(audioDTO.getSpid())) { | 293 | if (CommonUtils.isNotNull(audioDTO.getSpid())) { |
| 297 | criteria.andEqualTo("spId", audioDTO.getSpid()); | 294 | criteria.andEqualTo("spId", audioDTO.getSpid()); |
| 298 | } else if (CommonUtils.isNotEmpty(audioDTO.getSp_Id())) { | 295 | } else if (CommonUtils.isNotEmpty(audioDTO.getSp_Id())) { |
| @@ -369,9 +366,6 @@ public class AudioServiceImpl implements AudioService { | @@ -369,9 +366,6 @@ public class AudioServiceImpl implements AudioService { | ||
| 369 | criteria2.andEqualTo("state", 2); | 366 | criteria2.andEqualTo("state", 2); |
| 370 | example.or(criteria2); | 367 | example.or(criteria2); |
| 371 | } | 368 | } |
| 372 | - if (CommonUtils.isNotEmpty(audioDTO.getVideo_priority())) { | ||
| 373 | - criteria.andEqualTo("priority", audioDTO.getVideo_priority()); | ||
| 374 | - } | ||
| 375 | if (CommonUtils.isNotNull(audioDTO.getSpid())) { | 369 | if (CommonUtils.isNotNull(audioDTO.getSpid())) { |
| 376 | criteria.andEqualTo("spId", audioDTO.getSpid()); | 370 | criteria.andEqualTo("spId", audioDTO.getSpid()); |
| 377 | } | 371 | } |
src/main/resources/templates/page/audio.html
| @@ -98,7 +98,6 @@ | @@ -98,7 +98,6 @@ | ||
| 98 | <option value="1" th:selected="${AudioStatus==1}">已通过</option> | 98 | <option value="1" th:selected="${AudioStatus==1}">已通过</option> |
| 99 | <option value="2" th:selected="${AudioStatus==2}">已拒绝</option> | 99 | <option value="2" th:selected="${AudioStatus==2}">已拒绝</option> |
| 100 | </select> | 100 | </select> |
| 101 | - <!--<input class="form-control" name="video_priority" type="text" id="video_priority">--> | ||
| 102 | </div> | 101 | </div> |
| 103 | </div> | 102 | </div> |
| 104 | </div> | 103 | </div> |
| @@ -424,7 +423,6 @@ | @@ -424,7 +423,6 @@ | ||
| 424 | window.location.href = "/audio/excel" + param; | 423 | window.location.href = "/audio/excel" + param; |
| 425 | } | 424 | } |
| 426 | 425 | ||
| 427 | - var video_priority = ""; | ||
| 428 | var video_title = ""; | 426 | var video_title = ""; |
| 429 | var start_date = ""; | 427 | var start_date = ""; |
| 430 | var end_date = ""; | 428 | var end_date = ""; |
| @@ -432,10 +430,10 @@ | @@ -432,10 +430,10 @@ | ||
| 432 | var count = ""; | 430 | var count = ""; |
| 433 | var state = ""; | 431 | var state = ""; |
| 434 | var sp_Id = ""; | 432 | var sp_Id = ""; |
| 433 | + var expand_list_state =""; | ||
| 435 | 434 | ||
| 436 | 435 | ||
| 437 | function updateValue() { | 436 | function updateValue() { |
| 438 | -// video_priority = $("#video_priority").val(); | ||
| 439 | video_title = $("#video_titleID").val(); | 437 | video_title = $("#video_titleID").val(); |
| 440 | start_date = $("#start_date").val(); | 438 | start_date = $("#start_date").val(); |
| 441 | end_date = $("#end_date").val(); | 439 | end_date = $("#end_date").val(); |
| @@ -443,6 +441,7 @@ | @@ -443,6 +441,7 @@ | ||
| 443 | sp_Id = $("#sp_Id").val(); | 441 | sp_Id = $("#sp_Id").val(); |
| 444 | var spId = [[${session.sessionUser.spid}]]; | 442 | var spId = [[${session.sessionUser.spid}]]; |
| 445 | count = $("#pageSize").val(); | 443 | count = $("#pageSize").val(); |
| 444 | + expand_list_state = $("#forms").attr("expand_list_state"); | ||
| 446 | if (spId == 0) { | 445 | if (spId == 0) { |
| 447 | sp_desc = $("#sp_desc").val(); | 446 | sp_desc = $("#sp_desc").val(); |
| 448 | } | 447 | } |
| @@ -452,8 +451,7 @@ | @@ -452,8 +451,7 @@ | ||
| 452 | //全部 | 451 | //全部 |
| 453 | function quanbu() { | 452 | function quanbu() { |
| 454 | updateValue(); | 453 | updateValue(); |
| 455 | - var expand_list_state = $("#forms").attr("expand_list_state"); | ||
| 456 | - window.location.href = "/audio/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 + "&expand_list_state=" + expand_list_state; | 454 | + window.location.href = "/audio/page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&sp_desc=" + sp_desc + "&page=" + 1 + "&pageSize=" + count + "&sp_Id=" + sp_Id + "&expand_list_state=" + expand_list_state; |
| 457 | } | 455 | } |
| 458 | 456 | ||
| 459 | //全部待领 | 457 | //全部待领 |
| @@ -461,27 +459,27 @@ | @@ -461,27 +459,27 @@ | ||
| 461 | updateValue(); | 459 | updateValue(); |
| 462 | if ($.trim(state) == '') state = 0; | 460 | if ($.trim(state) == '') state = 0; |
| 463 | var receive = 0; | 461 | var receive = 0; |
| 464 | - 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; | 462 | + window.location.href = "page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&receive=" + receive + "&sp_desc=" + sp_desc + "&page=" + 1 + "&pageSize=" + count + "&sp_Id=" + sp_Id + "&expand_list_state=" + expand_list_state; |
| 465 | }); | 463 | }); |
| 466 | //我的待审核 | 464 | //我的待审核 |
| 467 | $('#Mydaishen').click(function () { | 465 | $('#Mydaishen').click(function () { |
| 468 | updateValue(); | 466 | updateValue(); |
| 469 | var receive = 1; | 467 | var receive = 1; |
| 470 | if ($.trim(state) == '') state = 0; | 468 | if ($.trim(state) == '') state = 0; |
| 471 | - 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; | 469 | + window.location.href = "page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&receive=" + receive + "&sp_desc=" + sp_desc + "&page=" + 1 + "&pageSize=" + count + "&sp_Id=" + sp_Id + "&expand_list_state=" + expand_list_state; |
| 472 | }); | 470 | }); |
| 473 | //我的已审核 | 471 | //我的已审核 |
| 474 | $('#yishen').click(function () { | 472 | $('#yishen').click(function () { |
| 475 | updateValue(); | 473 | updateValue(); |
| 476 | var receive = 1; | 474 | var receive = 1; |
| 477 | if ($.trim(state) == '') state = 3;//审核状态,3代表通过和拒绝都查询 | 475 | if ($.trim(state) == '') state = 3;//审核状态,3代表通过和拒绝都查询 |
| 478 | - 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; | 476 | + window.location.href = "page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&receive=" + receive + "&sp_desc=" + sp_desc + "&page=" + 1 + "&pageSize=" + count + "&sp_Id=" + sp_Id + "&expand_list_state=" + expand_list_state; |
| 479 | }); | 477 | }); |
| 480 | 478 | ||
| 481 | 479 | ||
| 482 | //查询 | 480 | //查询 |
| 483 | $('#videos_query').click(function () { | 481 | $('#videos_query').click(function () { |
| 484 | - window.location.href = "/audio/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; | 482 | + window.location.href = "/audio/page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&sp_desc=" + sp_desc + "&page=" + 1 + "&pageSize=" + count + "&sp_Id=" + sp_Id + "&expand_list_state=" + expand_list_state; |
| 485 | }); | 483 | }); |
| 486 | /*全选的操作*/ | 484 | /*全选的操作*/ |
| 487 | $('#select_all').click(function () { | 485 | $('#select_all').click(function () { |
src/main/resources/templates/page/content.html
| @@ -480,8 +480,10 @@ | @@ -480,8 +480,10 @@ | ||
| 480 | var count = ""; | 480 | var count = ""; |
| 481 | var contentId = ""; | 481 | var contentId = ""; |
| 482 | var content_tag = ""; | 482 | var content_tag = ""; |
| 483 | + var expand_list_state = ""; | ||
| 483 | 484 | ||
| 484 | function updateValue() { | 485 | function updateValue() { |
| 486 | + expand_list_state = $("#forms").attr("expand_list_state"); | ||
| 485 | title = $("#video_titleID").val(); | 487 | title = $("#video_titleID").val(); |
| 486 | source = $("#source").val(); | 488 | source = $("#source").val(); |
| 487 | author = $("#author").val(); | 489 | author = $("#author").val(); |
| @@ -500,7 +502,6 @@ | @@ -500,7 +502,6 @@ | ||
| 500 | //全部 | 502 | //全部 |
| 501 | function quanbu() { | 503 | function quanbu() { |
| 502 | updateValue(); | 504 | updateValue(); |
| 503 | - var expand_list_state = $("#forms").attr("expand_list_state"); | ||
| 504 | window.location.href = "/content/page?title=" + title + "&source=" + source + "&author=" + author + "&start_date=" + start_date + "&end_date=" + end_date + "&sp_desc=" + sp_desc + "&page=" + 1 + "&pageSize=" + count + "&contentId=" + contentId + "&content_tag=" + content_tag + "&expand_list_state=" + expand_list_state; | 505 | window.location.href = "/content/page?title=" + title + "&source=" + source + "&author=" + author + "&start_date=" + start_date + "&end_date=" + end_date + "&sp_desc=" + sp_desc + "&page=" + 1 + "&pageSize=" + count + "&contentId=" + contentId + "&content_tag=" + content_tag + "&expand_list_state=" + expand_list_state; |
| 505 | } | 506 | } |
| 506 | 507 | ||
| @@ -508,25 +509,25 @@ | @@ -508,25 +509,25 @@ | ||
| 508 | $('#daishen').click(function () { | 509 | $('#daishen').click(function () { |
| 509 | updateValue(); | 510 | updateValue(); |
| 510 | var receive_status = 0; | 511 | var receive_status = 0; |
| 511 | - 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 + "&page=" + 1 + "&pageSize=" + count + "&contentId=" + contentId + "&content_tag=" + content_tag; | 512 | + 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 + "&page=" + 1 + "&pageSize=" + count + "&contentId=" + contentId + "&content_tag=" + content_tag + "&expand_list_state=" + expand_list_state; |
| 512 | }); | 513 | }); |
| 513 | //我的待审核 | 514 | //我的待审核 |
| 514 | $('#Mydaishen').click(function () { | 515 | $('#Mydaishen').click(function () { |
| 515 | updateValue(); | 516 | updateValue(); |
| 516 | var receive_status = 1; | 517 | var receive_status = 1; |
| 517 | - 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 + "&page=" + 1 + "&pageSize=" + count + "&contentId=" + contentId + "&content_tag=" + content_tag; | 518 | + 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 + "&page=" + 1 + "&pageSize=" + count + "&contentId=" + contentId + "&content_tag=" + content_tag + "&expand_list_state=" + expand_list_state; |
| 518 | }); | 519 | }); |
| 519 | //我的已审核 | 520 | //我的已审核 |
| 520 | $('#yishen').click(function () { | 521 | $('#yishen').click(function () { |
| 521 | updateValue(); | 522 | updateValue(); |
| 522 | var receive_status = 2; | 523 | var receive_status = 2; |
| 523 | - 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 + "&page=" + 1 + "&pageSize=" + count + "&contentId=" + contentId + "&content_tag=" + content_tag; | 524 | + 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 + "&page=" + 1 + "&pageSize=" + count + "&contentId=" + contentId + "&content_tag=" + content_tag + "&expand_list_state=" + expand_list_state; |
| 524 | }); | 525 | }); |
| 525 | 526 | ||
| 526 | 527 | ||
| 527 | //查询 | 528 | //查询 |
| 528 | $('#videos_query').click(function () { | 529 | $('#videos_query').click(function () { |
| 529 | - 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 + "&page=" + 1 + "&pageSize=" + count + "&contentId=" + contentId + "&content_tag=" + content_tag; | 530 | + 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 + "&page=" + 1 + "&pageSize=" + count + "&contentId=" + contentId + "&content_tag=" + content_tag + "&expand_list_state=" + expand_list_state; |
| 530 | }); | 531 | }); |
| 531 | /*全选的操作*/ | 532 | /*全选的操作*/ |
| 532 | $('#select_all').click(function () { | 533 | $('#select_all').click(function () { |
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 () { |
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 () { |