--- src/main/java/itn/let/mjo/msg/web/MjonMsgController.java
+++ src/main/java/itn/let/mjo/msg/web/MjonMsgController.java
... | ... | @@ -13,6 +13,8 @@ |
| 13 | 13 |
import java.util.Locale; |
| 14 | 14 |
import java.util.Map; |
| 15 | 15 |
import java.util.Random; |
| 16 |
+import java.util.stream.Collector; |
|
| 17 |
+import java.util.stream.Collectors; |
|
| 16 | 18 |
|
| 17 | 19 |
import javax.annotation.Resource; |
| 18 | 20 |
import javax.servlet.http.HttpServletRequest; |
... | ... | @@ -42,8 +44,10 @@ |
| 42 | 44 |
|
| 43 | 45 |
import egovframework.rte.fdl.security.userdetails.util.EgovUserDetailsHelper; |
| 44 | 46 |
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo; |
| 47 |
+import itn.com.cmm.ComDefaultCodeVO; |
|
| 45 | 48 |
import itn.com.cmm.EgovMessageSource; |
| 46 | 49 |
import itn.com.cmm.LoginVO; |
| 50 |
+import itn.com.cmm.service.EgovCmmUseService; |
|
| 47 | 51 |
import itn.com.cmm.service.EgovFileMngService; |
| 48 | 52 |
import itn.com.cmm.service.EgovFileMngUtil; |
| 49 | 53 |
import itn.com.cmm.service.FileVO; |
... | ... | @@ -76,8 +80,10 @@ |
| 76 | 80 |
import itn.let.uat.uia.web.EmailVO; |
| 77 | 81 |
import itn.let.uat.uia.web.SendLogVO; |
| 78 | 82 |
import itn.let.uat.uia.web.SendMail; |
| 83 |
+import itn.let.uss.umt.service.EgovMberCmpHstService; |
|
| 79 | 84 |
import itn.let.uss.umt.service.EgovMberManageService; |
| 80 | 85 |
import itn.let.uss.umt.service.EgovUserManageService; |
| 86 |
+import itn.let.uss.umt.service.MberCmpHstVO; |
|
| 81 | 87 |
import itn.let.uss.umt.service.MberManageVO; |
| 82 | 88 |
import itn.let.uss.umt.service.UserDefaultVO; |
| 83 | 89 |
import itn.let.uss.umt.service.UserManageVO; |
... | ... | @@ -144,7 +150,13 @@ |
| 144 | 150 |
|
| 145 | 151 |
/** userManageService */ |
| 146 | 152 |
@Resource(name = "userManageService") |
| 147 |
- private EgovUserManageService userManageService; |
|
| 153 |
+ private EgovUserManageService userManageService; |
|
| 154 |
+ |
|
| 155 |
+ @Resource(name = "EgovCmmUseService") |
|
| 156 |
+ private EgovCmmUseService cmmUseService; |
|
| 157 |
+ |
|
| 158 |
+ @Resource(name = "egovMberCmpHstService") |
|
| 159 |
+ private EgovMberCmpHstService egovMberCmpHstService; |
|
| 148 | 160 |
|
| 149 | 161 |
//배열 정의{"컬럼순차번호, 컬럼이름, 컬럼내용, 컬럼이름에 붙여야할 내용(엑셀코드양식다운로드시 필요)"}
|
| 150 | 162 |
private String[][] sendMsgExcelValue ={
|
... | ... | @@ -4901,6 +4913,131 @@ |
| 4901 | 4913 |
|
| 4902 | 4914 |
return modelAndView; |
| 4903 | 4915 |
} |
| 4916 |
+ |
|
| 4917 |
+ |
|
| 4918 |
+ @RequestMapping(value = {"/uss/ion/msg/weekendCsWorkMain.do"})
|
|
| 4919 |
+ public String weekendCsWorkMain() throws Exception {
|
|
| 4920 |
+ return "/uss/ion/msg/weekendCsWorkMain"; |
|
| 4921 |
+ } |
|
| 4922 |
+ |
|
| 4923 |
+ /** |
|
| 4924 |
+ * 문자전송 등록하기 위한 전 처리(공통코드 처리) |
|
| 4925 |
+ * @param searchVO |
|
| 4926 |
+ * @param model |
|
| 4927 |
+ * @return "/uss/ion/msg/SendMsgModify" |
|
| 4928 |
+ * @throws Exception |
|
| 4929 |
+ */ |
|
| 4930 |
+ @RequestMapping(value = {"/uss/ion/msg/weekendCsWork.do"})
|
|
| 4931 |
+ public String weekendCsWork(@ModelAttribute("searchVO") MjPhoneMemberVO searchVO,
|
|
| 4932 |
+ HttpServletRequest request, |
|
| 4933 |
+ ModelMap model, |
|
| 4934 |
+ MberCmpHstVO mberCmpHstVO) throws Exception {
|
|
| 4935 |
+ |
|
| 4936 |
+ String certType = request.getParameter("certType");
|
|
| 4937 |
+ model.addAttribute("certType", certType);
|
|
| 4938 |
+ |
|
| 4939 |
+ /** pageing */ |
|
| 4940 |
+ PaginationInfo paginationInfo = new PaginationInfo(); |
|
| 4941 |
+ paginationInfo.setCurrentPageNo(1); |
|
| 4942 |
+ paginationInfo.setRecordCountPerPage(100); |
|
| 4943 |
+ paginationInfo.setPageSize(100); |
|
| 4944 |
+ |
|
| 4945 |
+ searchVO.setFirstIndex(paginationInfo.getFirstRecordIndex()); |
|
| 4946 |
+ searchVO.setLastIndex(paginationInfo.getLastRecordIndex()); |
|
| 4947 |
+ searchVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); |
|
| 4948 |
+ |
|
| 4949 |
+ if("".equals(searchVO.getSearchSortCnd())){ //최초조회시 최신것 조회List
|
|
| 4950 |
+ searchVO.setSearchSortCnd("frstRegistPnttm");
|
|
| 4951 |
+ searchVO.setSearchSortOrd("desc");
|
|
| 4952 |
+ } |
|
| 4953 |
+ |
|
| 4954 |
+ searchVO.setSearchSortAuthYN("Y");
|
|
| 4955 |
+ |
|
| 4956 |
+ searchVO.setPhmType("01"); //발신조회
|
|
| 4957 |
+ List<MjPhoneMemberVO> resultList = mjonMsgService.selectSendNumberList(searchVO); |
|
| 4958 |
+ List<MjPhoneMemberVO> resultList2 = new ArrayList<MjPhoneMemberVO>(); |
|
| 4959 |
+ resultList.stream() |
|
| 4960 |
+ .filter(t->t.getAuthYnTxt().equals("심사중"))
|
|
| 4961 |
+ .collect(Collectors.toList()) |
|
| 4962 |
+ .forEach(li->{resultList2.add(li);});
|
|
| 4963 |
+ |
|
| 4964 |
+ model.addAttribute("resultList", resultList2);
|
|
| 4965 |
+ paginationInfo.setTotalRecordCount(resultList.size() > 0 ? ((MjPhoneMemberVO)resultList.get(0)).getTotCnt() : 0); |
|
| 4966 |
+ model.addAttribute("paginationInfo", paginationInfo);
|
|
| 4967 |
+ |
|
| 4968 |
+ |
|
| 4969 |
+ return "/uss/ion/msg/weekendCsWork"; |
|
| 4970 |
+ } |
|
| 4971 |
+ |
|
| 4972 |
+ /** |
|
| 4973 |
+ * 문자전송 등록하기 위한 전 처리(공통코드 처리) |
|
| 4974 |
+ * @param searchVO |
|
| 4975 |
+ * @param model |
|
| 4976 |
+ * @return "/uss/ion/msg/SendMsgModify" |
|
| 4977 |
+ * @throws Exception |
|
| 4978 |
+ */ |
|
| 4979 |
+ @RequestMapping(value = {"/uss/ion/msg/weekendCsWork2.do"})
|
|
| 4980 |
+ public String weekendCsWork2(@ModelAttribute("searchVO") MberCmpHstVO mberCmpHstVO,
|
|
| 4981 |
+ HttpServletRequest request , |
|
| 4982 |
+ ModelMap model) throws Exception {
|
|
| 4983 |
+ |
|
| 4984 |
+ LoginVO loginVO = (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser(); |
|
| 4985 |
+ |
|
| 4986 |
+ String hstSttus = request.getParameter("hstSttus");
|
|
| 4987 |
+ model.addAttribute("hstSttus", hstSttus);
|
|
| 4988 |
+ |
|
| 4989 |
+ //기업유형 |
|
| 4990 |
+ ComDefaultCodeVO voComCode = new ComDefaultCodeVO(); |
|
| 4991 |
+ voComCode.setCodeId("ITN033");
|
|
| 4992 |
+ model.addAttribute("bizTypeList", cmmUseService.selectCmmCodeDetail(voComCode));
|
|
| 4993 |
+ |
|
| 4994 |
+ // 유형 코드조회 |
|
| 4995 |
+ voComCode.setCodeId("ITN048");
|
|
| 4996 |
+ model.addAttribute("hstTypeList", cmmUseService.selectCmmCodeDetail(voComCode));
|
|
| 4997 |
+ |
|
| 4998 |
+ // 처리상태 코드조회 |
|
| 4999 |
+ voComCode.setCodeId("ITN049");
|
|
| 5000 |
+ model.addAttribute("hstSttusList", cmmUseService.selectCmmCodeDetail(voComCode));
|
|
| 5001 |
+ |
|
| 5002 |
+ if(mberCmpHstVO.getPageUnit() != 10) {
|
|
| 5003 |
+ mberCmpHstVO.setPageUnit(mberCmpHstVO.getPageUnit()); |
|
| 5004 |
+ } |
|
| 5005 |
+ |
|
| 5006 |
+ /** paging */ |
|
| 5007 |
+ PaginationInfo paginationInfo = new PaginationInfo(); |
|
| 5008 |
+ paginationInfo.setCurrentPageNo(1); |
|
| 5009 |
+ paginationInfo.setRecordCountPerPage(100); |
|
| 5010 |
+ paginationInfo.setPageSize(100); |
|
| 5011 |
+ |
|
| 5012 |
+ mberCmpHstVO.setFirstIndex(paginationInfo.getFirstRecordIndex()); |
|
| 5013 |
+ mberCmpHstVO.setLastIndex(paginationInfo.getLastRecordIndex()); |
|
| 5014 |
+ mberCmpHstVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); |
|
| 5015 |
+ |
|
| 5016 |
+ if("".equals(mberCmpHstVO.getSearchSortCnd())){ //최초조회시 최신것 조회List
|
|
| 5017 |
+ mberCmpHstVO.setSearchSortCnd("frstRegistPnttm");
|
|
| 5018 |
+ mberCmpHstVO.setSearchSortOrd("desc");
|
|
| 5019 |
+ } |
|
| 5020 |
+ |
|
| 5021 |
+ List<MberCmpHstVO> mberCmpHstList = egovMberCmpHstService.selectMberCmpHstListByType(mberCmpHstVO); |
|
| 5022 |
+ List<MberCmpHstVO> resultList = new ArrayList<MberCmpHstVO>(); |
|
| 5023 |
+ mberCmpHstList.stream() |
|
| 5024 |
+ .filter(t -> t.getHstSttus().equals("01"))
|
|
| 5025 |
+ .collect(Collectors.toList()) |
|
| 5026 |
+ .forEach(li -> |
|
| 5027 |
+ {
|
|
| 5028 |
+ resultList.add(li); |
|
| 5029 |
+ }); |
|
| 5030 |
+ |
|
| 5031 |
+ int totCnt = 0; |
|
| 5032 |
+ if(mberCmpHstList.size() > 0) {
|
|
| 5033 |
+ totCnt = mberCmpHstList.get(0).getTotCnt(); |
|
| 5034 |
+ } |
|
| 5035 |
+ model.addAttribute("mberCmpHstList", resultList);
|
|
| 5036 |
+ paginationInfo.setTotalRecordCount(totCnt); |
|
| 5037 |
+ model.addAttribute("paginationInfo", paginationInfo);
|
|
| 5038 |
+ |
|
| 5039 |
+ return "/uss/ion/msg/weekendCsWork2"; |
|
| 5040 |
+ } |
|
| 4904 | 5041 |
|
| 4905 | 5042 |
|
| 4906 | 5043 |
|
--- src/main/webapp/WEB-INF/decorators.xml
+++ src/main/webapp/WEB-INF/decorators.xml
... | ... | @@ -149,6 +149,9 @@ |
| 149 | 149 |
|
| 150 | 150 |
<pattern>/let/mjo/tax/updateTaxReceiptFileAjax.do</pattern> <!-- 세금계산서 등록 --> |
| 151 | 151 |
|
| 152 |
+ <pattern>/uss/ion/msg/weekendCsWork.do</pattern> |
|
| 153 |
+ <pattern>/uss/ion/msg/weekendCsWork2.do</pattern> |
|
| 154 |
+ |
|
| 152 | 155 |
</decorator> |
| 153 | 156 |
|
| 154 | 157 |
<!-- 관리자 게시글 작성, 템플릿 미리보기(헤더풋터 없음) --> |
+++ src/main/webapp/WEB-INF/jsp/uss/ion/msg/weekendCsWork.jsp
... | ... | @@ -0,0 +1,425 @@ |
| 1 | +<%-- | |
| 2 | + Class Name : weekendCsWork.jsp | |
| 3 | + Description : 발신번호 리스트 조회 페이지 | |
| 4 | + Modification Information | |
| 5 | + | |
| 6 | + 수정일 수정자 수정내용 | |
| 7 | + ------- -------- --------------------------- | |
| 8 | + 2021.03.31 신명섭 최초 생성 | |
| 9 | + | |
| 10 | + Copyright (C) 2009 by ITN All right reserved. | |
| 11 | +--%> | |
| 12 | +<%@ page contentType="text/html; charset=utf-8"%> | |
| 13 | +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | |
| 14 | +<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> | |
| 15 | +<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> | |
| 16 | +<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | |
| 17 | +<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> | |
| 18 | +<%@ taglib prefix="ec" uri="/WEB-INF/tld/ecnet_tld.tld"%> | |
| 19 | +<% | |
| 20 | + response.setHeader("Cache-Control","no-store"); | |
| 21 | + response.setHeader("Pragma","no-cache"); | |
| 22 | + response.setDateHeader("Expires",0); | |
| 23 | + if (request.getProtocol().equals("HTTP/1.1")) response.setHeader("Cache-Control", "no-cache"); | |
| 24 | +%> | |
| 25 | +<!DOCTYPE html> | |
| 26 | +<html lang="ko"> | |
| 27 | +<head> | |
| 28 | + <meta charset="UTF-8"> | |
| 29 | + <meta http-equiv="content-type" content="text/html; charset=utf-8"> | |
| 30 | + <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
| 31 | + <!-- <meta name="viewport" content="width=device-width, initial-scale=1.0"> --> | |
| 32 | + <link rel="stylesheet" href="/pb/css/reset.css"> | |
| 33 | + <link rel="stylesheet" href="/pb/css/common.css"> | |
| 34 | + <link rel="stylesheet" href="/pb/css/content.css?date=202301160001"> | |
| 35 | + <link rel="stylesheet" href="/pb/css/popup.css"> | |
| 36 | + <script src="/pb/js/jquery-3.5.0.js"></script> | |
| 37 | + <script src="/pb/js/common.js"></script> | |
| 38 | + <script src = "/js/new_main.js "></script> | |
| 39 | + <link rel="icon" href="data:;base64,iVBORw0KGgo="> | |
| 40 | + <script src="<c:url value='/js/jquery.js' />"></script> | |
| 41 | + <script type="text/javascript" src="<c:url value='/js/EgovCalPopup.js'/>"></script> | |
| 42 | + <c:if test="${!empty loginId}"> | |
| 43 | + <!-- 자동완성 START--> | |
| 44 | + <link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css"> | |
| 45 | + <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script> | |
| 46 | + <script src="<c:url value='/js/recent_search.js' />"></script> | |
| 47 | + <!-- 자동완성 END --> | |
| 48 | + </c:if> | |
| 49 | + <c:set var="RequestUrl" value="${pageContext.request.requestURL}"/> | |
| 50 | + <c:if test="${RequestUrl.indexOf('RefundReRegist.do') == -1}"> | |
| 51 | + <script src="<c:url value='/js/ncms_common.js' />"></script> | |
| 52 | + </c:if> | |
| 53 | + <script> | |
| 54 | + $( document ).ready(function() { | |
| 55 | + labelSet(); | |
| 56 | + }); | |
| 57 | + function labelSet(){//Ajax load를 위해 메소드로 구현 | |
| 58 | + $("input[type='checkBox'],input[type=radio]").each(function(index, item){ | |
| 59 | + $(this).after("<label for='"+$(this).attr('id')+"'></label>") ; | |
| 60 | + }); | |
| 61 | + } | |
| 62 | + | |
| 63 | + // 페이지 뒤로 가기 시 이벤트 발생 | |
| 64 | + window.onpageshow = function(event) { | |
| 65 | + // 뒤로 가기, 새로고침 등 캐시 복원 시 | |
| 66 | + if ( event.persisted || (window.performance && window.performance.navigation.type == 2)) { | |
| 67 | + } else { // 새 페이지 열릴 시 | |
| 68 | + <c:if test="${!empty message}">alert("${message}");</c:if> | |
| 69 | + } | |
| 70 | + } | |
| 71 | + </script> | |
| 72 | +<title>주말 cs 리스트</title> | |
| 73 | +<meta http-equiv="content-type" content="text/html; charset=utf-8"> | |
| 74 | +<script type="text/javascript" src="<c:url value='/js/EgovMultiFile.js'/>"></script> | |
| 75 | +<script type="text/javaScript" language="javascript"> | |
| 76 | +var certType = "${certType}"; | |
| 77 | + | |
| 78 | +$( document ).ready(function() { | |
| 79 | + //첨부파일 이미지 br태그 삭제 - import로 공통으로 사용해서 jsp에서 따로 처리 | |
| 80 | + $(".brRm").children('br').remove(); | |
| 81 | +}); | |
| 82 | + | |
| 83 | + | |
| 84 | +function linkPage(pageNo){ | |
| 85 | + var listForm = document.listForm ; | |
| 86 | + $('input[name=pageIndex]').val(pageNo); | |
| 87 | + listForm.action = "<c:url value='/uss/ion/msg/weekendCsWork.do'/>"; | |
| 88 | + listForm.submit(); | |
| 89 | +} | |
| 90 | + | |
| 91 | + | |
| 92 | +function fnCheckAll() { | |
| 93 | + if( $("#checkAll").is(':checked') ){ | |
| 94 | + $("input[name=del]").prop("checked", true); | |
| 95 | + }else{ | |
| 96 | + $("input[name=del]").prop("checked", false); | |
| 97 | + } | |
| 98 | +} | |
| 99 | + | |
| 100 | +/* 체크된 메인배너 목록 삭제 */ | |
| 101 | +function fn_delete(){ | |
| 102 | + if($("input[name=del]:checked").length == 0){ | |
| 103 | + alert("선택된 항목이 없습니다."); | |
| 104 | + return; | |
| 105 | + } | |
| 106 | + | |
| 107 | + if (confirm("해당 정보를 삭제하시겠습니까?")){ | |
| 108 | + frm = document.listForm; | |
| 109 | + //frm.action = "<c:url value='/uss/ion/msg/SendMsgDelete.do' />"; | |
| 110 | + frm.action = "<c:url value='/uss/ion/msg/SendNumberDelete.do' />"; | |
| 111 | + frm.submit(); | |
| 112 | + } | |
| 113 | +} | |
| 114 | + | |
| 115 | +/* 수정 화면*/ | |
| 116 | +function fn_modify(phmId){ | |
| 117 | + var frm = document.listForm ; | |
| 118 | + frm.phmId.value = phmId ; | |
| 119 | + frm.action = "<c:url value='/uss/ion/msg/SendNumberModify.do'/>"; | |
| 120 | + frm.submit(); | |
| 121 | +} | |
| 122 | + | |
| 123 | +function fnSelectMber(mberId) { | |
| 124 | + document.modiForm.mberId.value = mberId; | |
| 125 | + window.open("about:blank", 'popupSelectMber', 'width=900, height=1800, top=100, left=100, fullscreen=no, menubar=no, status=no, toolbar=no, titlebar=yes, location=no, scrollbar=no'); | |
| 126 | + document.modiForm.action = "<c:url value='/uss/umt/user/EgovGnrlselectedUserView.do'/>"; | |
| 127 | + document.modiForm.target = "popupSelectMber"; | |
| 128 | + document.modiForm.submit(); | |
| 129 | +} | |
| 130 | + | |
| 131 | +//기업회원 신청 승인/반려 처리 | |
| 132 | +function updateAuthYn(phmId, authYn, userId) { | |
| 133 | + | |
| 134 | + var form = document.listForm; | |
| 135 | + form.phmId.value = phmId; | |
| 136 | + form.authYn.value = authYn; | |
| 137 | + form.userId.value = userId; | |
| 138 | + var data = new FormData(form); | |
| 139 | + | |
| 140 | + if (confirm("인증완료 하시겠습니까?")) { | |
| 141 | + $.ajax({ | |
| 142 | + type: "POST", | |
| 143 | + url: "/uss/ion/msg/updateAuthYnAjax.do", | |
| 144 | + data: data, | |
| 145 | + dataType:'json', | |
| 146 | + async: false, | |
| 147 | + processData: false, | |
| 148 | + contentType: false, | |
| 149 | + cache: false, | |
| 150 | + success: function (data) { | |
| 151 | + if (data.result) { | |
| 152 | + alert(data.msg); | |
| 153 | + location.reload(); | |
| 154 | + } else { | |
| 155 | + alert(data.msg); | |
| 156 | + } | |
| 157 | + }, | |
| 158 | + error: function (e) { | |
| 159 | + alert("저장에 실패하였습니다."); | |
| 160 | + alert("ERROR : " + JSON.stringify(e)); | |
| 161 | + } | |
| 162 | + }); | |
| 163 | + } | |
| 164 | + | |
| 165 | +} | |
| 166 | + | |
| 167 | +function returnPop(phmId) { | |
| 168 | + window.open("about:blank", 'returnPopup', 'width=600, height=310, top=400, left=650, fullscreen=no, menubar=no, status=no, toolbar=no, titlebar=yes, location=no, scrollbar=no'); | |
| 169 | + document.popupForm.phmId.value = phmId; | |
| 170 | + document.popupForm.action = "<c:url value='/uss/ion/msg/sendNumberReturnPop.do'/>"; | |
| 171 | + document.popupForm.target = "returnPopup"; | |
| 172 | + document.popupForm.submit(); | |
| 173 | +} | |
| 174 | + | |
| 175 | +//기간선택 select | |
| 176 | +function fnSetCalMonth(val) { | |
| 177 | + var form = document.listForm; | |
| 178 | + var today = new Date(); | |
| 179 | + | |
| 180 | + var year = today.getFullYear(); | |
| 181 | + var month = ("0"+(today.getMonth()+1)).slice(-2); | |
| 182 | + var date = ("0"+today.getDate()).slice(-2); | |
| 183 | + | |
| 184 | + var sDate = new Date(today.setMonth(today.getMonth() - val)); | |
| 185 | + | |
| 186 | + var sYear = sDate.getFullYear(); | |
| 187 | + var sMonth = ("0"+(sDate.getMonth()+1)).slice(-2); | |
| 188 | + var sDate = ("0"+sDate.getDate()).slice(-2); | |
| 189 | + | |
| 190 | + form.searchStartDate.value = sYear + "-" + sMonth + "-" + sDate; | |
| 191 | + form.searchEndDate.value = year + "-" + month + "-" + date; | |
| 192 | + | |
| 193 | +} | |
| 194 | +</script> | |
| 195 | + | |
| 196 | +<style type="text/css"> | |
| 197 | +.pageCont .tbType1 thead tr th, | |
| 198 | +.pageCont .tbType1 tbody tr td {font-size:14px;} | |
| 199 | +.btnType.btnType20{min-width: 0;} | |
| 200 | +</style> | |
| 201 | +</head> | |
| 202 | +<body > | |
| 203 | +<form name="listForm" action="<c:url value='/uss/ion/msg/weekendCsWork.do'/>" method="post"> | |
| 204 | + <input name="pageIndex" id="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/> | |
| 205 | + <input type="hidden" name="phmId" /> | |
| 206 | + <input type="hidden" name="authYn" /> | |
| 207 | + <input type="hidden" name="delFlag" value="Y" /> | |
| 208 | + <input type="hidden" name="selectedId" /> | |
| 209 | + <input type="hidden" name="pageType" /> | |
| 210 | + <input type="hidden" name="searchSortCnd" value="<c:out value="${searchVO.searchSortCnd}" />" /> | |
| 211 | + <input type="hidden" name="searchSortOrd" value="<c:out value="${searchVO.searchSortOrd}" />" /> | |
| 212 | + <input type="hidden" name="userId" value="" /> | |
| 213 | + | |
| 214 | + <div class="contWrap" style="min-height: 500px; padding: 0px 40px;"> | |
| 215 | +<!-- <div class="pageTitle"> --> | |
| 216 | +<!-- <div class="pageIcon"><img src="/pb/img/pageTitIcon4.png" alt=""></div> --> | |
| 217 | +<!-- <h2 class="titType1 c_222222 fwBold">주말 cs 리스트</h2> --> | |
| 218 | +<!-- <p class="tType6 c_999999">주말 cs 리스트</p> --> | |
| 219 | +<!-- </div> --> | |
| 220 | + <div class="pageCont" style="min-height: 400px;"> | |
| 221 | + 발신번호조회 | |
| 222 | + <div class="tableWrap"> | |
| 223 | + <table class="tbType1"> | |
| 224 | + <colgroup> | |
| 225 | + <col style="width: 2%"> | |
| 226 | + <col style="width: 5%"> | |
| 227 | + <col style="width: 7%"> | |
| 228 | + <col style="width: 9%"> | |
| 229 | + <col style="width: 9%"> | |
| 230 | + <col style="width: 6%"> | |
| 231 | + <col style="width: 6%"> | |
| 232 | + <col style="width: 3%"> | |
| 233 | + <col style="width: 3%"> | |
| 234 | + <col style="width: 7%"> | |
| 235 | + <col style="width: 5%"> | |
| 236 | + <col style="width: 5%"> | |
| 237 | + <col style="width: 5%"> | |
| 238 | + <col style="width: 8%"> | |
| 239 | + <col style="width: *%"> | |
| 240 | + <col style="width: 8%"> | |
| 241 | + <%-- <col style="width: 10%"> --%> | |
| 242 | + </colgroup> | |
| 243 | + <thead> | |
| 244 | + <tr> | |
| 245 | + <th><input type="checkbox" name="checkAll" id="checkAll" class="check2" value="1" onClick="fnCheckAll();"></th> | |
| 246 | + <th>번호<input type="button" class="sort sortBtn" id="sort_phmId"></th> | |
| 247 | + <th>아이디<input type="button" class="sort sortBtn" id="sort_userId"></th> | |
| 248 | + <th>회원휴대폰</th> | |
| 249 | + <th>전화번호</th> | |
| 250 | + <th>대표<input type="button" class="sort sortBtn" id="sort_userName"></th> | |
| 251 | + <th>담당자<input type="button" class="sort sortBtn" id="sort_managerNm"></th> | |
| 252 | + <th>회원<%--<input type="button" class="sort sortBtn" id="sort_dept"> --%></th> | |
| 253 | + <th>구분<%--<input type="button" class="sort sortBtn" id="sort_nameType"> --%></th> | |
| 254 | + <!-- <th>타입(발신/수신/거부)<input type="button" class="sort sortBtn" id="sort_phmType"></th> --> | |
| 255 | + <th>인증여부<input type="button" class="sort sortBtn" id="sort_authYn"></th> | |
| 256 | + <th>관리자</th> | |
| 257 | + <th>인증<input type="button" class="sort sortBtn" id="sort_phmAuthType"></th> | |
| 258 | + <th>인증자<input type="button" class="sort sortBtn" id="sort_ownerName"></th> | |
| 259 | + <th>첨부파일</th> | |
| 260 | + <th>관리</th> | |
| 261 | + <th>등록일자<input type="button" class="sort sortBtn" id="sort_frstRegistPnttm"></th> | |
| 262 | + <!-- <th>삭제여부<input type="button" class="sort sortBtn" id="sort_delFlag"></th> --> | |
| 263 | + </tr> | |
| 264 | + </thead> | |
| 265 | + <tbody> | |
| 266 | + <c:forEach var="result" items="${resultList}" varStatus="status"> | |
| 267 | + <tr> | |
| 268 | + <td> | |
| 269 | + <input name="del" id="del_${status.index}" type="checkbox" value="${result.phmId}" /> | |
| 270 | + </td> | |
| 271 | + <td> | |
| 272 | + <c:if test="${searchVO.searchSortOrd eq 'desc' }"> | |
| 273 | + <c:out value="${ ( paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo -1)*paginationInfo.recordCountPerPage) ) - status.index }"/> | |
| 274 | + </c:if> | |
| 275 | + <c:if test="${searchVO.searchSortOrd eq 'asc' }"> | |
| 276 | + <c:out value="${(paginationInfo.currentPageNo - 1) * paginationInfo.recordCountPerPage + status.count}"/> | |
| 277 | + </c:if> | |
| 278 | + </td> | |
| 279 | + <td title="<c:out value="${result.userId}"/>"> | |
| 280 | + <a href="#" onclick="javascript:fnSelectMber('<c:out value="${result.userId}"/>'); return false;"> | |
| 281 | + <c:out value="${result.userId}"/> | |
| 282 | + </a> | |
| 283 | + </td> | |
| 284 | + <td title="<c:out value="${result.mbtlNum}"/>"> | |
| 285 | + <a href="#" onclick="fn_modify('${result.phmId}'); return false;"> | |
| 286 | + <c:out value="${result.mbtlNum}"/> | |
| 287 | + </a> | |
| 288 | + </td> | |
| 289 | + <td title="<c:out value="${result.phoneNumber}"/>"> | |
| 290 | + <a href="#" onclick="fn_modify('${result.phmId}'); return false;"> | |
| 291 | + <c:out value="${result.phoneNumber}"/> | |
| 292 | + </a> | |
| 293 | + </td> | |
| 294 | + <td title="<c:out value="${result.userName}"/>"> | |
| 295 | + <a href="#" onclick="fn_modify('${result.phmId}'); return false;"> | |
| 296 | + <c:out value="${result.userName}"/> | |
| 297 | + </a> | |
| 298 | + </td> | |
| 299 | + <td title="<c:out value="${result.managerNm}"/>"> | |
| 300 | + <a href="#" onclick="fn_modify('${result.phmId}'); return false;"> | |
| 301 | + <c:out value="${result.managerNm}"/> | |
| 302 | + </a> | |
| 303 | + </td> | |
| 304 | + <td> | |
| 305 | + <a href="#" onclick="fn_modify('${result.phmId}'); return false;"> | |
| 306 | + <c:choose> | |
| 307 | + <c:when test="${result.dept == 'c'}"> | |
| 308 | + 기업 | |
| 309 | + </c:when> | |
| 310 | + <c:otherwise> | |
| 311 | + 개인 | |
| 312 | + </c:otherwise> | |
| 313 | + </c:choose> | |
| 314 | + </a> | |
| 315 | + </td> | |
| 316 | + | |
| 317 | + <td> | |
| 318 | + <a href="#" onclick="fn_modify('${result.phmId}'); return false;"> | |
| 319 | + <c:choose> | |
| 320 | + <c:when test="${not empty result.nameType}"> | |
| 321 | + <c:choose> | |
| 322 | + <c:when test="${result.nameType == '1'}"> | |
| 323 | + 당사 | |
| 324 | + </c:when> | |
| 325 | + <c:when test="${result.nameType == '2'}"> | |
| 326 | + 대표 | |
| 327 | + </c:when> | |
| 328 | + <c:when test="${result.nameType == '3'}"> | |
| 329 | + 직원 | |
| 330 | + </c:when> | |
| 331 | + <c:when test="${result.nameType == '4'}"> | |
| 332 | + 타사 | |
| 333 | + </c:when> | |
| 334 | + <c:when test="${result.nameType == '5'}"> | |
| 335 | + 본인 | |
| 336 | + </c:when> | |
| 337 | + <c:otherwise> | |
| 338 | + 타인 | |
| 339 | + </c:otherwise> | |
| 340 | + </c:choose> | |
| 341 | + </c:when> | |
| 342 | + <c:otherwise> | |
| 343 | + 없음 | |
| 344 | + </c:otherwise> | |
| 345 | + </c:choose> | |
| 346 | + </a> | |
| 347 | + </td> | |
| 348 | + <%-- <td><c:out value="${result.phmTypeTxt}"/></td> --%> | |
| 349 | + <td> | |
| 350 | + <c:choose> | |
| 351 | + <c:when test="${result.phmType eq '03'}"> | |
| 352 | + 발신번호 차단 | |
| 353 | + </c:when> | |
| 354 | + <c:otherwise> | |
| 355 | + <c:if test="${result.authYnTxt eq '심사중'}">인증요청</c:if> <!-- 코드에 심사중으로 등록되어 있지만 인증요청으로 화면에 뿌리기 위한 처리--> | |
| 356 | + <c:if test="${result.authYnTxt ne '심사중'}"><c:out value="${result.authYnTxt}"/></c:if> | |
| 357 | + | |
| 358 | + </c:otherwise> | |
| 359 | + </c:choose> | |
| 360 | + </td> | |
| 361 | + <td><c:out value="${result.admNm}"/></td> | |
| 362 | + <td title="<c:out value="${result.phmAuthTypeTxt}"/>"> | |
| 363 | + <c:choose> | |
| 364 | + <c:when test="${result.phmAuthTypeTxt eq '휴대폰 인증'}"> | |
| 365 | + 휴대폰 | |
| 366 | + </c:when> | |
| 367 | + <c:when test="${result.phmAuthTypeTxt eq '서류인증'}"> | |
| 368 | + 서류 | |
| 369 | + </c:when> | |
| 370 | + <c:otherwise> | |
| 371 | + <c:out value="${result.phmAuthTypeTxt}"/> | |
| 372 | + </c:otherwise> | |
| 373 | + </c:choose> | |
| 374 | + </td> | |
| 375 | + <td> | |
| 376 | + <c:choose> | |
| 377 | + <c:when test="${result.phmAuthTypeTxt eq '서류인증'}"> | |
| 378 | + | |
| 379 | + </c:when> | |
| 380 | + <c:otherwise> | |
| 381 | + <c:out value="${result.ownerName}"/> | |
| 382 | + </c:otherwise> | |
| 383 | + </c:choose> | |
| 384 | + </td> | |
| 385 | + <td class="brRm"> | |
| 386 | + <c:import url="/cmm/fms/selectAddrAgencyFileInfs.do" charEncoding="utf-8"> | |
| 387 | + <c:param name="param_atchFileId" value="${result.atchFileId}" /> | |
| 388 | + </c:import> | |
| 389 | + </td> | |
| 390 | + <td> | |
| 391 | + <c:if test="${result.authYn eq 'H'}"> | |
| 392 | + <button class="btnType btnType20" onclick="updateAuthYn('<c:out value='${result.phmId}'/>', 'Y', '<c:out value='${result.userId}'/>'); return false;" >인증완료</button> | |
| 393 | + <button class="btnType btnType20" onclick="returnPop('<c:out value="${result.phmId}"/>'); return false;">반려</button> | |
| 394 | + </c:if> | |
| 395 | + <c:if test="${result.authYn eq 'C'}"> | |
| 396 | + <button class="btnType btnType20" onclick="returnPop('<c:out value="${result.phmId}"/>'); return false;">반려사유</button> | |
| 397 | + </c:if> | |
| 398 | + </td> | |
| 399 | + <td title="<c:out value="${result.frstRegistPnttm}"/>"> | |
| 400 | + <fmt:parseDate value="${result.frstRegistPnttm}" var="frstRegistDateValue" pattern="yyyy-MM-dd HH:mm"/> | |
| 401 | + <fmt:formatDate value="${frstRegistDateValue}" pattern="MM-dd HH:mm"/> | |
| 402 | + </td> | |
| 403 | + | |
| 404 | + <%-- <td><c:out value="${result.delFlagTxt}"/></td> --%> | |
| 405 | + </tr> | |
| 406 | + </c:forEach> | |
| 407 | + <c:if test="${empty resultList}"> | |
| 408 | + <tr><td colspan="14"><spring:message code="common.nodata.msg" /></td></tr> | |
| 409 | + </c:if> | |
| 410 | + </tbody> | |
| 411 | + </table> | |
| 412 | + </div> | |
| 413 | + </div> | |
| 414 | + </div> | |
| 415 | +</form> | |
| 416 | + | |
| 417 | +<form name="modiForm" id="modiForm" method="post"> | |
| 418 | + <input name="mberId" type="hidden" /> | |
| 419 | +</form> | |
| 420 | +<form name="popupForm" id="popupForm" method="post"> | |
| 421 | + <input name="phmId" type="hidden" /> | |
| 422 | +</form> | |
| 423 | + | |
| 424 | +</body> | |
| 425 | +</html> |
+++ src/main/webapp/WEB-INF/jsp/uss/ion/msg/weekendCsWork2.jsp
... | ... | @@ -0,0 +1,598 @@ |
| 1 | +<%@ page contentType="text/html; charset=utf-8"%> | |
| 2 | +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | |
| 3 | +<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> | |
| 4 | +<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> | |
| 5 | +<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | |
| 6 | +<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> | |
| 7 | +<%@ taglib prefix="ec" uri="/WEB-INF/tld/ecnet_tld.tld"%> | |
| 8 | +<!DOCTYPE html> | |
| 9 | +<html lang="ko"> | |
| 10 | +<head> | |
| 11 | + <meta charset="UTF-8"> | |
| 12 | + <meta http-equiv="content-type" content="text/html; charset=utf-8"> | |
| 13 | + <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
| 14 | + <!-- <meta name="viewport" content="width=device-width, initial-scale=1.0"> --> | |
| 15 | + <link rel="stylesheet" href="/pb/css/reset.css"> | |
| 16 | + <link rel="stylesheet" href="/pb/css/common.css"> | |
| 17 | + <link rel="stylesheet" href="/pb/css/content.css?date=202301160001"> | |
| 18 | + <link rel="stylesheet" href="/pb/css/popup.css"> | |
| 19 | + <script src="/pb/js/jquery-3.5.0.js"></script> | |
| 20 | + <script src="/pb/js/common.js"></script> | |
| 21 | + <script src = "/js/new_main.js "></script> | |
| 22 | + <link rel="icon" href="data:;base64,iVBORw0KGgo="> | |
| 23 | + <script src="<c:url value='/js/jquery.js' />"></script> | |
| 24 | + <script type="text/javascript" src="<c:url value='/js/EgovCalPopup.js'/>"></script> | |
| 25 | + <c:if test="${!empty loginId}"> | |
| 26 | + <!-- 자동완성 START--> | |
| 27 | + <link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css"> | |
| 28 | + <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script> | |
| 29 | + <script src="<c:url value='/js/recent_search.js' />"></script> | |
| 30 | + <!-- 자동완성 END --> | |
| 31 | + </c:if> | |
| 32 | + <c:set var="RequestUrl" value="${pageContext.request.requestURL}"/> | |
| 33 | + <c:if test="${RequestUrl.indexOf('RefundReRegist.do') == -1}"> | |
| 34 | + <script src="<c:url value='/js/ncms_common.js' />"></script> | |
| 35 | + </c:if> | |
| 36 | + <script> | |
| 37 | + $( document ).ready(function() { | |
| 38 | + labelSet(); | |
| 39 | + }); | |
| 40 | + function labelSet(){//Ajax load를 위해 메소드로 구현 | |
| 41 | + $("input[type='checkBox'],input[type=radio]").each(function(index, item){ | |
| 42 | + $(this).after("<label for='"+$(this).attr('id')+"'></label>") ; | |
| 43 | + }); | |
| 44 | + } | |
| 45 | + | |
| 46 | + // 페이지 뒤로 가기 시 이벤트 발생 | |
| 47 | + window.onpageshow = function(event) { | |
| 48 | + // 뒤로 가기, 새로고침 등 캐시 복원 시 | |
| 49 | + if ( event.persisted || (window.performance && window.performance.navigation.type == 2)) { | |
| 50 | + } else { // 새 페이지 열릴 시 | |
| 51 | + <c:if test="${!empty message}">alert("${message}");</c:if> | |
| 52 | + } | |
| 53 | + } | |
| 54 | + </script> | |
| 55 | +<title>기업회원 신청 정보</title> | |
| 56 | +<meta http-equiv="content-type" content="text/html; charset=utf-8"> | |
| 57 | +<script type="text/javascript" src="<c:url value='/js/EgovMultiFile.js'/>"></script> | |
| 58 | +<script type="text/javaScript" language="javascript"> | |
| 59 | + | |
| 60 | +var hstSttus = "${hstSttus}"; | |
| 61 | + | |
| 62 | +$( document ).ready(function() { | |
| 63 | + // 대시보드에 전달받은 파라미터 처리 | |
| 64 | + fromDashboard(); | |
| 65 | + | |
| 66 | +}); | |
| 67 | + | |
| 68 | +function fnChkAll() { | |
| 69 | + if($("#chkAll").is(':checked') ){ | |
| 70 | + $("input[name=chkSttusY]").prop("checked", true); | |
| 71 | + }else{ | |
| 72 | + $("input[name=chkSttusY]").prop("checked", false); | |
| 73 | + } | |
| 74 | +} | |
| 75 | + | |
| 76 | +// 대시보드에 전달받은 파라미터 처리 | |
| 77 | +function fromDashboard() { | |
| 78 | + if (hstSttus == "01") { | |
| 79 | + $("#searchHstSttus").val(hstSttus).prop("selected", true); | |
| 80 | + | |
| 81 | + linkPage(1); | |
| 82 | + } | |
| 83 | +} | |
| 84 | + | |
| 85 | +function linkPage(pageNo){ | |
| 86 | + var listForm = document.listForm ; | |
| 87 | + listForm.action = "/uss/umt/user/EgovMberCmpHstList.do" ; | |
| 88 | + listForm.target = "_self"; | |
| 89 | + listForm.pageIndex.value = pageNo ; | |
| 90 | + listForm.submit(); | |
| 91 | +} | |
| 92 | + | |
| 93 | +function returnPop(cmphstId) { | |
| 94 | + $("#cmphstId").val(cmphstId); | |
| 95 | + window.open("about:blank", 'returnPopup', 'width=600, height=310, top=400, left=650, fullscreen=no, menubar=no, status=no, toolbar=no, titlebar=yes, location=no, scrollbar=no'); | |
| 96 | + document.listForm.action = "<c:url value='/uss/umt/user/EgovMberCmpHstReturnPop.do'/>"; | |
| 97 | + document.listForm.target = "returnPopup"; | |
| 98 | + document.listForm.submit(); | |
| 99 | +} | |
| 100 | + | |
| 101 | +function listPop(mberId) { | |
| 102 | + document.popupForm.mberId.value = mberId; | |
| 103 | + window.open("about:blank", 'listPopup', 'width=1800, height=800, top=100, left=0, fullscreen=no, menubar=no, status=no, toolbar=no, titlebar=yes, location=no, scrollbar=no'); | |
| 104 | + document.popupForm.action = "<c:url value='/uss/umt/user/EgovMberCmpHstListPop.do'/>"; | |
| 105 | + document.popupForm.target = "listPopup"; | |
| 106 | + document.popupForm.submit(); | |
| 107 | +} | |
| 108 | + | |
| 109 | +//link to bizno | |
| 110 | +function bizNoPop(p_biz_no) { | |
| 111 | + //document.popupForm.mberId.value = mberId; | |
| 112 | + window.open("about:blank", 'listPopup', 'width=1800, height=800, top=100, left=0, fullscreen=no, menubar=no, status=no, toolbar=no, titlebar=yes, location=no, scrollbar=no'); | |
| 113 | + document.popupForm.action = "https://bizno.net/article/"+p_biz_no; | |
| 114 | + document.popupForm.target = "bizNoPopup"; | |
| 115 | + document.popupForm.submit(); | |
| 116 | +} | |
| 117 | + | |
| 118 | +function listTaxPop(mberId) { | |
| 119 | + document.popupForm.mberId.value = mberId; | |
| 120 | + window.open("about:blank", 'taxListPopup', 'width=1800, height=800, top=100, left=0, fullscreen=no, menubar=no, status=no, toolbar=no, titlebar=yes, location=no, scrollbar=no'); | |
| 121 | + document.popupForm.action = "<c:url value='/uss/umt/user/EgovMberCmpHstTaxListPop.do'/>"; | |
| 122 | + document.popupForm.target = "taxListPopup"; | |
| 123 | + document.popupForm.submit(); | |
| 124 | +} | |
| 125 | + | |
| 126 | +function biznoPop(p_bizno) { | |
| 127 | + window.open('https://www.bizno.net/article/'+p_bizno); | |
| 128 | +} | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | +// 기업회원 신청 승인/반려 처리 | |
| 133 | +function setMberCmpHstStatusSave(hstSttus, cmphstId, hstType, mberId, managerNm, mbtlNum) { | |
| 134 | + var sMsg = ""; | |
| 135 | + if (hstSttus == "02") { | |
| 136 | + sMsg = "승인"; | |
| 137 | + } | |
| 138 | + else if (hstSttus == "03") { | |
| 139 | + sMsg = "반려"; | |
| 140 | + } | |
| 141 | + | |
| 142 | + if (confirm(sMsg + " 하시겠습니까?")) { | |
| 143 | + | |
| 144 | + $("#hstSttus").val(hstSttus); | |
| 145 | + $("#cmphstId").val(cmphstId); | |
| 146 | + $("#hstType").val(hstType); | |
| 147 | + $("#mberId").val(mberId); | |
| 148 | + $("#mbtlNum").val(mbtlNum); | |
| 149 | + if(hstType == '02' && hstSttus == '02'){ //기업회원 전환 승인이라면 기존 mberNm -> managerNm 으로 수정 | |
| 150 | + $("#managerNm").val(managerNm); | |
| 151 | + } | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + var form = document.listForm; | |
| 156 | + var data = new FormData(form); | |
| 157 | + url = "/uss/umt/user/mberCmpHstStatusSaveAjax.do"; | |
| 158 | + | |
| 159 | + $.ajax({ | |
| 160 | + type: "POST", | |
| 161 | + url: url, | |
| 162 | + data: data, | |
| 163 | + dataType:'json', | |
| 164 | + async: false, | |
| 165 | + processData: false, | |
| 166 | + contentType: false, | |
| 167 | + cache: false, | |
| 168 | + success: function (data) { | |
| 169 | + if (data.isSuccess) { | |
| 170 | + if(data.isDone){ //이미 처리했던 건인지 체크 | |
| 171 | + alert(data.msg); | |
| 172 | + location.reload(); | |
| 173 | + }else{ | |
| 174 | + // 초기화 | |
| 175 | + $("#hstSttus").val(""); | |
| 176 | + $("#cmphstId").val(""); | |
| 177 | + $("#hstType").val(""); | |
| 178 | + $("#mberId").val(""); | |
| 179 | + alert(data.msg); | |
| 180 | + linkPage(1); | |
| 181 | + } | |
| 182 | + } | |
| 183 | + else { | |
| 184 | + alert(data.msg); | |
| 185 | + } | |
| 186 | + }, | |
| 187 | + error: function (e) { | |
| 188 | + alert("저장에 실패하였습니다."); | |
| 189 | + alert("ERROR : " + JSON.stringify(e)); | |
| 190 | + } | |
| 191 | + }); | |
| 192 | + } | |
| 193 | + | |
| 194 | +} | |
| 195 | + | |
| 196 | +//반려 기업회원 삭제 처리 | |
| 197 | +function setMberCmpHstStatusDelete( | |
| 198 | + p_mberId | |
| 199 | + ) { | |
| 200 | + if (confirm("정말 삭제 하시겠습니까?")) { | |
| 201 | + $("#mberId").val(p_mberId); | |
| 202 | + | |
| 203 | + var form = document.listForm; | |
| 204 | + var data = new FormData(form); | |
| 205 | + url = "/uss/umt/user/mberCmpHstStatusDeleteAjax.do"; | |
| 206 | + | |
| 207 | + $.ajax({ | |
| 208 | + type: "POST", | |
| 209 | + url: url, | |
| 210 | + data: data, | |
| 211 | + dataType:'json', | |
| 212 | + async: false, | |
| 213 | + processData: false, | |
| 214 | + contentType: false, | |
| 215 | + cache: false, | |
| 216 | + success: function (data) { | |
| 217 | + if (data.isSuccess) { | |
| 218 | + // 초기화 | |
| 219 | + $("#mberId").val(""); | |
| 220 | + alert(data.msg); | |
| 221 | + linkPage(1); | |
| 222 | + } | |
| 223 | + else { | |
| 224 | + alert(data.msg); | |
| 225 | + } | |
| 226 | + }, | |
| 227 | + error: function (e) { | |
| 228 | + alert("삭제에 실패하였습니다."); | |
| 229 | + alert("ERROR : " + JSON.stringify(e)); | |
| 230 | + } | |
| 231 | + }); | |
| 232 | + } | |
| 233 | + | |
| 234 | +} | |
| 235 | + | |
| 236 | +//신청 일괄승인 | |
| 237 | +function fnSttusYAll() { | |
| 238 | + if($("input[name=chkSttusY]:checked").length == 0){ | |
| 239 | + alert("선택된 항목이 없습니다."); | |
| 240 | + return false; | |
| 241 | + } | |
| 242 | + if (confirm("일괄승인 처리하시겠습니까?")){ | |
| 243 | + var cmphstIds = []; | |
| 244 | + $('input:checkbox[name="chkSttusY"]').each(function() { | |
| 245 | + if(this.checked){ | |
| 246 | + cmphstIds.push($(this).val()); | |
| 247 | + } | |
| 248 | + }) | |
| 249 | + } | |
| 250 | + | |
| 251 | + $.ajax({ | |
| 252 | + type: "POST", | |
| 253 | + url : "<c:url value='/uss/umt/user/mberCmpHstStatusYSaveAjax.do'/>", | |
| 254 | + data : {"cmphstIds" : cmphstIds}, | |
| 255 | + dataType : 'json', | |
| 256 | + async : false, | |
| 257 | + success : function(data){ | |
| 258 | + alert(data.msg); | |
| 259 | + location.reload(); | |
| 260 | + }, | |
| 261 | + error :function(e){ | |
| 262 | + alert("2"); | |
| 263 | + } | |
| 264 | + }) | |
| 265 | +} | |
| 266 | +//마우스 오버시 상세정보 노출 | |
| 267 | +$(function(){ | |
| 268 | + $('.pageCont .tbType1 tbody tr').mouseover(function(){ | |
| 269 | + $(this).mousemove(function(e){ | |
| 270 | + var x=e.pageX+15; | |
| 271 | + var y=e.pageY+15; | |
| 272 | + $(this).closest('tr').next('.biz_hover_wrap').find('.biz_hover_content').css({'top':y,'left':x}); | |
| 273 | + }); | |
| 274 | + }); | |
| 275 | +}); | |
| 276 | + | |
| 277 | +//회원정보 상세 팝업 | |
| 278 | +function fnSelectMber(mberId) { | |
| 279 | + document.modiForm.mberId.value = mberId; | |
| 280 | + window.open("about:blank", 'popupSelectMber', 'width=900, height=1800, top=100, left=100, fullscreen=no, menubar=no, status=no, toolbar=no, titlebar=yes, location=no, scrollbar=no'); | |
| 281 | + document.modiForm.action = "<c:url value='/uss/umt/user/EgovGnrlselectedUserView.do'/>"; | |
| 282 | + document.modiForm.target = "popupSelectMber"; | |
| 283 | + document.modiForm.submit(); | |
| 284 | +} | |
| 285 | + | |
| 286 | +//기간선택 select | |
| 287 | +function fnSetCalMonth(val) { | |
| 288 | + var form = document.listForm; | |
| 289 | + var today = new Date(); | |
| 290 | + | |
| 291 | + var year = today.getFullYear(); | |
| 292 | + var month = ("0"+(today.getMonth()+1)).slice(-2); | |
| 293 | + var date = ("0"+today.getDate()).slice(-2); | |
| 294 | + | |
| 295 | + var sDate = new Date(today.setMonth(today.getMonth() - val)); | |
| 296 | + | |
| 297 | + var sYear = sDate.getFullYear(); | |
| 298 | + var sMonth = ("0"+(sDate.getMonth()+1)).slice(-2); | |
| 299 | + var sDate = ("0"+sDate.getDate()).slice(-2); | |
| 300 | + | |
| 301 | + form.searchStartDate.value = sYear + "-" + sMonth + "-" + sDate; | |
| 302 | + form.searchEndDate.value = year + "-" + month + "-" + date; | |
| 303 | + | |
| 304 | +} | |
| 305 | + | |
| 306 | +</script> | |
| 307 | +<style type="text/css"> | |
| 308 | +.pageCont .tbType1 thead tr th, | |
| 309 | +.pageCont .tbType1 tbody tr td {font-size:14px;} | |
| 310 | +.btnType.btnType20{min-width: 0;} | |
| 311 | +</style> | |
| 312 | +</head> | |
| 313 | +<body> | |
| 314 | + | |
| 315 | +<form name="popupForm" action="<c:url value='/uss/umt/user/EgovMberCmpHstListPop.do'/>" method="post"> | |
| 316 | + <input type="hidden" name="pageIndex" value="1"/> | |
| 317 | + <input type="hidden" name="searchSortCnd" value="<c:out value="${searchVO.searchSortCnd}" />" /> | |
| 318 | + <input type="hidden" name="searchSortOrd" value="<c:out value="${searchVO.searchSortOrd}" />" /> | |
| 319 | + <input type="hidden" name="mberId"/> | |
| 320 | +</form> | |
| 321 | + | |
| 322 | + | |
| 323 | +<form name="listForm" action="<c:url value='/uss/umt/user/EgovMberCmpHstList.do'/>" method="post"> | |
| 324 | + <input name="pageIndex" id="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/> | |
| 325 | + <input type="hidden" name="pageType" /> | |
| 326 | + <input type="hidden" name="searchSortCnd" value="<c:out value="${searchVO.searchSortCnd}" />" /> | |
| 327 | + <input type="hidden" name="searchSortOrd" value="<c:out value="${searchVO.searchSortOrd}" />" /> | |
| 328 | + <input type="hidden" name="hstSttus" id="hstSttus" /> | |
| 329 | + <input type="hidden" name="cmphstId" id="cmphstId" /> | |
| 330 | + <input type="hidden" name="hstType" id="hstType" /> | |
| 331 | + <input type="hidden" name="mberId" id="mberId" /> | |
| 332 | + <input type="hidden" name="managerNm" id="managerNm" /> | |
| 333 | + <input type="hidden" name="mbtlNum" id="mbtlNum" /> | |
| 334 | + <input type="hidden" name="atchFileId" id="atchFileId" /> | |
| 335 | + <input type="hidden" name="workAtchFileId" id="workAtchFileId" /> | |
| 336 | + | |
| 337 | + <div class="contWrap" style="min-height: 500px; padding: 0px 40px;"> | |
| 338 | +<!-- <div class="pageTitle"> --> | |
| 339 | +<!-- <div class="pageIcon"><img src="/pb/img/pageTitIcon4.png" alt=""></div> --> | |
| 340 | +<!-- <h2 class="titType1 c_222222 fwBold">기업회원 신청 목록</h2> --> | |
| 341 | +<!-- <p class="tType6 c_999999">기업회원 신청 정보를 파악할 수 있습니다.</p> --> | |
| 342 | +<!-- </div> --> | |
| 343 | + <div class="pageCont" style="min-height: 400px;"> | |
| 344 | + 기업회원 신청 | |
| 345 | + <div class="tableWrap"> | |
| 346 | + <table class="tbType1"> | |
| 347 | + <colgroup> | |
| 348 | + <col style="width: 20px"> | |
| 349 | + <col style="width: 50px"> | |
| 350 | + <col style="width: 7%"> | |
| 351 | + <col style="width: 30px"> | |
| 352 | + <col style="width: auto"> | |
| 353 | + <col style="width: 80px"> | |
| 354 | + <col style="width: 5%"> | |
| 355 | + <col style="width: 6%"> | |
| 356 | + <col style="width: 90px"> | |
| 357 | + <col style="width: 55px"> | |
| 358 | + <col style="width: 55px"> | |
| 359 | + <col style="width: 5%"> | |
| 360 | + <col style="width: 35px"> | |
| 361 | + <col style="width: 50px"> | |
| 362 | + <col style="width: 30px"> | |
| 363 | + <col style="width: 7%"> | |
| 364 | + <col style="width: 115px"> | |
| 365 | + <col style="width: 50px"> | |
| 366 | + <col style="width: 50px"> | |
| 367 | + </colgroup> | |
| 368 | + <thead> | |
| 369 | + <tr> | |
| 370 | + <th><input type="checkbox" id="chkAll" onClick="fnChkAll();"></th> | |
| 371 | + <th>번호<input type="button" class="sort sortBtn" id="sort_cmphstId"></th> | |
| 372 | + <th>회원ID<input type="button" class="sort sortBtn" id="sort_mberId"></th> | |
| 373 | + <th>유형<input type="button" class="sort sortBtn" id="sort_bizType"></th> | |
| 374 | + <th>기업명<input type="button" class="sort sortBtn" id="sort_mberNm"></th> | |
| 375 | + <th>사업자번호<input type="button" class="sort sortBtn" id="sort_bizNo"></th> | |
| 376 | + <th>대표자<input type="button" class="sort sortBtn" id="sort_ceoNm"></th> | |
| 377 | + <th>담당자<input type="button" class="sort sortBtn" id="sort_ceoNm"></th> | |
| 378 | + <th>휴대폰<input type="button" class="sort sortBtn" id="sort_ceoNm"></th> | |
| 379 | + <th>사업자<input type="button" class="sort sortBtn" id="sort_atchFileId"></th> | |
| 380 | + <th>재직<input type="button" class="sort sortBtn" id="sort_workAtchFileId"></th> | |
| 381 | + <th>유형<input type="button" class="sort sortBtn" id="sort_hstType"></th> | |
| 382 | + <th>사전</th> | |
| 383 | + <th>API</th> | |
| 384 | + <th>상태<input type="button" class="sort sortBtn" id="sort_hstSttus"></th> | |
| 385 | + <th>등록일<input type="button" class="sort sortBtn" id="sort_frstRegistPnttm"></th> | |
| 386 | + <th>관리</th> | |
| 387 | + <th>전체</th> | |
| 388 | + <th>삭제</th> | |
| 389 | + </tr> | |
| 390 | + </thead> | |
| 391 | + <tbody> | |
| 392 | + <c:forEach var="result" items="${mberCmpHstList}" varStatus="status"> | |
| 393 | + <tr> | |
| 394 | + <td> | |
| 395 | + <c:if test="${result.hstSttus eq '01'}"> | |
| 396 | + <input type="checkbox" name="chkSttusY" id="chkSttusY_${status.index}" value="${result.cmphstId}"> | |
| 397 | + </c:if> | |
| 398 | + </td> | |
| 399 | + <td> | |
| 400 | + <c:if test="${searchVO.searchSortOrd eq 'desc' }"> | |
| 401 | + <c:out value="${ ( paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo -1)*paginationInfo.recordCountPerPage) ) - status.index }"/> | |
| 402 | + </c:if> | |
| 403 | + <c:if test="${searchVO.searchSortOrd eq 'asc' }"> | |
| 404 | + <c:out value="${(paginationInfo.currentPageNo - 1) * paginationInfo.recordCountPerPage + status.count}"/> | |
| 405 | + </c:if> | |
| 406 | + </td> | |
| 407 | + <td> | |
| 408 | + <c:choose> | |
| 409 | + <c:when test="${result.hstSttus == '02'}"> | |
| 410 | + <a href="#" onclick="javascript:fnSelectMber('<c:out value="${result.mberId}"/>'); return false;"> | |
| 411 | + <c:out value="${result.mberId}"/> | |
| 412 | + </a> | |
| 413 | + </c:when> | |
| 414 | + <c:otherwise> | |
| 415 | + <c:out value="${result.mberId}"/> | |
| 416 | + </c:otherwise> | |
| 417 | + </c:choose> | |
| 418 | + </td> | |
| 419 | + <td> | |
| 420 | + <c:forEach var="item" items="${bizTypeList}" varStatus="status"> | |
| 421 | + <c:if test="${result.bizType == item.code}"><c:out value="${fn:substring(item.codeNm,0,2)}"/></c:if> | |
| 422 | + </c:forEach> | |
| 423 | + </td> | |
| 424 | + <td><c:out value="${result.mberNm}"/></td> | |
| 425 | + <td><a href="https://www.bizno.net/article/${result.bizNo}" target="_blank"><c:out value="${result.bizNo}"/></a></td> | |
| 426 | + <td><c:out value="${result.ceoNm}"/></td> | |
| 427 | + <td><c:out value="${result.hstManagerNm}"/></td> | |
| 428 | + <td><c:out value="${result.hstMbtlNum}"/></td> | |
| 429 | + <td class="td_file"> | |
| 430 | + <c:if test="${result.atchFileId ne '' || result.atchFileId ne null}"> | |
| 431 | + <c:import url="/cmm/fms/selectAddrAgencyFileInfs.do" charEncoding="utf-8"> | |
| 432 | + <c:param name="param_atchFileId" value="${result.atchFileId}" /> | |
| 433 | + </c:import> | |
| 434 | + </c:if> | |
| 435 | + </td> | |
| 436 | + <td class="td_file"> | |
| 437 | + <c:if test="${result.workAtchFileId ne '' || result.workAtchFileId ne null}"> | |
| 438 | + <c:import url="/cmm/fms/selectAddrAgencyFileInfs.do" charEncoding="utf-8"> | |
| 439 | + <c:param name="param_atchFileId" value="${result.workAtchFileId}" /> | |
| 440 | + </c:import> | |
| 441 | + </c:if> | |
| 442 | + </td> | |
| 443 | + <td> | |
| 444 | + <c:forEach var="item" items="${hstTypeList}" varStatus="status"> | |
| 445 | + <c:if test="${result.hstType == item.code}"><c:out value="${item.codeNm}"/></c:if> | |
| 446 | + </c:forEach> | |
| 447 | + </td> | |
| 448 | + <td> | |
| 449 | + <c:choose> | |
| 450 | + <c:when test="${result.checkType == '100'}"> | |
| 451 | + Y | |
| 452 | + </c:when> | |
| 453 | + <c:when test="${result.checkType == '111'}"> | |
| 454 | + YY | |
| 455 | + <br/>대표자명 | |
| 456 | + <br/>기업이름 | |
| 457 | + <br/>설립일 | |
| 458 | + </c:when> | |
| 459 | + <c:otherwise> | |
| 460 | + X | |
| 461 | + </c:otherwise> | |
| 462 | + </c:choose> | |
| 463 | + </td> | |
| 464 | + <td> | |
| 465 | +<%-- <a href="https://www.bizno.net/article/${result.bizNo}" target="_blank">bizno</a> --%> | |
| 466 | +<!-- | |
| 467 | + <button class="btnType btnType20" | |
| 468 | + onclick="biznoPop('${result.bizNo}');return false;">bizno</button> | |
| 469 | + --> | |
| 470 | + <button class="btnType btnType20" | |
| 471 | + onclick="listTaxPop('<c:out value="${result.mberId}"/>'); return false;">팝업</button> | |
| 472 | + </td> | |
| 473 | + <td> | |
| 474 | + <c:forEach var="item" items="${hstSttusList}" varStatus="status"> | |
| 475 | + <c:if test="${result.hstSttus == item.code}"> | |
| 476 | + <c:if test="${result.hstSttus == 01}"><span class="c_ed4555"><c:out value="${item.codeNm}"/></span></c:if> | |
| 477 | + <c:if test="${result.hstSttus == 02}"><span class="c_456ded"><c:out value="${item.codeNm}"/></span></c:if> | |
| 478 | + <c:if test="${result.hstSttus == 03}"><span class="c_b4b4b4"><c:out value="${item.codeNm}"/></span></c:if> | |
| 479 | + </c:if> | |
| 480 | + </c:forEach> | |
| 481 | + </td> | |
| 482 | + <td> | |
| 483 | + <fmt:parseDate value="${result.frstRegistPnttm}" var="frstRegistDateValue" pattern="yyyy-MM-dd HH:mm"/> | |
| 484 | + <fmt:formatDate value="${frstRegistDateValue}" pattern="MM-dd HH:mm"/> | |
| 485 | + </td> | |
| 486 | + <td> | |
| 487 | + <c:if test="${result.hstSttus eq '01'}"> | |
| 488 | + <button class="btnType btnType20" onclick="setMberCmpHstStatusSave('02','<c:out value="${result.cmphstId}"/>','<c:out value="${result.hstType}"/>','<c:out value="${result.mberId}"/>' ,'<c:out value="${result.managerNm}"/>' ,'<c:out value="${result.mbtlNum}"/>'); return false;">승인</button> | |
| 489 | + <%-- <button class="btnType btnType20" onclick="setMberCmpHstStatusSave('03','<c:out value="${result.cmphstId}"/>','<c:out value="${result.hstType}"/>','<c:out value="${result.mberId}"/>' ,'<c:out value="${result.managerNm}"/>' ,'<c:out value="${result.mbtlNum}"/>'); return false;">반려</button> --%> | |
| 490 | + <button class="btnType btnType20" onclick="returnPop('<c:out value="${result.cmphstId}"/>'); return false;">반려</button> | |
| 491 | + </c:if> | |
| 492 | + <c:if test="${result.hstSttus eq '03'}"> | |
| 493 | + <button class="btnType btnType20" onclick="returnPop('<c:out value="${result.cmphstId}"/>'); return false;">반려 사유</button> | |
| 494 | + </c:if> | |
| 495 | + </td> | |
| 496 | + <td> | |
| 497 | + <button class="btnType btnType20" onclick="listPop('<c:out value="${result.mberId}"/>'); return false;">전체 </button> | |
| 498 | + </td> | |
| 499 | + <td> | |
| 500 | + <c:if test="${result.hstSttus eq '03'}"> | |
| 501 | + <button class="btnType btnType20" onclick="setMberCmpHstStatusDelete('<c:out value="${result.mberId}"/>'); return false;">삭제</button> | |
| 502 | + </c:if> | |
| 503 | + </td> | |
| 504 | + </tr> | |
| 505 | + <tr class="biz_hover_wrap"> | |
| 506 | + <td colspan="14"> | |
| 507 | + <div class="biz_hover_content"> | |
| 508 | + <dl> | |
| 509 | + <dt>회원 ID</dt> | |
| 510 | + <dd><c:out value="${result.mberId}"/></dd> | |
| 511 | + </dl> | |
| 512 | + <dl> | |
| 513 | + <dt>유형</dt> | |
| 514 | + <dd> | |
| 515 | + <c:forEach var="item" items="${bizTypeList}" varStatus="status"> | |
| 516 | + <c:if test="${result.bizType == item.code}"><c:out value="${fn:substring(item.codeNm,0,2)}"/></c:if> | |
| 517 | + </c:forEach> | |
| 518 | + </dd> | |
| 519 | + </dl> | |
| 520 | + <dl> | |
| 521 | + <dt>기업이름</dt> | |
| 522 | + <dd><c:out value="${result.mberNm}"/></dd> | |
| 523 | + </dl> | |
| 524 | + <dl> | |
| 525 | + <dt>사업자번호</dt> | |
| 526 | + <dd><c:out value="${result.bizNo}"/></dd> | |
| 527 | + </dl> | |
| 528 | + <dl> | |
| 529 | + <dt>대표자 성명</dt> | |
| 530 | + <dd><c:out value="${result.ceoNm}"/></dd> | |
| 531 | + </dl> | |
| 532 | + <dl> | |
| 533 | + <dt>담당자 성명</dt> | |
| 534 | + <dd><c:out value="${result.hstManagerNm}"/></dd> | |
| 535 | + </dl> | |
| 536 | + <dl> | |
| 537 | + <dt>휴대폰</dt> | |
| 538 | + <dd><c:out value="${result.hstMbtlNum}"/></dd> | |
| 539 | + </dl> | |
| 540 | + <%-- <c:if test="${result.atchFileId ne '' && result.atchFileId ne null}"> | |
| 541 | + <dl> | |
| 542 | + <dt>사업자등록증</dt> | |
| 543 | + <dd></dd> | |
| 544 | + </dl> | |
| 545 | + </c:if> | |
| 546 | + <c:if test="${result.workAtchFileId ne '' && result.workAtchFileId ne null}"> | |
| 547 | + <dl> | |
| 548 | + <dt>재직증명서</dt> | |
| 549 | + <dd></dd> | |
| 550 | + </dl> | |
| 551 | + </c:if> --%> | |
| 552 | + <dl> | |
| 553 | + <dt>유형</dt> | |
| 554 | + <dd> | |
| 555 | + <c:forEach var="item" items="${hstTypeList}" varStatus="status"> | |
| 556 | + <c:if test="${result.hstType == item.code}"><c:out value="${item.codeNm}"/></c:if> | |
| 557 | + </c:forEach> | |
| 558 | + </dd> | |
| 559 | + </dl> | |
| 560 | + <dl> | |
| 561 | + <dt>상태</dt> | |
| 562 | + <dd> | |
| 563 | + <c:forEach var="item" items="${hstSttusList}" varStatus="status"> | |
| 564 | + <c:if test="${result.hstSttus == item.code}"><c:out value="${item.codeNm}"/></c:if> | |
| 565 | + </c:forEach> | |
| 566 | + </dd> | |
| 567 | + </dl> | |
| 568 | + <dl> | |
| 569 | + <dt>관리자</dt> | |
| 570 | + <dd> | |
| 571 | + <c:out value="${result.admNm}" /> | |
| 572 | + </dd> | |
| 573 | + </dl> | |
| 574 | + <dl> | |
| 575 | + <dt>등록일</dt> | |
| 576 | + <dd><c:out value="${result.frstRegistPnttm}"/></dd> | |
| 577 | + </dl> | |
| 578 | + </div> | |
| 579 | + </td> | |
| 580 | + </tr> | |
| 581 | + </c:forEach> | |
| 582 | + <c:if test="${empty mberCmpHstList}"> | |
| 583 | + <tr><td colspan="14"><spring:message code="common.nodata.msg" /></td></tr> | |
| 584 | + </c:if> | |
| 585 | + </tbody> | |
| 586 | + </table> | |
| 587 | + </div> | |
| 588 | + <div class="btnWrap"> | |
| 589 | + <input type="button" class="btnType2" onclick="javascript:fnSttusYAll(); return false;" value="일괄승인"> | |
| 590 | + </div> | |
| 591 | + </div> | |
| 592 | + </div> | |
| 593 | +</form> | |
| 594 | +<form name="modiForm" id="modiForm" method="post"> | |
| 595 | + <input name="mberId" type="hidden" /> | |
| 596 | +</form> | |
| 597 | +</body> | |
| 598 | +</html> |
+++ src/main/webapp/WEB-INF/jsp/uss/ion/msg/weekendCsWorkMain.jsp
... | ... | @@ -0,0 +1,49 @@ |
| 1 | +<%-- | |
| 2 | + Class Name : weekendCsWork.jsp | |
| 3 | + Description : 발신번호 리스트 조회 페이지 | |
| 4 | + Modification Information | |
| 5 | + | |
| 6 | + 수정일 수정자 수정내용 | |
| 7 | + ------- -------- --------------------------- | |
| 8 | + 2021.03.31 신명섭 최초 생성 | |
| 9 | + | |
| 10 | + Copyright (C) 2009 by ITN All right reserved. | |
| 11 | +--%> | |
| 12 | +<%@ page contentType="text/html; charset=utf-8"%> | |
| 13 | +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | |
| 14 | +<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> | |
| 15 | +<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> | |
| 16 | +<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | |
| 17 | +<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> | |
| 18 | +<%@ taglib prefix="ec" uri="/WEB-INF/tld/ecnet_tld.tld"%> | |
| 19 | +<% | |
| 20 | + response.setHeader("Cache-Control","no-store"); | |
| 21 | + response.setHeader("Pragma","no-cache"); | |
| 22 | + response.setDateHeader("Expires",0); | |
| 23 | + if (request.getProtocol().equals("HTTP/1.1")) response.setHeader("Cache-Control", "no-cache"); | |
| 24 | +%> | |
| 25 | +<!DOCTYPE html> | |
| 26 | +<html lang="ko"> | |
| 27 | + | |
| 28 | +<head> | |
| 29 | + <script type="text/javascript" src="<c:url value='/js/EgovMultiFile.js'/>"></script> | |
| 30 | + <script type="text/javaScript" language="javascript"> | |
| 31 | + | |
| 32 | + $(document).ready(function() { | |
| 33 | +// load(); | |
| 34 | +// alert('test'); | |
| 35 | + }); | |
| 36 | + | |
| 37 | + function load(){ | |
| 38 | + $('#frame1').attr('src', '/uss/ion/msg/weekendCsWork.do'); | |
| 39 | + $('#frame2').attr('src', '/uss/ion/msg/weekendCsWork2.do'); | |
| 40 | + } | |
| 41 | + | |
| 42 | + </script> | |
| 43 | + </head> | |
| 44 | +<body> | |
| 45 | +<iframe id="frame1" src="/uss/ion/msg/weekendCsWork.do" width="100%" height="570" style="clear: left;"></iframe> | |
| 46 | +<button id="test" onclick="load();" style="position: absolute; float: left;left: 50%">갱신</button> | |
| 47 | +<iframe id="frame2" src="/uss/ion/msg/weekendCsWork2.do" width="100%" height="570" style="clear:both"></iframe> | |
| 48 | +</body> | |
| 49 | +</html> |
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?