Merge branch 'master' of http://yongjoon.cho@vcs.iten.co.kr:9999/hylee/kcc_adr_advc_git
This commit is contained in:
commit
0d3574b1dd
@ -2,12 +2,12 @@ package kcc.kccadr.accdnt.ars.web;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Optional;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import org.apache.commons.collections.CollectionUtils;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
@ -30,8 +30,12 @@ import kcc.kccadr.accdnt.ai.service.AdjstIncidentService;
|
||||
import kcc.kccadr.accdnt.ai.service.AdjstIncidentVO;
|
||||
import kcc.kccadr.accdnt.ars.service.AdjstReqStatusService;
|
||||
import kcc.kccadr.accdnt.ars.service.AdjstReqStatusVO;
|
||||
import kcc.kccadr.adjPgrMgr.dlvinfo.service.DlvinfoService;
|
||||
import kcc.kccadr.adjPgrMgr.dlvinfo.service.DlvinfoVO;
|
||||
import kcc.kccadr.adjPgrMgr.exmp.app.service.ExmpAppManageService;
|
||||
import kcc.kccadr.adjPgrMgr.exmp.cmm.ExmpManageVO;
|
||||
import kcc.kccadr.adjRppl.service.AdjRpplService;
|
||||
import kcc.kccadr.adjRppl.service.AdjRpplVO;
|
||||
import kcc.kccadr.adjclsmgr.service.AdjClsMgrService;
|
||||
import kcc.kccadr.adjclsmgr.service.AdjClsMgrVO;
|
||||
import kcc.kccadr.advc.service.AdrHstryMgrService;
|
||||
@ -89,6 +93,16 @@ public class AdjstReqStatusController {
|
||||
|
||||
@Resource(name = "ExmpAppManageService")
|
||||
private ExmpAppManageService exmpAppManageService;
|
||||
|
||||
@Resource(name = "dlvinfoService")
|
||||
private DlvinfoService dlvinfoService;
|
||||
|
||||
@Resource(name = "adjRpplService")
|
||||
private AdjRpplService adjRpplService;
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 조정진행 상태 및 관리 목록 화면
|
||||
*/
|
||||
@ -220,7 +234,9 @@ public class AdjstReqStatusController {
|
||||
public String adjstReqStatusTabDetail(
|
||||
@ModelAttribute("adjstReqStatusVO") AdjstReqStatusVO adjstReqStatusVO
|
||||
, @ModelAttribute("adjstIncidentVO") AdjstIncidentVO adjstIncidentVO
|
||||
, ModelMap model) throws Exception {
|
||||
, ModelMap model
|
||||
, HttpServletRequest request
|
||||
, HttpServletResponse response) throws Exception {
|
||||
|
||||
// 조정신청 관련인 조회
|
||||
List<AdjstReqStatusVO> list = adjstReqStatusService.selectAdjstReqRpplInfo(adjstReqStatusVO);
|
||||
@ -278,6 +294,29 @@ public class AdjstReqStatusController {
|
||||
model.addAttribute("list_mgr" , adrHstryMgrService.selectList(adrHstryMgrVO));
|
||||
//이력값 - 끝
|
||||
|
||||
/*
|
||||
* 송달정보조회
|
||||
* select
|
||||
* */
|
||||
DlvinfoVO dlvinfoVO = new DlvinfoVO();
|
||||
dlvinfoVO.setAdrSeq(adjstReqStatusVO.getAdrSeq());
|
||||
|
||||
//로그인한 사용자 이름으로 등록된 송달 리스트 조회
|
||||
LoginVO loginVO = EgovUserDetailsHelper.isAuthenticated() ? (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser() : null;
|
||||
String userId = loginVO == null ? "" : EgovStringUtil.isNullToString(loginVO.getUniqId());
|
||||
String rpplNm = "";
|
||||
if(!"".equals(userId)) {
|
||||
AdjRpplVO adjRpplVO = new AdjRpplVO();
|
||||
adjRpplVO.setAdrSeq(adjstReqStatusVO.getAdrSeq());
|
||||
adjRpplVO.setRpplId(userId);
|
||||
adjRpplVO = adjRpplService.selectAdjRpplInfo(adjRpplVO);
|
||||
rpplNm = egovCryptoUtil.decrypt(adjRpplVO.getRpplNm());
|
||||
dlvinfoVO.setRpplNm(rpplNm);
|
||||
}
|
||||
|
||||
List<DlvinfoVO> dlvinfoList = dlvinfoService.selectAdjustDlvryList(dlvinfoVO);
|
||||
|
||||
model.addAttribute("dlvinfoList", dlvinfoList);
|
||||
|
||||
return "/web/kccadr/accdnt/ars/tab/adjstReqStatusTabDetail";
|
||||
}
|
||||
|
||||
@ -31,7 +31,8 @@ public interface DlvinfoService {
|
||||
List<DlvinfoVO> selectAdjustDeliverySocialList(DlvinfoVO dlvinfoVO) throws Exception;
|
||||
|
||||
DlvinfoVO selectDlvryInfo(DlvinfoVO dlvinfoVO) throws Exception;
|
||||
|
||||
|
||||
List<DlvinfoVO> selectAdjustDlvryList(DlvinfoVO dlvinfoVO) throws Exception;
|
||||
|
||||
/*
|
||||
* List<Object> getDlvryDocTyList(AdrInfoVO adrInfoVO);
|
||||
|
||||
@ -63,5 +63,10 @@ public class DlvinfoDAO extends EgovAbstractDAO {
|
||||
public DlvinfoVO selectDlvryInfo(DlvinfoVO dlvinfoVO) throws Exception {
|
||||
return (DlvinfoVO) select("Dlvinfo.selectDlvryInfo", dlvinfoVO);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<DlvinfoVO> selectAdjustDlvryList(DlvinfoVO dlvinfoVO) throws Exception {
|
||||
return (List<DlvinfoVO>) list("Dlvinfo.selectAdjustDlvryList", dlvinfoVO);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -154,8 +154,13 @@ public class DlvinfoServiceImpl implements DlvinfoService {
|
||||
return dlvinfoDAO.selectDlvryInfo(dlvinfoVO);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<DlvinfoVO> selectAdjustDlvryList(DlvinfoVO dlvinfoVO) throws Exception {
|
||||
return dlvinfoDAO.selectAdjustDlvryList(dlvinfoVO);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
/**
|
||||
* 신청인, 피신청인 복호화
|
||||
*
|
||||
* @param result
|
||||
|
||||
@ -163,6 +163,7 @@ public class ExmpAppManagerController {
|
||||
result = fileUtil.parseFileInf(files, "Exmp_" , 0, atchFileId, "", "");
|
||||
atchFileId = fileMngService.insertFileInfs(result);
|
||||
}
|
||||
|
||||
exmpManageVO.setAtchFileId(atchFileId);
|
||||
exmpManageVO.setFrstRegisterId(loginVO.getUniqId());
|
||||
return ResponseEntity.ok().body(exmpAppManageService.insertExmpAppManager(exmpManageVO));
|
||||
|
||||
@ -39,4 +39,6 @@ public interface AdjRpplService {
|
||||
public void deleteXxx2(AdjRpplVO xxxVO) throws Exception;
|
||||
*/
|
||||
public AdjRpplVO selectAdjRpplDetail(AdjRpplVO adjRpplVO) throws Exception;
|
||||
|
||||
public AdjRpplVO selectAdjRpplInfo(AdjRpplVO adjRpplVO) throws Exception;
|
||||
}
|
||||
|
||||
@ -61,4 +61,8 @@ public class AdjRpplDAO extends EgovAbstractDAO {
|
||||
public AdjRpplVO selectAdjRpplDetail(AdjRpplVO adjRpplVO) {
|
||||
return (AdjRpplVO) select("adjRpplDAO.selectAdjRpplDetail", adjRpplVO);
|
||||
}
|
||||
|
||||
public AdjRpplVO selectAdjRpplInfo(AdjRpplVO adjRpplVO) throws Exception {
|
||||
return (AdjRpplVO) select("adjRpplDAO.selectAdjRpplInfo", adjRpplVO);
|
||||
}
|
||||
}
|
||||
|
||||
@ -84,4 +84,10 @@ public class AdjRpplServiceImpl extends EgovAbstractServiceImpl implements AdjR
|
||||
public AdjRpplVO selectAdjRpplDetail(AdjRpplVO adjRpplVO) throws Exception {
|
||||
return adjRpplDAO.selectAdjRpplDetail(adjRpplVO);
|
||||
}
|
||||
@Override
|
||||
public AdjRpplVO selectAdjRpplInfo(AdjRpplVO adjRpplVO) throws Exception {
|
||||
return adjRpplDAO.selectAdjRpplInfo(adjRpplVO);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -18,6 +18,8 @@ import org.springframework.web.bind.annotation.RequestMethod;
|
||||
import egovframework.rte.fdl.security.userdetails.util.EgovUserDetailsHelper;
|
||||
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
|
||||
import kcc.com.cmm.LoginVO;
|
||||
import kcc.kccadr.adjPgrMgr.exmp.app.service.ExmpAppManageService;
|
||||
import kcc.kccadr.adjPgrMgr.exmp.cmm.ExmpManageVO;
|
||||
import kcc.kccadr.adjcclt.opinion.service.AdjstOpinionService;
|
||||
import kcc.kccadr.adjcclt.opinion.service.AdjstOpinionVO;
|
||||
import kcc.kccadr.adjcclt.service.AdjstConciliatorVO;
|
||||
@ -44,7 +46,9 @@ public class AdjstOpinionController {
|
||||
|
||||
@Resource(name = "adjstOpinionService")
|
||||
private AdjstOpinionService adjstOpinionService;
|
||||
|
||||
|
||||
@Resource(name = "ExmpAppManageService")
|
||||
private ExmpAppManageService exmpAppManageService;
|
||||
|
||||
// @RequestMapping(value = {"/web/kccadr/adjcclt/ai/adjstOpinionList.do"}, method = RequestMethod.POST)
|
||||
// public ResponseEntity<RestResponse> adjstFindByOpinion(HttpServletRequest request , @RequestBody AdjstOpinionVO adjstOpinionVO) throws Exception {
|
||||
@ -52,46 +56,38 @@ public class AdjstOpinionController {
|
||||
// }
|
||||
|
||||
@RequestMapping("/web/kccadr/adjcclt/ai/adjstOpinionList.do")
|
||||
public String adjstOpinionList(@ModelAttribute("adjstOpinionVO") AdjstOpinionVO adjstOpinionVO, ModelMap model) throws Exception
|
||||
public String adjstOpinionList(@ModelAttribute("exmpManageVO") ExmpManageVO exmpManageVO, ModelMap model) throws Exception
|
||||
{
|
||||
|
||||
String auth = EgovUserDetailsHelper.isAuthenticated() ? null : EgovUserDetailsHelper.getAuthenticatedUser().toString();
|
||||
LoginVO loginVO = "anonymousUser".equals(auth) ? null : (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser();
|
||||
|
||||
if (loginVO == null) {
|
||||
LoginVO loginVO = (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser();
|
||||
|
||||
model.addAttribute("msg", "로그인 해주세요.");
|
||||
return "redirect:/web/user/login/ssoLogin.do";
|
||||
}
|
||||
logger.info(" + loginVO.getName() :: [{}]", loginVO.getName());
|
||||
// adjstOpinionVO.setFrstRegisterId(loginVO.getUniqId());
|
||||
exmpManageVO.setFrstRegisterId(loginVO.getUniqId());
|
||||
if(exmpManageVO.getPageUnit() != 10) {
|
||||
exmpManageVO.setPageUnit(exmpManageVO.getPageUnit());
|
||||
}
|
||||
|
||||
// if(adjstOpinionVO.getPageUnit() != 10) {
|
||||
// adjstOpinionVO.setPageUnit(adjstOpinionVO.getPageUnit());
|
||||
// }
|
||||
//
|
||||
// if("".equals(adjstOpinionVO.getSearchSortCnd())){ //최초조회시 최신것 조회List
|
||||
// adjstOpinionVO.setSearchSortCnd("RS.ADR_SEQ");
|
||||
// adjstOpinionVO.setSearchSortOrd("desc");
|
||||
// }
|
||||
if("".equals(exmpManageVO.getSearchSortCnd())){ //최초조회시 최신것 조회List
|
||||
// exmpManageVO.setSearchSortCnd("T1.Exmp_CC_TY");
|
||||
// exmpManageVO.setSearchSortOrd("asc");
|
||||
}
|
||||
System.out.println("exmpManageVO.getSearchCondition() :: "+exmpManageVO.getSearchCondition());
|
||||
|
||||
/** paging */
|
||||
PaginationInfo paginationInfo = new PaginationInfo();
|
||||
paginationInfo.setCurrentPageNo(exmpManageVO.getPageIndex());
|
||||
paginationInfo.setRecordCountPerPage(exmpManageVO.getPageUnit());
|
||||
paginationInfo.setPageSize(exmpManageVO.getPageSize());
|
||||
|
||||
/** paging */
|
||||
PaginationInfo paginationInfo = new PaginationInfo();
|
||||
paginationInfo.setCurrentPageNo(adjstOpinionVO.getPageIndex());
|
||||
paginationInfo.setRecordCountPerPage(adjstOpinionVO.getPageUnit());
|
||||
paginationInfo.setPageSize(adjstOpinionVO.getPageSize());
|
||||
|
||||
adjstOpinionVO.setFirstIndex(paginationInfo.getFirstRecordIndex());
|
||||
adjstOpinionVO.setLastIndex(paginationInfo.getLastRecordIndex());
|
||||
adjstOpinionVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
|
||||
|
||||
// paginationInfo.setTotalRecordCount(adjstOpinionService.selectAdjstOpinionListCount(adjstOpinionVO));
|
||||
model.addAttribute("paginationInfo", paginationInfo);
|
||||
|
||||
|
||||
// List<AdjstOpinionVO> list = adjstOpinionService.selectAdjstOpinionList(adjstOpinionVO);
|
||||
// decryptInfomation(list, null);
|
||||
// model.addAttribute("list", list);
|
||||
exmpManageVO.setFirstIndex(paginationInfo.getFirstRecordIndex());
|
||||
exmpManageVO.setLastIndex(paginationInfo.getLastRecordIndex());
|
||||
exmpManageVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
|
||||
|
||||
// 의견 코드
|
||||
exmpManageVO.setExmpCd("03");
|
||||
|
||||
paginationInfo.setTotalRecordCount(exmpAppManageService.selectExmpOpinionsManagerCount(exmpManageVO));
|
||||
model.addAttribute("paginationInfo", paginationInfo);
|
||||
model.addAttribute("list", exmpAppManageService.selectExmpOpinionsManagerList(exmpManageVO));
|
||||
|
||||
return "/web/kccadr/adjcclt/opinion/adjstOpinionList";
|
||||
}
|
||||
|
||||
@ -6,6 +6,7 @@ import java.time.format.TextStyle;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
@ -14,12 +15,15 @@ import org.apache.commons.collections.CollectionUtils;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.ui.ModelMap;
|
||||
import org.springframework.web.bind.annotation.ModelAttribute;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMethod;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
||||
import org.springframework.web.servlet.ModelAndView;
|
||||
import org.springframework.web.servlet.mvc.support.RedirectAttributes;
|
||||
@ -49,6 +53,7 @@ import kcc.kccadr.adjcclt.service.AdjstConciliatorVO;
|
||||
import kcc.kccadr.adjreqmgr.service.AdjReqMgrVO;
|
||||
import kcc.kccadr.cmm.CmmUtil;
|
||||
import kcc.kccadr.cmm.KccadrConstants;
|
||||
import kcc.kccadr.cmm.RestResponse;
|
||||
import kcc.kccadr.kccadrCom.service.KccadrMgrUdtService;
|
||||
import kcc.kccadr.ojct.service.OjctService;
|
||||
import kcc.kccadr.ojct.service.OjctVO;
|
||||
@ -411,10 +416,47 @@ public class AdjstConciliatorController {
|
||||
*/
|
||||
@RequestMapping("/web/kccadr/adjcclt/popup/adjstOpinionsRegistPopList.do")
|
||||
public String adjstOpinionsRegistPopList(@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO, ModelMap model) throws Exception {
|
||||
// model.addAttribute("info", adjstConciliatorService.selectAdjstRecommendationCommentDetail(adjstConciliatorVO));
|
||||
return "/web/kccadr/adjcclt/popup/adjstOpinionsRegistPopList";
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 의견관리 목록 > 자주쓰는 의견 상세 팝업
|
||||
*/
|
||||
@RequestMapping("/web/kccadr/adjcclt/popup/adjstOpinionsRegistPopDetail.do")
|
||||
public String opinionsRegistAdjstPopDetail(@ModelAttribute("exmpManageVO") ExmpManageVO exmpManageVO, ModelMap model) throws Exception {
|
||||
System.out.println(" + exmpManageVO :: "+ exmpManageVO.getExmpMgrId());
|
||||
model.addAttribute("dataInfo", exmpAppManageService.selectExmpAppManagerInfo(exmpManageVO));
|
||||
return "/web/kccadr/adjcclt/popup/adjstOpinionsRegistPopDetail";
|
||||
}
|
||||
|
||||
|
||||
@RequestMapping(value="/web/kccadr/adjcclt/insertExmpOpinionsAjax.do")
|
||||
public ResponseEntity<RestResponse> insertExmpAppManager(ExmpManageVO exmpManageVO) throws Exception {
|
||||
|
||||
LoginVO loginVO = (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser();
|
||||
exmpManageVO.setFrstRegisterId(loginVO.getUniqId());
|
||||
return ResponseEntity.ok().body(exmpAppManageService.insertExmpAppManager(exmpManageVO));
|
||||
}
|
||||
/*
|
||||
|
||||
@RequestMapping(value="/web/kccadr/adjcclt/insertExmpOpinionsAjax.do")
|
||||
public ModelAndView insertExmpAppManager(ExmpManageVO exmpManageVO) throws Exception {
|
||||
ModelAndView modelAndView = new ModelAndView();
|
||||
modelAndView.setViewName("jsonView");
|
||||
|
||||
LoginVO loginVO = (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser();
|
||||
|
||||
System.out.println("exmpManageVO.getExmpCd : " + exmpManageVO.getExmpCd());
|
||||
System.out.println("exmpManageVO.getCcTy : " + exmpManageVO.getExmpCcTy());
|
||||
System.out.println("exmpManageVO.getExmpCn : " + exmpManageVO.getExmpCn());
|
||||
|
||||
exmpManageVO.setFrstRegisterId(loginVO.getUniqId());
|
||||
|
||||
exmpAppManageService.insertExmpAppManager(exmpManageVO);
|
||||
|
||||
return modelAndView;
|
||||
}*/
|
||||
/**
|
||||
* 조정사건 목록 화면
|
||||
*/
|
||||
|
||||
@ -215,6 +215,8 @@ public class AdjstReqWebController {
|
||||
// }
|
||||
model.addAttribute("exmpList", exmpList);
|
||||
|
||||
|
||||
|
||||
return "/web/kccadr/adjst/popup/adjstReqOpenExamplePop";
|
||||
}
|
||||
|
||||
|
||||
@ -374,9 +374,14 @@ public class AdjstExpController {
|
||||
*/
|
||||
@RequestMapping(value= {"/web/kccadr/adjstExp/popup/adjstReqOpenExamplePop.do"})
|
||||
public String adjstReqOpenExamplePop(@ModelAttribute("adjstReqVO") AdjstReqVO adjstReqVO, ModelMap model, HttpServletRequest request) throws Exception {
|
||||
|
||||
List<AdjstReqVO> exmpList = adjstReqService.selectAdjstReqOpenExamplePop(adjstReqVO);
|
||||
|
||||
model.addAttribute("ccTy", adjstReqVO.getCcTy());
|
||||
model.addAttribute("exmpCd", adjstReqVO.getExmpCd());
|
||||
|
||||
model.addAttribute("exmpList", exmpList);
|
||||
|
||||
return "/web/kccadr/adjstExp/popup/adjstReqOpenExamplePop";
|
||||
}
|
||||
|
||||
|
||||
@ -236,9 +236,8 @@ public class KccadrCommonController {
|
||||
}
|
||||
}
|
||||
|
||||
/*String resultUrl = "https://service.epost.go.kr/trace.RetrieveDomRigiTraceList.comm?sid1=" + sid;*/
|
||||
String resultUrl = "https://service.epost.go.kr/trace.RetrieveDomRigiTraceList.comm?sid1=" + "6401780018896";
|
||||
// https://service.epost.go.kr/trace.RetrieveDomRigiTraceList.comm?sid1=6401780018896
|
||||
String resultUrl = "https://service.epost.go.kr/trace.RetrieveDomRigiTraceList.comm?sid1=" + sid;
|
||||
|
||||
return "redirect:" + resultUrl;
|
||||
}
|
||||
|
||||
|
||||
@ -387,5 +387,26 @@
|
||||
AND D.DLVRY_DOC_TY = #dlvryDocTy#
|
||||
|
||||
</select>
|
||||
|
||||
<select id="Dlvinfo.selectAdjustDlvryList" parameterClass="DlvinfoVO" resultClass="DlvinfoVO">
|
||||
|
||||
SELECT a.adr_seq AS adrSeq,
|
||||
a.adr_sn AS adrSn,
|
||||
a.dlvry_seq AS dlvrySeq,
|
||||
a.rppl_ty AS rpplTy,
|
||||
a.rppl_nm AS rpplNm,
|
||||
a.reg_nm AS regNm,
|
||||
a.dlvry_doc_ty AS dlvryDocTy,
|
||||
a.send_de AS sendDe,
|
||||
a.rec_de AS recDe,
|
||||
a.frst_regist_pnttm AS frstRegistPnttm,
|
||||
a.frst_register_id AS frstRegisterId,
|
||||
a.last_updt_pnttm AS lastUpdtPnttm,
|
||||
a.last_updusr_id AS lastUpdusrId
|
||||
FROM adr_dlvry a
|
||||
WHERE a.adr_seq = #adrSeq#
|
||||
AND a.rppl_nm = #rpplNm#
|
||||
|
||||
</select>
|
||||
|
||||
</sqlMap>
|
||||
@ -112,7 +112,12 @@
|
||||
AND T1.EXMP_CC_TY = #searchCondition#
|
||||
</isNotEmpty>
|
||||
</isNotEmpty>
|
||||
ORDER BY 1=1
|
||||
|
||||
<isNotEmpty prepend="AND" property="frstRegisterId">
|
||||
T1.FRST_REGISTER_ID = #frstRegisterId#
|
||||
</isNotEmpty>
|
||||
|
||||
ORDER BY T1.FRST_REGIST_PNTTM DESC
|
||||
<!-- <isNotEmpty property="searchSortCnd"> -->
|
||||
<!-- ,$searchSortCnd$ -->
|
||||
<!-- </isNotEmpty> -->
|
||||
|
||||
@ -61,4 +61,53 @@
|
||||
</isNotEmpty>
|
||||
|
||||
</select>
|
||||
|
||||
<select id="adjRpplDAO.selectAdjRpplInfo" parameterClass="AdjRpplVO" resultClass="AdjRpplVO">
|
||||
|
||||
SELECT a.adr_seq AS adrSeq ,
|
||||
a.rppl_seq AS rpplSeq ,
|
||||
a.rppl_ty AS rpplTy ,
|
||||
a.agnt_yn AS agntYn ,
|
||||
a.rppl_usr_ty AS rpplUsrTy ,
|
||||
a.adr_ol_yn AS adrOlYn ,
|
||||
a.rppl_id AS rpplId ,
|
||||
a.rppl_nm AS rpplNm ,
|
||||
a.rppl_biz_id AS rpplBizId ,
|
||||
a.rppl_biz_nm AS rpplBizNm ,
|
||||
a.rppl_biz_no AS rpplBizNo ,
|
||||
a.rppl_post AS rpplPost ,
|
||||
a.rppl_addr AS rpplAddr ,
|
||||
a.rppl_addr_dtl AS rpplAddrDtl ,
|
||||
a.rppl_addr_cp_yn AS rpplAddrCpYn ,
|
||||
a.rppl_real_post AS rpplRealPost ,
|
||||
a.rppl_real_addr AS rpplRealAddr ,
|
||||
a.rppl_real_addr_dtl AS rpplRearAddrDtl ,
|
||||
a.rppl_phone AS rpplPhone ,
|
||||
a.rppl_email AS rpplEmail ,
|
||||
a.rppl_email_yn AS rpplEmailYn ,
|
||||
a.rppl_sms_yn AS rpplSmsYn ,
|
||||
a.rppl_class AS rpplClass ,
|
||||
a.rppl_grade AS rpplGrade ,
|
||||
a.sbmt_yn AS sbmtYn ,
|
||||
a.sbmt_de AS sbmtDe ,
|
||||
a.usr_ci AS usrCi ,
|
||||
a.appr_yn AS apprYn ,
|
||||
a.appr_de AS apprDe ,
|
||||
a.atch_file_id AS atchFileId ,
|
||||
a.frst_regist_pnttm AS frstRegistPnttm ,
|
||||
a.frst_register_id AS frstRegisterId ,
|
||||
a.last_updt_pnttm AS lastUpdtPnttm ,
|
||||
a.last_updusr_id AS lastUpdusrId ,
|
||||
a.rppl_relation AS rpplrelation ,
|
||||
a.rppl_relation_etc AS rpplRelationEtc ,
|
||||
a.rppl_conn_no AS rpplConnNo ,
|
||||
a.rppl_rltn_ty AS rpplRltnTy ,
|
||||
a.rppl_rltn_cn AS rpplRltnCn ,
|
||||
a.rppl_respdd_seq AS rpplRespddSeq
|
||||
FROM adr_rppl a
|
||||
WHERE a.adr_seq = #adrSeq#
|
||||
AND a.rppl_id = #rpplId#
|
||||
|
||||
</select>
|
||||
|
||||
</sqlMap>
|
||||
@ -5,7 +5,7 @@
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
|
||||
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<!DOCTYPE html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
@ -100,8 +100,8 @@
|
||||
|
||||
//송달정보 조회
|
||||
function fnPostChk(){
|
||||
commonPopWindowopenForm("/web/kccadr/kccadrCom/postCheckLink.do?sid=123", "1200", "1000", "postChkPop", $('#pop'));
|
||||
// location.href = "/web/kccadr/kccadrCom/postCheckLink.do?sid=123";
|
||||
var regNm = $("#dlvryInfoSelect option:selected").val();
|
||||
commonPopWindowopenForm("/web/kccadr/kccadrCom/postCheckLink.do?sid=" + regNm, "1200", "1000", "postChkPop", $('#pop'));
|
||||
}
|
||||
</script>
|
||||
<!-- 워크플로우용 스크립트 시작 -->
|
||||
@ -189,6 +189,7 @@
|
||||
<input type="hidden" id="adrSeq" name="adrSeq" value="<c:out value="${adjstReqStatusVO.adrSeq}" />" />
|
||||
<input type="hidden" id="adrSn" name="adrSn" value="<c:out value="${adjstReqStatusVO.adrSn}" />" />
|
||||
<input type="hidden" id="memDeptSeq" name="memDeptSeq" value="<c:out value="${master.memDeptSeq}" />" />
|
||||
<input type="hidden" id="regNm" name="regNm" value=""/>
|
||||
</form>
|
||||
|
||||
<%--reqInfo
|
||||
@ -318,12 +319,14 @@ resInfo--%>
|
||||
</p>
|
||||
</div>
|
||||
</c:if>
|
||||
|
||||
<select class="exp_select" id="dlvryInfoSelect">
|
||||
<option value="기일통지서">기일통지서</option>
|
||||
<option value="기일조서">기일조서</option>
|
||||
</select>
|
||||
<button type="button" class="btnType07" onclick="fnPostChk();" style="vertical-align:middle;">송달정보 조회</button>
|
||||
<c:if test="${!empty dlvinfoList }">
|
||||
<select class="exp_select" id="dlvryInfoSelect">
|
||||
<c:forEach var="option" items="${dlvinfoList}" varStatus="status">
|
||||
<option value="${option.regNm}"><kc:code codeId="CC004" code="${option.dlvryDocTy}"/></option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
<button type="button" class="btnType07" onclick="fnPostChk();" style="vertical-align:middle;">송달정보 조회</button>
|
||||
</c:if>
|
||||
|
||||
<div class="tb_wrap">
|
||||
<table class="tbType01">
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<title>조정사건 목록</title>
|
||||
<title>자주쓰는의견 목록</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
|
||||
<link rel="stylesheet" href="/kccadrPb/usr/datepicker/classic.css">
|
||||
@ -32,7 +32,7 @@
|
||||
function linkPage(pageNo){
|
||||
var listForm = document.listForm ;
|
||||
listForm.pageIndex.value = pageNo ;
|
||||
listForm.action = "<c:url value='/web/kccadr/adjcclt/ai/adjstConciliatorList.do'/>";
|
||||
listForm.action = "<c:url value='/web/kccadr/adjcclt/ai/adjstOpinionList.do'/>";
|
||||
listForm.submit();
|
||||
}
|
||||
|
||||
@ -49,67 +49,36 @@
|
||||
</head>
|
||||
<body>
|
||||
<form:form id="listForm" name="listForm" commandName="adjstOpinionVO" onsubmit="return false;" method="post">
|
||||
<input type="hidden" name="pageIndex" value="<c:out value='${adjstOpinionVO.pageIndex}' default='1' />"/>
|
||||
<input type="hidden" name="searchSortCnd" value="<c:out value="${adjstOpinionVO.searchSortCnd}" />" />
|
||||
<input type="hidden" name="searchSortOrd" value="<c:out value="${adjstOpinionVO.searchSortOrd}" />" />
|
||||
<input type="hidden" name="searchStatus" value="<c:out value="${adjstOpinionVO.searchStatus}" />" />
|
||||
<input type="hidden" name="adrSeq" value="" />
|
||||
<input type="hidden" name="adrSn" value="" />
|
||||
<input type="hidden" name="pageIndex" value="<c:out value='${adjstOpinionVO.pageIndex}' default='1' />"/>
|
||||
<input type="hidden" name="searchSortCnd" value="<c:out value="${adjstOpinionVO.searchSortCnd}" />" />
|
||||
<input type="hidden" name="searchSortOrd" value="<c:out value="${adjstOpinionVO.searchSortOrd}" />" />
|
||||
<input type="hidden" name="searchStatus" value="<c:out value="${adjstOpinionVO.searchStatus}" />" />
|
||||
<input type="hidden" name="adrSeq" value="" />
|
||||
<input type="hidden" name="adrSn" value="" />
|
||||
</form:form>
|
||||
|
||||
<!-- cont -->
|
||||
<div class="cont_wrap sub02_1" id="sub">
|
||||
<div class="inner">
|
||||
<div class="cont_tit">
|
||||
<h2>의견관리 목록</h2>
|
||||
<h2>자주쓰는의견 목록</h2>
|
||||
</div>
|
||||
<!-- <p>총 건수 : <span>204</span>건</p> -->
|
||||
<div class="list_top">
|
||||
<div class="list_util">
|
||||
<label for="searchCondition">검색조건 선택</label>
|
||||
<kc:select codeId="CC045" skipCd="10,50,70,80" name="searchCondition" id="searchCondition" defaultValue="" defaultText="전체" selectedValue="${exmpManageVO.searchCondition}"/>
|
||||
<label for="searchKeyword">검색 조건 입력</label>
|
||||
<input type="text" name="searchKeyword" id="searchKeyword" value="<c:out value='${exmpManageVO.searchKeyword}' />" placeholder="검색 조건 입력" size="20">
|
||||
<button type="button" class="btnType07" onclick="fncGoList(); return false;">검색</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="list_top"> -->
|
||||
<!-- <p>총 건수 : <span>204</span>건</p> -->
|
||||
<!-- <div class="list_util"> -->
|
||||
<!-- <label for="searchCondition">검색조건 선택</label> -->
|
||||
<!-- <select name="searchCondition" id="searchCondition" class="subSearch"> -->
|
||||
<%-- <option value="1" ${adjstOpinionVO.searchCondition eq '1' ? 'selected' : '' }>조정번호</option> --%>
|
||||
<%-- <option value="2" ${adjstOpinionVO.searchCondition eq '2' ? 'selected' : '' }>접수기간</option> --%>
|
||||
<%-- <option value="3" ${adjstOpinionVO.searchCondition eq '3' ? 'selected' : '' }>신청인명</option> --%>
|
||||
<%-- <option value="4" ${adjstOpinionVO.searchCondition eq '4' ? 'selected' : '' }>피신청인명</option> --%>
|
||||
<%-- <option value="5" ${adjstOpinionVO.searchCondition eq '5' ? 'selected' : '' }>신청내용</option> --%>
|
||||
<%-- <option value="6" ${adjstOpinionVO.searchCondition eq '6' ? 'selected' : '' }>조정상태</option> --%>
|
||||
<!-- </select> -->
|
||||
<!-- <div class="sel_date"> -->
|
||||
<!-- <div class="calendar_wrap"> -->
|
||||
<%-- <input type="text" class="searchStartDt startDate inp" title="검색시작일" id="searchStartDt" name="searchStartDt" onclick="return calendarOpen('searchStartDt-lry','',this)" onfocus="return calendarOpen('searchStartDt-lry','',this)" value="${adjstOpinionVO.searchStartDt}" data-datecontrol="true"> --%>
|
||||
<!-- <button type="button" title="달력 팝업 열기" class="btn_start btn_cal" onclick="return calendarOpen('searchStartDt-lry','',this)"><i></i></button> -->
|
||||
<!-- </div> -->
|
||||
<!-- <div class="calendar_in" id="calendarName_startDate" style="z-index: 9;">
|
||||
<!-- <button type="button" value="달력 팝업 열기" onclick="return calendarOpen('searchStartDt-lry','',this)" class="btn_cal"></button> -->
|
||||
<!-- <div id="searchStartDt-lry" class="calendarPop" style="display: none;"> -->
|
||||
<!-- <iframe id="searchStartDt-ifrm" name="searchStartDt-ifrm" class="calendar-frame" src="/kccadrPb/usr/mini_calendar.html" title="달력 팝업" frameborder="0" scrolling="no"></iframe> -->
|
||||
<!-- </div> -->
|
||||
<!-- </div> -->
|
||||
<!-- <div class="calendar_wrap"> -->
|
||||
<%-- <input type="text" class="searchEndDt endDate inp" title="검색종료일" id="searchEndDt" name="searchEndDt" onclick="return calendarOpen2('searchEndDt-lry','',this)" onfocus="return calendarOpen2('searchEndDt-lry','',this)" value="${adjstOpinionVO.searchEndDt}" data-datecontrol="true"> --%>
|
||||
<!-- <button type="button" title="달력 팝업 열기" class="btn_end btn_cal" onclick="return calendarOpen2('searchEndDt-lry','',this)"><i></i></button> -->
|
||||
<!-- </div> -->
|
||||
<!-- <div class="calendar_in" id="calendarName_endDate" style="z-index: 9;">
|
||||
<!-- <button type="button" value="달력 팝업 열기" onclick="return calendarOpen('searchEndDt-lry','',this)" class="btn_cal"></button> -->
|
||||
<!-- <div id="searchEndDt-lry" class="calendarPop" style="display: none;"> -->
|
||||
<!-- <iframe id="searchEndDt-ifrm" name="searchEndDt-ifrm" class="calendar-frame" src="/kccadrPb/usr/mini_calendar.html" title=" 달력 팝업" frameborder="0" scrolling="no"></iframe> -->
|
||||
<!-- </div> -->
|
||||
<!-- </div> -->
|
||||
<!-- </div> -->
|
||||
<!-- <div class="input_wrap"> -->
|
||||
<!-- <label for="searchKeyword">검색어 입력</label> -->
|
||||
<%-- <input type="text" class="search_input" id=searchKeyword name="searchKeyword" placeholder="검색어를 입력하세요" value="<c:out value='${adjstOpinionVO.searchKeyword}'/>"> --%>
|
||||
<!-- </div> -->
|
||||
<!-- <button type="button" class="btn_search" onclick="fncGoList();">검색</button> -->
|
||||
<!-- </div> -->
|
||||
<!-- </div> -->
|
||||
<!-- //list_top -->
|
||||
|
||||
<!-- list -->
|
||||
<div class="tb_list01">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 50px;">
|
||||
<col style="width: 200px;">
|
||||
<col style="width: 25%;">
|
||||
<col style="width: auto;">
|
||||
@ -117,37 +86,32 @@
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">번호</th>
|
||||
<th scope="col">등록일</th>
|
||||
<th scope="col">제목</th>
|
||||
<th scope="col">유형</th>
|
||||
<th scope="col">내용</th>
|
||||
<th scope="col">삭제</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<%-- <c:forEach var="list" items="${list}" varStatus="status"> --%>
|
||||
<c:forEach var="list" items="${list}" varStatus="status">
|
||||
<tr>
|
||||
<td>
|
||||
1
|
||||
</td>
|
||||
<td class="td_date">
|
||||
<%-- <p><c:out value="${list.sbmtDe}"/></p> --%>
|
||||
2022-09-30
|
||||
<p><c:out value="${list.frstRegistPnttm}"/></p>
|
||||
</td>
|
||||
<td>
|
||||
<a href="#none" onclick="">제목</a>
|
||||
<kc:code codeId="CC045" code="${list.exmpCcTy}"/>
|
||||
</td>
|
||||
<td>
|
||||
<a href="#none" onclick="">내용</a>
|
||||
<a href="#none" onclick="javascript:AdjstReq.opinionsRegistAdjstPopDetail('${list.exmpMgrId }');"><c:out value="${list.exmpCn}" /></a>
|
||||
</td>
|
||||
<td>
|
||||
삭제버튼
|
||||
<button type="button" class="btnType01">삭제</button>
|
||||
</td>
|
||||
</tr>
|
||||
<%-- </c:forEach> --%>
|
||||
<%-- <c:if test="${empty list}"> --%>
|
||||
<%-- <tr><td colspan="10"><spring:message code="common.nodata.msg" /></td></tr> --%>
|
||||
<%-- </c:if> --%>
|
||||
</c:forEach>
|
||||
<c:if test="${empty list}">
|
||||
<tr><td colspan="4"><spring:message code="common.nodata.msg" /></td></tr>
|
||||
</c:if>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
@ -165,7 +129,6 @@
|
||||
</div>
|
||||
<!-- //page -->
|
||||
</div>
|
||||
</form:form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@ -70,12 +70,14 @@ $(document).ready(function(){
|
||||
<p>자주쓰는 의견 목록</p> <button class="btn_popup_close tooltip-close" data-focus="opinion_popup_close" title="팝업 닫기"><i></i></button>
|
||||
</div>
|
||||
<div class="popup_cont">
|
||||
<div class="popup_search">
|
||||
<label for="searchCondition">검색조건 선택</label>
|
||||
<kc:select codeId="CC045" skipCd="10,50,70,80" name="searchCondition" id="searchCondition" defaultValue="" defaultText="전체" selectedValue="${exmpManageVO.searchCondition}"/>
|
||||
<label for="searchKeyword">검색 조건 입력</label>
|
||||
<input type="text" name="searchKeyword" id="searchKeyword" value="<c:out value='${exmpManageVO.searchKeyword}' />" placeholder="검색 조건 입력" size="20">
|
||||
<button type="button" class="btnType07" onclick="fncGoList(); return false;">검색</button>
|
||||
<div class="list_top">
|
||||
<div class="list_util">
|
||||
<label for="searchCondition">검색조건 선택</label>
|
||||
<kc:select codeId="CC045" skipCd="10,50,70,80" name="searchCondition" id="searchCondition" defaultValue="" defaultText="전체" selectedValue="${exmpManageVO.searchCondition}"/>
|
||||
<label for="searchKeyword">검색 조건 입력</label>
|
||||
<input type="text" name="searchKeyword" id="searchKeyword" value="<c:out value='${exmpManageVO.searchKeyword}' />" placeholder="검색 조건 입력" size="20">
|
||||
<button type="button" class="btnType07" onclick="fncGoList(); return false;">검색</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<table class="popup_list">
|
||||
|
||||
@ -0,0 +1,129 @@
|
||||
<%@ page contentType="text/html; charset=utf-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
|
||||
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<title>자주쓰는 의견 상세</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<script type="text/javascript" src="/kccadrPb/usr/script/popup.js"></script>
|
||||
<script type="text/javaScript" language="javascript">
|
||||
|
||||
|
||||
|
||||
$(document).ready(function(){
|
||||
|
||||
// 레이어팝업 포커싱 이동 수정
|
||||
$(".tooltip-close").click(function(){
|
||||
var activeTarget = $('[data-tooltip-con="opinion_regi_popup"]');
|
||||
activeTarget.hide();
|
||||
$('[data-tooltip="opinion_regi_popup"]').focus();
|
||||
});
|
||||
|
||||
// 레이어팝업 포커싱 이동 수정
|
||||
$("#regBtn").click(function(){
|
||||
|
||||
if($('#exmpCcTy').val() == '')
|
||||
{
|
||||
alert("유형을 선택해 주세요");
|
||||
return false;
|
||||
}
|
||||
if($('#exmpCn').val() == '')
|
||||
{
|
||||
alert("내용을 입력해 주세요");
|
||||
$('#exmpCn').focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
if(confirm("등록하시겠습니까?"))
|
||||
{
|
||||
// var data = {
|
||||
// exmpCcTy : $("#exmpCcTy").val()
|
||||
// , exmpCd : '30'
|
||||
// , exmpCn : $("#exmpCn").val()
|
||||
// }
|
||||
|
||||
var data = new FormData(document.createForm);
|
||||
$.ajax({
|
||||
type:"POST",
|
||||
url: "/web/kccadr/adjcclt/insertExmpOpinionsAjax.do",
|
||||
data: data,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
success:function(returnData){
|
||||
if(returnData.status == "OK"){
|
||||
alert(returnData.data);
|
||||
window.location.reload();
|
||||
}else{
|
||||
alert(returnData.data);
|
||||
}
|
||||
},
|
||||
error:function(request , status, error){
|
||||
console.log('request : ', request);
|
||||
console.log('status : ', status);
|
||||
console.log('error : ', error);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<style type="text/css">
|
||||
.btn_wrap .btnType07 {vertical-align:middle;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<form name="createForm" id="createForm">
|
||||
<input type="hidden" id="exmpCd" name="exmpCd" value="03">
|
||||
<!-- 일정 상세 -->
|
||||
<div class="popup_wrap opinion_regi_popup" tabindex="0" data-tooltip-con="opinion_regi_popup" data-focus="opinion_regi_popup" data-focus-prev="opinion_regi_popup_close">
|
||||
<div class="popup_tit">
|
||||
<p>자주쓰는 의견 상세</p> <button class="btn_popup_close tooltip-close" data-focus="opinion_regi_popup_close" title="팝업 닫기"><i></i></button>
|
||||
</div>
|
||||
<div class="popup_cont">
|
||||
<table class="popup_tbType01">
|
||||
<colgroup>
|
||||
<col style="width:100px;" />
|
||||
<col style="width:auto;" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>유형</td>
|
||||
<td>
|
||||
<kc:select codeId="CC045" skipCd="10,50,70,80" id="exmpCcTy" name="exmpCcTy" defaultValue="" defaultText="선택" selectedValue="${dataInfo.exmpCcTy}"/>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- <tr> -->
|
||||
<!-- <td>제목</td> -->
|
||||
<!-- <td> -->
|
||||
<!-- <input type="text" name="" id="" /> -->
|
||||
<!-- </td> -->
|
||||
<!-- </tr> -->
|
||||
<tr>
|
||||
<td>내용</td>
|
||||
<td>
|
||||
<textarea id="exmpCn" name="exmpCn" rows="5"><c:out value="${dataInfo.exmpCn}" /> </textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="btn_wrap">
|
||||
<button class="btnType07" id="regBtn">저장</button>
|
||||
<button class="btnType01 tooltip-close" data-focus="opinion_regi_popup_close" data-focus-next="opinion_regi_popup">닫기</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@ -15,19 +15,7 @@
|
||||
<script type="text/javascript" src="/kccadrPb/usr/script/popup.js"></script>
|
||||
<script type="text/javaScript" language="javascript">
|
||||
|
||||
function fncGoList(){
|
||||
linkPage(1);
|
||||
}
|
||||
|
||||
function linkPage(pageNo){
|
||||
var data = {
|
||||
pageIndex : pageNo,
|
||||
searchKeyword : $("#searchKeyword").val(),
|
||||
searchCondition : $("#searchCondition").val(),
|
||||
pageUnit : 5,
|
||||
}
|
||||
AdjstReq.historyAdjstPopList(data);
|
||||
}
|
||||
|
||||
$(document).ready(function(){
|
||||
|
||||
@ -38,6 +26,56 @@ $(document).ready(function(){
|
||||
$('[data-tooltip="opinion_regi_popup"]').focus();
|
||||
});
|
||||
|
||||
// 레이어팝업 포커싱 이동 수정
|
||||
$("#regBtn").click(function(){
|
||||
|
||||
if($('#exmpCcTy').val() == '')
|
||||
{
|
||||
alert("유형을 선택해 주세요");
|
||||
return false;
|
||||
}
|
||||
if($('#exmpCn').val() == '')
|
||||
{
|
||||
alert("내용을 입력해 주세요");
|
||||
$('#exmpCn').focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
if(confirm("등록하시겠습니까?"))
|
||||
{
|
||||
// var data = {
|
||||
// exmpCcTy : $("#exmpCcTy").val()
|
||||
// , exmpCd : '30'
|
||||
// , exmpCn : $("#exmpCn").val()
|
||||
// }
|
||||
|
||||
var data = new FormData(document.createForm);
|
||||
$.ajax({
|
||||
type:"POST",
|
||||
url: "/web/kccadr/adjcclt/insertExmpOpinionsAjax.do",
|
||||
data: data,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
success:function(returnData){
|
||||
if(returnData.status == "OK"){
|
||||
alert(returnData.data);
|
||||
window.location.reload();
|
||||
}else{
|
||||
alert(returnData.data);
|
||||
}
|
||||
},
|
||||
error:function(request , status, error){
|
||||
console.log('request : ', request);
|
||||
console.log('status : ', status);
|
||||
console.log('error : ', error);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<style type="text/css">
|
||||
@ -45,55 +83,47 @@ $(document).ready(function(){
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<form name="createForm" id="createForm">
|
||||
<input type="hidden" id="exmpCd" name="exmpCd" value="03">
|
||||
<!-- 일정 상세 -->
|
||||
<form:form commandName="adjstReqVO" id="popList" name="popList" method="post" onsubmit="return false;">
|
||||
<input type="hidden" name="pageIndex" value="<c:out value='${adjstReqVO.pageIndex}' default='1' />"/>
|
||||
<input type="hidden" name="searchSortCnd" value="<c:out value="${adjstReqVO.searchSortCnd}" />" />
|
||||
<input type="hidden" name="searchSortOrd" value="<c:out value="${adjstReqVO.searchSortOrd}" />" />
|
||||
</form:form>
|
||||
<div class="popup_wrap opinion_regi_popup" tabindex="0" data-tooltip-con="opinion_regi_popup" data-focus="opinion_regi_popup" data-focus-prev="opinion_regi_popup_close">
|
||||
<div class="popup_tit">
|
||||
<p>자주쓰는 의견 등록</p> <button class="btn_popup_close tooltip-close" data-focus="opinion_regi_popup_close" title="팝업 닫기"><i></i></button>
|
||||
</div>
|
||||
<div class="popup_cont">
|
||||
<table class="popup_tbType01">
|
||||
<colgroup>
|
||||
<col style="width:100px;" />
|
||||
<col style="width:auto;" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>유형</td>
|
||||
<td>
|
||||
<select name="" id="">
|
||||
<option value="">기일조서</option>
|
||||
<option value="">조정권고안</option>
|
||||
<option value="">조정조서</option>
|
||||
<option value="">직권조정결정서</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>제목</td>
|
||||
<td>
|
||||
<input type="text" name="" id="" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>제목</td>
|
||||
<td>
|
||||
<textarea name="" id="" rows="5"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="btn_wrap">
|
||||
<button class="btnType07">저장</button>
|
||||
<button class="btnType01 tooltip-close" data-focus="opinion_regi_popup_close" data-focus-next="opinion_regi_popup">닫기</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="popup_wrap opinion_regi_popup" tabindex="0" data-tooltip-con="opinion_regi_popup" data-focus="opinion_regi_popup" data-focus-prev="opinion_regi_popup_close">
|
||||
<div class="popup_tit">
|
||||
<p>자주쓰는 의견 등록</p> <button class="btn_popup_close tooltip-close" data-focus="opinion_regi_popup_close" title="팝업 닫기"><i></i></button>
|
||||
</div>
|
||||
<div class="popup_cont">
|
||||
<table class="popup_tbType01">
|
||||
<colgroup>
|
||||
<col style="width:100px;" />
|
||||
<col style="width:auto;" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>유형</td>
|
||||
<td>
|
||||
<kc:select codeId="CC045" skipCd="10,50,70,80" id="exmpCcTy" name="exmpCcTy" defaultValue="" defaultText="선택" selectedValue="${exmpManageVO.searchCondition}"/>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- <tr> -->
|
||||
<!-- <td>제목</td> -->
|
||||
<!-- <td> -->
|
||||
<!-- <input type="text" name="" id="" /> -->
|
||||
<!-- </td> -->
|
||||
<!-- </tr> -->
|
||||
<tr>
|
||||
<td>내용</td>
|
||||
<td>
|
||||
<textarea id="exmpCn" name="exmpCn" rows="5"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="btn_wrap">
|
||||
<button class="btnType07" id="regBtn">저장</button>
|
||||
<button class="btnType01 tooltip-close" data-focus="opinion_regi_popup_close" data-focus-next="opinion_regi_popup">닫기</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@ -31,7 +31,13 @@ $(document).ready(function(){
|
||||
activeTarget.hide();
|
||||
$('[data-tooltip="fee_info_popup"]').eq(0).focus();
|
||||
});
|
||||
})
|
||||
});
|
||||
|
||||
// 신청취지 텍스트에 추가
|
||||
function addText(obj){
|
||||
$('#reqCn1').text($('#reqCn1').text()+obj.text);
|
||||
}
|
||||
|
||||
</script>
|
||||
<style type="text/css">
|
||||
.fee_info_popup {overflow:hidden;overflow-y:auto;max-height:600px;}
|
||||
@ -43,44 +49,19 @@ $(document).ready(function(){
|
||||
<p>청구취지 작성예시</p> <button class="btn_popup_close tooltip-close" data-focus="fee_info_popup_close" title="팝업 닫기"><i></i></button>
|
||||
</div>
|
||||
<div class="popup_cont">
|
||||
<div class="work_flow_wrap off">
|
||||
<div class="work_tit">
|
||||
<p>금전청구 일반</p>
|
||||
<button type="button" title="열림" class="btn_open"><i></i></button>
|
||||
</div>
|
||||
<div class="work_cont">
|
||||
<dl>
|
||||
<dt>- 기본형</dt>
|
||||
<dd>피고는 원고에게 <span>△△,△△△,△△△원</span>을 지급하라.</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>- 부대청구(이자 등)가 있는 경우</dt>
|
||||
<dd>피고는 원고에게 <span>△△,△△△,△△△원</span>과 이에 대하여 <span>△△△△.△△.△△</span>부터 다 갚믄 날까지 연 <span>△△%</span>의 비율로 계산한 돈을 지급하라.</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
<div class="work_flow_wrap off">
|
||||
<div class="work_tit">
|
||||
<p>보증채무금</p>
|
||||
<button type="button" title="열림" class="btn_open"><i></i></button>
|
||||
</div>
|
||||
<div class="work_cont">
|
||||
<div class="text">
|
||||
피고는 원고에게 <span>△△,△△△,△△△원</span>과 이에 대하여 <span>△△△△.△△.△△</span>부터 다 갚믄 날까지 연 <span>△△%</span>의 비율로 계산한 돈을 지급하라.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="work_flow_wrap off">
|
||||
<div class="work_tit">
|
||||
<p>임대차보증금반환</p>
|
||||
<button type="button" title="열림" class="btn_open"><i></i></button>
|
||||
</div>
|
||||
<div class="work_cont">
|
||||
<div class="text">
|
||||
피고는 원고에게 <span>△△,△△△,△△△원</span>과 이에 대하여 <span>△△△△.△△.△△</span>부터 다 갚믄 날까지 연 <span>△△%</span>의 비율로 계산한 돈을 지급하라.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<c:forEach var="list" items="${exmpList}" varStatus="status">
|
||||
<div class="work_flow_wrap off">
|
||||
<div class="work_tit">
|
||||
<p><c:out value="${list.exmpTit}"/></p>
|
||||
<button type="button" title="열림" class="btn_open"><i></i></button>
|
||||
</div>
|
||||
<div class="work_cont">
|
||||
<div class="text">
|
||||
<a href="#" onclick="addText(this); return false;"><c:out value="${list.exmpCn}"/></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</c:forEach>
|
||||
<div class="btn_wrap">
|
||||
<button class="btnType01 tooltip-close" data-focus="fee_info_popup_close" data-focus-next="fee_info_popup">닫기</button>
|
||||
</div>
|
||||
|
||||
@ -1261,6 +1261,23 @@ var AdjstReq = {
|
||||
, "adjstOpinionsRegistPop"
|
||||
);
|
||||
},
|
||||
opinionsRegistAdjstPopDetail : function(param){
|
||||
|
||||
console.log(' param : ', param);
|
||||
|
||||
var paramObj = {
|
||||
exmpMgrId : param
|
||||
};
|
||||
// 이전신청데이터 팝업 호출..
|
||||
commonPopLayeropen(
|
||||
"/web/kccadr/adjcclt/popup/adjstOpinionsRegistPopDetail.do"
|
||||
, 1000
|
||||
, 700
|
||||
, paramObj
|
||||
, "N"
|
||||
, "adjstOpinionsRegistPop"
|
||||
);
|
||||
},
|
||||
openExamplePop : function(exmpCd){
|
||||
/*
|
||||
- 01 : 신청취지
|
||||
|
||||
Loading…
Reference in New Issue
Block a user