선거문자 단체문자 화면 오류 수정
@2c6d567c0bdcc81d13d501f77a718f57b68b0a3b
--- src/main/java/itn/let/mjo/msgcampain/web/MjonMsgCampainDataController.java
+++ src/main/java/itn/let/mjo/msgcampain/web/MjonMsgCampainDataController.java
... | ... | @@ -843,7 +843,13 @@ |
| 843 | 843 |
if(letterVO.getPageUnit() != 10) {
|
| 844 | 844 |
letterVO.setPageUnit(letterVO.getPageUnit()); |
| 845 | 845 |
} |
| 846 |
- |
|
| 846 |
+ |
|
| 847 |
+ for(int i=0 ; i < cateConfList.size(); i++) {
|
|
| 848 |
+ if("선거".equals(cateConfList.get(i).getCateNm())) {
|
|
| 849 |
+ letterVO.setCategoryCode(cateConfList.get(i).getCateCode()); |
|
| 850 |
+ } |
|
| 851 |
+ } |
|
| 852 |
+ |
|
| 847 | 853 |
/** pageing */ |
| 848 | 854 |
PaginationInfo paginationInfo = new PaginationInfo(); |
| 849 | 855 |
paginationInfo.setCurrentPageNo(letterVO.getPageIndex()); |
... | ... | @@ -861,6 +867,8 @@ |
| 861 | 867 |
paginationInfo.setTotalRecordCount( resultPhoList.size()> 0 ? ((Long)((EgovMap)resultPhoList.get(0)).get("totCnt")).intValue() : 0);
|
| 862 | 868 |
model.addAttribute("paginationInfo", paginationInfo);
|
| 863 | 869 |
|
| 870 |
+ model.addAttribute("letterVO", letterVO);
|
|
| 871 |
+ |
|
| 864 | 872 |
return "web/msgcampain/excel/MsgExcelDataView"; |
| 865 | 873 |
} |
| 866 | 874 |
|
--- src/main/webapp/WEB-INF/jsp/web/msgcampain/excel/MsgExcelDataView.jsp
+++ src/main/webapp/WEB-INF/jsp/web/msgcampain/excel/MsgExcelDataView.jsp
... | ... | @@ -32,6 +32,13 @@ |
| 32 | 32 |
//그림문자 샘플 탭 활성화 시키기 |
| 33 | 33 |
TabType2($('.tabType2 li').eq(1), '2');
|
| 34 | 34 |
|
| 35 |
+ $(".tDep2_cateCode a").each(function(index, item){
|
|
| 36 |
+ |
|
| 37 |
+ if($(this).text() == "선거"){
|
|
| 38 |
+ $('.tDep2_cateCode').find('.on').removeClass('on');
|
|
| 39 |
+ $(this).addClass('on');
|
|
| 40 |
+ } |
|
| 41 |
+ }) |
|
| 35 | 42 |
// 맞춤제작 요청 JSPark => 2023.02.21 추가 |
| 36 | 43 |
//맞춤제작 등록 Popup |
| 37 | 44 |
//customPopup(); |
... | ... | @@ -83,11 +90,11 @@ |
| 83 | 90 |
if(document.letterForm.searchKeyword.value == ''){
|
| 84 | 91 |
$('.bottom_content .area_total_count').hide();
|
| 85 | 92 |
} |
| 86 |
- if(form.hashTag.value != ''){
|
|
| 93 |
+ /* if(form.hashTag.value != ''){
|
|
| 87 | 94 |
if($('#letterLoad .nodata_box').length > 0){
|
| 88 | 95 |
$('#letterLoad .nodata_box').hide().next('.nodata_box.hashTag').show();
|
| 89 | 96 |
} |
| 90 |
- } |
|
| 97 |
+ } */ |
|
| 91 | 98 |
}); |
| 92 | 99 |
|
| 93 | 100 |
} |
... | ... | @@ -117,7 +124,7 @@ |
| 117 | 124 |
form.pageIndex.value = index; |
| 118 | 125 |
var sendData = $(document.letterForm).serializeArray(); |
| 119 | 126 |
//하위 카테고리 |
| 120 |
- $("#tDep2_depThrCateCode").load("/web/mjon/msgdata/selectCateConfThrDptListAjax.do", sendData ,function(response, status, xhr){
|
|
| 127 |
+ $("#tDep2_depThrCateCode").load("/web/mjon/msgcampain/selectCateConfThrDptListAjax.do", sendData ,function(response, status, xhr){
|
|
| 121 | 128 |
if(document.letterForm.searchKeyword.value == ''){
|
| 122 | 129 |
$('.bottom_content .area_total_count').hide();
|
| 123 | 130 |
} |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?