Merge branch 'master' of
http://subsub8729@vcs.iten.co.kr:9999/hylee/kcc_adr_advc_git Conflicts: src/main/webapp/WEB-INF/jsp/cmm/uss/umt/EgovUserManage.jsp
This commit is contained in:
commit
82396d9f80
@ -0,0 +1,12 @@
|
||||
package kcc.com.cmm.service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
public interface AdrCourtFileMngService {
|
||||
|
||||
// public AdrCourtFileVO selectCourtFileInfs(AdrCourtFileVO adrCourtFileVO) throws Exception;
|
||||
|
||||
public void insertCourtFileInf(AdrCourtFileVO adrCourtFileVO) throws Exception;
|
||||
|
||||
}
|
||||
72
src/main/java/kcc/com/cmm/service/AdrCourtFileVO.java
Normal file
72
src/main/java/kcc/com/cmm/service/AdrCourtFileVO.java
Normal file
@ -0,0 +1,72 @@
|
||||
package kcc.com.cmm.service;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class AdrCourtFileVO implements Serializable {
|
||||
|
||||
private String crtAtchFileId;
|
||||
private String crtSeq;
|
||||
private String crtSn;
|
||||
private String crtAtchFileTy;
|
||||
private String frstRegistPnttm;
|
||||
private String frstRegisterId;
|
||||
private String lastUpdtPnttm;
|
||||
private String lastUpdusrId;
|
||||
|
||||
|
||||
public String getCrtAtchFileId() {
|
||||
return crtAtchFileId;
|
||||
}
|
||||
public void setCrtAtchFileId(String crtAtchFileId) {
|
||||
this.crtAtchFileId = crtAtchFileId;
|
||||
}
|
||||
public String getCrtSeq() {
|
||||
return crtSeq;
|
||||
}
|
||||
public void setCrtSeq(String crtSeq) {
|
||||
this.crtSeq = crtSeq;
|
||||
}
|
||||
public String getCrtSn() {
|
||||
return crtSn;
|
||||
}
|
||||
public void setCrtSn(String crtSn) {
|
||||
this.crtSn = crtSn;
|
||||
}
|
||||
public String getCrtAtchFileTy() {
|
||||
return crtAtchFileTy;
|
||||
}
|
||||
public void setCrtAtchFileTy(String crtAtchFileTy) {
|
||||
this.crtAtchFileTy = crtAtchFileTy;
|
||||
}
|
||||
public String getFrstRegistPnttm() {
|
||||
return frstRegistPnttm;
|
||||
}
|
||||
public void setFrstRegistPnttm(String frstRegistPnttm) {
|
||||
this.frstRegistPnttm = frstRegistPnttm;
|
||||
}
|
||||
public String getFrstRegisterId() {
|
||||
return frstRegisterId;
|
||||
}
|
||||
public void setFrstRegisterId(String frstRegisterId) {
|
||||
this.frstRegisterId = frstRegisterId;
|
||||
}
|
||||
public String getLastUpdtPnttm() {
|
||||
return lastUpdtPnttm;
|
||||
}
|
||||
public void setLastUpdtPnttm(String lastUpdtPnttm) {
|
||||
this.lastUpdtPnttm = lastUpdtPnttm;
|
||||
}
|
||||
public String getLastUpdusrId() {
|
||||
return lastUpdusrId;
|
||||
}
|
||||
public void setLastUpdusrId(String lastUpdusrId) {
|
||||
this.lastUpdusrId = lastUpdusrId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,48 @@
|
||||
package kcc.com.cmm.service.impl;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import egovframework.rte.fdl.cmmn.EgovAbstractServiceImpl;
|
||||
import kcc.com.cmm.service.AdrCourtFileMngService;
|
||||
import kcc.com.cmm.service.AdrCourtFileVO;
|
||||
import kcc.com.cmm.service.FileVO;
|
||||
import kcc.kccadr.adjCourtCnctn.service.impl.AdjCourtCnctnDAO;
|
||||
|
||||
/**
|
||||
* @Class Name : EgovFileMngServiceImpl.java
|
||||
* @Description : 파일정보의 관리를 위한 구현 클래스
|
||||
* @Modification Information
|
||||
*
|
||||
* 수정일 수정자 수정내용
|
||||
* ------- ------- -------------------
|
||||
* 2009. 3. 25. 이삼섭 최초생성
|
||||
*
|
||||
* @author 공통 서비스 개발팀 이삼섭
|
||||
* @since 2009. 3. 25.
|
||||
* @version
|
||||
* @see
|
||||
*
|
||||
*/
|
||||
@Service("AdrCourtFileMngService")
|
||||
public class AdrCourtFileMngServiceImpl extends EgovAbstractServiceImpl implements AdrCourtFileMngService {
|
||||
|
||||
@Resource(name = "AdjCourtCnctnDAO")
|
||||
private AdjCourtCnctnDAO adjCourtCnctnDAO;
|
||||
|
||||
// @Override
|
||||
// public AdrCourtFileVO selectCourtFileInfs(AdrCourtFileVO adrCourtFileVO) throws Exception {
|
||||
// return adjCourtCnctnDAO.selectCourtFileInfs(adrCourtFileVO);
|
||||
// }
|
||||
|
||||
@Override
|
||||
public void insertCourtFileInf(AdrCourtFileVO adrCourtFileVO) throws Exception {
|
||||
adjCourtCnctnDAO.insertCourtFileInf(adrCourtFileVO);
|
||||
}
|
||||
}
|
||||
@ -223,7 +223,7 @@ public class SelectTag extends SimpleTagSupport {
|
||||
}
|
||||
|
||||
if(flag){
|
||||
if (code.getCode().equals(selectedValue)) {
|
||||
if (code.getCode().equals(selectedValue.trim())) {
|
||||
tag.append("\n\t\t<option value=\"" + StringUtil.escapeXml(code.getCode()) + "\" selected=\"selected\" >" + StringUtil.escapeXml(code.getCodeNm()) + "</option>");
|
||||
} else {
|
||||
tag.append("\n\t\t<option value=\"" + StringUtil.escapeXml(code.getCode()) + "\">" + StringUtil.escapeXml(code.getCodeNm()) + "</option>");
|
||||
|
||||
@ -2,20 +2,29 @@ package kcc.kccadr.adjCourtCnctn.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import kcc.kccadr.adjReqMgrOff.service.AdjReqMgrOffLineVO;
|
||||
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
||||
|
||||
import kcc.kccadr.cmm.RestResponse;
|
||||
|
||||
public interface AdjCourtCnctnService {
|
||||
|
||||
RestResponse insertCourtCnctn(AdjCourtCnctnVO adjCourtCnctnVO);
|
||||
RestResponse insertCourtCnctn(AdjCourtCnctnVO adjCourtCnctnVO, final MultipartHttpServletRequest multiRequest) throws Exception;
|
||||
|
||||
int adjCourtCnctnListCount(AdjCourtCnctnVO adjCourtCnctnVO);
|
||||
int adjCourtCnctnListCount(AdjCourtCnctnVO adjCourtCnctnVO) throws Exception;
|
||||
|
||||
List<AdjCourtCnctnVO> adjCourtCnctnList(AdjCourtCnctnVO adjCourtCnctnVO);
|
||||
List<AdjCourtCnctnVO> adjCourtCnctnList(AdjCourtCnctnVO adjCourtCnctnVO) throws Exception;
|
||||
|
||||
AdjCourtCnctnVO findByid(AdjCourtCnctnVO adjCourtCnctnVO);
|
||||
AdjCourtCnctnVO findByid(AdjCourtCnctnVO adjCourtCnctnVO) throws Exception;
|
||||
|
||||
RestResponse updateCourtCnctn(AdjCourtCnctnVO adjCourtCnctnVO);
|
||||
RestResponse updateCourtCnctn(AdjCourtCnctnVO adjCourtCnctnVO) throws Exception;
|
||||
|
||||
void updateUseYn(AdjCourtCnctnVO adjCourtCnctnVO);
|
||||
void updateUseYn(AdjCourtCnctnVO adjCourtCnctnVO) throws Exception;
|
||||
|
||||
public List<AdjCourtCnctnVO> selectAdjCourtCnctniFileList(AdjCourtCnctnVO adjCourtCnctnVO) throws Exception;
|
||||
|
||||
public void insertCourtDept(AdjCourtDeptVO adjCourtDeptVO) throws Exception;
|
||||
|
||||
public List<AdjCourtDeptVO> selectAdjCourtCnctniDeptPop() throws Exception;
|
||||
|
||||
RestResponse insertAdjCourtCnctnDeptPopAjax(AdjCourtDeptVO deptVO) throws Exception;
|
||||
}
|
||||
|
||||
@ -14,207 +14,207 @@ public class AdjCourtCnctnVO extends ComDefaultVO implements Serializable {
|
||||
*/
|
||||
private static final long serialVersionUID = -1111076331699607617L;
|
||||
|
||||
private String crtSeq; //법원연계 seq
|
||||
private String crtSn; //법원연계 기일수
|
||||
private String crtOriNo; //본사건번호
|
||||
private String crtNo; //조정사건번호
|
||||
private String crtDcsnDe; //결정일
|
||||
private String crtRcptDe; //수령일
|
||||
private String crtAllctDe; //배당일
|
||||
private String crtRprtDe; //보고일
|
||||
private String crtClimntNm; //원고이름
|
||||
private String crtClimntPhone; //원고연락처
|
||||
private String crtClimntAgntNm; //원고-대리인 이름
|
||||
private String crtClimntAgtPhone; //원고-대리인 연락처
|
||||
private String crtClimntInfo; //원고정보
|
||||
private String crtDfndntNm; //피고이름
|
||||
private String crtDfndntPhone; //피고연락처
|
||||
private String crtDfndntAgntNm; //피고-대리인 이름
|
||||
private String crtDfndntAgntPhone; //피고-대리인 연락처
|
||||
private String crtDfndntInfo; //피고정보
|
||||
private String crtCn; //사건내용
|
||||
private String crtAtchFileId; //회신 첨부파일 아이디
|
||||
private String crtAllctDdlDe; //사무처리기한-배당일+45 자동으로 계산 이후 연장시 +30
|
||||
private String crtCcTy; //사건분류 - 저작물종류
|
||||
private String crtLinkHouse; //연계법원
|
||||
private String crtStatCd; //처리상태
|
||||
private String crtAgrment; //합의금
|
||||
|
||||
private String courtSeq = "";
|
||||
private String courtNum = "";
|
||||
private String courtOrgNo = "";
|
||||
private String courtNo = "";
|
||||
private String dcsnDe = "";
|
||||
private String rcvDe = "";
|
||||
private String alctnDe = "";
|
||||
private String alctnMonth = "";
|
||||
private String officeWorkDe = "";
|
||||
private String rprtDe = "";
|
||||
private String rprtMonth = "";
|
||||
private String processDay = "";
|
||||
private String courtFld = "";
|
||||
private String accdntCn = "";
|
||||
private String reqInfo = "";
|
||||
private String aplcnInfo = "";
|
||||
private String rspndInfo = "";
|
||||
private String aplcnDpty = "";
|
||||
private String rspndDpty = "";
|
||||
private String courtRslt = "";
|
||||
private String courtDetailRslt = "";
|
||||
private String adjCmsnr = "";
|
||||
private String pay = "";
|
||||
private String appDe = "";
|
||||
private String pymntDay = "";
|
||||
private String extns = "";
|
||||
private String useYn = "";
|
||||
private String rmrks = "";
|
||||
private String frstRegistPnttm = "";
|
||||
private String frstRegisterId = "";
|
||||
private String lastUpdtPnttm = "";
|
||||
private String lastUpdusrId = "";
|
||||
private String frstRegistPnttm;
|
||||
private String frstRegisterId;
|
||||
private String lastUpdtPnttm;
|
||||
private String lastUpdusrId;
|
||||
|
||||
|
||||
private String searchCondition2 = "";
|
||||
private String diffMonth = "";
|
||||
|
||||
|
||||
private String tabSeq;
|
||||
private String atchFileId;
|
||||
private String fileSn;
|
||||
private String crtAtchFileTy;
|
||||
private String orignlFileNm;
|
||||
|
||||
public String getCourtSeq() {
|
||||
return courtSeq;
|
||||
private String pstinstCode;
|
||||
private String crtDeptTy;
|
||||
|
||||
|
||||
private String crtDeptKng;
|
||||
private String crtDeptOrdi;
|
||||
|
||||
private String esntlId;
|
||||
|
||||
|
||||
public String getCrtSeq() {
|
||||
return crtSeq;
|
||||
}
|
||||
public void setCourtSeq(String courtSeq) {
|
||||
this.courtSeq = courtSeq;
|
||||
public void setCrtSeq(String crtSeq) {
|
||||
this.crtSeq = crtSeq;
|
||||
}
|
||||
public String getCourtNum() {
|
||||
return courtNum;
|
||||
public String getCrtSn() {
|
||||
return crtSn;
|
||||
}
|
||||
public void setCourtNum(String courtNum) {
|
||||
this.courtNum = courtNum;
|
||||
public void setCrtSn(String crtSn) {
|
||||
this.crtSn = crtSn;
|
||||
}
|
||||
public String getCourtOrgNo() {
|
||||
return courtOrgNo;
|
||||
public String getCrtOriNo() {
|
||||
return crtOriNo;
|
||||
}
|
||||
public void setCourtOrgNo(String courtOrgNo) {
|
||||
this.courtOrgNo = courtOrgNo;
|
||||
public void setCrtOriNo(String crtOriNo) {
|
||||
this.crtOriNo = crtOriNo;
|
||||
}
|
||||
public String getCourtNo() {
|
||||
return courtNo;
|
||||
public String getCrtNo() {
|
||||
return crtNo;
|
||||
}
|
||||
public void setCourtNo(String courtNo) {
|
||||
this.courtNo = courtNo;
|
||||
public void setCrtNo(String crtNo) {
|
||||
this.crtNo = crtNo;
|
||||
}
|
||||
public String getDcsnDe() {
|
||||
return dcsnDe;
|
||||
public String getCrtDcsnDe() {
|
||||
return crtDcsnDe;
|
||||
}
|
||||
public void setDcsnDe(String dcsnDe) {
|
||||
this.dcsnDe = dcsnDe;
|
||||
public void setCrtDcsnDe(String crtDcsnDe) {
|
||||
this.crtDcsnDe = crtDcsnDe;
|
||||
}
|
||||
public String getRcvDe() {
|
||||
return rcvDe;
|
||||
public String getCrtRcptDe() {
|
||||
return crtRcptDe;
|
||||
}
|
||||
public void setRcvDe(String rcvDe) {
|
||||
this.rcvDe = rcvDe;
|
||||
public void setCrtRcptDe(String crtRcptDe) {
|
||||
this.crtRcptDe = crtRcptDe;
|
||||
}
|
||||
public String getAlctnDe() {
|
||||
return alctnDe;
|
||||
public String getCrtAllctDe() {
|
||||
return crtAllctDe;
|
||||
}
|
||||
public void setAlctnDe(String alctnDe) {
|
||||
this.alctnDe = alctnDe;
|
||||
public void setCrtAllctDe(String crtAllctDe) {
|
||||
this.crtAllctDe = crtAllctDe;
|
||||
}
|
||||
public String getAlctnMonth() {
|
||||
return alctnMonth;
|
||||
public String getCrtRprtDe() {
|
||||
return crtRprtDe;
|
||||
}
|
||||
public void setAlctnMonth(String alctnMonth) {
|
||||
this.alctnMonth = alctnMonth;
|
||||
public void setCrtRprtDe(String crtRprtDe) {
|
||||
this.crtRprtDe = crtRprtDe;
|
||||
}
|
||||
public String getOfficeWorkDe() {
|
||||
return officeWorkDe;
|
||||
public String getCrtClimntNm() {
|
||||
return crtClimntNm;
|
||||
}
|
||||
public void setOfficeWorkDe(String officeWorkDe) {
|
||||
this.officeWorkDe = officeWorkDe;
|
||||
public void setCrtClimntNm(String crtClimntNm) {
|
||||
this.crtClimntNm = crtClimntNm;
|
||||
}
|
||||
public String getRprtDe() {
|
||||
return rprtDe;
|
||||
public String getCrtClimntPhone() {
|
||||
return crtClimntPhone;
|
||||
}
|
||||
public void setRprtDe(String rprtDe) {
|
||||
this.rprtDe = rprtDe;
|
||||
public void setCrtClimntPhone(String crtClimntPhone) {
|
||||
this.crtClimntPhone = crtClimntPhone;
|
||||
}
|
||||
public String getRprtMonth() {
|
||||
return rprtMonth;
|
||||
public String getCrtClimntAgntNm() {
|
||||
return crtClimntAgntNm;
|
||||
}
|
||||
public void setRprtMonth(String rprtMonth) {
|
||||
this.rprtMonth = rprtMonth;
|
||||
public void setCrtClimntAgntNm(String crtClimntAgntNm) {
|
||||
this.crtClimntAgntNm = crtClimntAgntNm;
|
||||
}
|
||||
public String getProcessDay() {
|
||||
return processDay;
|
||||
public String getCrtClimntAgtPhone() {
|
||||
return crtClimntAgtPhone;
|
||||
}
|
||||
public void setProcessDay(String processDay) {
|
||||
this.processDay = processDay;
|
||||
public void setCrtClimntAgtPhone(String crtClimntAgtPhone) {
|
||||
this.crtClimntAgtPhone = crtClimntAgtPhone;
|
||||
}
|
||||
public String getCourtFld() {
|
||||
return courtFld;
|
||||
public String getCrtClimntInfo() {
|
||||
return crtClimntInfo;
|
||||
}
|
||||
public void setCourtFld(String courtFld) {
|
||||
this.courtFld = courtFld;
|
||||
public void setCrtClimntInfo(String crtClimntInfo) {
|
||||
this.crtClimntInfo = crtClimntInfo;
|
||||
}
|
||||
public String getAccdntCn() {
|
||||
return accdntCn;
|
||||
public String getCrtDfndntNm() {
|
||||
return crtDfndntNm;
|
||||
}
|
||||
public void setAccdntCn(String accdntCn) {
|
||||
this.accdntCn = accdntCn;
|
||||
public void setCrtDfndntNm(String crtDfndntNm) {
|
||||
this.crtDfndntNm = crtDfndntNm;
|
||||
}
|
||||
public String getReqInfo() {
|
||||
return reqInfo;
|
||||
public String getCrtDfndntPhone() {
|
||||
return crtDfndntPhone;
|
||||
}
|
||||
public void setReqInfo(String reqInfo) {
|
||||
this.reqInfo = reqInfo;
|
||||
public void setCrtDfndntPhone(String crtDfndntPhone) {
|
||||
this.crtDfndntPhone = crtDfndntPhone;
|
||||
}
|
||||
public String getAplcnInfo() {
|
||||
return aplcnInfo;
|
||||
public String getCrtDfndntAgntNm() {
|
||||
return crtDfndntAgntNm;
|
||||
}
|
||||
public void setAplcnInfo(String aplcnInfo) {
|
||||
this.aplcnInfo = aplcnInfo;
|
||||
public void setCrtDfndntAgntNm(String crtDfndntAgntNm) {
|
||||
this.crtDfndntAgntNm = crtDfndntAgntNm;
|
||||
}
|
||||
public String getRspndInfo() {
|
||||
return rspndInfo;
|
||||
public String getCrtDfndntAgntPhone() {
|
||||
return crtDfndntAgntPhone;
|
||||
}
|
||||
public void setRspndInfo(String rspndInfo) {
|
||||
this.rspndInfo = rspndInfo;
|
||||
public void setCrtDfndntAgntPhone(String crtDfndntAgntPhone) {
|
||||
this.crtDfndntAgntPhone = crtDfndntAgntPhone;
|
||||
}
|
||||
public String getAplcnDpty() {
|
||||
return aplcnDpty;
|
||||
public String getCrtDfndntInfo() {
|
||||
return crtDfndntInfo;
|
||||
}
|
||||
public void setAplcnDpty(String aplcnDpty) {
|
||||
this.aplcnDpty = aplcnDpty;
|
||||
public void setCrtDfndntInfo(String crtDfndntInfo) {
|
||||
this.crtDfndntInfo = crtDfndntInfo;
|
||||
}
|
||||
public String getRspndDpty() {
|
||||
return rspndDpty;
|
||||
public String getCrtCn() {
|
||||
return crtCn;
|
||||
}
|
||||
public void setRspndDpty(String rspndDpty) {
|
||||
this.rspndDpty = rspndDpty;
|
||||
public void setCrtCn(String crtCn) {
|
||||
this.crtCn = crtCn;
|
||||
}
|
||||
public String getCourtRslt() {
|
||||
return courtRslt;
|
||||
public String getCrtAtchFileId() {
|
||||
return crtAtchFileId;
|
||||
}
|
||||
public void setCourtRslt(String courtRslt) {
|
||||
this.courtRslt = courtRslt;
|
||||
public void setCrtAtchFileId(String crtAtchFileId) {
|
||||
this.crtAtchFileId = crtAtchFileId;
|
||||
}
|
||||
public String getCourtDetailRslt() {
|
||||
return courtDetailRslt;
|
||||
public String getCrtAllctDdlDe() {
|
||||
return crtAllctDdlDe;
|
||||
}
|
||||
public void setCourtDetailRslt(String courtDetailRslt) {
|
||||
this.courtDetailRslt = courtDetailRslt;
|
||||
public void setCrtAllctDdlDe(String crtAllctDdlDe) {
|
||||
this.crtAllctDdlDe = crtAllctDdlDe;
|
||||
}
|
||||
public String getAdjCmsnr() {
|
||||
return adjCmsnr;
|
||||
public String getCrtCcTy() {
|
||||
return crtCcTy;
|
||||
}
|
||||
public void setAdjCmsnr(String adjCmsnr) {
|
||||
this.adjCmsnr = adjCmsnr;
|
||||
public void setCrtCcTy(String crtCcTy) {
|
||||
this.crtCcTy = crtCcTy;
|
||||
}
|
||||
public String getPay() {
|
||||
return pay;
|
||||
public String getCrtLinkHouse() {
|
||||
return crtLinkHouse;
|
||||
}
|
||||
public void setPay(String pay) {
|
||||
this.pay = pay;
|
||||
public void setCrtLinkHouse(String crtLinkHouse) {
|
||||
this.crtLinkHouse = crtLinkHouse;
|
||||
}
|
||||
public String getAppDe() {
|
||||
return appDe;
|
||||
public String getCrtStatCd() {
|
||||
return crtStatCd;
|
||||
}
|
||||
public void setAppDe(String appDe) {
|
||||
this.appDe = appDe;
|
||||
public void setCrtStatCd(String crtStatCd) {
|
||||
this.crtStatCd = crtStatCd;
|
||||
}
|
||||
public String getPymntDay() {
|
||||
return pymntDay;
|
||||
public String getCrtAgrment() {
|
||||
return crtAgrment;
|
||||
}
|
||||
public void setPymntDay(String pymntDay) {
|
||||
this.pymntDay = pymntDay;
|
||||
}
|
||||
public String getExtns() {
|
||||
return extns;
|
||||
}
|
||||
public void setExtns(String extns) {
|
||||
this.extns = extns;
|
||||
}
|
||||
public String getUseYn() {
|
||||
return useYn;
|
||||
}
|
||||
public void setUseYn(String useYn) {
|
||||
this.useYn = useYn;
|
||||
public void setCrtAgrment(String crtAgrment) {
|
||||
this.crtAgrment = crtAgrment;
|
||||
}
|
||||
public String getFrstRegistPnttm() {
|
||||
return frstRegistPnttm;
|
||||
@ -240,12 +240,6 @@ public class AdjCourtCnctnVO extends ComDefaultVO implements Serializable {
|
||||
public void setLastUpdusrId(String lastUpdusrId) {
|
||||
this.lastUpdusrId = lastUpdusrId;
|
||||
}
|
||||
public String getRmrks() {
|
||||
return rmrks;
|
||||
}
|
||||
public void setRmrks(String rmrks) {
|
||||
this.rmrks = rmrks;
|
||||
}
|
||||
public String getSearchCondition2() {
|
||||
return searchCondition2;
|
||||
}
|
||||
@ -258,7 +252,66 @@ public class AdjCourtCnctnVO extends ComDefaultVO implements Serializable {
|
||||
public void setDiffMonth(String diffMonth) {
|
||||
this.diffMonth = diffMonth;
|
||||
}
|
||||
|
||||
public String getTabSeq() {
|
||||
return tabSeq;
|
||||
}
|
||||
public void setTabSeq(String tabSeq) {
|
||||
this.tabSeq = tabSeq;
|
||||
}
|
||||
public String getAtchFileId() {
|
||||
return atchFileId;
|
||||
}
|
||||
public void setAtchFileId(String atchFileId) {
|
||||
this.atchFileId = atchFileId;
|
||||
}
|
||||
public String getFileSn() {
|
||||
return fileSn;
|
||||
}
|
||||
public void setFileSn(String fileSn) {
|
||||
this.fileSn = fileSn;
|
||||
}
|
||||
public String getCrtAtchFileTy() {
|
||||
return crtAtchFileTy;
|
||||
}
|
||||
public void setCrtAtchFileTy(String crtAtchFileTy) {
|
||||
this.crtAtchFileTy = crtAtchFileTy;
|
||||
}
|
||||
public String getOrignlFileNm() {
|
||||
return orignlFileNm;
|
||||
}
|
||||
public void setOrignlFileNm(String orignlFileNm) {
|
||||
this.orignlFileNm = orignlFileNm;
|
||||
}
|
||||
public String getPstinstCode() {
|
||||
return pstinstCode;
|
||||
}
|
||||
public void setPstinstCode(String pstinstCode) {
|
||||
this.pstinstCode = pstinstCode;
|
||||
}
|
||||
public String getCrtDeptTy() {
|
||||
return crtDeptTy;
|
||||
}
|
||||
public void setCrtDeptTy(String crtDeptTy) {
|
||||
this.crtDeptTy = crtDeptTy;
|
||||
}
|
||||
public String getCrtDeptKng() {
|
||||
return crtDeptKng;
|
||||
}
|
||||
public void setCrtDeptKng(String crtDeptKng) {
|
||||
this.crtDeptKng = crtDeptKng;
|
||||
}
|
||||
public String getCrtDeptOrdi() {
|
||||
return crtDeptOrdi;
|
||||
}
|
||||
public void setCrtDeptOrdi(String crtDeptOrdi) {
|
||||
this.crtDeptOrdi = crtDeptOrdi;
|
||||
}
|
||||
public String getEsntlId() {
|
||||
return esntlId;
|
||||
}
|
||||
public void setEsntlId(String esntlId) {
|
||||
this.esntlId = esntlId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,126 @@
|
||||
package kcc.kccadr.adjCourtCnctn.service;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import kcc.com.cmm.ComDefaultVO;
|
||||
import kcc.kccadr.adjreqmgr.service.AdjReqMgrVO;
|
||||
|
||||
public class AdjCourtDeptVO extends ComDefaultVO implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -1111076331699607617L;
|
||||
|
||||
|
||||
private String esntlId;
|
||||
private String crtSeq;
|
||||
private String crtAtchFileId;
|
||||
private String crtAllwanc;
|
||||
private String crtPayDe;
|
||||
private String crtRecivAccnt;
|
||||
private String crtDeptTy;
|
||||
|
||||
|
||||
private String frstRegistPnttm;
|
||||
private String frstRegisterId;
|
||||
private String lastUpdtPnttm;
|
||||
private String lastUpdusrId;
|
||||
|
||||
private String crtLinkHouse;
|
||||
|
||||
private String emplyrId;
|
||||
private String userNm;
|
||||
private String pstinstCode;
|
||||
|
||||
public String getCrtAtchFileId() {
|
||||
return crtAtchFileId;
|
||||
}
|
||||
public void setCrtAtchFileId(String crtAtchFileId) {
|
||||
this.crtAtchFileId = crtAtchFileId;
|
||||
}
|
||||
public String getCrtAllwanc() {
|
||||
return crtAllwanc;
|
||||
}
|
||||
public void setCrtAllwanc(String crtAllwanc) {
|
||||
this.crtAllwanc = crtAllwanc;
|
||||
}
|
||||
public String getCrtPayDe() {
|
||||
return crtPayDe;
|
||||
}
|
||||
public void setCrtPayDe(String crtPayDe) {
|
||||
this.crtPayDe = crtPayDe;
|
||||
}
|
||||
public String getCrtRecivAccnt() {
|
||||
return crtRecivAccnt;
|
||||
}
|
||||
public void setCrtRecivAccnt(String crtRecivAccnt) {
|
||||
this.crtRecivAccnt = crtRecivAccnt;
|
||||
}
|
||||
public String getEsntlId() {
|
||||
return esntlId;
|
||||
}
|
||||
public void setEsntlId(String esntlId) {
|
||||
this.esntlId = esntlId;
|
||||
}
|
||||
public String getCrtSeq() {
|
||||
return crtSeq;
|
||||
}
|
||||
public void setCrtSeq(String crtSeq) {
|
||||
this.crtSeq = crtSeq;
|
||||
}
|
||||
public String getFrstRegistPnttm() {
|
||||
return frstRegistPnttm;
|
||||
}
|
||||
public void setFrstRegistPnttm(String frstRegistPnttm) {
|
||||
this.frstRegistPnttm = frstRegistPnttm;
|
||||
}
|
||||
public String getFrstRegisterId() {
|
||||
return frstRegisterId;
|
||||
}
|
||||
public void setFrstRegisterId(String frstRegisterId) {
|
||||
this.frstRegisterId = frstRegisterId;
|
||||
}
|
||||
public String getLastUpdtPnttm() {
|
||||
return lastUpdtPnttm;
|
||||
}
|
||||
public void setLastUpdtPnttm(String lastUpdtPnttm) {
|
||||
this.lastUpdtPnttm = lastUpdtPnttm;
|
||||
}
|
||||
public String getLastUpdusrId() {
|
||||
return lastUpdusrId;
|
||||
}
|
||||
public void setLastUpdusrId(String lastUpdusrId) {
|
||||
this.lastUpdusrId = lastUpdusrId;
|
||||
}
|
||||
public String getCrtLinkHouse() {
|
||||
return crtLinkHouse;
|
||||
}
|
||||
public void setCrtLinkHouse(String crtLinkHouse) {
|
||||
this.crtLinkHouse = crtLinkHouse;
|
||||
}
|
||||
public String getCrtDeptTy() {
|
||||
return crtDeptTy;
|
||||
}
|
||||
public void setCrtDeptTy(String crtDeptTy) {
|
||||
this.crtDeptTy = crtDeptTy;
|
||||
}
|
||||
public String getEmplyrId() {
|
||||
return emplyrId;
|
||||
}
|
||||
public void setEmplyrId(String emplyrId) {
|
||||
this.emplyrId = emplyrId;
|
||||
}
|
||||
public String getUserNm() {
|
||||
return userNm;
|
||||
}
|
||||
public void setUserNm(String userNm) {
|
||||
this.userNm = userNm;
|
||||
}
|
||||
public String getPstinstCode() {
|
||||
return pstinstCode;
|
||||
}
|
||||
public void setPstinstCode(String pstinstCode) {
|
||||
this.pstinstCode = pstinstCode;
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,22 @@
|
||||
package kcc.kccadr.adjCourtCnctn.service;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import kcc.com.cmm.ComDefaultVO;
|
||||
import kcc.kccadr.adjreqmgr.service.AdjReqMgrVO;
|
||||
|
||||
public class AdjCourtaprvlVO extends ComDefaultVO implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -1111076331699607617L;
|
||||
|
||||
private String crtSeq; //법원연계 seq
|
||||
private String crtSn; //법원연계 기일수
|
||||
|
||||
private String frstRegistPnttm;
|
||||
private String frstRegisterId;
|
||||
private String lastUpdtPnttm;
|
||||
private String lastUpdusrId;
|
||||
|
||||
}
|
||||
@ -5,10 +5,9 @@ import java.util.List;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import egovframework.rte.psl.dataaccess.EgovAbstractDAO;
|
||||
import kcc.com.cmm.service.AdrCourtFileVO;
|
||||
import kcc.kccadr.adjCourtCnctn.service.AdjCourtCnctnVO;
|
||||
import kcc.kccadr.adjReqMgrOff.service.AdjReqMgrOffLineVO;
|
||||
import kcc.kccadr.adjReqMgrPast.service.AdjReqMgrPastVO;
|
||||
import kcc.kccadr.cmm.RestResponse;
|
||||
import kcc.kccadr.adjCourtCnctn.service.AdjCourtDeptVO;
|
||||
|
||||
@Repository("AdjCourtCnctnDAO")
|
||||
public class AdjCourtCnctnDAO extends EgovAbstractDAO {
|
||||
@ -37,5 +36,25 @@ public class AdjCourtCnctnDAO extends EgovAbstractDAO {
|
||||
public void updateUseYn(AdjCourtCnctnVO adjCourtCnctnVO) {
|
||||
update("adjCourtCnctnDAO.updateUseYn", adjCourtCnctnVO);
|
||||
}
|
||||
|
||||
public void insertCourtFileInf(AdrCourtFileVO adrCourtFileVO) {
|
||||
insert("adjCourtCnctnDAO.insertCourtFileInf", adrCourtFileVO);
|
||||
}
|
||||
|
||||
public void insertCourtDept(AdjCourtDeptVO adjCourtDeptVO) {
|
||||
insert("adjCourtCnctnDAO.insertCourtDept", adjCourtDeptVO);
|
||||
}
|
||||
|
||||
public List<AdjCourtCnctnVO> selectAdjCourtCnctniFileList(AdjCourtCnctnVO adjCourtCnctnVO) {
|
||||
return (List<AdjCourtCnctnVO>) list("adjCourtCnctnDAO.selectAdjCourtCnctniFileList", adjCourtCnctnVO);
|
||||
}
|
||||
|
||||
public List<AdjCourtDeptVO> selectAdjCourtCnctniDeptPop() {
|
||||
return (List<AdjCourtDeptVO>) list("adjCourtCnctnDAO.selectAdjCourtCnctniDeptPop");
|
||||
}
|
||||
|
||||
public void saveFromAdrCourtDeptMgr(AdjCourtDeptVO deptVO) {
|
||||
update("adjCourtCnctnDAO.saveFromAdrCourtDeptMgr", deptVO);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,34 +1,30 @@
|
||||
package kcc.kccadr.adjCourtCnctn.service.impl;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
||||
|
||||
import egovframework.rte.fdl.cmmn.EgovAbstractServiceImpl;
|
||||
import egovframework.rte.fdl.idgnr.EgovIdGnrService;
|
||||
import kcc.com.cmm.service.CmmnDetailCode;
|
||||
import kcc.com.cmm.service.AdrCourtFileMngService;
|
||||
import kcc.com.cmm.service.AdrCourtFileVO;
|
||||
import kcc.com.cmm.service.EgovFileMngService;
|
||||
import kcc.com.cmm.service.EgovFileMngUtil;
|
||||
import kcc.com.cmm.service.FileVO;
|
||||
import kcc.com.cmm.util.DateUtil;
|
||||
import kcc.com.utl.user.service.CheckAdrProcessUtil;
|
||||
import kcc.kccadr.adjCourtCnctn.service.AdjCourtCnctnService;
|
||||
import kcc.kccadr.adjCourtCnctn.service.AdjCourtCnctnVO;
|
||||
import kcc.kccadr.adjReqMgrOff.service.AdjReqMgrOffLineService;
|
||||
import kcc.kccadr.adjReqMgrOff.service.AdjReqMgrOffLineVO;
|
||||
import kcc.kccadr.adjreqmgr.service.AdjReqMgrVO;
|
||||
import kcc.kccadr.adjreqmgr.service.impl.AdjReqMgrDAO;
|
||||
import kcc.kccadr.adjst.service.AdjstReqVO;
|
||||
import kcc.kccadr.adjst.service.impl.AdjstReqDAO;
|
||||
import kcc.kccadr.advc.service.impl.AdrHstryMgrDAO;
|
||||
import kcc.kccadr.cmm.KccadrConstants;
|
||||
import kcc.kccadr.adjCourtCnctn.service.AdjCourtDeptVO;
|
||||
import kcc.kccadr.cmm.KccadrCourtConstants;
|
||||
import kcc.kccadr.cmm.RestResponse;
|
||||
import kcc.let.sym.ccm.cde.service.CmmnDetailCodeVO;
|
||||
import kcc.let.sym.ccm.cde.service.EgovCcmCmmnDetailCodeManageService;
|
||||
import kcc.let.utl.fcc.service.EgovCryptoUtil;
|
||||
|
||||
@Service("AdjCourtCnctnService")
|
||||
public class AdjCourtCnctnServiceImpl extends EgovAbstractServiceImpl implements AdjCourtCnctnService {
|
||||
@ -39,12 +35,51 @@ public class AdjCourtCnctnServiceImpl extends EgovAbstractServiceImpl implements
|
||||
|
||||
@Resource(name="courtCnctnGnrService")
|
||||
private EgovIdGnrService courtCnctnGnrService;
|
||||
|
||||
@Resource(name = "EgovFileMngService")
|
||||
private EgovFileMngService fileMngService;
|
||||
|
||||
@Resource(name = "EgovFileMngUtil")
|
||||
private EgovFileMngUtil fileUtil;
|
||||
|
||||
@Resource(name = "AdrCourtFileMngService")
|
||||
private AdrCourtFileMngService adrCourtFileMngService;
|
||||
|
||||
@Override
|
||||
public RestResponse insertCourtCnctn(AdjCourtCnctnVO adjCourtCnctnVO) {
|
||||
public RestResponse insertCourtCnctn(AdjCourtCnctnVO adjCourtCnctnVO, final MultipartHttpServletRequest multiRequest) {
|
||||
try {
|
||||
adjCourtCnctnVO.setCourtSeq(courtCnctnGnrService.getNextStringId());
|
||||
|
||||
adjCourtCnctnVO.setCrtSeq(courtCnctnGnrService.getNextStringId());
|
||||
adjCourtCnctnVO.setCrtStatCd("101000");
|
||||
adjCourtCnctnVO.setCrtStatCd(KccadrCourtConstants.CRT_REG);
|
||||
|
||||
final Map<String, MultipartFile> files = multiRequest.getFileMap();
|
||||
if (!files.isEmpty()){
|
||||
List<FileVO> result = fileUtil.parseFileInf(files, "CRT_", 0, "", "", "");
|
||||
String atchFileId = fileMngService.insertFileInfs(result);
|
||||
adjCourtCnctnVO.setCrtAtchFileId(atchFileId);
|
||||
|
||||
AdrCourtFileVO adrCourtFileVO = new AdrCourtFileVO();
|
||||
|
||||
adrCourtFileVO.setCrtSeq(adjCourtCnctnVO.getCrtSeq());
|
||||
adrCourtFileVO.setCrtSn(adjCourtCnctnVO.getCrtSn());
|
||||
adrCourtFileVO.setCrtAtchFileId(atchFileId);
|
||||
adrCourtFileVO.setCrtAtchFileTy("10");
|
||||
adrCourtFileVO.setFrstRegisterId(adjCourtCnctnVO.getFrstRegisterId());
|
||||
|
||||
adrCourtFileMngService.insertCourtFileInf(adrCourtFileVO);
|
||||
}
|
||||
|
||||
adjCourtCnctnDAO.insertCourtCnctn(adjCourtCnctnVO);
|
||||
|
||||
AdjCourtDeptVO adjCourtDeptVO = new AdjCourtDeptVO();
|
||||
adjCourtDeptVO.setCrtSeq(adjCourtCnctnVO.getCrtSeq());
|
||||
adjCourtDeptVO.setFrstRegisterId(adjCourtCnctnVO.getFrstRegisterId());
|
||||
adjCourtDeptVO.setCrtLinkHouse(adjCourtCnctnVO.getCrtLinkHouse());
|
||||
adjCourtDeptVO.setCrtDeptTy("10");
|
||||
|
||||
adjCourtCnctnDAO.insertCourtDept(adjCourtDeptVO);
|
||||
|
||||
} catch (Exception e) {
|
||||
return new RestResponse(HttpStatus.BAD_REQUEST, "등록에 실패하였습니다.", LocalDateTime.now());
|
||||
}
|
||||
@ -92,6 +127,28 @@ public class AdjCourtCnctnServiceImpl extends EgovAbstractServiceImpl implements
|
||||
adjCourtCnctnDAO.updateUseYn(adjCourtCnctnVO);
|
||||
}
|
||||
|
||||
|
||||
public List<AdjCourtCnctnVO> selectAdjCourtCnctniFileList(AdjCourtCnctnVO adjCourtCnctnVO) {
|
||||
return adjCourtCnctnDAO.selectAdjCourtCnctniFileList(adjCourtCnctnVO);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void insertCourtDept(AdjCourtDeptVO adjCourtDeptVO) {
|
||||
adjCourtCnctnDAO.insertCourtDept(adjCourtDeptVO);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<AdjCourtDeptVO> selectAdjCourtCnctniDeptPop() {
|
||||
return adjCourtCnctnDAO.selectAdjCourtCnctniDeptPop();
|
||||
}
|
||||
|
||||
@Override
|
||||
public RestResponse insertAdjCourtCnctnDeptPopAjax(AdjCourtDeptVO deptVO) throws Exception {
|
||||
try {
|
||||
adjCourtCnctnDAO.saveFromAdrCourtDeptMgr(deptVO);
|
||||
} catch (Exception e)
|
||||
{ e.printStackTrace();
|
||||
return new RestResponse(HttpStatus.BAD_REQUEST, "등록에 실패하였습니다.", LocalDateTime.now());
|
||||
}
|
||||
return new RestResponse(HttpStatus.OK, "등록 되었습니다.", LocalDateTime.now());
|
||||
}
|
||||
}
|
||||
|
||||
@ -0,0 +1,112 @@
|
||||
package kcc.kccadr.adjCourtCnctn.web;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
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.RequestMapping;
|
||||
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
||||
|
||||
import egovframework.rte.fdl.security.userdetails.util.EgovUserDetailsHelper;
|
||||
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
|
||||
import kcc.com.cmm.LoginVO;
|
||||
import kcc.com.cmm.util.DateUtil;
|
||||
import kcc.com.cmm.util.StringUtil;
|
||||
import kcc.kccadr.adjCourtCnctn.service.AdjCourtCnctnService;
|
||||
import kcc.kccadr.adjCourtCnctn.service.AdjCourtCnctnVO;
|
||||
import kcc.kccadr.adjCourtCnctn.service.AdjCourtDeptVO;
|
||||
import kcc.kccadr.adjPgrMgr.dtb.service.DtbVO;
|
||||
import kcc.kccadr.adjPgrMgr.iam.service.InternalApprovManageVO;
|
||||
import kcc.kccadr.adjRppl.service.AdjRpplVO;
|
||||
import kcc.kccadr.cmm.CmmUtil;
|
||||
import kcc.kccadr.cmm.KccadrConstants;
|
||||
import kcc.kccadr.cmm.RestResponse;
|
||||
import kcc.let.uss.umt.service.UserManageVO;
|
||||
|
||||
@Controller
|
||||
public class AdjCourtAprvlController {
|
||||
|
||||
// 조정신청 서비스단
|
||||
@Resource(name = "AdjCourtCnctnService")
|
||||
private AdjCourtCnctnService adjCourtCnctnService;
|
||||
|
||||
@RequestMapping(value = "/kccadr/adjCourtAprvl/AprvlList.do")
|
||||
public String AprvlList(
|
||||
@ModelAttribute("internalApprovManageVO") InternalApprovManageVO internalApprovManageVO
|
||||
, ModelMap model
|
||||
, HttpServletRequest request) throws Exception {
|
||||
|
||||
String auth = EgovUserDetailsHelper.isAuthenticated() ? null : EgovUserDetailsHelper.getAuthenticatedUser().toString();
|
||||
LoginVO loginVO = "anonymousUser".equals(auth) ? null : (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser();
|
||||
|
||||
if (loginVO == null) {
|
||||
|
||||
model.addAttribute("msg", "로그인 해주세요.");
|
||||
return "redirect:/web/user/login/ssoLogin.do";
|
||||
}
|
||||
|
||||
internalApprovManageVO.setFrstRegisterId(loginVO.getUniqId());
|
||||
internalApprovManageVO.setMemSeq(loginVO.getUniqId());
|
||||
internalApprovManageVO.setSearchSbmtId(loginVO.getUniqId());
|
||||
|
||||
if(internalApprovManageVO.getPageUnit() != 10) {
|
||||
internalApprovManageVO.setPageUnit(internalApprovManageVO.getPageUnit());
|
||||
}
|
||||
|
||||
if("".equals(internalApprovManageVO.getSearchSortCnd())){ //최초조회시 최신것 조회List
|
||||
internalApprovManageVO.setSearchSortCnd("RS.adrNo");
|
||||
internalApprovManageVO.setSearchSortOrd("desc");
|
||||
}
|
||||
|
||||
//내부결재 목록 페이지 접근시 결재상태 - 결재대기(01), 결재진행중(02) 상태가 기본값으로 해달라는 요청_220225_이준호수정
|
||||
//내부결재 목록 페이지 접근시 결재상태 - 결재대기(01) 상태가 기본값으로 해달라는 요청_221201_조용준수정
|
||||
if("".equals(internalApprovManageVO.getSearchStatusArr()) || internalApprovManageVO.getSearchStatusArr() == null){
|
||||
//String[] defaultSearchStatusArr = {"01", "02"};
|
||||
String[] defaultSearchStatusArr = {"01"};
|
||||
internalApprovManageVO.setSearchStatusArr(defaultSearchStatusArr);
|
||||
}
|
||||
|
||||
if(StringUtils.isEmpty(internalApprovManageVO.getSearchStartDt()) && StringUtils.isEmpty(internalApprovManageVO.getSearchEndDt())){
|
||||
internalApprovManageVO.setSearchStartDt(CmmUtil.getDiffMonth(1 , "yyyy-MM-dd"));
|
||||
internalApprovManageVO.setSearchEndDt(CmmUtil.getDateNow("yyyy-MM-dd"));
|
||||
}
|
||||
|
||||
/** paging */
|
||||
PaginationInfo paginationInfo = new PaginationInfo();
|
||||
paginationInfo.setCurrentPageNo(internalApprovManageVO.getPageIndex());
|
||||
paginationInfo.setRecordCountPerPage(internalApprovManageVO.getPageUnit());
|
||||
paginationInfo.setPageSize(internalApprovManageVO.getPageSize());
|
||||
|
||||
//위원장 아이디는 위원장이 결재 시점에서만 조회되게
|
||||
// 리스트 조건절 결재선 1,2 라인이 결재 완료이고 위원장 아이디 일때만 조회
|
||||
UserManageVO userManageVO = new UserManageVO();
|
||||
// userManageVO = userManageService.selectUser(loginVO.getUniqId());
|
||||
|
||||
if(KccadrConstants.ADR_SBMT_TY_40.equals(userManageVO.getOfcpsNm())) {
|
||||
internalApprovManageVO.setUiWonJangId(loginVO.getUniqId());
|
||||
}
|
||||
|
||||
//22.02.08 이준호 내부결재목록 최고관리자의 경우 모든 결재가 보이게 처리 요청사항 적용
|
||||
if("ROLE_ADMIN".equals(loginVO.getAuthority())) {
|
||||
internalApprovManageVO.setAuthor(loginVO.getAuthority());
|
||||
}
|
||||
|
||||
internalApprovManageVO.setFirstIndex(paginationInfo.getFirstRecordIndex());
|
||||
internalApprovManageVO.setLastIndex(paginationInfo.getLastRecordIndex());
|
||||
internalApprovManageVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
|
||||
// paginationInfo.setTotalRecordCount(internalApprovManageService.selectInternalApprovManageCount(internalApprovManageVO));
|
||||
model.addAttribute("paginationInfo", paginationInfo);
|
||||
|
||||
|
||||
// model.addAttribute("list", internalApprovManageService.selectInternalApprovManageList(internalApprovManageVO));
|
||||
return "kccadr/adjPgrMgr/iam/internalApprovManageList";
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,5 +1,6 @@
|
||||
package kcc.kccadr.adjCourtCnctn.web;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
@ -10,13 +11,19 @@ import org.springframework.stereotype.Controller;
|
||||
import org.springframework.ui.ModelMap;
|
||||
import org.springframework.web.bind.annotation.ModelAttribute;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
||||
|
||||
import egovframework.rte.fdl.security.userdetails.util.EgovUserDetailsHelper;
|
||||
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
|
||||
import kcc.com.cmm.LoginVO;
|
||||
import kcc.com.cmm.util.DateUtil;
|
||||
import kcc.com.cmm.util.StringUtil;
|
||||
import kcc.kccadr.adjCourtCnctn.service.AdjCourtCnctnService;
|
||||
import kcc.kccadr.adjCourtCnctn.service.AdjCourtCnctnVO;
|
||||
import kcc.kccadr.adjReqMgrPast.service.AdjReqMgrPastVO;
|
||||
import kcc.kccadr.adjCourtCnctn.service.AdjCourtDeptVO;
|
||||
import kcc.kccadr.adjPgrMgr.dtb.service.DtbVO;
|
||||
import kcc.kccadr.adjPgrMgr.iam.service.InternalApprovManageVO;
|
||||
import kcc.kccadr.adjRppl.service.AdjRpplVO;
|
||||
import kcc.kccadr.cmm.RestResponse;
|
||||
|
||||
/**
|
||||
@ -48,12 +55,10 @@ public class AdjCourtCnctnController {
|
||||
}
|
||||
|
||||
if("".equals(adjCourtCnctnVO.getSearchSortCnd())){
|
||||
adjCourtCnctnVO.setSearchSortCnd("COURT_SEQ");
|
||||
adjCourtCnctnVO.setSearchSortCnd("CRT_SEQ");
|
||||
adjCourtCnctnVO.setSearchSortOrd("desc");
|
||||
}
|
||||
|
||||
System.out.println("searchMonth2 :: "+ adjCourtCnctnVO.getSearchMonth2());
|
||||
|
||||
/** paging */
|
||||
PaginationInfo paginationInfo = new PaginationInfo();
|
||||
paginationInfo.setCurrentPageNo(adjCourtCnctnVO.getPageIndex());
|
||||
@ -87,14 +92,35 @@ public class AdjCourtCnctnController {
|
||||
public String adjCourtCnctnDetail(@ModelAttribute("adjCourtCnctnVO") AdjCourtCnctnVO CourtVO, ModelMap model) throws Exception {
|
||||
|
||||
AdjCourtCnctnVO adjCourtCnctnVO = adjCourtCnctnService.findByid(CourtVO);
|
||||
|
||||
if(StringUtil.isEmpty(adjCourtCnctnVO.getTabSeq())) {
|
||||
adjCourtCnctnVO.setTabSeq("0");
|
||||
}
|
||||
model.addAttribute("courtVO", adjCourtCnctnVO);
|
||||
return "kccadr/adjCourtCnctn/adjCourtCnctnDetail";
|
||||
}
|
||||
|
||||
@RequestMapping("/kccadr/adjCourtCnctn/adjCourtCnctnDetailTab0.do")
|
||||
public String adjCourtCnctnDetailTab0(@ModelAttribute("adjCourtCnctnVO") AdjCourtCnctnVO CourtVO, ModelMap model) throws Exception {
|
||||
|
||||
AdjCourtCnctnVO adjCourtCnctnVO = adjCourtCnctnService.findByid(CourtVO);
|
||||
model.addAttribute("courtVO", adjCourtCnctnVO);
|
||||
return "kccadr/adjCourtCnctn/adjCourtCnctnDetailTab0";
|
||||
}
|
||||
|
||||
@RequestMapping("/kccadr/adjCourtCnctn/adjCourtCnctnDetailTab1.do")
|
||||
public String adjCourtCnctnDetailTab1(@ModelAttribute("adjCourtCnctnVO") AdjCourtCnctnVO CourtVO, ModelMap model) throws Exception {
|
||||
|
||||
List<AdjCourtCnctnVO> list = adjCourtCnctnService.selectAdjCourtCnctniFileList(CourtVO);
|
||||
model.addAttribute("list", list);
|
||||
return "kccadr/adjCourtCnctn/adjCourtCnctnDetailTab1";
|
||||
}
|
||||
|
||||
@RequestMapping("/kccadr/adjCourtCnctn/adjCourtCnctnModify.do")
|
||||
public String adjCourtCnctnModify(@ModelAttribute("adjCourtCnctnVO") AdjCourtCnctnVO CourtVO, ModelMap model) throws Exception {
|
||||
|
||||
AdjCourtCnctnVO adjCourtCnctnVO = adjCourtCnctnService.findByid(CourtVO);
|
||||
|
||||
model.addAttribute("courtVO", adjCourtCnctnVO);
|
||||
return "kccadr/adjCourtCnctn/adjCourtCnctnModify";
|
||||
}
|
||||
@ -102,17 +128,15 @@ public class AdjCourtCnctnController {
|
||||
@RequestMapping("/kccadr/adjCourtCnctn/adjCourtCnctnRegist.do")
|
||||
public String adjCourtCnctnRegist(@ModelAttribute("adjCourtCnctnVO") AdjCourtCnctnVO adjCourtCnctnVO, ModelMap model) throws Exception {
|
||||
|
||||
AdjReqMgrPastVO adjReqMgrPastVO = new AdjReqMgrPastVO();
|
||||
model.addAttribute("courtVO", adjReqMgrPastVO);
|
||||
return "kccadr/adjCourtCnctn/adjCourtCnctnRegist";
|
||||
}
|
||||
|
||||
@RequestMapping("/kccadr/adjCourtCnctn/adjCourtCnctnRegistAjax.do")
|
||||
public ResponseEntity<RestResponse> adjCourtCnctnRegistAjax(@ModelAttribute("adjCourtCnctnVO") AdjCourtCnctnVO adjCourtCnctnVO) throws Exception {
|
||||
public ResponseEntity<RestResponse> adjCourtCnctnRegistAjax(final MultipartHttpServletRequest multiRequest, AdjCourtCnctnVO adjCourtCnctnVO) throws Exception {
|
||||
|
||||
LoginVO loginVO = (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser();
|
||||
adjCourtCnctnVO.setFrstRegisterId(loginVO.getUniqId());
|
||||
return ResponseEntity.ok().body(adjCourtCnctnService.insertCourtCnctn(adjCourtCnctnVO));
|
||||
return ResponseEntity.ok().body(adjCourtCnctnService.insertCourtCnctn(adjCourtCnctnVO, multiRequest));
|
||||
}
|
||||
|
||||
@RequestMapping("/kccadr/adjCourtCnctn/adjCourtCnctnUpdateAjax.do")
|
||||
@ -123,4 +147,66 @@ public class AdjCourtCnctnController {
|
||||
return ResponseEntity.ok().body(adjCourtCnctnService.updateCourtCnctn(adjCourtCnctnVO));
|
||||
}
|
||||
|
||||
@RequestMapping("/kccadr/adjCourtCnctn/adjCourtCnctnApprov.do")
|
||||
public String adjCourtCnctnApprov(@ModelAttribute("internalApprovManageVO") InternalApprovManageVO internalApprovManageVO, ModelMap model) throws Exception {
|
||||
String auth = EgovUserDetailsHelper.isAuthenticated() ? null : EgovUserDetailsHelper.getAuthenticatedUser().toString();
|
||||
LoginVO loginVO = "anonymousUser".equals(auth) ? null : (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser();
|
||||
|
||||
if (loginVO == null) {
|
||||
|
||||
model.addAttribute("msg", "로그인 해주세요.");
|
||||
return "redirect:/web/user/login/ssoLogin.do";
|
||||
}
|
||||
|
||||
internalApprovManageVO.setSearchSbmtId(loginVO.getUniqId());
|
||||
InternalApprovManageVO info = new InternalApprovManageVO();
|
||||
List<InternalApprovManageVO> approvLine = new ArrayList<InternalApprovManageVO>();
|
||||
|
||||
String aftThree = "";
|
||||
//접수일로부터 3개월뒤 날짜 구하기
|
||||
if(StringUtil.isNotEmpty(info.getReqDt())) {
|
||||
|
||||
String reqDt = info.getReqDt();
|
||||
DateUtil dateUtil = new DateUtil();
|
||||
aftThree = dateUtil.AddDate(reqDt, 0, 3, 0);
|
||||
|
||||
}
|
||||
|
||||
// 20221201 이호영
|
||||
// 법인일 경우 법인명+대표자명 노출
|
||||
AdjRpplVO rpplVO = new AdjRpplVO();
|
||||
info.setRpplUsrTy(rpplVO.getRpplUsrTy());
|
||||
info.setRpplBizNm(rpplVO.getRpplNm());
|
||||
|
||||
model.addAttribute("info", info);
|
||||
model.addAttribute("approvLine", approvLine);
|
||||
model.addAttribute("aftThree", aftThree); //접수일로 3개월 뒤 날짜 정보
|
||||
//22.02.08 최고관리자의 경우 반려 결재 버튼 미노출 처리
|
||||
model.addAttribute("auth", loginVO.getAuthority());
|
||||
return "kccadr/adjCourtCnctn/adjCourtCnctnApprov";
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/kccadr/adjCourtCnctn/popup/adjCourtCnctnDeptPop.do")
|
||||
public String adjCourtCnctnDeptPop(@ModelAttribute("deptVO") AdjCourtDeptVO deptVO, ModelMap model) throws Exception {
|
||||
|
||||
model.addAttribute("adjCourtDeptVO", adjCourtCnctnService.selectAdjCourtCnctniDeptPop()); // 조정조사관정보
|
||||
return "kccadr/adjCourtCnctn/pop/adjCourtCnctnDeptPop";
|
||||
}
|
||||
|
||||
|
||||
@RequestMapping(value = "/kccadr/adjCourtCnctn/insertAdjCourtCnctnDeptPopAjax.do")
|
||||
public ResponseEntity<RestResponse> insertAdjCourtCnctnDeptPopAjax(@ModelAttribute("deptVO") AdjCourtDeptVO deptVO) throws Exception {
|
||||
|
||||
LoginVO loginVO = (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser();
|
||||
|
||||
deptVO.setLastUpdusrId(loginVO.getUniqId());
|
||||
deptVO.setFrstRegisterId(loginVO.getUniqId());
|
||||
|
||||
return ResponseEntity.ok().body(adjCourtCnctnService.insertAdjCourtCnctnDeptPopAjax(deptVO));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -2174,7 +2174,6 @@ public class ApmController {
|
||||
, ""
|
||||
);
|
||||
|
||||
System.out.println("adrSn : "+ adrSn);
|
||||
|
||||
apmVO.setAdrSn(adrSn);
|
||||
|
||||
|
||||
6
src/main/java/kcc/kccadr/cmm/KccadrCourtConstants.java
Normal file
6
src/main/java/kcc/kccadr/cmm/KccadrCourtConstants.java
Normal file
@ -0,0 +1,6 @@
|
||||
package kcc.kccadr.cmm;
|
||||
|
||||
public class KccadrCourtConstants {
|
||||
|
||||
public static final String CRT_REG = "101000"; // 사건접수
|
||||
}
|
||||
@ -232,7 +232,7 @@ public class TextSenseController {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
//TextSense API 요청 처리
|
||||
TextSenseVO apiTextSenseVO = new TextSenseVO();
|
||||
String outputFileExt = "text";
|
||||
|
||||
@ -347,6 +347,8 @@ public class EgovMainController {
|
||||
// List<MenuManageJTreeVO> quickList = menuCreateManageService.selectQuickListIncTop(menuManageJTreeVO) ;
|
||||
// model.addAttribute("quickList", quickList);
|
||||
// }
|
||||
|
||||
model.addAttribute("authority", user.getAuthority());
|
||||
return "main/inc/EgovIncTopnav"; // 내부업무의 상단메뉴 화면
|
||||
}
|
||||
|
||||
|
||||
@ -260,62 +260,62 @@ public class EgovLoginController {
|
||||
* @return String
|
||||
* @exception Exception
|
||||
*/
|
||||
@RequestMapping(value = "/web/user/login/login.do")
|
||||
public String userLogin(HttpServletRequest request, HttpServletResponse response, ModelMap model, @RequestParam Map<String, Object> commandMap, HttpSession session) throws Exception {
|
||||
Boolean isAuthenticated = EgovUserDetailsHelper.isAuthenticated();
|
||||
if (isAuthenticated)
|
||||
return "redirect:/web/main/mainPage.do";
|
||||
|
||||
// 로그인필요 URL 호출하여 온경우
|
||||
String beforeUrl = (String) commandMap.get("beforeUrl");
|
||||
String message = (String) commandMap.get("message");
|
||||
|
||||
// sns 회원가입 key 값 설정
|
||||
String naverClientId = itnNaverClientId;
|
||||
String naverClientSecret = itnNaverClientSecret;
|
||||
|
||||
String kakaoRestApiKey = itnKakaoRestApiKey;
|
||||
String kakaoReturnUrl = itnKakaoReturnUrl;
|
||||
|
||||
// config 정보 가져오기
|
||||
MberManageConfigVO mberConfigVO = new MberManageConfigVO();
|
||||
|
||||
List<MberManageConfigVO> mberManageCnfVO = mberManageService.selectMberCnf(mberConfigVO);
|
||||
|
||||
for (int i = 0; i < mberManageCnfVO.size(); i++) {
|
||||
if (mberManageCnfVO.get(i).getIsSns().equals("Y")) {
|
||||
if (mberManageCnfVO.get(i).getUseYn().equals("Y")) {
|
||||
if (mberManageCnfVO.get(i).getConfigId().equals("snsNaver")) {
|
||||
String redirectURI = URLEncoder.encode(itnNaverReturnUrl, "UTF-8");
|
||||
SecureRandom random = new SecureRandom();
|
||||
BigInteger state = new BigInteger(130, random);
|
||||
String naver_url = "https://nid.naver.com/oauth2.0/authorize?response_type=code";
|
||||
naver_url += "&client_id=" + itnNaverClientId;
|
||||
naver_url += "&redirect_url=" + redirectURI;
|
||||
naver_url += "&state=" + state;
|
||||
mberManageCnfVO.get(i).setSiteUrl(naver_url);
|
||||
mberManageCnfVO.get(i).setSiteIcon("/img/login_naver_icon.png");
|
||||
|
||||
} else if (mberManageCnfVO.get(i).getConfigId().equals("snsKakao")) {
|
||||
|
||||
String kakao_url = "https://kauth.kakao.com/oauth/authorize?response_type=code";
|
||||
kakao_url += "&client_id=" + kakaoRestApiKey;
|
||||
kakao_url += "&redirect_uri=" + kakaoReturnUrl;
|
||||
mberManageCnfVO.get(i).setSiteUrl(kakao_url);
|
||||
mberManageCnfVO.get(i).setSiteIcon("/img/login_kakao_icon.png");
|
||||
|
||||
} else if (mberManageCnfVO.get(i).getConfigId().equals("snsGoogle")) {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
model.addAttribute("mberManageCnfVO", mberManageCnfVO);
|
||||
model.addAttribute("beforeUrl", beforeUrl);
|
||||
model.addAttribute("message", message);
|
||||
// initRsa(request);
|
||||
return "web/login/EgovLoginGnrlUsr";
|
||||
}
|
||||
// @RequestMapping(value = "/web/user/login/login.do")
|
||||
// public String userLogin(HttpServletRequest request, HttpServletResponse response, ModelMap model, @RequestParam Map<String, Object> commandMap, HttpSession session) throws Exception {
|
||||
// Boolean isAuthenticated = EgovUserDetailsHelper.isAuthenticated();
|
||||
// if (isAuthenticated)
|
||||
// return "redirect:/web/main/mainPage.do";
|
||||
//
|
||||
// // 로그인필요 URL 호출하여 온경우
|
||||
// String beforeUrl = (String) commandMap.get("beforeUrl");
|
||||
// String message = (String) commandMap.get("message");
|
||||
//
|
||||
// // sns 회원가입 key 값 설정
|
||||
// String naverClientId = itnNaverClientId;
|
||||
// String naverClientSecret = itnNaverClientSecret;
|
||||
//
|
||||
// String kakaoRestApiKey = itnKakaoRestApiKey;
|
||||
// String kakaoReturnUrl = itnKakaoReturnUrl;
|
||||
//
|
||||
// // config 정보 가져오기
|
||||
// MberManageConfigVO mberConfigVO = new MberManageConfigVO();
|
||||
//
|
||||
// List<MberManageConfigVO> mberManageCnfVO = mberManageService.selectMberCnf(mberConfigVO);
|
||||
//
|
||||
// for (int i = 0; i < mberManageCnfVO.size(); i++) {
|
||||
// if (mberManageCnfVO.get(i).getIsSns().equals("Y")) {
|
||||
// if (mberManageCnfVO.get(i).getUseYn().equals("Y")) {
|
||||
// if (mberManageCnfVO.get(i).getConfigId().equals("snsNaver")) {
|
||||
// String redirectURI = URLEncoder.encode(itnNaverReturnUrl, "UTF-8");
|
||||
// SecureRandom random = new SecureRandom();
|
||||
// BigInteger state = new BigInteger(130, random);
|
||||
// String naver_url = "https://nid.naver.com/oauth2.0/authorize?response_type=code";
|
||||
// naver_url += "&client_id=" + itnNaverClientId;
|
||||
// naver_url += "&redirect_url=" + redirectURI;
|
||||
// naver_url += "&state=" + state;
|
||||
// mberManageCnfVO.get(i).setSiteUrl(naver_url);
|
||||
// mberManageCnfVO.get(i).setSiteIcon("/img/login_naver_icon.png");
|
||||
//
|
||||
// } else if (mberManageCnfVO.get(i).getConfigId().equals("snsKakao")) {
|
||||
//
|
||||
// String kakao_url = "https://kauth.kakao.com/oauth/authorize?response_type=code";
|
||||
// kakao_url += "&client_id=" + kakaoRestApiKey;
|
||||
// kakao_url += "&redirect_uri=" + kakaoReturnUrl;
|
||||
// mberManageCnfVO.get(i).setSiteUrl(kakao_url);
|
||||
// mberManageCnfVO.get(i).setSiteIcon("/img/login_kakao_icon.png");
|
||||
//
|
||||
// } else if (mberManageCnfVO.get(i).getConfigId().equals("snsGoogle")) {
|
||||
//
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// model.addAttribute("mberManageCnfVO", mberManageCnfVO);
|
||||
// model.addAttribute("beforeUrl", beforeUrl);
|
||||
// model.addAttribute("message", message);
|
||||
//// initRsa(request);
|
||||
// return "web/login/EgovLoginGnrlUsr";
|
||||
// }
|
||||
|
||||
/**
|
||||
* (사용자) SSO 로그인 화면.
|
||||
@ -564,6 +564,9 @@ public class EgovLoginController {
|
||||
} else if ("ROLE_USER_MANAGER".equals(s_loginInfo_getAuthority)) {
|
||||
model.addAttribute("message", egovMessageSource.getMessage("fail.common.login"));
|
||||
return "uat/uia/EgovLoginUsr";
|
||||
} else if ("ROLE_COURT_ADMIN".equals(s_loginInfo_getAuthority)) {
|
||||
model.addAttribute("message", "법원연계 관리자는 별도 URL로 로그인 해주세요.");
|
||||
return "uat/uia/EgovLoginUsrCourt";
|
||||
}
|
||||
}
|
||||
|
||||
@ -1586,8 +1589,13 @@ public class EgovLoginController {
|
||||
return "redirect:/cmm/main/mainPage.do";
|
||||
} else if ("ROLE_USER_MANAGER".equals(user.getAuthority())) {
|
||||
return "redirect:/web/main/mainPage.do";
|
||||
} else { // 일반관리자 경우
|
||||
return "redirect:/EgovTopPageLink.do?link=/cop/bbs/SelectBBSMasterInfs.do&baseMenuNo=4300000";
|
||||
} else if ("past_author".equals(user.getAuthority())) {
|
||||
return "redirect:/kccadr/adjReqMgOff/adjReqMgrPastList.do";
|
||||
} else if ("ROLE_COURT_ADMIN".equals(user.getAuthority())) {
|
||||
return "redirect:/kccadr/adjCourtCnctn/adjCourtCnctnList.do";
|
||||
}
|
||||
else { // 일반관리자 경우
|
||||
return "redirect:/cmm/main/mainPage.do";
|
||||
}
|
||||
}
|
||||
|
||||
@ -1602,6 +1610,12 @@ public class EgovLoginController {
|
||||
request.getSession().invalidate();
|
||||
return "redirect:/uat/uia/EgovLoginUsr.do";
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/uat/uia/actionLogoutCourt.do")
|
||||
public String selectActionLogoutCourt(HttpServletRequest request, ModelMap model, HttpServletResponse response) throws Exception {
|
||||
request.getSession().invalidate();
|
||||
return "redirect:/uat/uia/EgovLoginCourt.do";
|
||||
}
|
||||
|
||||
/**
|
||||
* (사용자)로그아웃한다.
|
||||
@ -2369,6 +2383,198 @@ public class EgovLoginController {
|
||||
return adjReqMgrVO;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* (관리자) 법원연계 조정위원 로그인 화면.
|
||||
*
|
||||
* @return String
|
||||
* @exception Exception
|
||||
*/
|
||||
@RequestMapping(value = "/uat/uia/EgovLoginCourt.do")
|
||||
public String EgovLoginCourt(HttpServletRequest request, HttpServletResponse response, ModelMap model) throws Exception {
|
||||
Boolean isAuthenticated = EgovUserDetailsHelper.isAuthenticated();
|
||||
//interceptor시 flashmap을 통해 파라미터 전달 받기
|
||||
Map<String, ?> flashMap = RequestContextUtils.getInputFlashMap(request);
|
||||
if(flashMap !=null) {
|
||||
System.out.println((String)flashMap.get("message"));
|
||||
model.addAttribute("message", (String)flashMap.get("message"));
|
||||
}
|
||||
|
||||
if (isAuthenticated)
|
||||
return "redirect:/cmm/main/mainPage.do";
|
||||
if (!isAuthenticated) {
|
||||
return "uat/uia/EgovLoginUsrCourt";
|
||||
}
|
||||
return "uat/uia/EgovLoginUsrCourt";
|
||||
}
|
||||
|
||||
/**
|
||||
* (관리자) 일반(스프링 시큐리티) 로그인을 처리한다(관리자)
|
||||
*
|
||||
* @param vo - 아이디, 비밀번호가 담긴 LoginVO
|
||||
* @param request - 세션처리를 위한 HttpServletRequest
|
||||
* @return result - 로그인결과(세션정보)
|
||||
* @exception Exception
|
||||
*/
|
||||
@RequestMapping(value = "/uat/uia/actionSecurityLoginCourt.do")
|
||||
public String selectActionSecurityLoginCourt(@ModelAttribute("loginVO") LoginVO loginVO, HttpServletResponse response, HttpServletRequest request, ModelMap model, HttpSession session)
|
||||
throws Exception {
|
||||
|
||||
Locale.setDefault(new Locale("ko", "Kr"));
|
||||
|
||||
// 로그인 정보 check
|
||||
if (loginVO.getId() == null || loginVO.getPassword() == null) { // 로그인 최초 화면 로딩
|
||||
return "uat/uia/EgovLoginUsrCourt";
|
||||
}
|
||||
|
||||
loginVO.setId(loginVO.getId());
|
||||
loginVO.setPassword(loginVO.getPassword());
|
||||
|
||||
// 사용자일 경우 로그인 안되게
|
||||
LoginVO loginInfo = loginService.getUserAuth(loginVO);
|
||||
String s_loginInfo_getAuthority = "";
|
||||
try {
|
||||
s_loginInfo_getAuthority = loginInfo.getAuthority();
|
||||
|
||||
}catch(Exception ex) {
|
||||
System.out.println(ex.getMessage());
|
||||
}
|
||||
|
||||
if (null == loginInfo) { // 아이디 없음.
|
||||
model.addAttribute("message", egovMessageSource.getMessage("fail.common.login"));
|
||||
return "uat/uia/EgovLoginUsrCourt";
|
||||
} else {
|
||||
if(!"ROLE_COURT_ADMIN".equals(s_loginInfo_getAuthority)){
|
||||
model.addAttribute("message", "법원연계 관리자만 로그인 가능합니다.");
|
||||
return "uat/uia/EgovLoginUsrCourt";
|
||||
}
|
||||
}
|
||||
|
||||
// 1. 로그인 처리
|
||||
LoginVO resultVO = loginService.actionLogin(loginVO);
|
||||
|
||||
//중복 호출 제거
|
||||
LoginVO loginGetUserAuth = loginService.getUserAuth(resultVO);
|
||||
|
||||
if (loginGetUserAuth != null) {
|
||||
resultVO.setAuthority(loginGetUserAuth.getAuthority());
|
||||
}
|
||||
|
||||
if (null == resultVO.getId()) { // 로그인 실패
|
||||
loginService.updatePassMissPlus(loginVO);
|
||||
model.addAttribute("message", egovMessageSource.getMessage("fail.common.login"));
|
||||
return "uat/uia/EgovLoginUsrCourt";
|
||||
} else {
|
||||
if (resultVO.getPassMiss() > 10) {
|
||||
model.addAttribute("message", "패스워드가 10회 이상 틀려 로그인 할수 없습니다. 관리자에게 문의하시기 바랍니다.");
|
||||
return "uat/uia/EgovLoginUsrCourt";
|
||||
} else { // 초기화
|
||||
loginService.updatePassMissReset(loginVO);
|
||||
}
|
||||
}
|
||||
|
||||
// 2. 허용IP조회
|
||||
boolean loginPolicyYn = false;
|
||||
|
||||
HttpServletRequest req = ((ServletRequestAttributes) RequestContextHolder.currentRequestAttributes()).getRequest();
|
||||
String userIp = EgovClntInfo.getClntIP(req);
|
||||
|
||||
/*
|
||||
* 관리자 로그인 유형 추가_240109
|
||||
* loginTypeCd
|
||||
* 001 : IP제어
|
||||
* 002 : OTP
|
||||
* 003 : 법원연계 로그인
|
||||
* */
|
||||
|
||||
// IP 제어 로그인
|
||||
if("001".equals(resultVO.getLoginTypeCd())) {
|
||||
|
||||
LoginPolicyVO loginPolicyVO = new LoginPolicyVO();
|
||||
loginPolicyVO.setIpInfo(userIp);
|
||||
|
||||
boolean ipCheck = false;
|
||||
List<LoginPolicyVO> loginPolicyGroupList = new ArrayList<LoginPolicyVO>();
|
||||
loginPolicyGroupList = egovLoginPolicyService.selectLoginGroupPolicyAll(loginPolicyVO);
|
||||
if (loginPolicyGroupList != null) {
|
||||
for (LoginPolicyVO tempPolicyVO : loginPolicyGroupList) {
|
||||
if (userIp.contains(tempPolicyVO.getIpInfo().trim())) {
|
||||
ipCheck = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!ipCheck) {
|
||||
model.addAttribute("message", egovMessageSource.getMessage("fail.common.login"));
|
||||
return "uat/uia/EgovLoginUsrCourt";
|
||||
}
|
||||
}
|
||||
|
||||
// resultVO.siteId 의 각 로그인 ip를 조회함
|
||||
if (resultVO != null && resultVO.getId() != null && !resultVO.getId().equals("")) {
|
||||
// 세션에다 ip 등록
|
||||
resultVO.setIp(userIp);
|
||||
// 2. spring security 연동
|
||||
|
||||
request.getSession().setAttribute("LoginVO", resultVO);
|
||||
|
||||
UsernamePasswordAuthenticationFilter springSecurity = new UsernamePasswordAuthenticationFilter();
|
||||
|
||||
ApplicationContext act = WebApplicationContextUtils.getRequiredWebApplicationContext(request.getSession().getServletContext());
|
||||
|
||||
Map<String, UsernamePasswordAuthenticationFilter> beans = act.getBeansOfType(UsernamePasswordAuthenticationFilter.class);
|
||||
|
||||
if (beans.size() > 0) {
|
||||
|
||||
springSecurity = (UsernamePasswordAuthenticationFilter) beans.values().toArray()[0];
|
||||
springSecurity.setUsernameParameter("egov_security_username");
|
||||
springSecurity.setPasswordParameter("egov_security_password");
|
||||
springSecurity.setRequiresAuthenticationRequestMatcher(new AntPathRequestMatcher(request.getServletContext().getContextPath() + "/egov_security_login", "POST"));
|
||||
|
||||
} else {
|
||||
throw new IllegalStateException("No AuthenticationProcessingFilter");
|
||||
}
|
||||
|
||||
springSecurity.doFilter(new RequestWrapperForSecurity(request, resultVO.getUserSe() + resultVO.getId(), resultVO.getUniqId()), response, null);
|
||||
{ // 관리자 로그인 log 저장
|
||||
String uniqId = "";
|
||||
String ip = "";
|
||||
|
||||
/* Authenticated */
|
||||
LoginLog loginLog = new LoginLog();
|
||||
Boolean isAuthenticated = EgovUserDetailsHelper.isAuthenticated();
|
||||
if (isAuthenticated.booleanValue()) {
|
||||
LoginVO user = (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser();
|
||||
uniqId = user.getUniqId();
|
||||
ip = EgovClntInfo.getClntIP(request);
|
||||
loginLog.setSiteId(user.getSiteId());
|
||||
HttpSession httpSession = request.getSession(true);
|
||||
{
|
||||
List<SiteManagerVO> siteManageList = new ArrayList<SiteManagerVO>();
|
||||
SiteManagerVO siteManagerVO = new SiteManagerVO();
|
||||
siteManagerVO.setFirstIndex(0);
|
||||
siteManagerVO.setRecordCountPerPage(100);
|
||||
siteManageList = egovSiteManagerService.selectSiteManagerList(siteManagerVO);
|
||||
httpSession.setAttribute("siteManageList", siteManageList);
|
||||
httpSession.setAttribute("adminId", user.getId());
|
||||
httpSession.setAttribute("loginId", user.getId()); // 자동완성 공통으로 쓰기위해
|
||||
httpSession.setAttribute("esntlId", user.getPassword());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return "blank"; // 성공 시 페이지.. (redirect 불가)
|
||||
// 개인키 삭제
|
||||
// return "blank"; // 성공 시 페이지.. (redirect 불가)
|
||||
|
||||
} else {
|
||||
model.addAttribute("message", egovMessageSource.getMessage("fail.common.login"));
|
||||
return "uat/uia/EgovLoginUsrCourt";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -67,13 +67,16 @@ public interface EgovUserManageService {
|
||||
* @throws Exception
|
||||
*/
|
||||
public int selectUserListTotCnt(UserDefaultVO userSearchVO) throws Exception;
|
||||
|
||||
public int selectUserCourtCnt(UserDefaultVO userSearchVO) throws Exception;
|
||||
|
||||
/**
|
||||
* 화면에 조회된 사용자의 기본정보를 수정하여 항목의 정합성을 체크하고 수정된 데이터를 데이터베이스에 반영
|
||||
* @param userManageVO 업무사용자 수정정보
|
||||
* @return
|
||||
* @throws Exception
|
||||
*/
|
||||
public void updateUser(UserManageVO userManageVO) throws Exception;
|
||||
public Boolean updateUser(UserManageVO userManageVO) throws Exception;
|
||||
|
||||
/**
|
||||
* 사용자정보 수정시 히스토리 정보를 추가
|
||||
|
||||
@ -186,6 +186,11 @@ public class EgovUserManageServiceImpl extends EgovAbstractServiceImpl implement
|
||||
public int selectUserListTotCnt(UserDefaultVO userSearchVO) {
|
||||
return userManageDAO.selectUserListTotCnt(userSearchVO);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int selectUserCourtCnt(UserDefaultVO userSearchVO) {
|
||||
return userManageDAO.selectUserCourtCnt(userSearchVO);
|
||||
}
|
||||
|
||||
/**
|
||||
* 화면에 조회된 사용자의 기본정보를 수정하여 항목의 정합성을 체크하고 수정된 데이터를 데이터베이스에 반영
|
||||
@ -193,12 +198,18 @@ public class EgovUserManageServiceImpl extends EgovAbstractServiceImpl implement
|
||||
* @throws Exception
|
||||
*/
|
||||
@Override
|
||||
public void updateUser(UserManageVO userManageVO) throws Exception {
|
||||
public Boolean updateUser(UserManageVO userManageVO) throws Exception {
|
||||
//패스워드 암호화
|
||||
String pass = EgovFileScrty.encryptPassword(userManageVO.getPassword(), userManageVO.getEmplyrId());
|
||||
userManageVO.setPassword(pass);
|
||||
|
||||
|
||||
int chkCourt_link_house_cnt = userManageDAO.selectUserCourtCnt(userManageVO);
|
||||
|
||||
if(chkCourt_link_house_cnt > 0) {
|
||||
return false;
|
||||
}
|
||||
userManageDAO.updateUser(userManageVO);
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -82,6 +82,10 @@ public class UserManageDAO extends EgovAbstractDAO{
|
||||
public int selectUserListTotCnt(UserDefaultVO userSearchVO) {
|
||||
return (Integer)select("userManageDAO.selectUserListTotCnt_S", userSearchVO);
|
||||
}
|
||||
|
||||
public int selectUserCourtCnt(UserDefaultVO userSearchVO) {
|
||||
return (Integer)select("userManageDAO.selectUser_Court", userSearchVO);
|
||||
}
|
||||
|
||||
/**
|
||||
* 화면에 조회된 사용자의 기본정보를 수정하여 항목의 정합성을 체크하고 수정된 데이터를 데이터베이스에 반영
|
||||
|
||||
@ -856,7 +856,13 @@ public class EgovUserManageController {
|
||||
}
|
||||
|
||||
userManageService.insertUserHistory(userManageVO);
|
||||
userManageService.updateUser(userManageVO);
|
||||
Boolean tOrF = userManageService.updateUser(userManageVO);
|
||||
if(!tOrF) {
|
||||
model.addAttribute("message", "이미 총괄 위원이 존재하는 연계법원입니다.");
|
||||
redirectAttributes.addFlashAttribute("message", "이미 총괄 위원이 존재하는 연계법원입니다.");
|
||||
return "redirect:/uss/umt/user/EgovUserManage.do";
|
||||
}
|
||||
|
||||
//권한업데이트
|
||||
egovAuthorGroupService.updateAuthorGroup(authorGroup);
|
||||
|
||||
|
||||
@ -2876,8 +2876,8 @@
|
||||
<!-- 첨부파일 ID Generation Strategy Config -->
|
||||
<bean name="courtStrategy"
|
||||
class="egovframework.rte.fdl.idgnr.impl.strategy.EgovIdGnrStrategyImpl">
|
||||
<property name="prefix" value="CURT_" />
|
||||
<property name="cipers" value="15" />
|
||||
<property name="prefix" value="CRT_" />
|
||||
<property name="cipers" value="16" />
|
||||
<property name="fillChar" value="0" />
|
||||
</bean>
|
||||
|
||||
|
||||
@ -3,9 +3,12 @@
|
||||
<!-- 조정신청 -->
|
||||
<sqlMap namespace="AdjCourtCnctn">
|
||||
<typeAlias alias="adjCourtCnctnVO" type="kcc.kccadr.adjCourtCnctn.service.AdjCourtCnctnVO"/>
|
||||
<typeAlias alias="adrCourtFileVO" type="kcc.com.cmm.service.AdrCourtFileVO"/>
|
||||
<typeAlias alias="adjCourtDeptVO" type="kcc.kccadr.adjCourtCnctn.service.AdjCourtDeptVO"/>
|
||||
|
||||
|
||||
|
||||
<select id="adjCourtCnctnDAO.adjCourtCnctnListCount" parameterClass="adjCourtCnctnVO" resultClass="Integer">
|
||||
<!-- <select id="adjCourtCnctnDAO.adjCourtCnctnListCount" parameterClass="adjCourtCnctnVO" resultClass="Integer">
|
||||
SELECT
|
||||
COUNT(1) AS TOT
|
||||
FROM
|
||||
@ -177,71 +180,274 @@
|
||||
|
||||
</select>
|
||||
|
||||
-->
|
||||
|
||||
<select id="adjCourtCnctnDAO.adjCourtCnctnList" parameterClass="adjCourtCnctnVO" resultClass="adjCourtCnctnVO">
|
||||
|
||||
SELECT a.crt_seq as crtSeq,
|
||||
a.crt_sn as crtSn,
|
||||
a.crt_ori_no as crtOriNo,
|
||||
a.crt_no as crtNo,
|
||||
a.crt_dcsn_de as crtDcsnDe,
|
||||
a.crt_rcpt_de as crtRcptDe,
|
||||
a.crt_allct_de as crtAllctDe,
|
||||
a.crt_rprt_de as crtRprtDe,
|
||||
a.crt_climnt_nm as crtClimntNm,
|
||||
a.crt_climnt_phone as crtClimntPhone,
|
||||
a.crt_climnt_agnt_nm as crtClimntAgntNm,
|
||||
a.crt_climnt_agt_phone as crtClimntAgtPhone,
|
||||
a.crt_climnt_info as crtClimntInfo,
|
||||
a.crt_dfndnt_nm as crtDfndntNm,
|
||||
a.crt_dfndnt_phone as crtDfndntPhone,
|
||||
a.crt_dfndnt_agnt_nm as crtDfndntAgntNm,
|
||||
a.crt_dfndnt_agnt_phone as crtDfndntAgntPhone,
|
||||
a.crt_dfndnt_info as crtDfndntInfo,
|
||||
a.crt_cn as crtCn,
|
||||
a.crt_atch_file_id as crtAtchFileId,
|
||||
a.crt_allct_ddl_de as crtAllctDdlDe,
|
||||
a.crt_cc_ty as crtCcTy,
|
||||
a.crt_link_house as crtLinkHouse,
|
||||
a.crt_stat_cd as crtStatCd,
|
||||
a.crt_agrment as crtAgrment,
|
||||
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_court_mgr a
|
||||
WHERE 1=1
|
||||
/*조정 사건번호*/
|
||||
<isEqual property="searchCondition" prepend="AND" compareValue="10">
|
||||
crt_ori_no LIKE CONCAT('%' , #searchKeyword#, '%')
|
||||
</isEqual>
|
||||
|
||||
/*본사건번호*/
|
||||
<isEqual property="searchCondition" prepend="AND" compareValue="20">
|
||||
crt_no LIKE CONCAT('%' , #searchKeyword#, '%')
|
||||
</isEqual>
|
||||
|
||||
/*날짜 검색 - 기간지정*/
|
||||
<isEqual property="searchMonth2" compareValue="99">
|
||||
<isNotEmpty prepend="AND" property="searchStartDt">
|
||||
TO_CHAR(crt_allct_de,'YYYYMMDD') <![CDATA[ >= ]]> REPLACE(#searchStartDt#, '-' , '')
|
||||
</isNotEmpty>
|
||||
|
||||
<isNotEmpty prepend="AND" property="searchEndDt">
|
||||
TO_CHAR(crt_allct_de,'YYYYMMDD')<![CDATA[ <= ]]> REPLACE(#searchEndDt#, '-' , '')
|
||||
</isNotEmpty>
|
||||
</isEqual>
|
||||
/*날짜 검색 - 1개월 전까지*/
|
||||
<!-- <isEqual property="searchMonth2" compareValue="1">
|
||||
<isNotEmpty prepend="AND" property="diffMonth">
|
||||
TO_CHAR(DCSN_DE,'YYYYMMDD') <![CDATA[ >= ]]> REPLACE(#diffMonth#, '-' , '')
|
||||
</isNotEmpty>
|
||||
</isEqual> -->
|
||||
/*날짜 검색 - 3개월 전까지*/
|
||||
<!-- <isEqual property="searchMonth2" compareValue="3">
|
||||
<isNotEmpty prepend="AND" property="diffMonth">
|
||||
TO_CHAR(DCSN_DE,'YYYYMMDD') <![CDATA[ >= ]]> REPLACE(#diffMonth#, '-' , '')
|
||||
</isNotEmpty>
|
||||
</isEqual> -->
|
||||
/*날짜 검색 - 6개월 전까지*/
|
||||
<!-- <isEqual property="searchMonth2" compareValue="6">
|
||||
<isNotEmpty prepend="AND" property="diffMonth">
|
||||
TO_CHAR(DCSN_DE,'YYYYMMDD') <![CDATA[ >= ]]> REPLACE(#diffMonth#, '-' , '')
|
||||
</isNotEmpty>
|
||||
</isEqual> -->
|
||||
|
||||
LIMIT #recordCountPerPage# OFFSET #firstIndex#
|
||||
</select>
|
||||
<select id="adjCourtCnctnDAO.adjCourtCnctnListCount" parameterClass="adjCourtCnctnVO" resultClass="Integer">
|
||||
SELECT
|
||||
COUNT(1) AS TOT
|
||||
FROM adr_court_mgr a
|
||||
WHERE 1=1
|
||||
/*조정 사건번호*/
|
||||
<isEqual property="searchCondition" prepend="AND" compareValue="10">
|
||||
crt_ori_no LIKE CONCAT('%' , #searchKeyword#, '%')
|
||||
</isEqual>
|
||||
|
||||
/*본사건번호*/
|
||||
<isEqual property="searchCondition" prepend="AND" compareValue="20">
|
||||
crt_no LIKE CONCAT('%' , #searchKeyword#, '%')
|
||||
</isEqual>
|
||||
|
||||
/*날짜 검색 - 기간지정*/
|
||||
<isEqual property="searchMonth2" compareValue="99">
|
||||
<isNotEmpty prepend="AND" property="searchStartDt">
|
||||
TO_CHAR(crt_allct_de,'YYYYMMDD') <![CDATA[ >= ]]> REPLACE(#searchStartDt#, '-' , '')
|
||||
</isNotEmpty>
|
||||
|
||||
<isNotEmpty prepend="AND" property="searchEndDt">
|
||||
TO_CHAR(crt_allct_de,'YYYYMMDD')<![CDATA[ <= ]]> REPLACE(#searchEndDt#, '-' , '')
|
||||
</isNotEmpty>
|
||||
</isEqual>
|
||||
/*날짜 검색 - 1개월 전까지*/
|
||||
<!-- <isEqual property="searchMonth2" compareValue="1">
|
||||
<isNotEmpty prepend="AND" property="diffMonth">
|
||||
TO_CHAR(DCSN_DE,'YYYYMMDD') <![CDATA[ >= ]]> REPLACE(#diffMonth#, '-' , '')
|
||||
</isNotEmpty>
|
||||
</isEqual> -->
|
||||
/*날짜 검색 - 3개월 전까지*/
|
||||
<!-- <isEqual property="searchMonth2" compareValue="3">
|
||||
<isNotEmpty prepend="AND" property="diffMonth">
|
||||
TO_CHAR(DCSN_DE,'YYYYMMDD') <![CDATA[ >= ]]> REPLACE(#diffMonth#, '-' , '')
|
||||
</isNotEmpty>
|
||||
</isEqual> -->
|
||||
/*날짜 검색 - 6개월 전까지*/
|
||||
<!-- <isEqual property="searchMonth2" compareValue="6">
|
||||
<isNotEmpty prepend="AND" property="diffMonth">
|
||||
TO_CHAR(DCSN_DE,'YYYYMMDD') <![CDATA[ >= ]]> REPLACE(#diffMonth#, '-' , '')
|
||||
</isNotEmpty>
|
||||
</isEqual> -->
|
||||
|
||||
LIMIT #recordCountPerPage# OFFSET #firstIndex#
|
||||
</select>
|
||||
|
||||
|
||||
<insert id="adjCourtCnctnDAO.insertCourtCnctn" parameterClass="adjCourtCnctnVO">
|
||||
INSERT INTO ADJ_COURT_CNCTN_MGR (
|
||||
COURT_SEQ
|
||||
, COURT_NUM
|
||||
, COURT_ORG_NO
|
||||
, COURT_NO
|
||||
, DCSN_DE
|
||||
, RCV_DE
|
||||
, ALCTN_DE
|
||||
, ALCTN_MONTH
|
||||
, OFFICE_WORK_DE
|
||||
, RPRT_DE
|
||||
, RPRT_MONTH
|
||||
, PROCESS_DAY
|
||||
, COURT_FLD
|
||||
, ACCDNT_CN
|
||||
, APLCN_INFO
|
||||
, RSPND_INFO
|
||||
, APLCN_DPTY
|
||||
, RSPND_DPTY
|
||||
, COURT_RSLT
|
||||
, COURT_DETAIL_RSLT
|
||||
, ADJ_CMSNR
|
||||
, PAY
|
||||
, APP_DE
|
||||
, PYMNT_DAY
|
||||
, EXTNS
|
||||
, RMRKS
|
||||
, USE_YN
|
||||
, FRST_REGIST_PNTTM
|
||||
, FRST_REGISTER_ID
|
||||
) VALUES (
|
||||
#courtSeq#
|
||||
, #courtNum#
|
||||
, #courtOrgNo#
|
||||
, #courtNo#
|
||||
,TO_DATETIME(TO_CHAR(#dcsnDe#,'YYYY-MM-DD'))
|
||||
,TO_DATETIME(TO_CHAR(#rcvDe#,'YYYY-MM-DD'))
|
||||
,TO_DATETIME(TO_CHAR(#alctnDe#,'YYYY-MM-DD'))
|
||||
, #alctnMonth#
|
||||
,TO_DATETIME(TO_CHAR(#officeWorkDe#,'YYYY-MM-DD'))
|
||||
,TO_DATETIME(TO_CHAR(#rprtDe#,'YYYY-MM-DD'))
|
||||
, #rprtMonth#
|
||||
, #processDay#
|
||||
, #courtFld#
|
||||
, #accdntCn#
|
||||
, #aplcnInfo#
|
||||
, #rspndInfo#
|
||||
, #aplcnDpty#
|
||||
, #rspndDpty#
|
||||
, #courtRslt#
|
||||
, #courtDetailRslt#
|
||||
, #adjCmsnr#
|
||||
, #pay#
|
||||
, #appDe#
|
||||
, #pymntDay#
|
||||
, #extns#
|
||||
, #rmrks#
|
||||
, 'Y'
|
||||
,NOW()
|
||||
,#frstRegisterId#
|
||||
)
|
||||
INSERT
|
||||
INTO adr_court_mgr
|
||||
(
|
||||
crt_seq,
|
||||
crt_sn,
|
||||
crt_ori_no,
|
||||
crt_no,
|
||||
crt_dcsn_de,
|
||||
crt_rcpt_de,
|
||||
crt_allct_de,
|
||||
crt_rprt_de,
|
||||
crt_climnt_nm,
|
||||
crt_climnt_phone,
|
||||
crt_climnt_agnt_nm,
|
||||
crt_climnt_agt_phone,
|
||||
crt_climnt_info,
|
||||
crt_dfndnt_nm,
|
||||
crt_dfndnt_phone,
|
||||
crt_dfndnt_agnt_nm,
|
||||
crt_dfndnt_agnt_phone,
|
||||
crt_dfndnt_info,
|
||||
crt_cn,
|
||||
crt_atch_file_id,
|
||||
crt_allct_ddl_de,
|
||||
crt_cc_ty,
|
||||
crt_link_house,
|
||||
crt_stat_cd,
|
||||
crt_agrment,
|
||||
frst_regist_pnttm,
|
||||
frst_register_id
|
||||
)
|
||||
VALUES
|
||||
(
|
||||
#crtSeq#,
|
||||
#crtSn#,
|
||||
#crtOriNo#,
|
||||
#crtNo#,
|
||||
TO_DATETIME(TO_CHAR(#crtDcsnDe#,'YYYY-MM-DD')) ,
|
||||
TO_DATETIME(TO_CHAR(#crtRcptDe#,'YYYY-MM-DD')) ,
|
||||
TO_DATETIME(TO_CHAR(#crtAllctDe#,'YYYY-MM-DD')) ,
|
||||
TO_DATETIME(TO_CHAR(#crtRprtDe#,'YYYY-MM-DD')) ,
|
||||
#crtClimntNm#,
|
||||
#crtClimntPhone#,
|
||||
#crtClimntAgntNm#,
|
||||
#crtClimntAgtPhone#,
|
||||
#crtClimntInfo#,
|
||||
#crtDfndntNm#,
|
||||
#crtDfndntPhone#,
|
||||
#crtDfndntAgntNm#,
|
||||
#crtDfndntAgntPhone#,
|
||||
#crtDfndntInfo#,
|
||||
#crtCn#,
|
||||
#crtAtchFileId#,
|
||||
TO_DATETIME(TO_CHAR(#crtAllctDdlDe#,'YYYY-MM-DD')) ,
|
||||
#crtCcTy#,
|
||||
#crtLinkHouse#,
|
||||
#crtStatCd#,
|
||||
#crtAgrment# ,
|
||||
NOW() ,
|
||||
#frstRegisterId#
|
||||
)
|
||||
</insert>
|
||||
|
||||
|
||||
<select id="adjCourtCnctnDAO.findByid" parameterClass="adjCourtCnctnVO" resultClass="adjCourtCnctnVO">
|
||||
|
||||
SELECT a.crt_seq AS crtSeq,
|
||||
a.crt_sn AS crtSn,
|
||||
a.crt_ori_no AS crtOriNo,
|
||||
a.crt_no AS crtNo,
|
||||
a.crt_dcsn_de AS crtDcsnDe,
|
||||
a.crt_rcpt_de AS crtRcptDe,
|
||||
a.crt_allct_de AS crtAllctDe,
|
||||
a.crt_rprt_de AS crtRprtDe,
|
||||
a.crt_climnt_nm AS crtClimntNm,
|
||||
a.crt_climnt_phone AS crtClimntPhone,
|
||||
a.crt_climnt_agnt_nm AS crtClimntAgntNm,
|
||||
a.crt_climnt_agt_phone AS crtClimntAgtPhone,
|
||||
a.crt_climnt_info AS crtClimntInfo,
|
||||
a.crt_dfndnt_nm AS crtDfndntNm,
|
||||
a.crt_dfndnt_phone AS crtDfndntPhone,
|
||||
a.crt_dfndnt_agnt_nm AS crtDfndntAgntNm,
|
||||
a.crt_dfndnt_agnt_phone AS crtDfndntAgntPhone,
|
||||
a.crt_dfndnt_info AS crtDfndntInfo,
|
||||
a.crt_cn AS crtCn,
|
||||
a.crt_atch_file_id AS crtAtchFileId,
|
||||
a.crt_allct_ddl_de AS crtAllctDdlDe,
|
||||
a.crt_cc_ty AS crtCcTy,
|
||||
a.crt_link_house AS crtLinkHouse,
|
||||
a.crt_stat_cd AS crtStatCd,
|
||||
a.crt_agrment AS crtAgrment,
|
||||
a.frst_regist_pnttm AS frstRegistPnttm,
|
||||
a.frst_register_id AS frstRegisterId,
|
||||
a.last_updt_pnttm AS lastUpdtPnttm,
|
||||
a.last_updusr_id AS lastUpdusrId,
|
||||
b.user_nm AS crtDeptKng,
|
||||
c.user_nm AS crtDeptOrdi
|
||||
FROM adr_court_mgr a
|
||||
LEFT JOIN
|
||||
(SELECT t1.crt_seq,
|
||||
t1.esntl_id,
|
||||
t1.crt_dept_ty,
|
||||
t2.user_nm
|
||||
FROM adr_court_dept_mgr t1
|
||||
LEFT JOIN lettnemplyrinfo t2
|
||||
ON t1.esntl_id = t2.esntl_id
|
||||
WHERE t1.crt_dept_ty = '10'
|
||||
)
|
||||
b
|
||||
ON a.crt_seq = b.crt_seq
|
||||
LEFT JOIN
|
||||
(SELECT t1.crt_seq,
|
||||
GROUP_CONCAT(t1.esntl_id SEPARATOR ',') AS esntl_id,
|
||||
t1.crt_dept_ty,
|
||||
GROUP_CONCAT(t2.user_nm SEPARATOR ',') AS user_nm
|
||||
FROM adr_court_dept_mgr t1
|
||||
LEFT JOIN lettnemplyrinfo t2
|
||||
ON t1.esntl_id = t2.esntl_id
|
||||
WHERE t1.crt_dept_ty = '20'
|
||||
GROUP BY t1.crt_seq
|
||||
)
|
||||
c
|
||||
ON a.crt_seq = c.crt_seq
|
||||
WHERE a.crt_seq = #crtSeq#
|
||||
</select>
|
||||
|
||||
<select id="adjCourtCnctnDAO.selectAdjCourtCnctniFileList" parameterClass="adjCourtCnctnVO" resultClass="adjCourtCnctnVO">
|
||||
SELECT a.crt_seq AS crtSeq,
|
||||
a.crt_sn AS crtSn,
|
||||
a.crt_atch_file_id AS crtAtchFileId,
|
||||
b.crt_atch_file_ty AS crtAtchFileTy,
|
||||
c.atch_file_id AS atchFileId,
|
||||
c.file_sn AS fileSn,
|
||||
b.frst_regist_pnttm as frstRegistPnttm,
|
||||
c.orignl_file_nm AS orignlFileNm
|
||||
FROM adr_court_mgr a
|
||||
LEFT JOIN adr_court_doc_mgr b
|
||||
ON a.crt_seq = b.crt_seq
|
||||
LEFT JOIN lettnfiledetail c
|
||||
ON c.atch_file_id = b.crt_atch_file_id
|
||||
WHERE a.crt_seq = #crtSeq#
|
||||
</select>
|
||||
<!--
|
||||
<update id="adjCourtCnctnDAO.updateCourtCnctn" parameterClass="adjCourtCnctnVO">
|
||||
UPDATE ADJ_COURT_CNCTN_MGR SET
|
||||
COURT_NUM = #courtNum#
|
||||
@ -282,6 +488,95 @@
|
||||
where
|
||||
COURT_SEQ = #courtSeq#
|
||||
|
||||
</update> -->
|
||||
|
||||
<update id="adjCourtCnctnDAO.saveFromAdrCourtDeptMgr" parameterClass="adjCourtDeptVO">
|
||||
/* adjCourtCnctnDAO.saveFromAdrCourtDeptMgr */
|
||||
|
||||
MERGE INTO ADR_COURT_DEPT_MGR T1 USING DB_ROOT
|
||||
ON (
|
||||
T1.CRT_SEQ = #crtSeq#
|
||||
AND T1.ESNTL_ID = #esntlId#
|
||||
)
|
||||
WHEN MATCHED THEN
|
||||
UPDATE SET
|
||||
CRT_SEQ = #crtSeq#
|
||||
, ESNTL_ID = #esntlId#
|
||||
, CRT_DEPT_TY = #pstinstCode#
|
||||
, LAST_UPDT_PNTTM = NOW()
|
||||
, LAST_UPDUSR_ID = #lastUpdusrId#
|
||||
WHEN NOT MATCHED THEN
|
||||
INSERT (
|
||||
CRT_SEQ
|
||||
, ESNTL_ID
|
||||
, CRT_DEPT_TY
|
||||
, FRST_REGIST_PNTTM
|
||||
, FRST_REGISTER_ID
|
||||
) VALUES (
|
||||
#crtSeq#
|
||||
, #esntlId#
|
||||
, #pstinstCode#
|
||||
, NOW()
|
||||
, #frstRegisterId#
|
||||
)
|
||||
|
||||
</update>
|
||||
|
||||
<insert id="adjCourtCnctnDAO.insertCourtFileInf" parameterClass="adrCourtFileVO">
|
||||
INSERT
|
||||
INTO adr_court_doc_mgr
|
||||
(
|
||||
crt_atch_file_id,
|
||||
crt_seq,
|
||||
crt_sn,
|
||||
crt_atch_file_ty,
|
||||
frst_regist_pnttm,
|
||||
frst_register_id
|
||||
)
|
||||
VALUES
|
||||
(
|
||||
#crtAtchFileId# ,
|
||||
#crtSeq# ,
|
||||
#crtSn# ,
|
||||
#crtAtchFileTy# ,
|
||||
now() ,
|
||||
#frstRegisterId#
|
||||
)
|
||||
</insert>
|
||||
|
||||
<insert id="adjCourtCnctnDAO.insertCourtDept" parameterClass="adjCourtDeptVO">
|
||||
INSERT
|
||||
INTO adr_court_dept_mgr
|
||||
(
|
||||
crt_seq,
|
||||
esntl_id,
|
||||
crt_dept_ty,
|
||||
crt_atch_file_id,
|
||||
crt_allwanc,
|
||||
crt_pay_de,
|
||||
crt_reciv_accnt,
|
||||
frst_regist_pnttm,
|
||||
frst_register_id
|
||||
)
|
||||
SELECT #crtSeq# ,
|
||||
a.esntl_id ,
|
||||
#crtDeptTy#,
|
||||
#crtAtchFileId# ,
|
||||
#crtAllwanc# ,
|
||||
#crtPayDe# ,
|
||||
#crtRecivAccnt# ,
|
||||
NOW() ,
|
||||
#frstRegisterId#
|
||||
FROM lettnemplyrinfo a
|
||||
WHERE a.pstinst_code = #crtLinkHouse#
|
||||
</insert>
|
||||
|
||||
<select id="adjCourtCnctnDAO.selectAdjCourtCnctniDeptPop" resultClass="adjCourtDeptVO">
|
||||
SELECT a.emplyr_id AS emplyrId,
|
||||
a.user_nm AS userNm,
|
||||
a.esntl_id AS esntlId,
|
||||
a.pstinst_code AS pstinstCode
|
||||
FROM lettnemplyrinfo a
|
||||
WHERE a.pstinst_code = '20';
|
||||
</select>
|
||||
</sqlMap>
|
||||
|
||||
@ -368,6 +368,12 @@
|
||||
]]>
|
||||
</select>
|
||||
|
||||
<select id="userManageDAO.selectUser_Court" parameterClass="userVO" resultClass="int">
|
||||
SELECT COUNT(1)
|
||||
FROM lettnemplyrinfo a
|
||||
WHERE a.pstinst_code = #insttCode#
|
||||
</select>
|
||||
|
||||
<update id="userManageDAO.updateUser_S">
|
||||
UPDATE LETTNEMPLYRINFO
|
||||
SET EMPLYR_ID = #emplyrId# ,
|
||||
|
||||
@ -68,6 +68,12 @@
|
||||
<pattern>*/web/kccadr/pdf/pdfview.do*</pattern>
|
||||
<pattern>/web/com/popup/quickWrapGlossaryPop*.do*</pattern>
|
||||
|
||||
<pattern>*/uat/uia/EgovLoginCourt.do*</pattern>
|
||||
|
||||
<pattern>*/uat/uia/actionSecurityLoginCourt.do*</pattern>
|
||||
|
||||
<pattern>*/kccadr/adjCourtCnctn/*Tab*</pattern><!-- 팝업 적용안함 -->
|
||||
|
||||
</excludes>
|
||||
|
||||
<decorator name="adminlayout" page="/WEB-INF/jsp/layout/adminLayout.jsp">
|
||||
|
||||
@ -81,16 +81,29 @@ $( document ).ready(function(){
|
||||
});
|
||||
|
||||
function authorChange(obj) {
|
||||
if(obj.selectedIndex == '0'){
|
||||
var author = $("[name='authorCode'] option:selected").val();
|
||||
if(author == 'ROLE_ADR_ADMIN'){
|
||||
$("#rank1").css('display', 'block');
|
||||
$("#rank2").css('display', 'none');
|
||||
$("#rank1").attr('disabled', false);
|
||||
$("#rank2").css('display', 'none');
|
||||
$("#rank2").attr('disabled', true);
|
||||
}else{
|
||||
$("#rank1").css('display', 'none');
|
||||
$("#rank2").css('display', 'block');
|
||||
$("#rank3").css('display', 'none');
|
||||
$("#rank3").attr('disabled', true);
|
||||
}else if(author == 'ROLE_COURT_ADMIN'){
|
||||
$("#rank1").css('display', 'none');;
|
||||
$("#rank1").attr('disabled', true);
|
||||
$("#rank2").css('display', 'none');
|
||||
$("#rank2").attr('disabled', true);
|
||||
$("#rank3").css('display', 'block');
|
||||
$("#rank3").attr('disabled', false);
|
||||
}
|
||||
else{
|
||||
$("#rank1").css('display', 'none');
|
||||
$("#rank1").attr('disabled', true);
|
||||
$("#rank2").css('display', 'block');
|
||||
$("#rank2").attr('disabled', false);
|
||||
$("#rank3").css('display', 'none');
|
||||
$("#rank3").attr('disabled', true);
|
||||
}
|
||||
}
|
||||
|
||||
@ -518,6 +531,10 @@ function wrapWindowByMask(){
|
||||
<select name="ofcpsNm" title="직급" id="rank2" style="display:none;" disabled="disabled">
|
||||
<option value="admin">시스템관리자</option>
|
||||
</select>
|
||||
<select name="ofcpsNm" title="직급" id="rank3" style="display:none;" disabled="disabled">
|
||||
<option value="80">법원연계 조정위원</option>
|
||||
<option value="90">법원연계 총괄조정위원</option>
|
||||
</select>
|
||||
</td>
|
||||
<%-- <td colspan="3">
|
||||
<form:input path="ofcpsNm" id="ofcpsNm" cssClass="txaIpt" size="50" maxlength="15" placeholder="" />
|
||||
|
||||
@ -18,6 +18,7 @@
|
||||
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||
<%@ taglib prefix="double-submit" uri="http://www.egovframe.go.kr/tags/double-submit/jsp" %>
|
||||
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
|
||||
@ -25,6 +26,12 @@
|
||||
<meta name="viewport" content="user-scalable=no, initial-scale=1.0,maximum-scale=1.0, minimum-scale=1.0, width=device-width" />
|
||||
<title>사용자 목록</title>
|
||||
<script type="text/javaScript" language="javascript" defer="defer">
|
||||
|
||||
$( document ).ready(function(){
|
||||
<c:if test="${!empty message}">
|
||||
alert('${message}');
|
||||
</c:if>
|
||||
});
|
||||
function fnCheckAll(){
|
||||
var checkField = document.listForm.checkField;
|
||||
if(document.listForm.checkAll.checked) {
|
||||
@ -253,7 +260,7 @@ function userListExcelDownload(){
|
||||
</td> --%>
|
||||
|
||||
<td>
|
||||
<c:set var="ofcpsNm" value="" />
|
||||
<%-- <c:set var="ofcpsNm" value="" />
|
||||
<c:if test="${result.ofcpsNm eq '10'}">
|
||||
<c:set var="ofcpsNm" value="조정조사관" />
|
||||
</c:if>
|
||||
@ -269,7 +276,13 @@ function userListExcelDownload(){
|
||||
<c:if test="${result.ofcpsNm eq 'admin'}">
|
||||
<c:set var="ofcpsNm" value="시스템관리자" />
|
||||
</c:if>
|
||||
<p class="privateInfo"><c:out value="${ofcpsNm}"/></p>
|
||||
<c:if test="${result.ofcpsNm eq '80'}">
|
||||
<c:set var="ofcpsNm" value="법원연계 조정위원" />
|
||||
</c:if> --%>
|
||||
|
||||
<span class="privateInfo">
|
||||
<kc:code codeId="CC401" code="${result.ofcpsNm}"/>
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<c:out value="${result.offmTelno}"/>
|
||||
|
||||
@ -61,24 +61,13 @@ $( document ).ready(function(){
|
||||
|
||||
} */
|
||||
|
||||
//직급 셀렉트박스 설정
|
||||
if("${userManageVO.authorCode}" == "ROLE_ADR_ADMIN"){
|
||||
$("#rank1").css('display', 'block');
|
||||
$("#rank2").css('display', 'none');
|
||||
$("#rank1").attr('disabled', false);
|
||||
$("#rank2").attr('disabled', true);
|
||||
// $("#rank1").val("${userManageVO.ofcpsNm}").prop("selected", true);
|
||||
}else{
|
||||
$("#rank1").css('display', 'none');
|
||||
$("#rank2").css('display', 'block');
|
||||
$("#rank1").attr('disabled', true);
|
||||
$("#rank2").attr('disabled', false);
|
||||
}
|
||||
|
||||
//첨부파일 버튼 처리
|
||||
$("#filebutton").click(function(){
|
||||
$("#file_temp").trigger("click");
|
||||
});
|
||||
|
||||
authorChange();
|
||||
authorChangeCourt();
|
||||
});
|
||||
|
||||
function setOrgDepth_01(){
|
||||
@ -354,16 +343,49 @@ function nCheck2(){
|
||||
}
|
||||
|
||||
function authorChange(obj) {
|
||||
if(obj.selectedIndex == '0'){
|
||||
var author = $("[name='authorCode'] option:selected").val();
|
||||
if(author == 'ROLE_ADR_ADMIN'){
|
||||
$("#rank1").css('display', 'block');
|
||||
$("#rank2").css('display', 'none');
|
||||
$("#rank1").attr('disabled', false);
|
||||
$("#rank2").css('display', 'none');
|
||||
$("#rank2").attr('disabled', true);
|
||||
}else{
|
||||
$("#rank1").css('display', 'none');
|
||||
$("#rank2").css('display', 'block');
|
||||
$("#rank3").css('display', 'none');
|
||||
$("#rank3").attr('disabled', true);
|
||||
$("#rank4").css('display', 'none');
|
||||
$("#rank4").attr('disabled', true)
|
||||
|
||||
}else if(author == 'ROLE_COURT_ADMIN'){
|
||||
$("#rank1").css('display', 'none');;
|
||||
$("#rank1").attr('disabled', true);
|
||||
$("#rank2").css('display', 'none');
|
||||
$("#rank2").attr('disabled', true);
|
||||
$("#rank3").css('display', 'block');
|
||||
$("#rank3").attr('disabled', false);
|
||||
if($('#rank3').val() == '90'){
|
||||
$("#rank4").css('display', '');
|
||||
$("#rank4").attr('disabled', false);
|
||||
}
|
||||
}
|
||||
else{
|
||||
$("#rank1").css('display', 'none');
|
||||
$("#rank1").attr('disabled', true);
|
||||
$("#rank2").css('display', 'block');
|
||||
$("#rank2").attr('disabled', false);
|
||||
$("#rank3").css('display', 'none');
|
||||
$("#rank3").attr('disabled', true);
|
||||
$("#rank4").css('display', 'none');
|
||||
$("#rank4").attr('disabled', true)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function authorChangeCourt(){
|
||||
if($('#rank3').val() == '90'){
|
||||
$("#rank4").css('display', '');
|
||||
$("#rank4").attr('disabled', false);
|
||||
}else{
|
||||
$("#rank4").css('display', 'none');
|
||||
$("#rank4").attr('disabled', true);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@ -472,9 +494,17 @@ function authorChange(obj) {
|
||||
<select name="ofcpsNm" title="직급" id="rank2" >
|
||||
<option value="admin">시스템관리자</option>
|
||||
</select>
|
||||
|
||||
<%-- <form:input path="ofcpsNm" id="ofcpsNm" cssClass="txaIpt" size="50" maxlength="15" placeholder="" />
|
||||
<form:errors path="ofcpsNm" cssClass="error" /> --%>
|
||||
|
||||
<select name="ofcpsNm" title="직급" id="rank3" style="display:none;" disabled="disabled" onchange="authorChangeCourt(this)">
|
||||
<option value="80" <c:if test="${userManageVO.ofcpsNm eq '80'}">selected</c:if>>법원연계 조정위원</option>
|
||||
<option value="90" <c:if test="${userManageVO.ofcpsNm eq '90'}">selected</c:if>>법원연계 총괄조정위원</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="rank4">
|
||||
<th>연계법원</th>
|
||||
<td colspan="3">
|
||||
<kc:select codeId="CC701" id="insttCode" name="insttCode" selectedValue="${userManageVO.insttCode}"/>
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
@ -615,7 +645,8 @@ function authorChange(obj) {
|
||||
<button class="btnType04" onclick="fnDeleteUser('<c:out value='${userManageVO.userTy}'/>:<c:out value='${userManageVO.uniqId}'/>'); return false;">삭 제</button>
|
||||
</c:if>
|
||||
<button class="btnType06" onclick="javascript:fnUpdates(); return false;">수 정</button>
|
||||
<button class="btnType03" onclick="fnListPage(); return false;">목 록</button>
|
||||
<!-- <button class="btnType03" onclick="fnListPage(); return false;">목 록</button> -->
|
||||
<button class="btnType03" onclick="history.go(-3);">목 록</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //btn_wrap -->
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,250 +1,105 @@
|
||||
<%@ page contentType="text/html; charset=utf-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<%@ 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="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="spring" uri="http://www.springframework.org/tags" %>
|
||||
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
|
||||
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
|
||||
<%@ taglib prefix="double-submit" uri="http://www.egovframe.go.kr/tags/double-submit/jsp" %>
|
||||
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<meta http-equiv="Content-Language" content="ko" >
|
||||
<title>법원연계조정관리 - 상세</title>
|
||||
<title>조정진행 상세</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<script src="/kccadrPb/usr/script/popup.js"></script>
|
||||
<script type="text/javaScript" language="javascript">
|
||||
$(document).ready(function() {
|
||||
$("#tabNav > button").on("click", function(e) {
|
||||
var idx = $(this).index();
|
||||
|
||||
$(document).ready(function(){
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("adjCourtCnctnDetail", "div.cont", "R");
|
||||
});
|
||||
tabPageLoad(idx);
|
||||
});
|
||||
tabPageLoad(parseInt('${courtVO.tabSeq}'));
|
||||
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("crtDetail", "div.cont", "R");
|
||||
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
function tabPageLoad(idx) {
|
||||
|
||||
var url = getPageUrl(idx);
|
||||
|
||||
//목록 이동
|
||||
function fn_GoList(){
|
||||
var goListForm = document.goListForm ;
|
||||
goListForm.submit();
|
||||
}
|
||||
$('#tabContent').load(url, {
|
||||
"crtSeq" : $("#crtSeq").val()
|
||||
}, function(res, status, xhr) {
|
||||
console.log(status);
|
||||
});
|
||||
}
|
||||
function getPageUrl(idx) {
|
||||
console.log('idx : ', idx);
|
||||
switch (idx) {
|
||||
case 0:
|
||||
return '/kccadr/adjCourtCnctn/adjCourtCnctnDetailTab0.do';
|
||||
case 1:
|
||||
return '/kccadr/adjCourtCnctn/adjCourtCnctnDetailTab1.do';
|
||||
}
|
||||
}
|
||||
|
||||
//수정 화면으로 이동
|
||||
function fn_modyfi(){
|
||||
var goModifyForm = document.goModifyForm ;
|
||||
goModifyForm.submit();
|
||||
}
|
||||
function fncGoList(pageNo) {
|
||||
var listForm = document.listForm;
|
||||
listForm.action = "<c:url value='/web/kccadr/adjcclt/ai/adjstConciliatorList.do'/>";
|
||||
|
||||
listForm.submit();
|
||||
}
|
||||
|
||||
function fn_egov_downFile(atchFileId, fileSn) {
|
||||
window.open("<c:url value='/cmm/fms/FileDown.do?atchFileId=" + atchFileId + "&fileSn=" + fileSn + "'/>");
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.btn_layout01 .area_left,.btn_layout01 .area_right{width: auto}
|
||||
<style type="text/css">
|
||||
.wrap {min-width:1660px;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<c:url var="list_url" value="/kccadr/adjCourtCnctn/adjCourtCnctnList.do" />
|
||||
<c:url var="modify_url" value="/kccadr/adjCourtCnctn/adjCourtCnctnModify.do" />
|
||||
<form id="goListForm" name="goListForm" method="post" action="${list_url }">
|
||||
<input type="hidden" name="searchKeyword" value=""/>
|
||||
<input type="hidden" name="pageIndex" value="<c:out value='${courtVO.pageIndex}'/>"/>
|
||||
<input type="hidden" name="searchSortCnd" value="<c:out value="${courtVO.searchSortCnd}" />" />
|
||||
<input type="hidden" name="searchSortOrd" value="<c:out value="${courtVO.searchSortOrd}" />" />
|
||||
<input type="hidden" name="pageUnit" value="<c:out value="${courtVO.pageUnit}" />" />
|
||||
</form>
|
||||
<form id="goModifyForm" name="goModifyForm" method="post" action="${modify_url }">
|
||||
<input type="hidden" name="courtSeq" value="<c:out value="${courtVO.courtSeq}" />" />
|
||||
</form>
|
||||
|
||||
<div class="cont_wrap">
|
||||
<div class="box">
|
||||
<!-- cont_tit -->
|
||||
<div class="cont_tit">
|
||||
<h2>법원연계조정상세</h2>
|
||||
<ul class="cont_nav">
|
||||
<li class="home"><a href="/"><i></i></a></li>
|
||||
<li>
|
||||
<p>법원연계조정관리</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>법원연계조정목록</p>
|
||||
</li>
|
||||
<li><span class="cur_nav">법원연계조정상세</span></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- //cont_tit -->
|
||||
|
||||
|
||||
<form id="cnctnForm" name="cnctnForm" method="post">
|
||||
<div class="cont">
|
||||
<!-- //cont_tit -->
|
||||
<div class="tab_cont on">
|
||||
<p class="tb_tit">조정 사건</p>
|
||||
<div class="tbType02">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 17%;">
|
||||
<col style="width: 35%;">
|
||||
<col style="width: 17%;">
|
||||
<col style="width: 35%;">
|
||||
</colgroup>
|
||||
<tbody class="border_0">
|
||||
<tr>
|
||||
<th>번호</th>
|
||||
<td>
|
||||
<c:out value="${courtVO.courtNum }" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>결정일자</th>
|
||||
<td>
|
||||
<c:out value="${courtVO.dcsnDe }" />
|
||||
</td>
|
||||
<th>수령일자</th>
|
||||
<td>
|
||||
<c:out value="${courtVO.rcvDe }" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>배당일자</th>
|
||||
<td>
|
||||
<c:out value="${courtVO.alctnDe }" />
|
||||
</td>
|
||||
<th>배당월</th>
|
||||
<td>
|
||||
<c:out value="${courtVO.alctnMonth}월" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>사무처리기한</th>
|
||||
<td>
|
||||
<c:out value="${courtVO.officeWorkDe }" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>보고일자</th>
|
||||
<td>
|
||||
<c:out value="${courtVO.rprtDe }" />
|
||||
</td>
|
||||
<th>보고월</th>
|
||||
<td>
|
||||
<c:out value="${courtVO.rprtMonth}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>소요일</th>
|
||||
<td>
|
||||
<c:out value="${courtVO.processDay}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>본 사건번호</th>
|
||||
<td>
|
||||
<c:out value="${courtVO.courtOrgNo }" />
|
||||
</td>
|
||||
<th>조정 사건번호</th>
|
||||
<td>
|
||||
<c:out value="${courtVO.courtNo }" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>분야</th>
|
||||
<td>
|
||||
<c:out value="${courtVO.courtFld }" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="height: 100px;">
|
||||
<th>신청인 정보</th>
|
||||
<td colspan="3">
|
||||
<c:out value="${courtVO.aplcnInfo }" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="height: 100px;">
|
||||
<th>피신청인 정보</th>
|
||||
<td colspan="3">
|
||||
<c:out value="${courtVO.rspndInfo }" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="height: 100px;">
|
||||
<th>원고/<br />신청인(대리인)</th>
|
||||
<td colspan="3">
|
||||
<c:out value="${courtVO.aplcnDpty }" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="height: 100px;">
|
||||
<th>피고/<br />피신청인(대리인)</th>
|
||||
<td colspan="3">
|
||||
<c:out value="${courtVO.rspndDpty }" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="height: 200px;">
|
||||
<th>사건내용</th>
|
||||
<td colspan="3">
|
||||
<c:out value="${courtVO.accdntCn }" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>결과</th>
|
||||
<td>
|
||||
<c:out value="${courtVO.courtRslt }" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="height: 200px;">
|
||||
<th>세부결과</th>
|
||||
<td colspan="3">
|
||||
<c:out value="${courtVO.courtDetailRslt }" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>조정위원</th>
|
||||
<td>
|
||||
<c:out value="${courtVO.adjCmsnr }" />
|
||||
</td>
|
||||
<th>수당금액</th>
|
||||
<td>
|
||||
<c:out value="${courtVO.pay }" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>대면기일</th>
|
||||
<td colspan="3">
|
||||
<c:out value="${courtVO.appDe }" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>지급일자</th>
|
||||
<td>
|
||||
<c:out value="${courtVO.pymntDay }" />
|
||||
</td>
|
||||
<th>1차연장</th>
|
||||
<td>
|
||||
<c:out value="${courtVO.extns }" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="height: 200px;">
|
||||
<th>비고</th>
|
||||
<td colspan="3">
|
||||
<c:out value="${courtVO.rmrks }" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="btn_wrap btn_layout01">
|
||||
<div class="area_left"></div>
|
||||
<div class="area_right">
|
||||
<button type="button" class="btnType06" onclick="fn_modyfi(); return false;">수정</button>
|
||||
<button type="button" class="btnType03" onclick="fn_GoList(); return false;">목록</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<form:form id="listForm" name="listForm" commandName="courtVO" onsubmit="return false;" method="post">
|
||||
<input type="hidden" id="crtSeq" name="crtSeq" value="<c:out value="${courtVO.crtSeq}" />" />
|
||||
<input type="hidden" id="crtSn" name="crtSn" value="<c:out value="${courtVO.crtSn}" />" />
|
||||
</form:form>
|
||||
<div class="cont_wrap">
|
||||
<div class="box">
|
||||
<!-- cont_tit -->
|
||||
<div class="cont_tit">
|
||||
<h2>법원연계조정 상세</h2>
|
||||
<ul class="cont_nav">
|
||||
<li class="home">
|
||||
<a href="/"><i></i></a>
|
||||
</li>
|
||||
<li>
|
||||
<>법원연계조정 관리</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>법원연계조정 목록</p>
|
||||
</li>
|
||||
<li>
|
||||
<span class="cur_nav">법원연계조정 상세</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- //cont_tit -->
|
||||
<div class="cont">
|
||||
<div id="tabNav" class="tab_btn tab02">
|
||||
<button class="tab ${courtVO.tabSeq eq '0' ? 'on' : ''}">사건일반</button>
|
||||
<button class="tab ${courtVO.tabSeq eq '1' ? 'on' : ''}">사건문서</button>
|
||||
<%-- <button class="tab ${apmVO.tabSeq eq '2' ? 'on' : ''}">진행정보</button> --%>
|
||||
</div>
|
||||
<div id="tabContent" class="tab_cont on"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
@ -0,0 +1,231 @@
|
||||
<%@ 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="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
|
||||
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
|
||||
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
|
||||
<%@ taglib prefix="double-submit" uri="http://www.egovframe.go.kr/tags/double-submit/jsp" %>
|
||||
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Language" content="ko" >
|
||||
<title>법원연계조정관리 - 상세</title>
|
||||
<script type="text/javaScript" language="javascript">
|
||||
|
||||
$(document).ready(function(){
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("adjCourtCnctnDetail", "div.cont", "R");
|
||||
|
||||
|
||||
});
|
||||
|
||||
function StringToDate(date, n) {
|
||||
let yyyy = date.substring(0, 4);
|
||||
let mm = date.substring(5, 7);
|
||||
let dd = date.substring(8, 10);
|
||||
mm = Number(mm) - 1;
|
||||
|
||||
let stringNewDate = new Date(yyyy, mm, dd);
|
||||
stringNewDate.setDate(stringNewDate.getDate() + n);
|
||||
|
||||
return stringNewDate.getFullYear() +
|
||||
"-" + ((stringNewDate.getMonth() + 1) > 9 ? (stringNewDate.getMonth() + 1).toString() : "0" + (stringNewDate.getMonth() + 1)) +
|
||||
"-" + (stringNewDate.getDate() > 9 ? stringNewDate.getDate().toString() : "0" + stringNewDate.getDate().toString());
|
||||
}
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
function admin_fn_check_authority_ret(p_param){
|
||||
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
|
||||
}
|
||||
|
||||
//목록 이동
|
||||
function fn_GoList(){
|
||||
var goListForm = document.goListForm ;
|
||||
goListForm.submit();
|
||||
}
|
||||
|
||||
//수정 화면으로 이동
|
||||
function fn_modyfi(){
|
||||
var goModifyForm = document.goModifyForm ;
|
||||
goModifyForm.submit();
|
||||
}
|
||||
|
||||
function DeptPop(){
|
||||
commonPopWindowopenForm("/kccadr/adjCourtCnctn/popup/adjCourtCnctnDeptPop.do", "650", "400", "srcDept", $("#popForm"));
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.btn_layout01 .area_left,.btn_layout01 .area_right{width: auto}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<c:url var="list_url" value="/kccadr/adjCourtCnctn/adjCourtCnctnList.do" />
|
||||
<c:url var="modify_url" value="/kccadr/adjCourtCnctn/adjCourtCnctnModify.do" />
|
||||
<form id="goListForm" name="goListForm" method="post" action="${list_url }">
|
||||
<input type="hidden" name="searchKeyword" value=""/>
|
||||
<input type="hidden" name="pageIndex" value="<c:out value='${courtVO.pageIndex}'/>"/>
|
||||
<input type="hidden" name="searchSortCnd" value="<c:out value="${courtVO.searchSortCnd}" />" />
|
||||
<input type="hidden" name="searchSortOrd" value="<c:out value="${courtVO.searchSortOrd}" />" />
|
||||
<input type="hidden" name="pageUnit" value="<c:out value="${courtVO.pageUnit}" />" />
|
||||
</form>
|
||||
<form id="goModifyForm" name="goModifyForm" method="post" action="${modify_url }">
|
||||
<input type="hidden" name="crtSeq" value="<c:out value="${courtVO.crtSeq}" />" />
|
||||
</form>
|
||||
<form id="popForm" name="popForm method=""post">
|
||||
<input type="hidden" name="crtSeq" value="<c:out value="${courtVO.crtSeq}" />" />
|
||||
</form>
|
||||
|
||||
|
||||
<form id="cnctnForm" name="cnctnForm" method="post" enctype="multipart/form-data">
|
||||
<input type="hidden" name="limitcount" value="10" />
|
||||
<input type="hidden" name="CrtSn" value="1"/>
|
||||
<!-- //cont_tit -->
|
||||
<div class="tab_cont on">
|
||||
<p class="tb_tit">조정 사건</p>
|
||||
<div class="tbType02">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 17%;">
|
||||
<col style="width: 35%;">
|
||||
<col style="width: 17%;">
|
||||
<col style="width: 35%;">
|
||||
</colgroup>
|
||||
<tbody class="border_0">
|
||||
<tr>
|
||||
<th>결정일자</th>
|
||||
<td>
|
||||
<c:out value="${fn:substring(courtVO.crtDcsnDe, 0, 10)}"/>
|
||||
</td>
|
||||
<th>수령일자</th>
|
||||
<td>
|
||||
<c:out value="${fn:substring(courtVO.crtRcptDe, 0, 10)}"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>배당일자</th>
|
||||
<td>
|
||||
<c:out value="${fn:substring(courtVO.crtAllctDe, 0, 10)}"/>
|
||||
</td>
|
||||
<th>사무처리기한</th>
|
||||
<td>
|
||||
<c:out value="${fn:substring(courtVO.crtAllctDdlDe, 0, 10)}"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>보고일자</th>
|
||||
<td>
|
||||
<c:out value="${fn:substring(courtVO.crtRprtDe, 0, 10)}"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>본 사건번호</th>
|
||||
<td>
|
||||
<c:out value="${courtVO.crtOriNo}"/>
|
||||
[<kc:code codeId="CC701" code="${courtVO.crtLinkHouse}" />]
|
||||
</td>
|
||||
<th>조정 사건번호</th>
|
||||
<td>
|
||||
<c:out value="${courtVO.crtNo}"/>
|
||||
<!-- <input type="text" id="crtNo" name="crtNo" /> -->
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>총괄조정위원</th>
|
||||
<td>
|
||||
<c:out value="${courtVO.crtDeptKng}"/>
|
||||
</td>
|
||||
<th>조정위원</th>
|
||||
<td>
|
||||
<c:out value="${courtVO.crtDeptOrdi}"/>
|
||||
<button type="button" class="btnType06" onclick="DeptPop();">사건배당</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>원고 이름</th>
|
||||
<td>
|
||||
<c:out value="${courtVO.crtClimntNm}"/>
|
||||
</td>
|
||||
<th>원고 (대리인) 이름</th>
|
||||
<td>
|
||||
<c:out value="${courtVO.crtClimntAgntNm}"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>원고 연락처</th>
|
||||
<td>
|
||||
<c:out value="${courtVO.crtClimntPhone}"/>
|
||||
</td>
|
||||
<th>원고 (대리인) 연락처</th>
|
||||
<td>
|
||||
<c:out value="${courtVO.crtClimntAgtPhone}"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>원고 정보</th>
|
||||
<td colspan="3">
|
||||
<c:out value="${courtVO.crtClimntInfo}"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>피고 이름</th>
|
||||
<td>
|
||||
<c:out value="${courtVO.crtDfndntNm}"/>
|
||||
</td>
|
||||
<th>피고 (대리인) 이름</th>
|
||||
<td>
|
||||
<c:out value="${courtVO.crtDfndntAgntNm}"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>피고 연락처</th>
|
||||
<td>
|
||||
<c:out value="${courtVO.crtDfndntPhone}"/>
|
||||
</td>
|
||||
<th>피고 (대리인) 연락처</th>
|
||||
<td>
|
||||
<c:out value="${courtVO.crtDfndntAgntPhone}"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>피고 정보</th>
|
||||
<td colspan="3">
|
||||
<c:out value="${courtVO.crtDfndntInfo}"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>분야</th>
|
||||
<td>
|
||||
<kc:code codeId="CC002" code="${courtVO.crtCcTy}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>사건내용</th>
|
||||
<td colspan="3">
|
||||
<c:out value="${courtVO.crtCn}"/>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="btn_wrap btn_layout01">
|
||||
<div class="area_left"></div>
|
||||
<div class="area_right">
|
||||
<button type="button" class="btnType06" onclick="">종결결재</button>
|
||||
<button type="button" class="btnType06" onclick="">결과보고</button>
|
||||
<button type="button" class="btnType06" onclick="">기일지정</button>
|
||||
<button type="button" class="btnType06" onclick="">접수결재</button>
|
||||
<button type="button" class="btnType06" onclick="fn_modyfi(); return false;">수정</button>
|
||||
<button type="button" class="btnType03" onclick="fn_GoList(); return false;">목록</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@ -0,0 +1,136 @@
|
||||
<%@ 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 src="/kccadrPb/usr/script/popup.js"></script>
|
||||
<script type="text/javaScript" language="javascript">
|
||||
|
||||
$(document).ready(function(){
|
||||
$('.viewPopup').click(function(){
|
||||
$('#atchFileId').val($(this).data('info'));
|
||||
commonPopWindowopenForm("/kccadr/adjPgrMgr/apm/popup/apmAnsDetail.do", '500', '400', "apmAnsDetailPop", $('#pop'));
|
||||
});
|
||||
});
|
||||
|
||||
function fncOepnDoc(rpplDocSeq) {
|
||||
|
||||
$('#rpplDocSeq').val(rpplDocSeq);
|
||||
|
||||
var pop = document.pop;
|
||||
commonPopWindowopenForm("/kccadr/adjPgrMgr/apm/popup/fncOpenDocPop.do", "580", "380", "srcRegAdrNoPop", $('#pop'));
|
||||
}
|
||||
|
||||
function fn_egov_downFile(atchFileId, fileSn) {
|
||||
var ckAdrList = $('input:checkbox[name="ckAdrList"]:checked');
|
||||
|
||||
if(ckAdrList.length==0){
|
||||
alert ('파일을 선택해 주세요.');
|
||||
return false;
|
||||
}
|
||||
|
||||
$.each(ckAdrList, function(idx, item){
|
||||
var file = (item.value).split('|');
|
||||
window.open("/cmm/fms/FileDown.do?atchFileId=" + file[0] + "&fileSn=" + file[1] + "", 'win'+idx);
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
function fncCheckAll(obj, name) {
|
||||
|
||||
$("input[name=" + name + "]").each(function(index, item) {
|
||||
item.checked = $(obj).is(":checked")
|
||||
})
|
||||
}
|
||||
|
||||
function fncDocRegPopup(){
|
||||
|
||||
var pop = document.pop ;
|
||||
commonPopWindowopenForm("/kccadr/adjPgrMgr/apm/popup/docRegPop.do" , "750", "550", "docRegPop", $("#pop"));
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<form id="pop" name="pop" method="post">
|
||||
<input type="hidden" id="crtSeq" name="crtSeq" value="<c:out value="${courtVO.crtSeq}" />" />
|
||||
<input type="hidden" id="crtSn" name="crtSn" value="<c:out value="${courtVO.crtSn}" />" />
|
||||
</form>
|
||||
|
||||
<form:form commandName="adjstIncidentVO" id="popCreateForm" name="popCreateForm" method="post" onsubmit="return false;">
|
||||
<!-- //cont_tit -->
|
||||
<div class="tab_cont on">
|
||||
|
||||
<!-- list_상세 -->
|
||||
<p class="tb_tit">신청 정보</p>
|
||||
<div class="tbType03">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 15%;">
|
||||
<col style="width: auto;">
|
||||
<col style="width: 25%;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>일자</th>
|
||||
<th>일자</th>
|
||||
<th>문서 구분</th>
|
||||
<th>문서 명</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach var="list" items="${list}" varStatus="status">
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<input name="chk" type="checkbox" value="${list.atchFileId}-${list.fileSn}" title="체크">
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>${fn:substring(list.frstRegistPnttm, 0, 10)}</p>
|
||||
</td>
|
||||
<td>
|
||||
<kc:code codeId="CC702" code="${list.crtAtchFileTy}"/>
|
||||
</td>
|
||||
<td>
|
||||
<c:out value="${list.orignlFileNm}"/>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
<c:if test="${empty list}">
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<spring:message code="common.nodata.msg" />
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- //list_상세 -->
|
||||
<div class="btn_wrap btn_layout05" style="margin-top:30px;">
|
||||
<div class="btn_left_box">
|
||||
<button type="button" class="btnType02" onclick="fncDocRegPopup(); return false;">문서 등록</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="btn_wrap btn_layout01">
|
||||
<div class="btn_left_box">
|
||||
</div>
|
||||
<div class="btn_right_box" id="remakeDocs">
|
||||
</div>
|
||||
</div>
|
||||
</form:form>
|
||||
</body>
|
||||
</html>
|
||||
@ -15,28 +15,6 @@
|
||||
<script type="text/javaScript" language="javascript">
|
||||
|
||||
$(document).ready(function(){
|
||||
|
||||
|
||||
// 전체 클릭시 체크박스 모두 체크 / 해제 이벤트
|
||||
$('#searchStatCdAll').on('click', function(){
|
||||
|
||||
if ( $(this).prop('checked') ) {
|
||||
$(this).parent().addClass("selected");
|
||||
$('[id^="searchStatCd"]').prop("checked", true);
|
||||
} else {
|
||||
$('[id^="searchStatCd"]').prop("checked", false);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
$('.delBtn').click(function(){
|
||||
console.log($(this).data('info'));
|
||||
var thisVal = $(this).data('info');
|
||||
|
||||
$('#delCourtSeq').val(thisVal);
|
||||
$('#delForm').submit();
|
||||
});
|
||||
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("adjCourtCnctnList", "div.cont", "ALL");
|
||||
});
|
||||
@ -58,16 +36,14 @@ function linkPage(pageNo){
|
||||
}
|
||||
|
||||
function fn_Create(){
|
||||
|
||||
var goForm = document.goForm;
|
||||
goForm.submit();
|
||||
}
|
||||
|
||||
function fn_goDetail(courtSeq){
|
||||
|
||||
function fn_goDetail(crtSeq){
|
||||
var goForm = document.goForm;
|
||||
goForm.action = "<c:url value='/kccadr/adjCourtCnctn/adjCourtCnctnDetail.do'/>";
|
||||
goForm.courtSeq.value = courtSeq;
|
||||
goForm.crtSeq.value = crtSeq;
|
||||
goForm.submit();
|
||||
}
|
||||
|
||||
@ -83,37 +59,25 @@ function fn_goDetail(courtSeq){
|
||||
<h2>법원연계조정목록</h2>
|
||||
<ul class="cont_nav">
|
||||
<li class="home"><a href="/"><i></i></a></li>
|
||||
<!-- <li> -->
|
||||
<!-- <p>xxx</p> -->
|
||||
<!-- </li> -->
|
||||
<li><span class="cur_nav">법원연계조정 목록</span></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- <div class="cont inte_cont"> -->
|
||||
<div class="cont">
|
||||
|
||||
|
||||
|
||||
<div class="list_top">
|
||||
<%--<p>총 건수 : <span><c:out value="${paginationInfo.totalRecordCount}"/></span>건</p>--%>
|
||||
<!-- <p>총 건수 : <span>204</span>건</p> -->
|
||||
<div class="list_util">
|
||||
<!-- <div class="btn_wrap right"> -->
|
||||
<!-- <button type="button" class="btn_down_excel" onclick="fncExcel(); return false;">엑셀 다운로드</button> -->
|
||||
<!-- </div> -->
|
||||
<div class="detail_search">
|
||||
<ul>
|
||||
<li>
|
||||
<p class="tit_text">구분</p>
|
||||
<select name="searchCondition" id="searchCondition" title="선택">
|
||||
<option value="">선택</option>
|
||||
<option value="10" <c:if test="${adjCourtCnctnVO.searchCondition == '10'}">selected</c:if>>조정 사건번호</option>
|
||||
<option value="20" <c:if test="${adjCourtCnctnVO.searchCondition == '20'}">selected</c:if>>내용</option>
|
||||
<option value="10" <c:if test="${adjCourtCnctnVO.searchCondition == '10'}">selected</c:if>>본사건번호</option>
|
||||
<option value="20" <c:if test="${adjCourtCnctnVO.searchCondition == '20'}">selected</c:if>>조정사건번호</option>
|
||||
</select>
|
||||
<input type="text" class="search_input" id="searchKeyword" name="searchKeyword" value="<c:out value='${adjCourtCnctnVO.searchKeyword}'/>" placeholder="검색어를 입력하세요.">
|
||||
<button class="btnType07 btn_search" onclick="fncGoList()">검색</button>
|
||||
</li>
|
||||
<li>
|
||||
<%-- <li>
|
||||
<p class="tit_text">결정일자</p>
|
||||
<div class="radio_wrap">
|
||||
<span>
|
||||
@ -158,7 +122,7 @@ function fn_goDetail(courtSeq){
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</li> --%>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@ -172,47 +136,33 @@ function fn_goDetail(courtSeq){
|
||||
<colgroup>
|
||||
<col style="width: 50px">
|
||||
<col style="width: 10%">
|
||||
<col style="width: 70px">
|
||||
<col style="width: 70px">
|
||||
<col style="width: auto">
|
||||
<col style="width: 10%">
|
||||
<col style="width: 10%">
|
||||
<col style="width: 10%">
|
||||
|
||||
<col style="width: 10%">
|
||||
<col style="width: 10%">
|
||||
<col style="width: 10%o">
|
||||
<col style="width: 10%">
|
||||
|
||||
<col style="width: 80px">
|
||||
<col style="width: 10%">
|
||||
<col style="width: 10%">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>번호</th>
|
||||
<th>본사건번호</th>
|
||||
<th>조정 사건번호</th>
|
||||
<th>원고</th>
|
||||
<th>피고</th>
|
||||
<th>배당일</th>
|
||||
|
||||
<th>분야</th>
|
||||
<th>결과</th>
|
||||
<th>사건번호</th>
|
||||
|
||||
<th>배당일자</th>
|
||||
<th>사무처리기한</th>
|
||||
<th>보고일자</th>
|
||||
|
||||
<th>조정위원</th>
|
||||
<th>결정일자</th>
|
||||
<th>삭제</th>
|
||||
<th>연계법원</th>
|
||||
<th>처리상태</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach var="list" items="${list }" varStatus="status">
|
||||
<c:choose>
|
||||
<c:when test="${fn:length(list.accdntCn) > 50}">
|
||||
<c:set var="accdntCn" value = "${fn:substring(list.accdntCn, 0, 48)}..." />
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<c:set var="accdntCn" value = "${fn:substring(list.accdntCn, 0, 50)}" />
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
<!-- <tr style=" cursor: pointer;"> -->
|
||||
<c:forEach var="list" items="${list}" varStatus="status">
|
||||
<tr>
|
||||
<td>
|
||||
<c:if test="${adjCourtCnctnVO.searchSortOrd eq 'desc' }">
|
||||
@ -222,20 +172,19 @@ function fn_goDetail(courtSeq){
|
||||
<c:out value="${(adjCourtCnctnVO.pageIndex - 1) * adjCourtCnctnVO.pageUnit + status.count}"/>
|
||||
</c:if>
|
||||
</td>
|
||||
<td><c:out value="${list.courtNo }" /></td>
|
||||
<td><c:out value="${list.courtFld }" /></td>
|
||||
<td><c:out value="${list.courtRslt }" /></td>
|
||||
<td style=" cursor: pointer;" onclick="fn_goDetail('<c:out value="${list.courtSeq }" />')"><c:out value="${accdntCn }" /></td>
|
||||
<td><c:out value="${list.adjCmsnr }" /></td>
|
||||
<td><c:out value="${list.dcsnDe }" /></td>
|
||||
<td><input type="button" class="delBtn" value="삭제" data-info="<c:out value="${list.courtSeq }" />"/></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><c:out value="${list.crtOriNo}" /></a></td>
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><c:out value="${list.crtNo}" /></a></td>
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><c:out value="${list.crtClimntNm}" /></a></td>
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><c:out value="${list.crtDfndntNm}" /></a></td>
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><c:out value="${fn:substring(list.crtAllctDe, 0, 10)}" /></a></td>
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><kc:code codeId="CC002" code="${list.crtCcTy}"/></a></td>
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');">조정위원 처리해야함</a></td>
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><kc:code codeId="CC701" code="${list.crtLinkHouse}"/></a></td>
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><kc:code codeId="CC703" code="${list.crtStatCd}"/></a></td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
<c:if test="${empty list}">
|
||||
<tr><td colspan="8"><spring:message code="common.nodata.msg" /></td></tr>
|
||||
<tr><td colspan="10"><spring:message code="common.nodata.msg" /></td></tr>
|
||||
</c:if>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -257,11 +206,7 @@ function fn_goDetail(courtSeq){
|
||||
</div>
|
||||
</form>
|
||||
<form id="goForm" name="goForm" action="<c:url value="/kccadr/adjCourtCnctn/adjCourtCnctnRegist.do" />" method="post">
|
||||
<input type="hidden" id="courtSeq" name="courtSeq" value="" />
|
||||
</form>
|
||||
<form id="delForm" name="delForm" action="<c:url value="/kccadr/adjCourtCnctn/updateUseYn.do" />" method="post">
|
||||
<input type="hidden" id="delCourtSeq" name="courtSeq" value="" />
|
||||
<input type="hidden" name="useYn" value="N" />
|
||||
<input type="hidden" id="crtSeq" name="crtSeq" value="" />
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@ -12,46 +12,42 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Language" content="ko" >
|
||||
<title>조정종결상세</title>
|
||||
<title>법원연계 조정 등록</title>
|
||||
<script type="text/javaScript" language="javascript">
|
||||
|
||||
$(document).ready(function(){
|
||||
|
||||
// 배당일자, 보고일자 선택하면 발동되는 event
|
||||
// 소요일 계산
|
||||
$('#alctnDe, #rprtDe').on('focusin',function(){
|
||||
|
||||
var alctnVal = $('#alctnDe').val();
|
||||
var rprtVal = $('#rprtDe').val();
|
||||
|
||||
if(alctnVal && rprtVal)
|
||||
{
|
||||
var returnVal = 0;
|
||||
|
||||
alctnVal = alctnVal.replaceAll("-", "");
|
||||
rprtVal = rprtVal.replaceAll("-", "");
|
||||
|
||||
returnVal = Number(rprtVal) - Number(alctnVal);
|
||||
|
||||
$('#processDay').val(returnVal);
|
||||
|
||||
}
|
||||
|
||||
|
||||
// 보고월
|
||||
if($(this).attr('id') === 'rprtDe')
|
||||
{
|
||||
var month = $(this).val().split('-')[1].replace(/(^0+)/, "");
|
||||
|
||||
$('#rprtMonth').val(month+'월');
|
||||
|
||||
}
|
||||
$('#crtAllctDe').on('focusin',function(){
|
||||
|
||||
var alctnVal = $('#crtAllctDe').val();
|
||||
var returnVal = StringToDate(alctnVal, 45);
|
||||
$('#crtAllctDdlDe').val(returnVal);
|
||||
});
|
||||
|
||||
$('#filebutton').click(function (e) {
|
||||
e.preventDefault();
|
||||
$('#file_temp').click();
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
||||
function StringToDate(date, n) {
|
||||
let yyyy = date.substring(0, 4);
|
||||
let mm = date.substring(5, 7);
|
||||
let dd = date.substring(8, 10);
|
||||
mm = Number(mm) - 1;
|
||||
|
||||
let stringNewDate = new Date(yyyy, mm, dd);
|
||||
stringNewDate.setDate(stringNewDate.getDate() + n);
|
||||
|
||||
return stringNewDate.getFullYear() +
|
||||
"-" + ((stringNewDate.getMonth() + 1) > 9 ? (stringNewDate.getMonth() + 1).toString() : "0" + (stringNewDate.getMonth() + 1)) +
|
||||
"-" + (stringNewDate.getDate() > 9 ? stringNewDate.getDate().toString() : "0" + stringNewDate.getDate().toString());
|
||||
}
|
||||
|
||||
|
||||
function fn_regist(){
|
||||
|
||||
@ -60,16 +56,21 @@ function fn_regist(){
|
||||
//신청인 정보 입력
|
||||
var data = new FormData(document.cnctnForm);
|
||||
var url= "/kccadr/adjCourtCnctn/adjCourtCnctnRegistAjax.do";
|
||||
|
||||
_fileForm2.forEach(function(obj, idx) {
|
||||
if (obj) data.append("file"+idx, obj.fileObj);
|
||||
});
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: url,
|
||||
data: data,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
enctype: 'multipart/form-data',
|
||||
url: url,
|
||||
data: data,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
success: function (data) {
|
||||
alert(data.data);
|
||||
if(data.status == 'OK')
|
||||
@ -127,9 +128,10 @@ function fn_GoList(){
|
||||
</ul>
|
||||
</div>
|
||||
<!-- //cont_tit -->
|
||||
|
||||
|
||||
<form id="cnctnForm" name="cnctnForm" method="post">
|
||||
<form id="cnctnForm" name="cnctnForm" method="post" enctype="multipart/form-data">
|
||||
<!-- 드래그앤 드롭 파라미터 -->
|
||||
<input type="hidden" name="limitcount" value="10" />
|
||||
<input type="hidden" name="CrtSn" value="1"/>
|
||||
<div class="cont">
|
||||
<!-- //cont_tit -->
|
||||
<div class="tab_cont on">
|
||||
@ -143,23 +145,15 @@ function fn_GoList(){
|
||||
<col style="width: 35%;">
|
||||
</colgroup>
|
||||
<tbody class="border_0">
|
||||
<tr>
|
||||
<th>번호</th>
|
||||
<td>
|
||||
<p class="change_text">
|
||||
<input type="text" id="courtNum" name="courtNum" />
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>결정일자</th>
|
||||
<td>
|
||||
<div id="sel_date" class="sel_date">
|
||||
<input readonly="readonly" type="text" class="startDate inp" title="결정일자" id="dcsnDe" name="dcsnDe" value="" data-datecontrol="true">
|
||||
<div class="calendar_in" id="calendarName_dcsnDe" style="z-index: 9;">
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('dcsnDe-lry','',this)" class="btn_cal"></button>
|
||||
<div id="dcsnDe-lry" class="calendarPop" style="display: none;">
|
||||
<iframe id="startDate01-ifrm" name="dcsnDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html" title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
|
||||
<input readonly="readonly" type="text" class="startDate inp" title="결정일자" id="crtDcsnDe" name="crtDcsnDe" value="" data-datecontrol="true">
|
||||
<div class="calendar_in" id="calendarName_crtDcsnDe" style="z-index: 9;">
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtDcsnDe-lry','',this)" class="btn_cal"></button>
|
||||
<div id="crtDcsnDe-lry" class="calendarPop" style="display: none;">
|
||||
<iframe id="startDate01-ifrm" name="crtDcsnDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html" title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -167,11 +161,11 @@ function fn_GoList(){
|
||||
<th>수령일자</th>
|
||||
<td>
|
||||
<div id="sel_date" class="sel_date">
|
||||
<input readonly="readonly" type="text" class="startDate inp" title="결정일자" id="rcvDe" name="rcvDe" value="" data-datecontrol="true">
|
||||
<div class="calendar_in" id="calendarName_rcvDe" style="z-index: 9;">
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('rcvDe-lry','',this)" class="btn_cal"></button>
|
||||
<div id="rcvDe-lry" class="calendarPop" style="display: none;">
|
||||
<iframe id="startDate01-ifrm" name="rcvDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html" title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
|
||||
<input readonly="readonly" type="text" class="startDate inp" title="수령일자" id="crtRcptDe" name="crtRcptDe" value="" data-datecontrol="true">
|
||||
<div class="calendar_in" id="calendarName_crtRcptDe" style="z-index: 9;">
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtRcptDe-lry','',this)" class="btn_cal"></button>
|
||||
<div id="crtRcptDe-lry" class="calendarPop" style="display: none;">
|
||||
<iframe id="startDate01-ifrm" name="crtRcptDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html" title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -181,160 +175,185 @@ function fn_GoList(){
|
||||
<th>배당일자</th>
|
||||
<td>
|
||||
<div id="sel_date" class="sel_date">
|
||||
<input readonly="readonly" type="text" class="alctnDe inp" title="배당일자" id="alctnDe" name="alctnDe" value="" data-datecontrol="true" onchange="test(this);">
|
||||
<input readonly="readonly" type="text" class="crtAllctDe inp" title="배당일자" id="crtAllctDe" name="crtAllctDe" value="" data-datecontrol="true" onchange="test(this);">
|
||||
<div class="calendar_in" id="calendarName_endDate" style="z-index: 9;">
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('alctnDe-lry','',this)" class="btn_cal" ></button>
|
||||
<div id="alctnDe-lry" class="calendarPop" style="display: none;">
|
||||
<iframe id="alctnDe-ifrm" name="alctnDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtAllctDe-lry','',this)" class="btn_cal" ></button>
|
||||
<div id="crtAllctDe-lry" class="calendarPop" style="display: none;">
|
||||
<iframe id="crtAllctDe-ifrm" name="crtAllctDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<th>배당월</th>
|
||||
<td>
|
||||
<select id="alctnMonth" name="alctnMonth">
|
||||
<option value="">선택</option>
|
||||
<c:forEach var="i" begin="1" end="12" step="1">
|
||||
<option value="${i}">${i}월</option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>사무처리기한</th>
|
||||
<td>
|
||||
<div id="sel_date" class="sel_date">
|
||||
<input readonly="readonly" type="text" class="officeWorkDe inp" title="사무처리기한" id="officeWorkDe" name="officeWorkDe" value="" data-datecontrol="true">
|
||||
<div class="calendar_in" id="calendarName_officeWorkDe" style="z-index: 9;">
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('officeWorkDe-lry','',this)" class="btn_cal" ></button>
|
||||
<div id="officeWorkDe-lry" class="calendarPop" style="display: none;">
|
||||
<iframe id="officeWorkDe-ifrm" name="officeWorkDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<input readonly="readonly" type="text" title="사무처리기한" id="crtAllctDdlDe" name="crtAllctDdlDe" value="">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>보고일자</th>
|
||||
<td>
|
||||
<div id="sel_date" class="sel_date">
|
||||
<input readonly="readonly" type="text" class="rprtDe inp" title="보고일자" id="rprtDe" name="rprtDe" value="" data-datecontrol="true">
|
||||
<div class="calendar_in" id="calendarName_rprtDe" style="z-index: 9;">
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('rprtDe-lry','',this)" class="btn_cal" ></button>
|
||||
<div id="rprtDe-lry" class="calendarPop" style="display: none;">
|
||||
<iframe id="rprtDe-ifrm" name="rprtDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
|
||||
<input readonly="readonly" type="text" class="crtRprtDe inp" title="보고일자" id="crtRprtDe" name="crtRprtDe" value="" data-datecontrol="true">
|
||||
<div class="calendar_in" id="calendarName_crtRprtDe" style="z-index: 9;">
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtRprtDe-lry','',this)" class="btn_cal" ></button>
|
||||
<div id="crtRprtDe-lry" class="calendarPop" style="display: none;">
|
||||
<iframe id="crtRprtDe-ifrm" name="crtRprtDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<th>보고월</th>
|
||||
<td>
|
||||
<!-- <select id="rprtMonth" name="rprtMonth"> -->
|
||||
<!-- <option value="">선택</option> -->
|
||||
<%-- <c:forEach var="i" begin="1" end="12" step="1"> --%>
|
||||
<%-- <option value="${i}">${i}월</option> --%>
|
||||
<%-- </c:forEach> --%>
|
||||
<!-- </select> -->
|
||||
<input type="text" id="rprtMonth" name="rprtMonth" placeholder="보고일자 선택" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>소요일</th>
|
||||
<td>
|
||||
<input readonly="readonly" type="text" id="processDay" name="processDay" placeholder=""/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>본 사건번호</th>
|
||||
<td>
|
||||
<input type="text" id="courtOrgNo" name="courtOrgNo" />
|
||||
<input type="text" id="crtOriNo" name="crtOriNo" />
|
||||
<kc:select codeId="CC701" id="crtLinkHouse" name="crtLinkHouse" selectedValue="10" />
|
||||
</td>
|
||||
<th>조정 사건번호</th>
|
||||
<td>
|
||||
<input type="text" id="courtNo" name="courtNo" />
|
||||
<input type="text" id="crtNo" name="crtNo" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>원고 이름</th>
|
||||
<td>
|
||||
<input type="text" id="crtClimntNm" name="crtClimntNm" />
|
||||
</td>
|
||||
<th>원고 (대리인) 이름</th>
|
||||
<td>
|
||||
<input type="text" id="crtClimntAgntNm" name="crtClimntAgntNm" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>원고 연락처</th>
|
||||
<td>
|
||||
<input type="text" id="crtClimntPhone" name="crtClimntPhone" />
|
||||
</td>
|
||||
<th>원고 (대리인) 연락처</th>
|
||||
<td>
|
||||
<input type="text" id="crtClimntAgtPhone" name="crtClimntAgtPhone" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>원고 정보</th>
|
||||
<td colspan="3">
|
||||
<textarea name="crtClimntInfo" id="crtClimntInfo" cols="30" rows="3"> </textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>피고 이름</th>
|
||||
<td>
|
||||
<input type="text" id="crtDfndntNm" name="crtDfndntNm" />
|
||||
</td>
|
||||
<th>피고 (대리인) 이름</th>
|
||||
<td>
|
||||
<input type="text" id="crtDfndntAgntNm" name="crtDfndntAgntNm" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>피고 연락처</th>
|
||||
<td>
|
||||
<input type="text" id="crtDfndntPhone" name="crtDfndntPhone" />
|
||||
</td>
|
||||
<th>피고 (대리인) 연락처</th>
|
||||
<td>
|
||||
<input type="text" id="crtDfndntAgntPhone" name="crtDfndntAgntPhone" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>피고 정보</th>
|
||||
<td colspan="3">
|
||||
<textarea name="crtDfndntInfo" id="crtDfndntInfo" cols="30" rows="3"> </textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>분야</th>
|
||||
<td>
|
||||
<input type="text" id="courtFld" name="courtFld" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>신청인 정보</th>
|
||||
<td colspan="3">
|
||||
<textarea name="aplcnInfo" id="aplcnInfo" cols="30" rows="3"> </textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>피신청인 정보</th>
|
||||
<td colspan="3">
|
||||
<textarea name="rspndInfo" id="rspndInfo" cols="30" rows="3"> </textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>원고/<br />신청인(대리인)</th>
|
||||
<td colspan="3">
|
||||
<textarea name="aplcnDpty" id="aplcnDpty" cols="30" rows="3"> </textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>피고/<br />피신청인(대리인)</th>
|
||||
<td colspan="3">
|
||||
<textarea name="rspndDpty" id="rspndDpty" cols="30" rows="3"> </textarea>
|
||||
<kc:select codeId="CC002" id="crtCcTy" name="crtCcTy" selectedValue="01" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>사건내용</th>
|
||||
<td colspan="3">
|
||||
<textarea name="accdntCn" id="accdntCn" cols="30" rows="3"> </textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>결과</th>
|
||||
<td>
|
||||
<input type="text" id="courtRslt" name="courtRslt"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="height: 200px;">
|
||||
<th>세부결과</th>
|
||||
<td colspan="3">
|
||||
<textarea id="courtDetailRslt" name="courtDetailRslt" cols="30" rows="5" > </textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>조정위원</th>
|
||||
<td>
|
||||
<input type="text" id="adjCmsnr" name="adjCmsnr" />
|
||||
</td>
|
||||
<th>수당금액</th>
|
||||
<td>
|
||||
<input type="text" id="pay" name="pay" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>대면기일</th>
|
||||
<td colspan="3">
|
||||
<input type="text" id="appDe" name="appDe" size="98" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>지급일자</th>
|
||||
<td>
|
||||
<input type="text" id="pymntDay" name="pymntDay" />
|
||||
</td>
|
||||
<th>1차연장</th>
|
||||
<td>
|
||||
<input type="text" id="extns" name="extns" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>비고</th>
|
||||
<td colspan="3">
|
||||
<textarea name="rmrks" id="rmrks" cols="30" rows="5" > </textarea>
|
||||
<textarea name="crtCn" id="crtCn" cols="30" rows="3"> </textarea>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>사건문건</th>
|
||||
<td class="upload_area">
|
||||
<!-- <input type="text" id="fileNm" size="30" class="file_input" readonly> --><!-- <button type="button" class="btnType01 btn_add_file">파일 첨부하기</button> -->
|
||||
<input type="file" id="file_temp" name="file_temp" class="uploadFile" style="display:none"/>
|
||||
<button type="button" id="filebutton" class="btnType01 btn_add_file">파일 첨부하기</button>
|
||||
<div class="file_wrap file_upload_box no_img_box">
|
||||
<table class="tbType02">
|
||||
<caption>첨부파일 리스트 : 파일명, 종류, 크기, 삭제</caption>
|
||||
<colgroup>
|
||||
<col style="width: 60%;">
|
||||
<col style="width: auto;">
|
||||
<col style="width: 20%;">
|
||||
<col style="width: 10%;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<!-- <th>
|
||||
<input type="checkbox" id="all_check"><label for="all_check"></label>
|
||||
</th> -->
|
||||
<th>작업명</th>
|
||||
<th>종류</th>
|
||||
<th>크기</th>
|
||||
<th>삭제</th>
|
||||
</thead>
|
||||
<tbody class="tb_file_before">
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
<p>첨부하실 파일을 <span>마우스로 끌어서</span> 넣어주세요.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="file_wrap fileAfter file_list_div">
|
||||
<table class="tbType02">
|
||||
<caption>첨부파일 리스트 : 파일명, 종류, 크기, 삭제</caption>
|
||||
<colgroup>
|
||||
<col style="width: 60%">
|
||||
<col style="width: 10%">
|
||||
<col style="width: 20%">
|
||||
<col style="width: 10%">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<!-- <th>
|
||||
<input type="checkbox" id="all_check"><label for="all_check"></label>
|
||||
</th> -->
|
||||
<th>파일 명</th>
|
||||
<th>종류</th>
|
||||
<th>크기</th>
|
||||
<th>삭제</th>
|
||||
</thead>
|
||||
<tbody id="tbody_fiielist" class="tb_file_after">
|
||||
<c:forEach var="fileList" items="${fileList}" varStatus="status">
|
||||
<tr class="item_<c:out value='${fileList.atchFileId}' />_<c:out value='${fileList.fileSn}' /> uploaded_obj">
|
||||
<input type="hidden" name="fileSize" class="item_file_size" value="${fileList.fileSize}">
|
||||
<td class="td_filename">
|
||||
<!-- <img src="/direct/img/upload_hwp_img.png" alt="" /> -->
|
||||
<span class="file_name_text"><c:out value='${fileList.orignlFileNm}' /></span>
|
||||
</td>
|
||||
<td class="td_filesort">
|
||||
<span class="file_filesort_text" value="<c:out value="${fileList.fileExtsn}"/>"><c:out value="${fileList.fileExtsn}"/></span>
|
||||
</td>
|
||||
<td class="td_filesize">
|
||||
<span class="file_size_text" value="<c:out value="${fileList.fileMg}"/>"><c:out value="${fileList.fileMg}"/></span>
|
||||
</td>
|
||||
<td>
|
||||
<button type="button" class="btn_del" onclick="delAtchFile('<c:out value='${fileList.atchFileId}' />', '<c:out value='${fileList.fileSn}' />'); return false;" title="파일삭제"><i></i></button>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
@ -0,0 +1,113 @@
|
||||
<!DOCTYPE html>
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8"
|
||||
pageEncoding="utf-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
|
||||
<%@ taglib prefix="validator"
|
||||
uri="http://www.springmodules.org/tags/commons-validator"%>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<title>조정위원검색</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<script type="text/javascript">
|
||||
var admId = null;
|
||||
|
||||
$(document).ready(function() {
|
||||
});
|
||||
|
||||
function fncClose() {
|
||||
var tmpAdmId = $("input[name='admId']:checked").val();
|
||||
|
||||
if (typeof tmpAdmId == "undefined" || tmpAdmId == ""
|
||||
|| tmpAdmId == null) {
|
||||
alert('조정위원을 선택해주세요.')
|
||||
return;
|
||||
}
|
||||
admId = tmpAdmId.split('§');
|
||||
var targetId = $("#targetId").val();
|
||||
window.opener
|
||||
.setAdmId(admId[0], admId[1], admId[2], admId[3], targetId);
|
||||
self.close();
|
||||
|
||||
}
|
||||
|
||||
function fn_insert(p_esntlId, p_pstinstCode) {
|
||||
|
||||
var form = document.insertForm;
|
||||
form.esntlId.value = p_esntlId;
|
||||
form.pstinstCode.value = p_pstinstCode;
|
||||
|
||||
var msg = "선택 하시겠습니까?";
|
||||
if(confirm(msg)){
|
||||
//신청인 정보 입력
|
||||
var data = new FormData(document.insertForm);
|
||||
var url= "<c:url value='/kccadr/adjCourtCnctn/insertAdjCourtCnctnDeptPopAjax.do' />";
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: url,
|
||||
data: data,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
success: function (data) {
|
||||
alert(data.data);
|
||||
if(data.status == 'OK')
|
||||
{
|
||||
window.close();
|
||||
}
|
||||
},
|
||||
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<form name="insertForm" id="insertForm">
|
||||
<input type="hidden" id="crtSeq" name="crtSeq" value="${deptVO.crtSeq }" />
|
||||
<input type="hidden" id="esntlId" name="esntlId" />
|
||||
<input type="hidden" id="pstinstCode" name="pstinstCode" />
|
||||
</form>
|
||||
<div class="area_popup search_list_popup" style="width: 640px;">
|
||||
<form:form id="listForm" name="listForm" method="post" onsubmit="return false;">
|
||||
<input type="hidden" name="targetId" id="targetId" value="<c:out value='${dtbVO.targetId}' />" />
|
||||
<div class="cont_popup">
|
||||
<p class="tit_text tt1">조정위원 선택</p>
|
||||
<table class="pop_tbType02">
|
||||
<colgroup>
|
||||
<col style="width: 80%">
|
||||
<col style="width: 20%">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="tt2">조사관</th>
|
||||
<th class="tt2"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach items="${ adjCourtDeptVO}" var="list">
|
||||
<tr>
|
||||
<td>${list.userNm }</td>
|
||||
<td>
|
||||
<button class="btnType06"
|
||||
onclick="fn_insert('${list.esntlId }', '${list.pstinstCode }'); return false;">선택</button>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="btn_wrap btn_layout04">
|
||||
<button class="btnType06" onclick="fncClose(); return false;">확인</button>
|
||||
</div>
|
||||
</div>
|
||||
</form:form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@ -40,8 +40,15 @@ $( document).ready(function() {
|
||||
</script>
|
||||
<!-- leftmenu -->
|
||||
<div class="area_left">
|
||||
<h1 class="logo"><a href="/cmm/main/mainPage.do"><img src="/kccadrPb/adm/image/common/logo.png"
|
||||
alt="한국저작권위원회 KOREA COPYRIGHT COMMISSION"></a>
|
||||
<h1 class="logo">
|
||||
<c:if test="${user.authority eq 'ROLE_COURT_ADMIN'}">
|
||||
<a href="#">
|
||||
</c:if>
|
||||
<c:if test="${user.authority ne 'ROLE_COURT_ADMIN'}">
|
||||
<a href="/cmm/main/mainPage.do">
|
||||
</c:if>
|
||||
<img src="/kccadrPb/adm/image/common/logo.png" alt="한국저작권위원회 KOREA COPYRIGHT COMMISSION">
|
||||
</a>
|
||||
</h1>
|
||||
<nav class="menu">
|
||||
<ul>
|
||||
|
||||
@ -74,7 +74,6 @@ function modifyMem(uniqId){
|
||||
|
||||
form.submit();
|
||||
|
||||
|
||||
}
|
||||
</script>
|
||||
<%-- 전자조정 --%>
|
||||
@ -86,27 +85,30 @@ function modifyMem(uniqId){
|
||||
<p><span><c:out value="${LoginVO.name}" /></span>님</p>
|
||||
<p class="user_id">(<c:out value="${LoginVO.id}" />)</p>
|
||||
</div>
|
||||
<!-- <button class="alram">
|
||||
<i></i>
|
||||
<span class="alram_num">3</span>
|
||||
<p>알림</p>
|
||||
</button> -->
|
||||
<button class="alram" onclick="location.href='/uat/uia/actionLogout.do'">
|
||||
<c:if test="${authority eq 'ROLE_COURT_ADMIN'}">
|
||||
<button class="alram" onclick="location.href='/uat/uia/actionLogoutCourt.do'">
|
||||
<!-- <i></i> -->
|
||||
<!-- <span class="alram_num">3</span> -->
|
||||
<p>로그아웃</p>
|
||||
</button>
|
||||
<button class="alram" onclick="modifyMem('<c:out value="${LoginVO.uniqId}" />');">
|
||||
<p>정보수정</p>
|
||||
</c:if>
|
||||
<c:if test="${authority ne 'ROLE_COURT_ADMIN'}">
|
||||
<button class="alram" onclick="location.href='/uat/uia/actionLogout.do'">
|
||||
<!-- <i></i> -->
|
||||
<!-- <span class="alram_num">3</span> -->
|
||||
<p>로그아웃</p>
|
||||
</button>
|
||||
</c:if>
|
||||
<c:if test="${authority ne 'ROLE_COURT_ADMIN'}">
|
||||
<button class="alram" onclick="modifyMem('<c:out value="${LoginVO.uniqId}" />');">
|
||||
<p>정보수정</p>
|
||||
</button>
|
||||
</c:if>
|
||||
</div>
|
||||
<ul class="user_util">
|
||||
<li class="time_out"><i></i>
|
||||
<p>로그인 타임아웃 : </p><span id="ViewTimer"></span>
|
||||
</li>
|
||||
<!-- <li class="final_date"><i></i> -->
|
||||
<%-- <p>최종접속일시 : </p><span><c:out value="${beforeLoginDate}" /></span> --%>
|
||||
<!-- </li> -->
|
||||
</ul>
|
||||
</div>
|
||||
<!-- //top_utill -->
|
||||
|
||||
157
src/main/webapp/WEB-INF/jsp/uat/uia/EgovLoginUsrCourt.jsp
Normal file
157
src/main/webapp/WEB-INF/jsp/uat/uia/EgovLoginUsrCourt.jsp
Normal file
@ -0,0 +1,157 @@
|
||||
<%--
|
||||
Class Name : EgovLoginUsr.jsp
|
||||
Description : 로그인화면
|
||||
Modification Information
|
||||
|
||||
수정일 수정자 수정내용
|
||||
------- -------- ---------------------------
|
||||
2009.03.10 박지욱 최초 생성
|
||||
2011.08.31 JJY 경량환경 버전 생성
|
||||
|
||||
author : 공통서비스 개발팀 박지욱
|
||||
since : 2009.03.10
|
||||
--%>
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
|
||||
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<!DOCTYPE html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<meta http-equiv="Content-Language" content="ko">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<title>로그인</title>
|
||||
<script src="/kccadrPb/usr/script/jquery-3.5.0.js"></script>
|
||||
<script type="text/javascript" src="/js/new_login.js"></script>
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/kccadrPb/adm/css/reset.css">
|
||||
<link rel="stylesheet" href="/kccadrPb/adm/css/font.css">
|
||||
<link rel="stylesheet" href="/kccadrPb/adm/css/common.css">
|
||||
<link rel="stylesheet" href="/kccadrPb/adm/css/content.css">
|
||||
<link rel="stylesheet" href="/kccadrPb/adm/css/content_media.css">
|
||||
|
||||
<script type="text/javascript">
|
||||
$( document ).ready(function(){
|
||||
<c:if test="${!empty message}">alert("${message}");</c:if>
|
||||
getid(document.loginForm);
|
||||
});
|
||||
|
||||
function actionLogin() {
|
||||
if (document.loginForm.id_text.value =="") {
|
||||
alert("아이디를 입력하세요");
|
||||
return false;
|
||||
} else if (document.loginForm.password_text.value =="") {
|
||||
alert("비밀번호를 입력하세요");
|
||||
return false;
|
||||
}
|
||||
else {
|
||||
var id = $("#id_text").val();
|
||||
var pw = $("#password_text").val();
|
||||
|
||||
$("#id").val(id);
|
||||
$("#password").val(pw);
|
||||
$("#password2").val(pw);
|
||||
|
||||
document.loginForm.action="<c:url value='/uat/uia/actionSecurityLoginCourt.do'/>";
|
||||
saveid(document.loginForm);
|
||||
document.loginForm.submit();
|
||||
}
|
||||
}
|
||||
|
||||
function setCookie (name, value, expires) {
|
||||
document.cookie = name + "=" + escape (value) + "; path=/; expires=" + expires.toGMTString();
|
||||
}
|
||||
|
||||
function getCookie(Name) {
|
||||
var search = Name + "="
|
||||
if (document.cookie.length > 0) { // 쿠키가 설정되어 있다면
|
||||
offset = document.cookie.indexOf(search)
|
||||
if (offset != -1) { // 쿠키가 존재하면
|
||||
offset += search.length
|
||||
// set index of beginning of value
|
||||
end = document.cookie.indexOf(";", offset)
|
||||
// 쿠키 값의 마지막 위치 인덱스 번호 설정
|
||||
if (end == -1)
|
||||
end = document.cookie.length
|
||||
return unescape(document.cookie.substring(offset, end))
|
||||
}
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
function saveid(form) {
|
||||
var expdate = new Date();
|
||||
// 기본적으로 30일동안 기억하게 함. 일수를 조절하려면 * 30에서 숫자를 조절하면 됨
|
||||
if (form.checkId.checked)
|
||||
expdate.setTime(expdate.getTime() + 1000 * 3600 * 24 * 30); // 30일
|
||||
else
|
||||
expdate.setTime(expdate.getTime() - 1); // 쿠키 삭제조건
|
||||
setCookie("ncms_saveid", form.id_text.value, expdate);
|
||||
}
|
||||
|
||||
function getid(form){
|
||||
form.checkId.checked = ((form.id_text.value = getCookie("ncms_saveid")) != "");
|
||||
}
|
||||
|
||||
function validation(){
|
||||
if(document.loginForm.phone.value == ''){
|
||||
alert('휴대폰번호를 입력해주세요.');
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<form:form id="loginForm" name="loginForm" method="post">
|
||||
<input type="hidden" name="userSe" value="USR" />
|
||||
<input type="hidden" id="id" name="id">
|
||||
<input type="hidden" id="password" name="password">
|
||||
<input type="hidden" id="password2" name="password2">
|
||||
|
||||
<input name="j_username" type="hidden" />
|
||||
<div class="login_all_wrap">
|
||||
<div class="login_wrap">
|
||||
<div class="login_left_box">
|
||||
<img src="/kccadrPb/adm/image/login_logo.png" alt="한국저작권위원회 KOREA COPYRIGHT COMMISSION">
|
||||
</div>
|
||||
<div class="login_right_box login_right_otp_box">
|
||||
<p class="login_tit">법원연계 - 조정위원 로그인</p>
|
||||
<div class="id_box">
|
||||
<p>ID</p>
|
||||
<label for="id_text"></label>
|
||||
<input type="text" id="id_text" maxlength="15" placeholder="아이디를 입력해주세요" class="id">
|
||||
</div>
|
||||
<div class="pw_box">
|
||||
<p>PASSWORD</p>
|
||||
<label for="password_text"></label>
|
||||
<input type="password" id="password_text" value="<c:out value='${password}'/>" placeholder="비밀번호를 입력해주세요." class="pw" onkeydown="javascript:if (event.keyCode == 13) { actionLogin();return false; }">
|
||||
</div>
|
||||
<div class="saveId">
|
||||
<input type="checkbox" id="checkId" name="checkId">
|
||||
<label for="checkId">아이디저장</label>
|
||||
</div>
|
||||
<div class="submit_box">
|
||||
<input type="submit" value="로그인" class="submit" id="login_submit" onclick="javascript:actionLogin();return false;">
|
||||
|
||||
</div>
|
||||
<div class="copyright">
|
||||
<span class="copy_text">Copyright ⓒ한국저작권위원회 All Rights Reserved.</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form:form>
|
||||
|
||||
<form id="certForm" name="certForm" method="post" action="">
|
||||
<input type="hidden" name="userId" id="userId" value="<c:out value='${id}'/>"/>
|
||||
<input type="hidden" name="trPhone" id="trPhone" value=""/>
|
||||
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Reference in New Issue
Block a user