refactor : 유저 테이블 수정

main
이범준 1 year ago
parent 4424171129
commit e046c5528b

@ -1,53 +0,0 @@
package kr.xit.fims.framework.biz.cmm;
import kr.xit.fims.framework.core.BaseVO;
import lombok.*;
/**
*
* @: VO
* @:
* @: 2020. 3. 21. 10:15:53
* @:
* @author ()
* @since 2002. 2. 2.
* @version 1.0 Copyright(c) XIT All rights reserved.
*/
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ToString
public class XitEntrprsMberVO extends BaseVO {
/**
* serialVersionUID
*/
private static final long serialVersionUID = -279550027005549283L;
protected String entrprsMberId; //기업 회원 id
protected String entrprsSeCode; //기업 구분 코드
protected String bizrno; //사업자등록번호
protected String jurirno; //법인등록번호
protected String cmpnyNm; //회사 명
protected String cxfc; //대표이사
protected String zip; //우편번호
protected String adres; //주소
protected String entrprsMiddleTelno; //기업 중간 전화번호
protected String fxnum; //팩스번호
protected String induty_code; //업종 코드
protected String applcntNm; //신청인 명
protected String applcntIhidnum; //신청인 주민등록번호
protected String regDt; //가입 일
protected String entrprsMberSttus; //기업 회원 상태
protected String entrprsMberPassword; //기업 회원 비밀번호
protected String entrprsMberPasswordHint; //기업 회원 비밀번호 힌트
protected String entrprsMberPasswordCnsr; //기업 회원 비밀번호 정답
protected String groupId; //그룹 id
protected String detailAdres; //상세 주소
protected String entrprsEndTelno; //기업 끝 전화번호
protected String area_no; //지역 번호
protected String applcntEmailAdres; //신청자 이메일 주소
protected String esntlId; //고유 id
}

@ -1,50 +0,0 @@
package kr.xit.fims.framework.biz.cmm;
import kr.xit.fims.framework.core.BaseVO;
import lombok.*;
/**
*
* @: VO
* @:
* @: 2020. 3. 21. 10:23:42
* @:
* @author ()
* @since 2002. 2. 2.
* @version 1.0 Copyright(c) XIT All rights reserved.
*/
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ToString
public class XitGnrlMberVO extends BaseVO {
/**
* serialVersionUID
*/
private static final long serialVersionUID = -8432104288694124828L;
protected String mberId; //회원 id
protected String password; //비밀번호
protected String passwordHint; //비밀번호 힌트
protected String passwordCnsr; //비밀번호 정답
protected String ihidnum; //주민등록번호
protected String mberNm; //회원 명
protected String zip; //우편번호
protected String adres; //주소
protected String areaNo; //지역 번호
protected String mberSttus; //회원 상태
protected String detailAdres; //상세 주소
protected String endTelno; //끝 전화번호
protected String mbtlnum; //이동전화번호
protected String groupId; //그룹 id
protected String mberFxnum; //회원 팩스번호
protected String mberEmailAdres; //회원 이메일 주소
protected String middleTelno; //중간 전화번호
protected String regDt; //가입 일자
protected String sexdstnCode; //성별 코드
protected String esntlId; //고유 id
}

@ -83,45 +83,7 @@ public class XitLoginVO implements Serializable{
*/
if( obj == null) {
} else if(obj instanceof XitGnrlMberVO) {
//일반회원
XitGnrlMberVO vo = (XitGnrlMberVO)obj;
this.id = vo.getMberId();
this.name = vo.getMberNm();
this.password = vo.getPassword();
this.ihidNum = vo.getIhidnum();
this.email = vo.getMberEmailAdres();
this.userSe = USER_SE.GNR.name();
this.orgnztId = "-";
this.orgnztNm = "-";
this.groupId = vo.getGroupId();
this.pstinstCode = "-";
this.uniqId = vo.getEsntlId();
this.jobDataAuthor = "-";
this.userManageAuthor = "-";
this.elctrnsanctnUseYn = "-";
this.jobConfmAuthorYn = "-";
}else if(obj instanceof XitEntrprsMberVO) {
//기업회원
XitEntrprsMberVO vo = (XitEntrprsMberVO)obj;
this.id = vo.getEntrprsMberId();
this.name = vo.getCmpnyNm();
this.password = vo.getEntrprsMberPassword();
this.ihidNum = vo.getBizrno();
this.email = vo.getApplcntEmailAdres();
this.userSe = USER_SE.ENT.name();
this.orgnztId = "-";
this.orgnztNm = "-";
this.groupId = vo.getGroupId();
this.pstinstCode = "-";
this.uniqId = vo.getEsntlId();
this.jobDataAuthor = "-";
this.userManageAuthor = "-";
this.elctrnsanctnUseYn = "-";
this.jobConfmAuthorYn = "-";
}else if(obj instanceof XitUserInfoVO) {
} else if(obj instanceof XitUserInfoVO) {
//업무사용자
XitUserInfoVO vo = (XitUserInfoVO)obj;
this.id = vo.getUserId();

@ -3,13 +3,9 @@ package kr.xit.fims.framework.biz.cmm.web;
import cokr.xit.foundation.web.AbstractController;
import kr.xit.fims.framework.biz.cmm.service.XitFrameCodeService;
import kr.xit.fims.framework.biz.cmm.service.XitFrameUnitService;
import kr.xit.fims.framework.biz.mng.user.XitEntUserRegMngVO;
import kr.xit.fims.framework.biz.mng.user.XitGnrUserRegMngVO;
import kr.xit.fims.framework.biz.mng.user.XitUserRegMngSearchVO;
import kr.xit.fims.framework.biz.mng.user.XitUserRegMngVO;
import kr.xit.fims.framework.biz.mng.user.service.UserMgtService;
import kr.xit.fims.framework.biz.mng.user.service.XitEntUserRegMngService;
import kr.xit.fims.framework.biz.mng.user.service.XitGnrUserRegMngService;
import kr.xit.fims.framework.core.constants.FrameworkConstants;
import kr.xit.fims.framework.core.constants.FrameworkConstants.TILES_TYPE;
import kr.xit.fims.framework.core.constants.FrameworkConstants.USER_SE;
@ -49,10 +45,7 @@ public class XitFrameAnonymousController extends AbstractController {
@Resource
private XitFrameCodeService xitFrameCodeService;
@Resource
private XitGnrUserRegMngService xitGnrUserRegMngService;
@Resource
private XitEntUserRegMngService xitEntUserRegMngService;
@Resource
private UserMgtService xitUserRegMngService;
@Resource
@ -119,8 +112,6 @@ public class XitFrameAnonymousController extends AbstractController {
@RequestMapping(name = "", value = "login/UserReg_{cmd}", method={RequestMethod.GET, RequestMethod.POST})
public String UserReg_page(@PathVariable String cmd
, @ModelAttribute("userSearchVO") XitUserRegMngSearchVO searchVO
, @ModelAttribute("mberManageVO") XitGnrUserRegMngVO mberManageVO
, @ModelAttribute("entrprsManageVO") XitEntUserRegMngVO entrprsManageVO
, @ModelAttribute("userManageVO") XitUserRegMngVO userManageVO
, @RequestParam(value="userTyForPassword", required=false, defaultValue="") String userTyForPassword
, ModelMap model) {
@ -169,8 +160,6 @@ public class XitFrameAnonymousController extends AbstractController {
@RequestMapping(name = "", value = "login/UserReg_Forms_{cmd}", method={RequestMethod.GET, RequestMethod.POST})
public String UserReg_Forms_page(@PathVariable String cmd
, @ModelAttribute("userSearchVO") XitUserRegMngSearchVO searchVO
, @ModelAttribute("mberManageVO") XitGnrUserRegMngVO mberManageVO
, @ModelAttribute("entrprsManageVO") XitEntUserRegMngVO entrprsManageVO
, @ModelAttribute("userManageVO") XitUserRegMngVO userManageVO
, @RequestParam(value="userTyForPassword", required=false, defaultValue="") String userTyForPassword
, ModelMap model) {
@ -179,29 +168,11 @@ public class XitFrameAnonymousController extends AbstractController {
switch (cmd) {
case "GNR": //일반회원가입 페이지
page = "GnrUserForm";
/*================
*
================*/
model.addAttribute("passwordHint_result" , xitFrameCodeService.findCmmnDetailCodes("XIT022")); //패스워트힌트코드 목록
model.addAttribute("sexdstnCode_result" , xitFrameCodeService.findCmmnDetailCodes("XIT014")); //성별구분코드 목록
model.addAttribute("groupId_result" , xitFrameCodeService.findGroupCodes("XIT_ORGNZT_INFO")); //그룹정보코드 목록
model.addAttribute("mberSttus_result" , xitFrameCodeService.findCmmnDetailCodes("XIT013")); //사용자상태코드 목록
break;
case "ENT": //기업회원가입 페이지
page = "EntUserForm";
/*================
*
================*/
model.addAttribute("passwordHint_result" , xitFrameCodeService.findCmmnDetailCodes("XIT022")); //패스워트힌트코드 목록
model.addAttribute("sexdstnCode_result" , xitFrameCodeService.findCmmnDetailCodes("XIT014")); //성별구분코드 목록
model.addAttribute("groupId_result" , xitFrameCodeService.findGroupCodes("XIT_ORGNZT_INFO")); //그룹정보코드 목록
model.addAttribute("entrprsMberSttus_result" , xitFrameCodeService.findCmmnDetailCodes("XIT013")); //사용자상태코드 목록
model.addAttribute("entrprsSeCode_result" , xitFrameCodeService.findCmmnDetailCodes("XIT026")); //기업구분코드 목록
model.addAttribute("indutyCode_result" , xitFrameCodeService.findCmmnDetailCodes("XIT027")); //업종코드 목록
break;
case "USR": //업무사용자 회원가입 페이지
@ -238,8 +209,6 @@ public class XitFrameAnonymousController extends AbstractController {
*/
@RequestMapping(name = "", value = "login/UserReg_insert_proc", method=RequestMethod.POST)
public void UserReg_insert_proc(@RequestParam(value="userSe", required=true) String userSe
,@ModelAttribute("mberManageVO") XitGnrUserRegMngVO mberManageVO
,@ModelAttribute("entrprsManageVO") XitEntUserRegMngVO entrprsManageVO
,@ModelAttribute("userManageVO") XitUserRegMngVO userManageVO
,BindingResult bindingResult
,Model model
@ -270,66 +239,11 @@ public class XitFrameAnonymousController extends AbstractController {
ValidateBreakPoint:
switch (constUserSe) {
case GNR: //일반회원
sLocationUrl = "forward:/_anonymous_/login/UserReg_Forms_GNR.do";
/**
*
*/
//2020.11.24. 주석처리
beanValidator.validate(mberManageVO, bindingResult);
// beanValidator.validate("mberManageVO", mberManageVO, bindingResult);
if (bindingResult.hasErrors()) {
message = xitMessageSource.getMessage("fail.common.insert");
break ValidateBreakPoint;
}
/**
*
*/
mberManageVO.setMberSttus(this.getUserSttusCode(constUserSe)); //사용자상태코드(A: 신청, D: 삭제, P:승인)
/**
*
*/
try {
xitGnrUserRegMngService.addProc(mberManageVO);
message = xitMessageSource.getMessage("success.common.insert");
} catch (RuntimeException e) {
message = e.getMessage();
} catch (Exception e) {
message = xitMessageSource.getMessage("fail.common.insert");
}
break;
case ENT: //기업회원
sLocationUrl = "forward:/_anonymous_/login/UserReg_Forms_ENT.do";
/**
*
*/
//2020.11.24. 주석처리
beanValidator.validate(mberManageVO, bindingResult);
// beanValidator.validate("entrprsManageVO", entrprsManageVO, bindingResult);
if (bindingResult.hasErrors()) {
message = xitMessageSource.getMessage("fail.common.insert");
}
/**
*
*/
entrprsManageVO.setEntrprsMberSttus(this.getUserSttusCode(constUserSe)); //사용자상태코드(A: 신청, D: 삭제, P:승인)
/**
*
*/
try {
xitEntUserRegMngService.addProc(entrprsManageVO);
message = xitMessageSource.getMessage("success.common.insert");
} catch (RuntimeException e) {
message = e.getMessage();
} catch (Exception e) {
message = xitMessageSource.getMessage("fail.common.insert");
}
break;
case USR: //업무사용자
@ -339,7 +253,7 @@ public class XitFrameAnonymousController extends AbstractController {
*
*/
//2020.11.24. 주석처리
beanValidator.validate(mberManageVO, bindingResult);
beanValidator.validate(userManageVO, bindingResult);
// beanValidator.validate("userManageVO", userManageVO, bindingResult);
if (bindingResult.hasErrors()) {
message = xitMessageSource.getMessage("fail.common.insert");
@ -416,12 +330,10 @@ public class XitFrameAnonymousController extends AbstractController {
if(!XitCmmnUtil.isEmpty(userSe)) {
switch (userSe) {
case GNR: //일반회원
if(XitCmmnUtil.notEmpty(MEMBER_STATUS_GNR))
sttusCode = MEMBER_STATUS_GNR;
break;
case ENT: //기업회원
if(XitCmmnUtil.notEmpty(MEMBER_STATUS_ENT))
sttusCode = MEMBER_STATUS_ENT;
break;
case USR: //업무사용자
if(XitCmmnUtil.notEmpty(MEMBER_STATUS_USR))

@ -1,22 +0,0 @@
package kr.xit.fims.framework.biz.mng.user;
import kr.xit.fims.framework.core.XitBaseSearchVO;
/**
*
* @: SearchVO
* @:
* @: 2020. 3. 26. 1:33:08
* @:
* @author ()
* @since 2002. 2. 2.
* @version 1.0 Copyright(c) XIT All rights reserved.
*/
public class XitEntUserRegMngSearchVO extends XitBaseSearchVO{
/**
* serialVersionUID
*/
private static final long serialVersionUID = 1L;
}

@ -1,562 +0,0 @@
package kr.xit.fims.framework.biz.mng.user;
import kr.xit.fims.framework.core.BaseVO;
/**
*
* @: VO
* @:
* @: 2020. 3. 26. 1:32:49
* @:
* @author ()
* @since 2002. 2. 2.
* @version 1.0 Copyright(c) XIT All rights reserved.
*/
public class XitEntUserRegMngVO extends BaseVO {
/**
* serialVersionUID
*/
private static final long serialVersionUID = 1L;
/** 이전비밀번호 - 비밀번호 변경시 사용*/
private String oldPassword = "";
/**
*
*/
private String uniqId="";
/**
*
*/
private String userTy;
/**
*
*/
private String adres;
/**
*
*/
private String detailAdres;
/**
*
*/
private String applcntIhidnum;
/**
*
*/
private String applcntNm;
/**
*
*/
private String bizrno;
/**
*
*/
private String cmpnyNm;
/**
*
*/
private String cxfc;
/**
* ID
*/
private String entrprsmberId;
/**
*
*/
private String entrprsMberPassword;
/**
*
*/
private String entrprsMberPasswordCnsr;
/**
*
*/
private String entrprsMberPasswordHint;
/**
*
*/
private String entrprsMberSttus;
/**
*
*/
private String entrprsSeCode;
/**
*
*/
private String fxnum;
/**
* ID
*/
private String groupId;
/**
*
*/
private String indutyCode;
/**
*
*/
private String jurirno;
/**
*
*/
private String areaNo;
/**
*
*/
private String entrprsEndTelno;
/**
*
*/
private String entrprsMiddleTelno;
/**
*
*/
private String regDt;
/**
*
*/
private String zip;
/**
*
*/
private String applcntEmailAdres;
/**
*
*/
private String userSttusCode;
/**
*
*/
private String lockAt;
public String getLockAt() {return lockAt;}
public void setLockAt(String lockAt) {this.lockAt = lockAt;}
/*========================
* select
========================*/
private String userId;
private String userNm;
private String middleTelno;
private String endTelno;
private String sttus;
private String emailAdres;
private String mbtlnum;
/**
* oldPassword attribute .
* @return String
*/
public String getOldPassword() {
return oldPassword;
}
/**
* oldPassword attribute .
* @param oldPassword String
*/
public void setOldPassword(String oldPassword) {
this.oldPassword = oldPassword;
}
/**
* uniqId attribute .
* @return String
*/
public String getUniqId() {
return uniqId;
}
/**
* uniqId attribute .
* @param uniqId String
*/
public void setUniqId(String uniqId) {
this.uniqId = uniqId;
}
/**
* userTy attribute .
* @return String
*/
public String getUserTy() {
return userTy;
}
/**
* userTy attribute .
* @param userTy String
*/
public void setUserTy(String userTy) {
this.userTy = userTy;
}
/**
* adres attribute .
* @return String
*/
public String getAdres() {
return adres;
}
/**
* adres attribute .
* @param adres String
*/
public void setAdres(String adres) {
this.adres = adres;
}
/**
* detailAdres attribute .
* @return String
*/
public String getDetailAdres() {
return detailAdres;
}
/**
* detailAdres attribute .
* @param detailAdres String
*/
public void setDetailAdres(String detailAdres) {
this.detailAdres = detailAdres;
}
/**
* applcntIhidnum attribute .
* @return String
*/
public String getApplcntIhidnum() {
return applcntIhidnum;
}
/**
* applcntIhidnum attribute .
* @param applcntIhidnum String
*/
public void setApplcntIhidnum(String applcntIhidnum) {
this.applcntIhidnum = applcntIhidnum;
}
/**
* applcntNm attribute .
* @return String
*/
public String getApplcntNm() {
return applcntNm;
}
/**
* applcntNm attribute .
* @param applcntNm String
*/
public void setApplcntNm(String applcntNm) {
this.applcntNm = applcntNm;
}
/**
* bizrno attribute .
* @return String
*/
public String getBizrno() {
return bizrno;
}
/**
* bizrno attribute .
* @param bizrno String
*/
public void setBizrno(String bizrno) {
this.bizrno = bizrno;
}
/**
* cmpnyNm attribute .
* @return String
*/
public String getCmpnyNm() {
return cmpnyNm;
}
/**
* cmpnyNm attribute .
* @param cmpnyNm String
*/
public void setCmpnyNm(String cmpnyNm) {
this.cmpnyNm = cmpnyNm;
}
/**
* cxfc attribute .
* @return String
*/
public String getCxfc() {
return cxfc;
}
/**
* cxfc attribute .
* @param cxfc String
*/
public void setCxfc(String cxfc) {
this.cxfc = cxfc;
}
/**
* entrprsmberId attribute .
* @return String
*/
public String getEntrprsmberId() {
return entrprsmberId;
}
/**
* entrprsmberId attribute .
* @param entrprsmberId String
*/
public void setEntrprsmberId(String entrprsmberId) {
this.entrprsmberId = entrprsmberId;
}
/**
* entrprsMberPassword attribute .
* @return String
*/
public String getEntrprsMberPassword() {
return entrprsMberPassword;
}
/**
* entrprsMberPassword attribute .
* @param entrprsMberPassword String
*/
public void setEntrprsMberPassword(String entrprsMberPassword) {
this.entrprsMberPassword = entrprsMberPassword;
}
/**
* entrprsMberPasswordCnsr attribute .
* @return String
*/
public String getEntrprsMberPasswordCnsr() {
return entrprsMberPasswordCnsr;
}
/**
* entrprsMberPasswordCnsr attribute .
* @param entrprsMberPasswordCnsr String
*/
public void setEntrprsMberPasswordCnsr(String entrprsMberPasswordCnsr) {
this.entrprsMberPasswordCnsr = entrprsMberPasswordCnsr;
}
/**
* entrprsMberPasswordHint attribute .
* @return String
*/
public String getEntrprsMberPasswordHint() {
return entrprsMberPasswordHint;
}
/**
* entrprsMberPasswordHint attribute .
* @param entrprsMberPasswordHint String
*/
public void setEntrprsMberPasswordHint(String entrprsMberPasswordHint) {
this.entrprsMberPasswordHint = entrprsMberPasswordHint;
}
/**
* entrprsMberSttus attribute .
* @return String
*/
public String getEntrprsMberSttus() {
return entrprsMberSttus;
}
/**
* entrprsMberSttus attribute .
* @param entrprsMberSttus String
*/
public void setEntrprsMberSttus(String entrprsMberSttus) {
this.entrprsMberSttus = entrprsMberSttus;
}
/**
* entrprsSeCode attribute .
* @return String
*/
public String getEntrprsSeCode() {
return entrprsSeCode;
}
/**
* entrprsSeCode attribute .
* @param entrprsSeCode String
*/
public void setEntrprsSeCode(String entrprsSeCode) {
this.entrprsSeCode = entrprsSeCode;
}
/**
* fxnum attribute .
* @return String
*/
public String getFxnum() {
return fxnum;
}
/**
* fxnum attribute .
* @param fxnum String
*/
public void setFxnum(String fxnum) {
this.fxnum = fxnum;
}
/**
* groupId attribute .
* @return String
*/
public String getGroupId() {
return groupId;
}
/**
* groupId attribute .
* @param groupId String
*/
public void setGroupId(String groupId) {
this.groupId = groupId;
}
/**
* indutyCode attribute .
* @return String
*/
public String getIndutyCode() {
return indutyCode;
}
/**
* indutyCode attribute .
* @param indutyCode String
*/
public void setIndutyCode(String indutyCode) {
this.indutyCode = indutyCode;
}
/**
* jurirno attribute .
* @return String
*/
public String getJurirno() {
return jurirno;
}
/**
* jurirno attribute .
* @param jurirno String
*/
public void setJurirno(String jurirno) {
this.jurirno = jurirno;
}
/**
* areaNo attribute .
* @return String
*/
public String getAreaNo() {
return areaNo;
}
/**
* areaNo attribute .
* @param areaNo String
*/
public void setAreaNo(String areaNo) {
this.areaNo = areaNo;
}
/**
* entrprsEndTelno attribute .
* @return String
*/
public String getEntrprsEndTelno() {
return entrprsEndTelno;
}
/**
* entrprsEndTelno attribute .
* @param entrprsEndTelno String
*/
public void setEntrprsEndTelno(String entrprsEndTelno) {
this.entrprsEndTelno = entrprsEndTelno;
}
/**
* entrprsMiddleTelno attribute .
* @return String
*/
public String getEntrprsMiddleTelno() {
return entrprsMiddleTelno;
}
/**
* entrprsMiddleTelno attribute .
* @param entrprsMiddleTelno String
*/
public void setEntrprsMiddleTelno(String entrprsMiddleTelno) {
this.entrprsMiddleTelno = entrprsMiddleTelno;
}
/**
* regDt attribute .
* @return String
*/
public String getRegDt() {
return regDt;
}
/**
* regDt attribute .
* @param regDt String
*/
public void setRegDt(String regDt) {
this.regDt = regDt;
}
/**
* zip attribute .
* @return String
*/
public String getZip() {
return zip;
}
/**
* zip attribute .
* @param zip String
*/
public void setZip(String zip) {
this.zip = zip;
}
/**
* applcntEmailAdres attribute .
* @return String
*/
public String getApplcntEmailAdres() {
return applcntEmailAdres;
}
/**
* applcntEmailAdres attribute .
* @param applcntEmailAdres String
*/
public void setApplcntEmailAdres(String applcntEmailAdres) {
this.applcntEmailAdres = applcntEmailAdres;
}
public String getUserSttusCode() {
return userSttusCode;
}
public void setUserSttusCode(String userSttusCode) {
this.userSttusCode = userSttusCode;
}
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getUserNm() {
return userNm;
}
public void setUserNm(String userNm) {
this.userNm = userNm;
}
public String getMiddleTelno() {
return middleTelno;
}
public void setMiddleTelno(String middleTelno) {
this.middleTelno = middleTelno;
}
public String getEndTelno() {
return endTelno;
}
public void setEndTelno(String endTelno) {
this.endTelno = endTelno;
}
public String getSttus() {
return sttus;
}
public void setSttus(String sttus) {
this.sttus = sttus;
}
public String getEmailAdres() {
return emailAdres;
}
public void setEmailAdres(String emailAdres) {
this.emailAdres = emailAdres;
}
public String getMoblphonNo() {
return mbtlnum;
}
public void setMoblphonNo(String mbtlnum) {
this.mbtlnum = mbtlnum;
}
}

@ -1,22 +0,0 @@
package kr.xit.fims.framework.biz.mng.user;
import kr.xit.fims.framework.core.XitBaseSearchVO;
/**
*
* @: SearchVO
* @:
* @: 2020. 3. 26. 1:33:08
* @:
* @author ()
* @since 2002. 2. 2.
* @version 1.0 Copyright(c) XIT All rights reserved.
*/
public class XitGnrUserRegMngSearchVO extends XitBaseSearchVO{
/**
* serialVersionUID
*/
private static final long serialVersionUID = 1L;
}

@ -1,471 +0,0 @@
package kr.xit.fims.framework.biz.mng.user;
import kr.xit.fims.framework.core.BaseVO;
/**
*
* @: VO
* @:
* @: 2020. 3. 26. 1:32:49
* @:
* @author ()
* @since 2002. 2. 2.
* @version 1.0 Copyright(c) XIT All rights reserved.
*/
public class XitGnrUserRegMngVO extends BaseVO {
/**
* serialVersionUID
*/
private static final long serialVersionUID = 1L;
/** 이전비밀번호 - 비밀번호 변경시 사용*/
private String oldPassword = "";
/**
*
*/
private String uniqId="";
/**
*
*/
private String userTy;
/**
*
*/
private String adres;
/**
*
*/
private String detailAdres;
/**
*
*/
private String endTelno;
/**
*
*/
private String mberFxnum;
/**
* ID
*/
private String groupId;
/**
*
*/
private String ihidnum;
/**
*
*/
private String sexdstnCode;
/**
* ID
*/
private String mberId;
/**
*
*/
private String mberNm;
/**
*
*/
private String mberSttus;
/**
*
*/
private String areaNo;
/**
*
*/
private String middleTelno;
/**
*
*/
private String mbtlnum;
/**
*
*/
private String password;
/**
*
*/
private String passwordCnsr;
/**
*
*/
private String passwordHint;
/**
*
*/
private String regDt;
/**
*
*/
private String zip;
/**
*
*/
private String mberEmailAdres;
/**
*
*/
private String userSttusCode;
/**
*
*/
private String lockAt;
public String getLockAt() {return lockAt;}
public void setLockAt(String lockAt) {this.lockAt = lockAt;}
/*========================
* select
========================*/
private String userId;
private String userNm;
// private String middleTelno;
// private String endTelno;
private String sttus;
private String emailAdres;
/**
* oldPassword attribute .
* @return String
*/
public String getOldPassword() {
return oldPassword;
}
/**
* oldPassword attribute .
* @param oldPassword String
*/
public void setOldPassword(String oldPassword) {
this.oldPassword = oldPassword;
}
/**
* uniqId attribute .
* @return String
*/
public String getUniqId() {
return uniqId;
}
/**
* uniqId attribute .
* @param uniqId String
*/
public void setUniqId(String uniqId) {
this.uniqId = uniqId;
}
/**
* userTy attribute .
* @return String
*/
public String getUserTy() {
return userTy;
}
/**
* userTy attribute .
* @param userTy String
*/
public void setUserTy(String userTy) {
this.userTy = userTy;
}
/**
* adres attribute .
* @return String
*/
public String getAdres() {
return adres;
}
/**
* adres attribute .
* @param adres String
*/
public void setAdres(String adres) {
this.adres = adres;
}
/**
* detailAdres attribute .
* @return String
*/
public String getDetailAdres() {
return detailAdres;
}
/**
* detailAdres attribute .
* @param detailAdres String
*/
public void setDetailAdres(String detailAdres) {
this.detailAdres = detailAdres;
}
/**
* endTelno attribute .
* @return String
*/
public String getEndTelno() {
return endTelno;
}
/**
* endTelno attribute .
* @param endTelno String
*/
public void setEndTelno(String endTelno) {
this.endTelno = endTelno;
}
/**
* mberFxnum attribute .
* @return String
*/
public String getMberFxnum() {
return mberFxnum;
}
/**
* mberFxnum attribute .
* @param mberFxnum String
*/
public void setMberFxnum(String mberFxnum) {
this.mberFxnum = mberFxnum;
}
/**
* groupId attribute .
* @return String
*/
public String getGroupId() {
return groupId;
}
/**
* groupId attribute .
* @param groupId String
*/
public void setGroupId(String groupId) {
this.groupId = groupId;
}
/**
* ihidnum attribute .
* @return String
*/
public String getIhidnum() {
return ihidnum;
}
/**
* ihidnum attribute .
* @param ihidnum String
*/
public void setIhidnum(String ihidnum) {
this.ihidnum = ihidnum;
}
/**
* sexdstnCode attribute .
* @return String
*/
public String getSexdstnCode() {
return sexdstnCode;
}
/**
* sexdstnCode attribute .
* @param sexdstnCode String
*/
public void setSexdstnCode(String sexdstnCode) {
this.sexdstnCode = sexdstnCode;
}
/**
* mberId attribute .
* @return String
*/
public String getMberId() {
return mberId;
}
/**
* mberId attribute .
* @param mberId String
*/
public void setMberId(String mberId) {
this.mberId = mberId;
}
/**
* mberNm attribute .
* @return String
*/
public String getMberNm() {
return mberNm;
}
/**
* mberNm attribute .
* @param mberNm String
*/
public void setMberNm(String mberNm) {
this.mberNm = mberNm;
}
/**
* mberSttus attribute .
* @return String
*/
public String getMberSttus() {
return mberSttus;
}
/**
* mberSttus attribute .
* @param mberSttus String
*/
public void setMberSttus(String mberSttus) {
this.mberSttus = mberSttus;
}
/**
* areaNo attribute .
* @return String
*/
public String getAreaNo() {
return areaNo;
}
/**
* areaNo attribute .
* @param areaNo String
*/
public void setAreaNo(String areaNo) {
this.areaNo = areaNo;
}
/**
* middleTelno attribute .
* @return String
*/
public String getMiddleTelno() {
return middleTelno;
}
/**
* middleTelno attribute .
* @param middleTelno String
*/
public void setMiddleTelno(String middleTelno) {
this.middleTelno = middleTelno;
}
/**
* mbtlnum attribute .
* @return String
*/
public String getMoblphonNo() {
return mbtlnum;
}
/**
* mbtlnum attribute .
* @param mbtlnum String
*/
public void setMoblphonNo(String mbtlnum) {
this.mbtlnum = mbtlnum;
}
/**
* password attribute .
* @return String
*/
public String getPassword() {
return password;
}
/**
* password attribute .
* @param password String
*/
public void setPassword(String password) {
this.password = password;
}
/**
* passwordCnsr attribute .
* @return String
*/
public String getPasswordCnsr() {
return passwordCnsr;
}
/**
* passwordCnsr attribute .
* @param passwordCnsr String
*/
public void setPasswordCnsr(String passwordCnsr) {
this.passwordCnsr = passwordCnsr;
}
/**
* passwordHint attribute .
* @return String
*/
public String getPasswordHint() {
return passwordHint;
}
/**
* passwordHint attribute .
* @param passwordHint String
*/
public void setPasswordHint(String passwordHint) {
this.passwordHint = passwordHint;
}
/**
* regDt attribute .
* @return String
*/
public String getRegDt() {
return regDt;
}
/**
* regDt attribute .
* @param regDt String
*/
public void setRegDt(String regDt) {
this.regDt = regDt;
}
/**
* zip attribute .
* @return String
*/
public String getZip() {
return zip;
}
/**
* zip attribute .
* @param zip String
*/
public void setZip(String zip) {
this.zip = zip;
}
/**
* mberEmailAdres attribute .
* @return String
*/
public String getMberEmailAdres() {
return mberEmailAdres;
}
/**
* mberEmailAdres attribute .
* @param mberEmailAdres String
*/
public void setMberEmailAdres(String mberEmailAdres) {
this.mberEmailAdres = mberEmailAdres;
}
public String getUserSttusCode() {
return userSttusCode;
}
public void setUserSttusCode(String userSttusCode) {
this.userSttusCode = userSttusCode;
}
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getUserNm() {
return userNm;
}
public void setUserNm(String userNm) {
this.userNm = userNm;
}
public String getSttus() {
return sttus;
}
public void setSttus(String sttus) {
this.sttus = sttus;
}
public String getEmailAdres() {
return emailAdres;
}
public void setEmailAdres(String emailAdres) {
this.emailAdres = emailAdres;
}
}

@ -1,374 +0,0 @@
<%@ 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" %>
<script type="text/javascript" src="<c:url value='/resources/js/fims/framework/egov/showModalDialog.js'/>" ></script>
<script type="text/javascript" src="<c:url value="/_anonymous_/login/validator.do"/>"></script>
<validator:javascript formName="entrprsManageVO" staticJavascript="false" xhtml="true" cdata="false"/>
<form:form modelAttribute="entrprsManageVO" name="entrprsManageVO" method="post" action="${pageContext.request.contextPath}/_anonymous_/login/UserReg_insert_proc.do">
<input type="hidden" name="zip_url" value="<c:url value='/framework/biz/cmm/popup/ZipSearchList.do'/>" />
<input type="hidden" name="userSe" value="ENT"/>
<div class="popup" style="min-width: 100%;">
<div class="container-window1" style="max-width: 700px;">
<c:set var="pageTitle"><spring:message code="comUssUmt.entrprsUserManage.title"/></c:set>
<p class="container-window-header2">${pageTitle } <spring:message code="title.create" /></p>
<!-- 등록폼 -->
<table class="table-03" summary="<spring:message code="common.summary.list" arguments="${pageTitle}" />">
<caption>${pageTitle} <spring:message code="title.create" /></caption>
<colgroup>
<col style="width: 22%;"><col style="width: ;">
</colgroup>
<tbody>
<!-- 입력/선택 -->
<c:set var="inputTxt"><spring:message code="input.input" /></c:set>
<c:set var="inputSelect"><spring:message code="input.cSelect" /></c:set>
<!-- 기업회원아이디 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.id"/></c:set>
<tr>
<th><label for="entrprsmberId">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="entrprsmberId" id="entrprsmberId" title="${title} ${inputTxt}" size="20" readonly="true" maxlength="20" style="width:60%;" />
<%-- <button id="btnMbrId" class="btn_s2" onClick="return false;" title="<spring:message code="button.delete" /> <spring:message code="input.button" />"><spring:message code="comUssUmt.entrprsUserManageRegistBtn.idSearch" /></button> --%>
<a id="fnIdCheck" >
<img src="/resources/image/fims/framework/etc/img_search.gif" alt=""/>(<spring:message code="comUssUmt.userManageRegistBtn.idSearch" />)
</a>
<div><form:errors path="entrprsmberId" cssClass="error" /></div>
</td>
</tr>
<!-- 회사명 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.name"/></c:set>
<tr>
<th><label for="cmpnyNm">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="cmpnyNm" title="${title} ${inputTxt}" size="50" maxlength="60" />
<div><form:errors path="cmpnyNm" cssClass="error" /></div>
</td>
</tr>
<!-- 비밀번호 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.pass"/></c:set>
<tr>
<th><label for="entrprsMberPassword">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:password path="entrprsMberPassword" title="${title} ${inputTxt}" size="50" maxlength="20" />
<div><form:errors path="entrprsMberPassword" cssClass="error" /></div>
</td>
</tr>
<!-- 비밀번호확인 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.passConfirm"/></c:set>
<tr>
<th><label for="entrprsMberPassword2">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<input name="entrprsMberPassword2" id="entrprsMberPassword2" title="${title} ${inputTxt}" type="password" size="50" maxlength="20" />
</td>
</tr>
<!-- 비밀번호힌트 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.passHit"/></c:set>
<tr>
<th><label for="entrprsMberPasswordHint">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:select path="entrprsMberPasswordHint" id="entrprsMberPasswordHint" title="${title} ${inputSelect}">
<form:option value="" label="--선택하세요--"/>
<form:options items="${passwordHint_result}" itemValue="code" itemLabel="codeVal"/>
</form:select>
<div><form:errors path="entrprsMberPasswordHint" cssClass="error"/></div>
</td>
</tr>
<!-- 비밀번호정답 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.passOk"/></c:set>
<tr>
<th><label for="entrprsMberPasswordCnsr">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="entrprsMberPasswordCnsr" id="entrprsMberPasswordCnsr" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="50" maxlength="100" />
<div><form:errors path="entrprsMberPasswordCnsr" cssClass="error"/></div>
</td>
</tr>
<!-- 업종코드 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.indutyCode"/></c:set>
<tr>
<th><label for="indutyCode">${title}</label></th>
<td class="left">
<form:select path="indutyCode" id="indutyCode" title="${title} ${inputSelect}">
<form:option value="" label="${inputSelect}"/>
<form:options items="${indutyCode_result}" itemValue="code" itemLabel="codeVal"/>
</form:select>
</td>
</tr>
<!-- 기업구분코드 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.entrprsSeCode"/></c:set>
<tr>
<th><label for="entrprsSeCode">${title}</label></th>
<td class="left">
<form:select path="entrprsSeCode" id="entrprsSeCode" title="${title} ${inputSelect}">
<form:option value="" label="${inputSelect}"/>
<form:options items="${entrprsSeCode_result}" itemValue="code" itemLabel="codeVal"/>
</form:select>
</td>
</tr>
<!-- 대표이사이름 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.cxfc"/></c:set>
<tr>
<th><label for="cxfc">${title}</label></th>
<td class="left">
<form:input path="cxfc" id="cxfc" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="20" maxlength="15" />
<div><form:errors path="cxfc" cssClass="error" /></div>
</td>
</tr>
<!-- 사업자등록번호 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.bizrno"/></c:set>
<tr>
<th><label for="bizrno">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="bizrno" id="bizrno" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="20" maxlength="10" />
<div><form:errors path="bizrno" cssClass="error" /></div>
</td>
</tr>
<!-- 법인등록번호 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.jurirno"/></c:set>
<tr>
<th><label for="jurirno">${title}</label> </th>
<td class="left">
<form:input path="jurirno" id="jurirno" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="20" maxlength="15" />
<div><form:errors path="jurirno" cssClass="error" /></div>
</td>
</tr>
<!-- 회사전화번호 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.tel"/></c:set>
<tr>
<th><label for="areaNo">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="areaNo" id="areaNo" title="전화번호" size="5" maxlength="5" style="width:40px;"/>
- <form:input path="entrprsMiddleTelno" id="entrprsMiddleTelno" size="5" maxlength="5" style="width:40px;"/>
- <form:input path="entrprsEndTelno" id="entrprsEndTelno" size="5" maxlength="5" style="width:40px;"/>
<div><form:errors path="areaNo" cssClass="error" /></div>
<div><form:errors path="entrprsMiddleTelno" cssClass="error" /></div>
<div><form:errors path="entrprsEndTelno" cssClass="error" /></div>
</td>
</tr>
<!-- 팩스번호 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.fax"/></c:set>
<tr>
<th><label for="">${title}</label></th>
<td class="left">
<form:input path="fxnum" id="fxnum" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="20" maxlength="15" />
<div><form:errors path="fxnum" cssClass="error" /></div>
</td>
</tr>
<!-- 우번번호 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.post"/></c:set>
<tr>
<th><label for="zip">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<input name="zip" id="zip" title="${title} ${inputTxt}" type="text" size="20" value="" maxlength="8" style="width:60px;" readonly="true"/>
<!-- form:hidden path="zip" id="zip" -->
<!-- <button class="btn_s2" onClick="fn_egov_ZipSearch(document.entrprsManageVO, document.entrprsManageVO.zip, document.entrprsManageVO.zip_view, document.entrprsManageVO.adres);return false;" title="<spring:message code="button.delete" /> <spring:message code="input.button" />">우번번호검색</button> -->
<a id="addrSearch">
<img src="<c:url value='/resources/image/fims/framework/btn/search.png'/>" alt="" />(우편번호 검색)
</a>
<div><form:errors path="zip" cssClass="error" /></div>
</td>
</tr>
<!-- 주소 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.addr"/></c:set>
<tr>
<th><label for="adres">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="adres" id="adres" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="70" maxlength="100" />
<div><form:errors path="adres" cssClass="error" /></div>
</td>
</tr>
<!-- 상세주소 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.addrDetail"/></c:set>
<tr>
<th><label for="applcntNm">${title}</label></th>
<td class="left">
<form:input path="detailAdres" id="detailAdres" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="70" maxlength="100" />
<div><form:errors path="detailAdres" cssClass="error" /></div>
</td>
</tr>
<!-- 신청자이름 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageList.regName"/></c:set>
<tr>
<th><label for="">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="applcntNm" id="applcntNm" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="20" maxlength="20" />
<div><form:errors path="applcntNm" cssClass="error" /></div>
</td>
</tr>
<!-- 신청자이메일주소 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageList.regMail"/></c:set>
<tr>
<th><label for="applcntEmailAdres">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="applcntEmailAdres" id="applcntEmailAdres" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="30" maxlength="50" />
<div><form:errors path="applcntEmailAdres" cssClass="error" /></div>
</td>
</tr>
<!-- 그룹아이디 -->
<c:set var="inputSelect"><spring:message code="input.select"/></c:set>
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.groupId"/></c:set>
<tr>
<th><label for="groupId">${title}</label></th>
<td class="left">
<form:select path="groupId" id="groupId" title="${title} ${inputSelect}">
<form:option value="" label="${inputSelect}"/>
<form:options items="${groupId_result}" itemValue="code" itemLabel="codeVal"/>
</form:select>
<div><form:errors path="groupId" cssClass="error"/></div>
</td>
</tr>
</tbody>
</table>
<div class="container-window-btn1">
<span class="flr">
<!-- <a href="#" class="btn btn-blue" id="btnSave">저장</a> -->
<!-- <a href="#" class="btn btn-lightgray" id="btnClose">닫기</a> -->
<a href="#" id="btnSave" class="btn btn-blue"><spring:message code="button.save" /></a>
<a href="#" onclick="javascript:document.entrprsManageVO.reset(); return false;" class="btn btn-lightgray"><spring:message code="button.reset" /></a>
</span>
</div>
<!-- //등록버튼 -->
</div>
</div>
<!-- //popup -->
</form:form>
<script type="text/javaScript" language="javascript" defer="defer">
$(document).ready(function(){
EntUserForm.init();
});
function showModalDialogCallback(retVal) {
EntUserForm.fnIdCheckCallback(retVal);
}
var EntUserForm = {
init: function(){
//중복아이디 검색 EventListener
$('#fnIdCheck').on({
click: function(){
EntUserForm.fnIdCheck();
}
});
//우편번호 검색 버튼 EventListener
$('#addrSearch').on({
click: function(){
EntUserForm.fnSearchAdres();
}
});
//저장 버튼 EventListener
$('#btnSave').on({
click: function(){
EntUserForm.addData();
}
});
},
addData: function(){
if(!validateEntrprsManageVO(document.entrprsManageVO))
return false;
if(document.entrprsManageVO.entrprsMberPassword.value != document.entrprsManageVO.entrprsMberPassword2.value){
alert("<spring:message code="fail.user.passwordUpdate2" />");
return false;
}
document.entrprsManageVO.submit();
},
fnIdCheck: function(){
var retVal;
var url = "<c:url value='/_anonymous_/login/IdDuplCnfirm.do'/>";
var varParam = new Object();
varParam.checkId = document.entrprsManageVO.entrprsmberId.value;
var openParam = "dialogWidth:555px;dialogHeight:320px;scroll:no;status:no;center:yes;resizable:yes;";
retVal = window.showModalDialog(url, varParam, openParam);
if(retVal) {
document.entrprsManageVO.entrprsmberId.value = retVal;
}
},
fnIdCheckCallback: function(retVal){
if(retVal) {
document.entrprsManageVO.entrprsmberId.value = retVal;
}
},
/* ========================
* 주소 검색 팝업 OPEN
-도로명 주소를 검색할 수 있는 팝업을 오픈한다.
======================== */
fnSearchAdres: function(){
var popUrl = '<c:url value="/_anonymous_/api/AdresSearch.do"/>';
var params = '?callback=EntUserForm.fnSearchAdresCallback';
popUrl += params;
var popTitle = "AddrSearch";
var popOption = "width=570px, height=420px, resizable=yes, scrollbars=yes, location=no, top=100px, left=100px";
window.open(popUrl, popTitle ,popOption);
},
/* ========================
* 주소 검색 콜백 함수
-주소 검색 팝업의 검색결과를 전달 받는다.
======================== */
fnSearchAdresCallback: function(obj){
//검색결과 Set
var totalDetailAdres = ""; // 전체 상세 주소
totalDetailAdres += obj.addrDetail;
totalDetailAdres += obj.roadAddrPart2;
document.entrprsManageVO.adres.value = obj.roadAddrPart1;
document.entrprsManageVO.zip.value = obj.zipNo;
document.entrprsManageVO.detailAdres.value = totalDetailAdres;
}
}
function fn_egov_inqire_cert() {
var url = '/uat/uia/EgovGpkiRegist.do';
var popupwidth = '500';
var popupheight = '400';
var title = '인증서';
Top = (window.screen.height - popupheight) / 3;
Left = (window.screen.width - popupwidth) / 2;
if (Top < 0) Top = 0;
if (Left < 0) Left = 0;
Future = "fullscreen=no,toolbar=no,location=no,directories=no,status=no,menubar=no, scrollbars=no,resizable=no,left=" + Left + ",top=" + Top + ",width=" + popupwidth + ",height=" + popupheight;
PopUpWindow = window.open(url, title, Future)
PopUpWindow.focus();
}
function fn_egov_dn_info_setting(dn) {
document.entrprsManageVO.crtfcDnValue.value = dn;
}
/*
if (typeof(opener.fn_egov_dn_info_setting) == 'undefined') {
alert('메인 화면이 변경되거나 없습니다');
this.close();
} else {
opener.fn_egov_dn_info_setting(dn);
this.close();
}
*/
/* ********************************************************
* 처리결과메시지 출력
******************************************************** */
<c:if test="${!empty message}">alert("${message}");</c:if>
</script>

@ -1,397 +0,0 @@
<%@ 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"%>
<script type="text/javascript" src="<c:url value='/resources/js/fims/framework/egov/showModalDialog.js'/>" ></script>
<script type="text/javascript" src="<c:url value="/_anonymous_/login/validator.do"/>"></script>
<validator:javascript formName="mberManageVO" staticJavascript="false" xhtml="true" cdata="false" />
<form:form modelAttribute="mberManageVO" name="mberManageVO" method="post" action="${pageContext.request.contextPath}/_anonymous_/login/UserReg_insert_proc.do">
<input type="hidden" name="zip_url" value="<c:url value='/framework/biz/cmm/popup/ZipSearchList.do'/>" />
<input type="hidden" name="userSe" value="GNR" />
<div class="popup" style="min-width: 100%;">
<div class="container-window1" style="max-width: 700px;">
<c:set var="pageTitle"><spring:message code="comUssUmt.userManage.title" /></c:set>
<p class="container-window-header2">${pageTitle }<spring:message code="title.create" /></p>
<!-- 등록폼 -->
<table class="table-03" summary="<spring:message code="common.summary.list" arguments="${pageTitle}" />">
<caption>${pageTitle}
<spring:message code="title.create" />
</caption>
<colgroup>
<col style="width: 22%;">
<col style="width:;">
</colgroup>
<tbody>
<!-- 입력/선택 -->
<c:set var="inputTxt"><spring:message code="input.input" /></c:set>
<c:set var="inputSelect"><spring:message code="input.cSelect" /></c:set>
<!-- 일반회원아이디 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.id" /></c:set>
<tr>
<th><label for="mberId">${title}</label> <span class="pilsu">*</span></th>
<td class="left"><form:input path="mberId" id="mberId" title="${title} ${inputTxt}" size="20" readonly="true" maxlength="20" style="width:60%;" />
<%-- <button id="btnMbrId" class="btn_s2" onClick="return false;" title="<spring:message code="button.delete" /> <spring:message code="input.button" />"><spring:message code="comUssUmt.userManageRegistBtn.idSearch" /></button> --%>
<a id="fnIdCheck"> <img src="/resources/image/fims/framework/etc/img_search.gif" alt="" />(<spring:message code="comUssUmt.userManageRegistBtn.idSearch" />)
</a>
<div>
<form:errors path="mberId" cssClass="error" />
</div></td>
</tr>
<!-- 일반회원이름 -->
<c:set var="title">
<spring:message code="comUssUmt.userManageRegist.name" />
</c:set>
<tr>
<th><label for="mberNm">${title}</label> <span class="pilsu">*</span></th>
<td class="left"><form:input path="mberNm"
title="${title} ${inputTxt}" size="50" maxlength="50" />
<div>
<form:errors path="mberNm" cssClass="error" />
</div></td>
</tr>
<!-- 비밀번호 -->
<c:set var="title">
<spring:message code="comUssUmt.userManageRegist.pass" />
</c:set>
<tr>
<th><label for="password">${title}</label> <span
class="pilsu">*</span></th>
<td class="left"><form:password path="password"
title="${title} ${inputTxt}" size="50" maxlength="20" />
<div>
<form:errors path="password" cssClass="error" />
</div></td>
</tr>
<!-- 비밀번호확인 -->
<c:set var="title">
<spring:message code="comUssUmt.userManageRegist.passConfirm" />
</c:set>
<tr>
<th><label for="password2">${title}</label> <span
class="pilsu">*</span></th>
<td class="left"><input name="password2" id="password2"
title="${title} ${inputTxt}" type="password" size="50"
maxlength="20" /></td>
</tr>
<!-- 비밀번호힌트 -->
<c:set var="title">
<spring:message code="comUssUmt.userManageRegist.passHit" />
</c:set>
<tr>
<th><label for="passwordHint">${title}</label> <span
class="pilsu">*</span></th>
<td class="left"><form:select path="passwordHint"
id="passwordHint" title="${title} ${inputSelect}">
<form:option value="" label="--선택하세요--" />
<form:options items="${passwordHint_result}" itemValue="code"
itemLabel="codeVal" />
</form:select>
<div>
<form:errors path="passwordHint" cssClass="error" />
</div></td>
</tr>
<!-- 비밀번호정답 -->
<c:set var="title">
<spring:message code="comUssUmt.userManageRegist.passOk" />
</c:set>
<tr>
<th><label for="passwordCnsr">${title}</label> <span
class="pilsu">*</span></th>
<td class="left"><form:input path="passwordCnsr"
id="passwordCnsr" title="${title} ${inputTxt}"
cssClass="txaIpUmt" size="50" maxlength="100" />
<div>
<form:errors path="passwordCnsr" cssClass="error" />
</div></td>
</tr>
<!-- 성별구분코드 -->
<c:set var="title">
<spring:message code="comUssUmt.userManageRegist.saxTypeCode" />
</c:set>
<tr>
<th><label for="sexdstnCode">${title}</label></th>
<td class="left"><form:select path="sexdstnCode"
id="sexdstnCode" title="${title} ${inputSelect}">
<form:option value="" label="--선택하세요--" />
<form:options items="${sexdstnCode_result}" itemValue="code"
itemLabel="codeVal" />
</form:select></td>
</tr>
<!-- 전화번호 -->
<c:set var="title">
<spring:message code="comUssUmt.userManageRegist.tel" />
</c:set>
<tr>
<th><label for="areaNo">${title}</label> <span class="pilsu">*</span></th>
<td class="left"><form:input path="areaNo" id="areaNo"
title="전화번호" cssClass="txaIpUmt" size="5" maxlength="4"
style="width:40px;" /> - <form:input path="middleTelno"
id="middleTelno" cssClass="txaIpUmt" size="5" maxlength="4"
style="width:40px;" /> - <form:input path="endTelno"
id="endTelno" cssClass="txaIpUmt" size="5" maxlength="4"
style="width:40px;" />
<div>
<form:errors path="areaNo" cssClass="error" />
</div>
<div>
<form:errors path="middleTelno" cssClass="error" />
</div>
<div>
<form:errors path="endTelno" cssClass="error" />
</div></td>
</tr>
<!-- 팩스번호 -->
<c:set var="title">
<spring:message code="comUssUmt.userManageRegist.fax" />
</c:set>
<tr>
<th><label for="mberFxnum">${title}</label></th>
<td class="left"><form:input path="mberFxnum" id="mberFxnum"
title="${title} ${inputTxt}" cssClass="txaIpUmt" size="20"
maxlength="15" />
<div>
<form:errors path="mberFxnum" cssClass="error" />
</div></td>
</tr>
<!-- 헨드폰번호 -->
<c:set var="title">
<spring:message code="comUssUmt.userManageRegist.phone" />
</c:set>
<tr>
<th><label for="mbtlnum">${title}</label> <span
class="pilsu">*</span></th>
<td class="left"><form:input path="mbtlnum"
id="mbtlnum" title="${title} ${inputTxt}" cssClass="txaIpUmt"
size="20" maxlength="15" />
<div>
<form:errors path="mbtlnum" cssClass="error" />
</div></td>
</tr>
<!-- 이메일주소 -->
<c:set var="title">
<spring:message code="comUssUmt.userManageRegist.email" />
</c:set>
<tr>
<th><label for="mberEmailAdres">${title}</label> <span
class="pilsu">*</span></th>
<td class="left"><form:input path="mberEmailAdres"
id="mberEmailAdres" title="${title} ${inputTxt}"
cssClass="txaIpUmt" size="30" maxlength="50" />
<div>
<form:errors path="mberEmailAdres" cssClass="error" />
</div></td>
</tr>
<!-- 우번번호 -->
<c:set var="title">
<spring:message code="comUssUmt.userManageRegist.post" />
</c:set>
<tr>
<th><label for="zip">${title}</label> <span class="pilsu">*</span></th>
<td class="left"><input name="zip" id="zip"
title="${title} ${inputTxt}" type="text" size="20" value=""
maxlength="6" style="width: 60px;" readonly="true" /> <!-- form:hidden path="zip" id="zip" -->
<!-- <button class="btn_s2" onClick="fn_egov_ZipSearch(document.mberManageVO, document.mberManageVO.zip, document.mberManageVO.zip_view, document.mberManageVO.adres);return false;" title="<spring:message code="button.delete" /> <spring:message code="input.button" />">우번번호검색</button> -->
<a id="addrSearch"> <img src="<c:url value='/resources/image/fims/framework/btn/search.png'/>" alt="" />(우편번호 검색)
</a>
<div>
<form:errors path="zip" cssClass="error" />
</div></td>
</tr>
<!-- 주소 -->
<c:set var="title">
<spring:message code="comUssUmt.userManageRegist.addr" />
</c:set>
<tr>
<th><label for="adres">${title}</label> <span class="pilsu">*</span></th>
<td class="left"><form:input path="adres" id="adres"
title="${title} ${inputTxt}" cssClass="txaIpUmt" size="70"
maxlength="100" />
<div>
<form:errors path="adres" cssClass="error" />
</div></td>
</tr>
<!-- 상세주소 -->
<c:set var="title">
<spring:message code="comUssUmt.userManageRegist.addrDetail" />
</c:set>
<tr>
<th><label for="detailAdres">${title}</label></th>
<td class="left"><form:input path="detailAdres"
id="detailAdres" title="${title} ${inputTxt}"
cssClass="txaIpUmt" size="70" maxlength="100" />
<div>
<form:errors path="detailAdres" cssClass="error" />
</div></td>
</tr>
<!-- 그룹아이디 -->
<c:set var="inputSelect">
<spring:message code="input.select" />
</c:set>
<c:set var="title">
<spring:message code="comUssUmt.userManageRegist.groupId" />
</c:set>
<tr>
<th><label for="groupId">${title}</label></th>
<td class="left"><form:select path="groupId" id="groupId"
title="${title} ${inputSelect}">
<form:option value="" label="${inputSelect}" />
<form:options items="${groupId_result}" itemValue="code"
itemLabel="codeVal" />
</form:select>
<div>
<form:errors path="groupId" cssClass="error" />
</div></td>
</tr>
</tbody>
</table>
<div class="container-window-btn1">
<span class="flr">
<!-- <a href="#" class="btn btn-blue" id="btnSave">저장</a> -->
<!-- <a href="#" class="btn btn-lightgray" id="btnClose">닫기</a> -->
<a href="#" id="btnSave" class="btn btn-blue"><spring:message code="button.save" /></a>
<a href="#" onclick="javascript:document.mberManageVO.reset(); return false;" class="btn btn-lightgray"><spring:message code="button.reset" /></a>
</span>
</div>
<!-- //등록버튼 -->
</div>
</div>
<!-- //popup -->
</form:form>
<script type="text/javaScript" language="javascript" defer="defer">
$(document).ready(function(){
GnrUserForm.init();
});
function showModalDialogCallback(retVal) {
GnrUserForm.fnIdCheckCallback(retVal);
}
var GnrUserForm = {
init: function(){
//중복아이디 검색 EventListener
$('#fnIdCheck').on({
click: function(){
GnrUserForm.fnIdCheck();
}
});
//우편번호 검색 버튼 EventListener
$('#addrSearch').on({
click: function(){
GnrUserForm.fnSearchAdres();
}
});
//저장 버튼 EventListener
$('#btnSave').on({
click: function(){
GnrUserForm.addData();
}
});
},
addData: function(){
if(!validateMberManageVO(document.mberManageVO))
return false;
if(document.mberManageVO.password.value != document.mberManageVO.password2.value){
alert("<spring:message code="fail.user.passwordUpdate2" />");
return false;
}
document.mberManageVO.submit();
},
fnIdCheck: function(){
var retVal;
var url = "<c:url value='/_anonymous_/login/IdDuplCnfirm.do'/>";
var varParam = new Object();
varParam.checkId = document.mberManageVO.mberId.value;
var openParam = "dialogWidth:555px;dialogHeight:320px;scroll:no;status:no;center:yes;resizable:yes;";
retVal = window.showModalDialog(url, varParam, openParam);
if(retVal) {
document.mberManageVO.mberId.value = retVal;
}
},
fnIdCheckCallback: function(retVal){
if(retVal) {
document.mberManageVO.mberId.value = retVal;
}
},
/* ========================
* 주소 검색 팝업 OPEN
-도로명 주소를 검색할 수 있는 팝업을 오픈한다.
======================== */
fnSearchAdres: function(){
var popUrl = '<c:url value="/_anonymous_/api/AdresSearch.do"/>';
var params = '?callback=GnrUserForm.fnSearchAdresCallback';
popUrl += params;
var popTitle = "AddrSearch";
var popOption = "width=570px, height=420px, resizable=yes, scrollbars=yes, location=no, top=100px, left=100px";
window.open(popUrl, popTitle ,popOption);
},
/* ========================
* 주소 검색 콜백 함수
-주소 검색 팝업의 검색결과를 전달 받는다.
======================== */
fnSearchAdresCallback: function(obj){
//검색결과 Set
var totalDetailAdres = ""; // 전체 상세 주소
totalDetailAdres += obj.addrDetail;
totalDetailAdres += obj.roadAddrPart2;
document.mberManageVO.adres.value = obj.roadAddrPart1;
document.mberManageVO.zip.value = obj.zipNo;
document.mberManageVO.detailAdres.value = totalDetailAdres;
}
}
function fn_egov_inqire_cert() {
var url = '/uat/uia/EgovGpkiRegist.do';
var popupwidth = '500';
var popupheight = '400';
var title = '인증서';
Top = (window.screen.height - popupheight) / 3;
Left = (window.screen.width - popupwidth) / 2;
if (Top < 0) Top = 0;
if (Left < 0) Left = 0;
Future = "fullscreen=no,toolbar=no,location=no,directories=no,status=no,menubar=no, scrollbars=no,resizable=no,left=" + Left + ",top=" + Top + ",width=" + popupwidth + ",height=" + popupheight;
PopUpWindow = window.open(url, title, Future)
PopUpWindow.focus();
}
function fn_egov_dn_info_setting(dn) {
document.mberManageVO.crtfcDnValue.value = dn;
}
/*
if (typeof(opener.fn_egov_dn_info_setting) == 'undefined') {
alert('메인 화면이 변경되거나 없습니다');
this.close();
} else {
opener.fn_egov_dn_info_setting(dn);
this.close();
}
*/
/* ********************************************************
* 처리결과메시지 출력
******************************************************** */
<c:if test="${!empty message}">alert("${message}");</c:if>
</script>

@ -1,464 +0,0 @@
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<%@ include file="/WEB-INF/jsp/include/fims/taglib.jsp"%>
<script type="text/javascript" src="<c:url value="/framework/util/validator.do"/>"></script>
<validator:javascript formName="entrprsManageVO" staticJavascript="false" xhtml="true" cdata="false"/>
<form:form modelAttribute="entrprsManageVO" id ="entrprsManageVO" name="entrprsManageVO" method="post" >
<input type="hidden" name="searchCondition" value="<c:out value='${userSearchVO.searchCondition}'/>"/>
<input type="hidden" name="searchKeyword" value="<c:out value='${userSearchVO.searchKeyword}'/>"/>
<input type="hidden" name="sbscrbSttus" value="<c:out value='${userSearchVO.sbscrbSttus}'/>"/>
<input type="hidden" name="pageIndex" value="<c:out value='${userSearchVO.pageIndex}'/>"/>
<input type="hidden" name="zip_url" value="<c:url value='/framework/biz/cmm/popup/ZipSearchList.do'/>" />
<!-- 상세정보 사용자 삭제시 prameter 전달용 input -->
<input type="hidden" name="checkedIdForDel" id="checkedIdForDel" value="<c:out value='${entrprsManageVO.userTy}'/>:<c:out value='${entrprsManageVO.entrprsmberId}'/>">
<!-- 사용자유형정보 : password 수정화면으로 이동시 타겟 유형정보 확인용, 만약검색조건으로 유형이 포함될경우 혼란을 피하기위해 userTy명칭을 쓰지 않음-->
<input type="hidden" name="userTyForPassword" value="<c:out value='${entrprsManageVO.userTy}'/>" />
<!-- for validation -->
<input type="hidden" name="entrprsMberPassword" id="entrprsMberPassword" value="Tmp!@123)"/>
<input type="hidden" name="selectedId" id="selectedId" value=""/>
<div class="popup" style="min-width: 700px;">
<div class="container-window1" style="max-width: 700px;">
<c:set var="pageTitle"><spring:message code="comUssUmt.entrprsUserManage.title"/></c:set>
<p class="container-window-header2">${pageTitle } <spring:message code="title.update" /></p>
<!-- 수정폼 -->
<table class="table-03" summary="<spring:message code="common.summary.list" arguments="${pageTitle}" />">
<caption>${pageTitle} <spring:message code="title.update" /></caption>
<colgroup>
<col style="width: 22%;"><col style="width: ;">
</colgroup>
<tbody>
<!-- 입력/선택 -->
<c:set var="inputTxt"><spring:message code="input.input" /></c:set>
<c:set var="inputSelect"><spring:message code="input.cSelect" /></c:set>
<!-- 기업회원아이디 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.id"/></c:set>
<tr>
<th>${title} <span class="pilsu">*</span></th>
<td class="left">
<form:input path="entrprsmberId" id="entrprsmberId" title="${title} ${inputTxt}" size="20" readonly="true" maxlength="20" />
<div><form:errors path="entrprsmberId" cssClass="error" /></div>
<form:hidden path="uniqId" />
</td>
</tr>
<!-- 회사명 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.name"/></c:set>
<tr>
<th>${title} <span class="pilsu">*</span></th>
<td class="left">
<form:input path="cmpnyNm" title="${title} ${inputTxt}" size="50" maxlength="60" />
<div><form:errors path="cmpnyNm" cssClass="error" /></div>
</td>
</tr>
<!-- 비밀번호힌트 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.passHit"/></c:set>
<tr>
<th>${title} <span class="pilsu">*</span></th>
<td class="left">
<form:select path="entrprsMberPasswordHint" id="entrprsMberPasswordHint" title="${title} ${inputSelect}">
<form:option value="" label="--선택하세요--"/>
<form:options items="${passwordHint_result}" itemValue="code" itemLabel="codeVal"/>
</form:select>
<div><form:errors path="entrprsMberPasswordHint" cssClass="error"/></div>
</td>
</tr>
<!-- 비밀번호정답 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.passOk"/></c:set>
<tr>
<th>${title} <span class="pilsu">*</span></th>
<td class="left">
<form:input path="entrprsMberPasswordCnsr" id="entrprsMberPasswordCnsr" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="50" maxlength="100" />
<div><form:errors path="entrprsMberPasswordCnsr" cssClass="error"/></div>
</td>
</tr>
<!-- 업종코드 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.indutyCode"/></c:set>
<tr>
<th>${title}</th>
<td class="left">
<form:select path="indutyCode" id="indutyCode" title="${title} ${inputSelect}">
<form:option value="" label="${inputSelect}"/>
<form:options items="${indutyCode_result}" itemValue="code" itemLabel="codeVal"/>
</form:select>
</td>
</tr>
<!-- 기업구분코드 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.entrprsSeCode"/></c:set>
<tr>
<th>${title}</th>
<td class="left">
<form:select path="entrprsSeCode" id="entrprsSeCode" title="${title} ${inputSelect}">
<form:option value="" label="${inputSelect}"/>
<form:options items="${entrprsSeCode_result}" itemValue="code" itemLabel="codeVal"/>
</form:select>
</td>
</tr>
<!-- 대표이사이름 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.cxfc"/></c:set>
<tr>
<th>${title}</th>
<td class="left">
<form:input path="cxfc" id="cxfc" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="20" maxlength="15" />
<div><form:errors path="cxfc" cssClass="error" /></div>
</td>
</tr>
<!-- 사업자등록번호 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.bizrno"/></c:set>
<tr>
<th>${title} <span class="pilsu">*</span></th>
<td class="left">
<form:input path="bizrno" id="bizrno" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="20" maxlength="15" />
<div><form:errors path="bizrno" cssClass="error" /></div>
</td>
</tr>
<!-- 법인등록번호 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.jurirno"/></c:set>
<tr>
<th>${title}</th>
<td class="left">
<form:select path="jurirno" id="jurirno" title="${title} ${inputSelect}">
<form:option value="" label="--선택하세요--"/>
<form:options items="${entrprsSeCode_result}" itemValue="code" itemLabel="codeVal"/>
</form:select>
<div><form:errors path="jurirno" cssClass="error" /></div>
</td>
</tr>
<!-- 회사전화번호 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.tel"/></c:set>
<tr>
<th>${title} <span class="pilsu">*</span></th>
<td class="left">
<form:input path="areaNo" id="areaNo" title="전화번호" size="5" maxlength="5" style="width:40px;"/>
- <form:input path="entrprsMiddleTelno" id="entrprsMiddleTelno" size="5" maxlength="5" style="width:40px;"/>
- <form:input path="entrprsEndTelno" id="entrprsEndTelno" size="5" maxlength="5" style="width:40px;"/>
<div><form:errors path="areaNo" cssClass="error" /></div>
<div><form:errors path="entrprsMiddleTelno" cssClass="error" /></div>
<div><form:errors path="entrprsEndTelno" cssClass="error" /></div>
</td>
</tr>
<!-- 팩스번호 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.fax"/></c:set>
<tr>
<th>${title}</th>
<td class="left">
<form:input path="fxnum" id="fxnum" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="20" maxlength="15" />
<div><form:errors path="fxnum" cssClass="error" /></div>
</td>
</tr>
<!-- 우번번호 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.post"/></c:set>
<tr>
<th>${title} <span class="pilsu">*</span></th>
<td class="left">
<input name="zip" id="zip" title="${title} ${inputTxt}" value="<c:out value='${entrprsManageVO.zip}'/>" type="text" size="20" value="" maxlength="8" style="width:60px;" />
<!-- form:hidden path="zip" id="zip" -->
<!-- <button class="btn_s2" onClick="fn_egov_ZipSearch(document.mberManageVO, document.mberManageVO.zip, document.mberManageVO.zip_view, document.mberManageVO.adres);return false;" title="<spring:message code="button.delete" /> <spring:message code="input.button" />">우번번호검색</button> -->
<div><form:errors path="zip" cssClass="error" /></div>
</td>
</tr>
<!-- 주소 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.addr"/></c:set>
<tr>
<th>${title} <span class="pilsu">*</span></th>
<td class="left">
<form:input path="adres" id="adres" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="70" maxlength="100" />
<div><form:errors path="adres" cssClass="error" /></div>
</td>
</tr>
<!-- 상세주소 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.addrDetail"/></c:set>
<tr>
<th>${title}</th>
<td class="left">
<form:input path="detailAdres" id="detailAdres" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="70" maxlength="100" />
<div><form:errors path="detailAdres" cssClass="error" /></div>
</td>
</tr>
<!-- 신청자이름 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageList.regName"/></c:set>
<tr>
<th>${title} <span class="pilsu">*</span></th>
<td class="left">
<form:input path="applcntNm" id="applcntNm" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="20" maxlength="20" />
<div><form:errors path="applcntNm" cssClass="error" /></div>
</td>
</tr>
<!-- 신청자이메일주소 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageList.regMail"/></c:set>
<tr>
<th>${title} <span class="pilsu">*</span></th>
<td class="left">
<form:input path="applcntEmailAdres" id="applcntEmailAdres" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="30" maxlength="50" />
<div><form:errors path="applcntEmailAdres" cssClass="error" /></div>
</td>
</tr>
<!-- 그룹아이디 -->
<c:set var="inputSelect"><spring:message code="input.select"/></c:set>
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.groupId"/></c:set>
<tr>
<th>${title}</th>
<td class="left">
<form:select path="groupId" id="groupId" title="${title} ${inputSelect}">
<form:option value="" label="${inputSelect}"/>
<form:options items="${groupId_result}" itemValue="code" itemLabel="codeVal"/>
</form:select>
<div><form:errors path="groupId" cssClass="error"/></div>
</td>
</tr>
<!-- 기업회원상태코드 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.status"/></c:set>
<tr>
<th>${title} <span class="pilsu">*</span></th>
<td class="left">
<form:select path="entrprsMberSttus" id="entrprsMberSttus" title="${title} ${inputSelect}">
<form:option value="" label="${inputSelect}"/>
<form:options items="${entrprsMberSttus_result}" itemValue="code" itemLabel="codeVal"/>
</form:select>
<div><form:errors path="entrprsMberSttus" cssClass="error"/></div>
</td>
</tr>
<!-- 로그인인증제한여부 -->
<%-- <c:set var="title"><spring:message code="comUssUmt.common.lockAt"/></c:set> --%>
<!-- <tr> -->
<%-- <th><label for="lockAt">${title}</label></th> --%>
<!-- <td class="left"> -->
<%-- <c:if test="${entrprsManageVO.lockAt eq 'Y'}">예</c:if> --%>
<%-- <c:if test="${entrprsManageVO.lockAt == null || entrprsManageVO.lockAt eq '' || entrprsManageVO.lockAt eq 'N'}">아니오</c:if> --%>
<!-- </td> -->
<!-- </tr> -->
</tbody>
</table>
<div class="container-window-btn1">
<span class="flr">
<a href="#" class="btn btn-blue" id="btnSave">변경</a>
<a href="#" class="btn btn-red" id="btnRemove">삭제</a>
<a href="#" class="btn btn-blue" id="btnPwdChg">비밀번호변경</a>
<a href="#" class="btn btn-lightgray" id="btnClose">닫기</a>
</span>
</div>
</div>
</div>
<!-- //popup -->
</form:form>
<script type="text/javascript" src="<c:url value='/resources/js/fims/framework/egov/EgovZipPopup.js' />" ></script>
<script type="text/javaScript" language="javascript" defer="defer">
$(document).ready(function(){
XitEntUserRegMng_edit.init();
});
/* *******************************
* 사용자 등록관리 수정화면 Functions
******************************* */
var XitEntUserRegMng_edit = {
/* ========================
* 초기화
======================== */
init : function(){
//닫기 버튼 EVENT 설정
$("#btnClose").on({
click : function(){
window.close();
}
});
//저장 버튼 Event 설정
$('#btnSave').on({
click: function(){
if (confirm('수정하시겠습니까?')) {
if(validateEntrprsManageVO(document.entrprsManageVO)){
XitEntUserRegMng_edit.modifyData();
}
}
}
});
$('#btnRemove').on({
click : function(){
if(confirm("삭제하시겠습니까?")){
XitEntUserRegMng_edit.removeData();
}
}
})
//주소검색버튼 Event설정
$('#addrSearch').on({
click : function(){
/*
* 2020.10.05. 박민규
* 우편번호검색 Event 변경
* -작업내용: DB조회->행자부API로 변경
*/
// fn_egov_ZipSearch(
// document.entrprsManageVO
// , document.entrprsManageVO.zip
// , document.entrprsManageVO.adres
// );
XitEntUserRegMng_edit.fnSearchAdres();
}
});
$('#btnPwdChg').on({
click : function(){
var params = "";
var form = $('#entrprsManageVO');
var array = $(form).serializeArray();
var result = {};
if(array){
$(array).each(function(index, item){
if(this.value){
params += (this.name+"=" + this.value);
if(index < (array.length -1)) params += "&"
}
})
}
XitEntUserRegMng_edit.pagePopup('pwd', '<c:url value="/framework/biz/mng/usr/entUserRegMng_editPwd_popup.do"/>', params);
}
});
},
/* ========================
* 입력값 언어 선택
======================== */
fn_setInputLimit : function(){
},
/* ========================
* 데이터 조회
======================== */
findData : function(){
},
/* ========================
* 데이터 등록
======================== */
addData : function(){
},
/* ========================
* 데이터 수정
======================== */
modifyData : function(){
var param = $("#entrprsManageVO").serialize();
$.ajax({
url : "/framework/biz/mng/usr/entUserRegMng_update_proc.do",
data : param,
type : "post",
dataType : "json",
success : function(data) {
alert(data.resp.message);
window.opener.XitEntUserRegMng_list.findData();
window.close();
},
error: function(){
}
});
},
/* ========================
* 데이터 삭제
======================== */
removeData : function(){
var param = $("#entrprsManageVO").serialize();
$.ajax({
url : "/framework/biz/mng/usr/entUserRegMng_delete_proc.do",
data : param,
type : "post",
dataType : "json",
success : function(data) {
alert(data.resp.message);
window.opener.XitEntUserRegMng_list.findData();
window.close();
},
error: function(){
}
});
},
/* ========================
* 유효성 검증
-flag에 따라 유효성 검증을 분기처리한다.
======================== */
validate : function(flag){
switch(flag){
case 'update' : //수정
break;
default : break;
}
return true;
},
/* ========================
* 페이지 이동
-외부사이트 링크가 필요 시 사용(내부코드는 각 페이지에 맞게 수정, ex>https://www.gov.kr/portal/main )
======================== */
pageLink: function(flag, url, params){
switch (flag) {
case "move": //페이지 이동
break;
case "popup": //팝업 OPEN
break;
default:
break;
}
},
/* ========================
* 페이지 Open
-팝업페이지를 Open 한다.
======================== */
pagePopup: function(flag, url, params){
var popUrl = url;
if(!(params == undefined || params == null)){
popUrl += "?";
popUrl += params;
}
var popTitle = '';
var popOption = '';
switch (flag) {
case "pwd":
popTitle = "";
popOption = "width=570px, height=420px, resizable=yes, scrollbars=yes, location=no, top=100px, left=100px;";
break;
default:
break;
}
window.open(popUrl, popTitle ,popOption);
},
/* ========================
* 주소 검색 팝업 OPEN
-도로명 주소를 검색할 수 있는 팝업을 오픈한다.
======================== */
fnSearchAdres: function(){
var popUrl = '<c:url value="/_anonymous_/api/AdresSearch.do"/>';
var params = '?callback=XitEntUserRegMng_edit.fnSearchAdresCallback';
popUrl += params;
var popTitle = "주소 찾기";
var popOption = "width=570px, height=420px, resizable=yes, scrollbars=yes, location=no, top=100px, left=100px";
window.open(popUrl, popTitle ,popOption);
},
/* ========================
* 주소 검색 콜백 함수
-주소 검색 팝업의 검색결과를 전달 받는다.
======================== */
fnSearchAdresCallback: function(obj){
//검색결과 Set
var totalDetailAdres = ""; // 전체 상세 주소
totalDetailAdres += obj.addrDetail;
totalDetailAdres += obj.roadAddrPart2;
//화면에 출력
document.entrprsManageVO.adres.value = obj.roadAddrPart1;
document.entrprsManageVO.zip.value = obj.zipNo;
document.entrprsManageVO.detailAdres.value = totalDetailAdres;
}
}
/* ********************************************************
* 처리결과메시지 출력
******************************************************** */
<c:if test="${!empty message}">alert("${message}");</c:if>
</script>

@ -1,123 +0,0 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<%@ include file="/WEB-INF/jsp/include/fims/taglib.jsp"%>
<script type="text/javascript" src="<c:url value="/framework/util/validator.do"/>"></script>
<validator:javascript formName="passwordChgVO" staticJavascript="false" xhtml="true" cdata="false"/>
<form name="passwordChgVO" id="passwordChgVO" method="post" action="${pageContext.request.contextPath}/framework/biz/mng/usr/entUserRegMng_update_pwd_proc.do">
<input type="submit" id="invisible" class="invisible"/>
<!-- onsubmit="javascript:return FormValidation(document.passwordChgVO);" > -->
<!-- 상세정보 사용자 삭제시 prameter 전달용 input -->
<input name="checkedIdForDel" type="hidden" />
<!-- 사용자본인정보 수정 prameter 전달용 input -->
<input name="isViewPage" type="hidden" value="${param.isViewPage }" />
<input name="tilesDef" type="hidden" value="${param.tilesDef }" />
<!-- 검색조건 유지 -->
<input type="hidden" name="searchCondition" value="<c:out value='${userSearchVO.searchCondition}'/>"/>
<input type="hidden" name="searchKeyword" value="<c:out value='${userSearchVO.searchKeyword}'/>"/>
<input type="hidden" name="sbscrbSttus" value="<c:out value='${userSearchVO.sbscrbSttus}'/>"/>
<input type="hidden" name="pageIndex" value="<c:out value='${userSearchVO.pageIndex}'/>"/>
<!-- 우편번호검색 -->
<input type="hidden" name="url" value="<c:url value='/sym/ccm/zip/EgovCcmZipSearchPopup.do'/>" />
<div class="popup" style="min-width: 500px;">
<div class="container-window1" style="max-width: 500px;">
<c:set var="pageTitle"><spring:message code="comUssUmt.userManagePasswordUpdt.title"/></c:set>
<p class="container-window-header2"><spring:message code="comUssUmt.entrprsUserManage.title" /> ${pageTitle}</p>
<!-- 등록폼 -->
<table class="" summary="<spring:message code="common.summary.list" arguments="${pageTitle}" />">
<caption>${pageTitle} <spring:message code="title.create" /></caption>
<colgroup>
<col style="width: 120px;">
<col style="width: ;">
</colgroup>
<tbody>
<!-- 입력 -->
<c:set var="inputTxt"><spring:message code="input.input" /></c:set>
<!-- 일반회원아이디 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.id" /></c:set>
<tr>
<th>${title}</th>
<td class="left">
<input name="entrprsmberId" id="entrprsmberId" type="text" size="20" value="<c:out value='${entrprsManageVO.entrprsmberId}'/>" maxlength="20" readonly>
<input name="uniqId" id="uniqId" type="hidden" size="20" value="<c:out value='${entrprsManageVO.uniqId}'/>">
<input name="userTy" id="userTy" type="hidden" size="20" value="<c:out value='${entrprsManageVO.userTy}'/>">
</td>
</tr>
<!-- 기존 비밀번호 -->
<c:set var="title"><spring:message code="comUssUmt.userManagePasswordUpdt.oldPass" /></c:set>
<tr>
<th>${title}<span class="pilsu">*</span></th>
<td class="left">
<input name="oldPassword" id="oldPassword" type="password" size="20" value="" maxlength="100" >
</td>
</tr>
<!-- 비밀번호 -->
<c:set var="title"><spring:message code="comUssUmt.userManagePasswordUpdt.pass" /></c:set>
<tr>
<th>${title}<span class="pilsu">*</span></th>
<td class="left">
<input name="newPassword" id="newPassword" type="password" size="20" value="" maxlength="100" >
</td>
</tr>
<!-- 비밀번호확인 -->
<c:set var="title"><spring:message code="comUssUmt.userManagePasswordUpdt.passConfirm" /></c:set>
<tr>
<th>${title}<span class="pilsu">*</span></th>
<td class="left">
<input name="newPassword2" id="newPassword2" type="password" size="20" value="" maxlength="100" >
</td>
</tr>
</tbody>
</table>
<div class="container-window-btn1">
<span class="flr">
<a href="#" class="btn btn-blue" id="btnSave">저장</a>
<a href="#" class="btn btn-lightgray" id="btnClose">닫기</a>
</span>
</div>
</div>
</div>
</form>
<script type="text/javaScript" language="javascript" defer="defer">
$("#btnSave").on({
click : function(){
if(validatePasswordChgVO(document.passwordChgVO)){
if(document.passwordChgVO.newPassword.value != document.passwordChgVO.newPassword2.value){
alert("<spring:message code="fail.user.passwordUpdate2" />");
return;
}
var param = $("#passwordChgVO").serialize();
$.ajax({
url : "/framework/biz/mng/usr/entUserRegMng_update_pwd_proc.do",
data : param,
type : "post",
dataType : "json",
success : function(data) {
alert(data.resp.message);
window.close();
},
error: function(){
}
});
}
}
});
$("#btnClose").on({
click : function(){
window.close();
}
});
/* ********************************************************
* 처리결과메시지 출력
******************************************************** */
<c:if test="${!empty message}">alert("${message}");</c:if>
</script>

@ -1,456 +0,0 @@
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<%@ include file="/WEB-INF/jsp/include/fims/taglib.jsp"%>
<script type="text/javascript" src="<c:url value="/framework/util/validator.do"/>"></script>
<validator:javascript formName="entrprsManageVO" staticJavascript="false" xhtml="true" cdata="false"/>
<form:form modelAttribute="entrprsManageVO" id ="entrprsManageVO" name="entrprsManageVO" method="post" >
<input type="hidden" name="searchCondition" value="<c:out value='${userSearchVO.searchCondition}'/>"/>
<input type="hidden" name="searchKeyword" value="<c:out value='${userSearchVO.searchKeyword}'/>"/>
<input type="hidden" name="sbscrbSttus" value="<c:out value='${userSearchVO.sbscrbSttus}'/>"/>
<input type="hidden" name="pageIndex" value="<c:out value='${userSearchVO.pageIndex}'/>"/>
<input type="hidden" name="zip_url" value="<c:url value='/framework/biz/cmm/popup/ZipSearchList.do'/>" />
<div class="popup" style="min-width: 700px;">
<div class="container-window1" style="max-width: 700px;">
<c:set var="pageTitle"><spring:message code="comUssUmt.entrprsUserManage.title"/></c:set>
<p class="container-window-header2">${pageTitle } <spring:message code="title.create" /></p>
<!-- 등록폼 -->
<table class="table-03" summary="<spring:message code="common.summary.list" arguments="${pageTitle}" />">
<caption>${pageTitle} <spring:message code="title.create" /></caption>
<colgroup>
<col style="width: 22%;"><col style="width: ;">
</colgroup>
<tbody>
<!-- 입력/선택 -->
<c:set var="inputTxt"><spring:message code="input.input" /></c:set>
<c:set var="inputSelect"><spring:message code="input.cSelect" /></c:set>
<!-- 기업회원아이디 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.id"/></c:set>
<tr>
<th><label for="entrprsmberId">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="entrprsmberId" id="entrprsmberId" title="${title} ${inputTxt}" size="20" readonly="true" maxlength="20" style="width:60%;" />
<%-- <button id="btnMbrId" class="btn_s2" onClick="return false;" title="<spring:message code="button.delete" /> <spring:message code="input.button" />"><spring:message code="comUssUmt.entrprsUserManageRegistBtn.idSearch" /></button> --%>
<a id="fnIdCheck" >
<img src="/resources/image/fims/framework/etc/img_search.gif" alt=""/>(<spring:message code="comUssUmt.userManageRegistBtn.idSearch" />)
</a>
<div><form:errors path="entrprsmberId" cssClass="error" /></div>
</td>
</tr>
<!-- 회사명 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.name"/></c:set>
<tr>
<th><label for="cmpnyNm">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="cmpnyNm" title="${title} ${inputTxt}" size="50" maxlength="60" />
<div><form:errors path="cmpnyNm" cssClass="error" /></div>
</td>
</tr>
<!-- 비밀번호 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.pass"/></c:set>
<tr>
<th><label for="entrprsMberPassword">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:password path="entrprsMberPassword" title="${title} ${inputTxt}" size="50" maxlength="20" />
<div><form:errors path="entrprsMberPassword" cssClass="error" /></div>
</td>
</tr>
<!-- 비밀번호확인 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.passConfirm"/></c:set>
<tr>
<th><label for="entrprsMberPassword2">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<input name="entrprsMberPassword2" id="entrprsMberPassword2" title="${title} ${inputTxt}" type="password" size="50" maxlength="20" />
</td>
</tr>
<!-- 비밀번호힌트 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.passHit"/></c:set>
<tr>
<th><label for="entrprsMberPasswordHint">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:select path="entrprsMberPasswordHint" id="entrprsMberPasswordHint" title="${title} ${inputSelect}">
<form:option value="" label="--선택하세요--"/>
<form:options items="${passwordHint_result}" itemValue="code" itemLabel="codeVal"/>
</form:select>
<div><form:errors path="entrprsMberPasswordHint" cssClass="error"/></div>
</td>
</tr>
<!-- 비밀번호정답 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.passOk"/></c:set>
<tr>
<th><label for="entrprsMberPasswordCnsr">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="entrprsMberPasswordCnsr" id="entrprsMberPasswordCnsr" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="50" maxlength="100" />
<div><form:errors path="entrprsMberPasswordCnsr" cssClass="error"/></div>
</td>
</tr>
<!-- 업종코드 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.indutyCode"/></c:set>
<tr>
<th><label for="indutyCode">${title}</label></th>
<td class="left">
<form:select path="indutyCode" id="indutyCode" title="${title} ${inputSelect}">
<form:option value="" label="${inputSelect}"/>
<form:options items="${indutyCode_result}" itemValue="code" itemLabel="codeVal"/>
</form:select>
</td>
</tr>
<!-- 기업구분코드 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.entrprsSeCode"/></c:set>
<tr>
<th><label for="entrprsSeCode">${title}</label></th>
<td class="left">
<form:select path="entrprsSeCode" id="entrprsSeCode" title="${title} ${inputSelect}">
<form:option value="" label="${inputSelect}"/>
<form:options items="${entrprsSeCode_result}" itemValue="code" itemLabel="codeVal"/>
</form:select>
</td>
</tr>
<!-- 대표이사이름 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.cxfc"/></c:set>
<tr>
<th><label for="cxfc">${title}</label></th>
<td class="left">
<form:input path="cxfc" id="cxfc" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="20" maxlength="15" />
<div><form:errors path="cxfc" cssClass="error" /></div>
</td>
</tr>
<!-- 사업자등록번호 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.bizrno"/></c:set>
<tr>
<th><label for="bizrno">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="bizrno" id="bizrno" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="20" maxlength="10" />
<div><form:errors path="bizrno" cssClass="error" /></div>
</td>
</tr>
<!-- 법인등록번호 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.jurirno"/></c:set>
<tr>
<th><label for="jurirno">${title}</label> </th>
<td class="left">
<form:input path="jurirno" id="jurirno" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="20" maxlength="15" />
<div><form:errors path="jurirno" cssClass="error" /></div>
</td>
</tr>
<!-- 회사전화번호 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.tel"/></c:set>
<tr>
<th><label for="areaNo">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="areaNo" id="areaNo" title="전화번호" size="5" maxlength="5" style="width:40px;"/>
- <form:input path="entrprsMiddleTelno" id="entrprsMiddleTelno" size="5" maxlength="5" style="width:40px;"/>
- <form:input path="entrprsEndTelno" id="entrprsEndTelno" size="5" maxlength="5" style="width:40px;"/>
<div><form:errors path="areaNo" cssClass="error" /></div>
<div><form:errors path="entrprsMiddleTelno" cssClass="error" /></div>
<div><form:errors path="entrprsEndTelno" cssClass="error" /></div>
</td>
</tr>
<!-- 팩스번호 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.fax"/></c:set>
<tr>
<th><label for="">${title}</label></th>
<td class="left">
<form:input path="fxnum" id="fxnum" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="20" maxlength="15" />
<div><form:errors path="fxnum" cssClass="error" /></div>
</td>
</tr>
<!-- 우번번호 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.post"/></c:set>
<tr>
<th><label for="zip">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<input name="zip" id="zip" title="${title} ${inputTxt}" type="text" size="20" value="" maxlength="8" style="width:60px;" />
<!-- form:hidden path="zip" id="zip" -->
<!-- <button class="btn_s2" onClick="fn_egov_ZipSearch(document.mberManageVO, document.mberManageVO.zip, document.mberManageVO.zip_view, document.mberManageVO.adres);return false;" title="<spring:message code="button.delete" /> <spring:message code="input.button" />">우번번호검색</button> -->
<a id ="addrSearch">
<img src="<c:url value='/resources/image/fims/framework/btn/search.png'/>" alt="" />(우편번호 검색)
</a>
<div><form:errors path="zip" cssClass="error" /></div>
</td>
</tr>
<!-- 주소 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.addr"/></c:set>
<tr>
<th><label for="adres">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="adres" id="adres" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="70" maxlength="100" />
<div><form:errors path="adres" cssClass="error" /></div>
</td>
</tr>
<!-- 상세주소 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.addrDetail"/></c:set>
<tr>
<th><label for="applcntNm">${title}</label></th>
<td class="left">
<form:input path="detailAdres" id="detailAdres" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="70" maxlength="100" />
<div><form:errors path="detailAdres" cssClass="error" /></div>
</td>
</tr>
<!-- 신청자이름 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageList.regName"/></c:set>
<tr>
<th><label for="">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="applcntNm" id="applcntNm" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="20" maxlength="20" />
<div><form:errors path="applcntNm" cssClass="error" /></div>
</td>
</tr>
<!-- 신청자이메일주소 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageList.regMail"/></c:set>
<tr>
<th><label for="applcntEmailAdres">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="applcntEmailAdres" id="applcntEmailAdres" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="30" maxlength="50" />
<div><form:errors path="applcntEmailAdres" cssClass="error" /></div>
</td>
</tr>
<!-- 그룹아이디 -->
<c:set var="inputSelect"><spring:message code="input.select"/></c:set>
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.groupId"/></c:set>
<tr>
<th><label for="groupId">${title}</label></th>
<td class="left">
<form:select path="groupId" id="groupId" title="${title} ${inputSelect}">
<form:option value="" label="${inputSelect}"/>
<form:options items="${groupId_result}" itemValue="code" itemLabel="codeVal"/>
</form:select>
<div><form:errors path="groupId" cssClass="error"/></div>
</td>
</tr>
<!-- 기업회원상태코드 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.status"/></c:set>
<tr>
<th><label for="entrprsMberSttus">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:select path="entrprsMberSttus" id="entrprsMberSttus" title="${title} ${inputSelect}">
<form:option value="" label="${inputSelect}"/>
<form:options items="${entrprsMberSttus_result}" itemValue="code" itemLabel="codeVal"/>
</form:select>
<div><form:errors path="entrprsMberSttus" cssClass="error"/></div>
</td>
</tr>
</tbody>
</table>
<div class="container-window-btn1">
<span class="flr">
<a href="#" class="btn btn-blue" id="btnSave">저장</a>
<a href="#" class="btn btn-lightgray" id="btnClose">닫기</a>
</span>
</div>
<!-- //등록버튼 -->
</div>
</div>
<!-- //popup -->
</form:form>
<script type="text/javascript" src="<c:url value='/resources/js/fims/framework/egov/EgovZipPopup.js' />" ></script>
<script type="text/javaScript" language="javascript" defer="defer">
$(document).ready(function(){
XitEntUserRegMng_input.init();
});
function showModalDialogCallback(retVal) {
if(retVal) {
document.entrprsManageVO.entrprsmberId.value = retVal;
}
}
/* *******************************
* 사용자 등록관리 등록화면 Functions
******************************* */
var XitEntUserRegMng_input = {
/* ========================
* 초기화
======================== */
init : function(){
//닫기 버튼 EVENT 설정
$("#btnClose").on({
click : function(){
window.close();
}
});
//입력값 유효성 설정
XitEntUserRegMng_input.fn_setInputLimit();
//저장 버튼 Event 설정
$('#btnSave').on({
click: function(){
if (confirm('등록하시겠습니까?')) {
if(validateEntrprsManageVO(document.entrprsManageVO)){
if(document.entrprsManageVO.entrprsMberPassword.value != document.entrprsManageVO.entrprsMberPassword2.value){
alert("비밀번호와 비밀번호 확인이 일치하지 않습니다.");
return;
}
XitEntUserRegMng_input.addData();
}
}
}
});
//주소검색버튼 Event설정
$('#addrSearch').on({
click : function(){
/*
* 2020.10.05. 박민규
* 우편번호검색 Event 변경
* -작업내용: DB조회->행자부API로 변경
*/
// fn_egov_ZipSearch(
// document.entrprsManageVO
// , document.entrprsManageVO.zip
// , document.entrprsManageVO.houseAdres
// );
XitEntUserRegMng_input.fnSearchAdres();
}
});
$('#fnIdCheck').on({
click : function(){
var retVal;
var url = "<c:url value='/_anonymous_/login/IdDuplCnfirm.do'/>";
var varParam = new Object();
varParam.checkId = document.entrprsManageVO.entrprsmberId.value;
var openParam = "dialogWidth:555px;dialogHeight:320px;scroll:no;status:no;center:yes;resizable:yes;";
retVal = window.showModalDialog(url, varParam, openParam);
if(retVal) {
document.entrprsManageVO.entrprsmberId.value = retVal;
}
}
});
},
/* ========================
* 입력값 언어 선택
======================== */
fn_setInputLimit : function(){
},
/* ========================
* 데이터 조회
======================== */
findData : function(){
},
/* ========================
* 데이터 등록
======================== */
addData : function(){
var param = $("#entrprsManageVO").serialize();
$.ajax({
url : "/_mng_/usr/reg/entUserRegMng_insert_proc.do",
data : param,
type : "post",
dataType : "json",
success : function(data) {
alert(data.resp.message);
window.opener.XitEntUserRegMng_list.findData();
window.close();
},
error: function(){
}
});
},
/* ========================
* 데이터 수정
======================== */
modifyData : function(){
},
/* ========================
* 데이터 삭제
======================== */
removeData : function(){
},
/* ========================
* 유효성 검증
-flag에 따라 유효성 검증을 분기처리한다.
======================== */
validate : function(flag){
switch(flag){
case 'update' : //수정
break;
default : break;
}
return true;
},
/* ========================
* 페이지 이동
-외부사이트 링크가 필요 시 사용(내부코드는 각 페이지에 맞게 수정, ex>https://www.gov.kr/portal/main )
======================== */
pageLink: function(flag, url, params){
switch (flag) {
case "move": //페이지 이동
break;
case "popup": //팝업 OPEN
break;
default:
break;
}
},
/* ========================
* 페이지 Open
-팝업페이지를 Open 한다.
======================== */
pagePopup: function(flag, url, params){
var popUrl = url;
if(!(params == undefined || params == null)){
popUrl += "?";
popUrl += params;
}
var popTitle = '';
var popOption = '';
switch (flag) {
case "": //주소 팝업 OPEN
popTitle = "";
popOption = "width=570px, height=420px, resizable=yes, scrollbars=yes, location=no, top=100px, left=100px;";
break;
default:
break;
}
window.open(popUrl, popTitle ,popOption);
},
/* ========================
* 주소 검색 팝업 OPEN
-도로명 주소를 검색할 수 있는 팝업을 오픈한다.
======================== */
fnSearchAdres: function(){
var popUrl = '<c:url value="/_anonymous_/api/AdresSearch.do"/>';
var params = '?callback=XitEntUserRegMng_input.fnSearchAdresCallback';
popUrl += params;
var popTitle = "주소 찾기";
var popOption = "width=570px, height=420px, resizable=yes, scrollbars=yes, location=no, top=100px, left=100px";
window.open(popUrl, popTitle ,popOption);
},
/* ========================
* 주소 검색 콜백 함수
-주소 검색 팝업의 검색결과를 전달 받는다.
======================== */
fnSearchAdresCallback: function(obj){
//검색결과 Set
var totalDetailAdres = ""; // 전체 상세 주소
totalDetailAdres += obj.addrDetail;
totalDetailAdres += obj.roadAddrPart2;
//화면에 출력
document.entrprsManageVO.adres.value = obj.roadAddrPart1;
document.entrprsManageVO.zip.value = obj.zipNo;
document.entrprsManageVO.detailAdres.value = totalDetailAdres;
}
}
/* ********************************************************
* 처리결과메시지 출력
******************************************************** */
<c:if test="${!empty message}">alert("${message}");</c:if>
</script>

@ -1,398 +0,0 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<%@ include file="/WEB-INF/jsp/include/fims/taglib.jsp"%>
<form name="frmSearch" id="frmSearch" method="post">
<input type="hidden" id="searchAt" name="searchAt" value="Y">
<input name="selectedId" type="hidden" />
<input type="hidden" id="searchGubun" name="searchGubun" value="excel">
<input name="pageIndex" type="hidden" value="<c:out value='${userSearchVO.pageIndex}'/>"/>
<input type="hidden" name="checkedIdForDel" id="checkedIdForDel">
<div class="container-search">
<table>
<caption>검색조건</caption>
<colgroup>
<col style="width: 8%;"/>
<col style="width: 30%;"/>
<col style="width: 8%;"/>
<col style="width: ;"/>
<col style="width: 8%;"/>
<col style="width: ;"/>
<col style="width: 7%;"/>
</colgroup>
<tbody>
<tr>
<td colspan="6">
<select name="sbscrbSttus" id="sbscrbSttus" title="검색조건1-사용자상태" style=" width: 100px">
<option value="0" <c:if test="${empty userSearchVO.sbscrbSttus || userSearchVO.sbscrbSttus == '0'}">selected="selected"</c:if> >상태(전체)</option>
<option value="A" <c:if test="${userSearchVO.sbscrbSttus == 'A'}">selected="selected"</c:if> >가입신청</option>
<option value="D" <c:if test="${userSearchVO.sbscrbSttus == 'D'}">selected="selected"</c:if> >삭제</option>
<option value="P" <c:if test="${userSearchVO.sbscrbSttus == 'P'}">selected="selected"</c:if> >승인</option>
</select>
<select name="searchCondition" id="searchCondition" title="검색조건2-검색어구분" style="width: 100px">
<option value="0" <c:if test="${userSearchVO.searchCondition == '0'}">selected="selected"</c:if> >ID</option>
<option value="1" <c:if test="${empty userSearchVO.searchCondition || userSearchVO.searchCondition == '1'}">selected="selected"</c:if> >Name</option>
</select>
<input name="searchKeyword" title="검색어" type="text" value="<c:out value="${userSearchVO.searchKeyword}"/>" />
</td>
<td>
<button type="button" id="btnSearch" class="btn btn-search" title="검색">검색</button>
</td>
</tr>
</tbody>
</table>
</div>
<!-- //검색 -->
<div class="container-page-btn">
<span>
<a href="#" class="btn btn-darkgray" id="btnRegist" title="등록">등록</a>
<a href="#" class="btn btn-red" id="btnRemove" title="삭제">삭제</a>
</span>
</div>
<!-- //버튼 및 페이지정보 -->
<!-- 데이터 출력 -->
<div id="grid"></div>
<div class="d-flex flex-row p-3 justify-content-between">
<label id="grid1PagingInfo" class="dataTables_info" role="status" aria-live="polite"></label>
<ul id="grid1Paging" class="pagination pagination-primary"></ul>
</div>
</form>
<script type="text/javaScript" language="javascript" defer="defer">
$(document).ready(function(){
XitEntUserRegMng_list.init();
});
/* *******************************
* 사용자 등록관리 Functions
******************************* */
var XitEntUserRegMng_list = {
/* ========================
* 초기화
======================== */
init : function(){
/**
* Grid Config Settings
*/
//Grid Style Set
Grid.applyTheme('striped'); // Call API of static method
//Grid 체크박스 checked EventListner
instance.on('check', function(ev) {
// console.log('check!', ev);
});
//Grid 체크박스 unchecked EventListner
instance.on('uncheck', function(ev) {
// console.log('uncheck!', ev);
});
//Grid 체크박스 focus이동 EventListner
instance.on('focusChange', function(ev) {
// console.log('change focused cell!', ev);
});
/**
* Elements EventListener Settings
*/
//검색 Event 설정
$('#btnSearch').on({
click: function(){
XitEntUserRegMng_list.findData();
}
});
/*등록 버튼 Event 설정
등록 팝업을 OPEN 한다.*/
$('#btnRegist').on({
click: function(){
XitEntUserRegMng_list.pagePopup('insert', '<c:url value="/framework/biz/mng/usr/entUserRegMng_input.do"/>');
}
});
//삭제 버튼 Event 설정
$('#btnRemove').on({
click: function(){
if(confirm("삭제하시겠습니까?")){
var checkArr = instance.getCheckedRows();
var checkedIds = "";
checkArr.forEach(function(item, index){
checkedIds += (item.userTy +":"+item.userId);
if(checkArr.length -1 > index){
checkedIds += ",";
}
})
document.frmSearch.checkedIdForDel.value=checkedIds;
XitEntUserRegMng_list.removeData();
}
}
});
XitEntUserRegMng_list.fn_setInputLimit();
},
/* ========================
* 입력값 언어 선택
======================== */
fn_setInputLimit : function(){
},
/* ========================
* 데이터 조회
======================== */
findData : function(){
instance.reloadData();
},
/* ========================
* 데이터 등록
======================== */
addData : function(){
},
/* ========================
* 데이터 수정
======================== */
modifyData : function(){
},
/* ========================
* 데이터 삭제
======================== */
removeData : function(){
var param = $("#frmSearch").serialize();
$.ajax({
url : "/framework/biz/mng/usr/entUserRegMng_deletes_proc.do",
data : param,
type : "post",
dataType : "json",
success : function(data) {
alert(data.resp.message);
XitEntUserRegMng_list.findData();
window.close();
},
error: function(){
}
});
},
/* ========================
* 유효성 검증
======================== */
validate : function(flag){
switch(flag){
case 'delete' :
/* 필수값 설정 */
var dataSet = instance.getData(); //Grid에 출력된 DataSet
var arrCheckedRowKey = instance.getCheckedRowKeys(); //선택한 row의 key값( 선택된 row 정보가 필요 시 "getCheckedRows()" )
// var arrCheckedRow = instance.getCheckedRows(); //선택한 row
/* 유효성 확인 */
if(dataSet.length==0){
alert("조회된 결과가 없습니다.");
return false;
}
if(arrCheckedRowKey.length==0) {
alert("선택된 자료가 없습니다.");
return false;
}
break;
}
return true;
},
/* ========================
* 페이지 이동
-외부사이트 링크가 필요 시 사용(내부코드는 각 페이지에 맞게 수정, ex>https://www.gov.kr/portal/main )
======================== */
pageLink: function(flag, url, params){
switch (flag) {
case "move": //페이지 이동
document.frmSearch.searchKeyword.value = "";
document.frmSearch.action = url;
document.frmSearch.submit();
break;
case "popup": //팝업 OPEN
XitEntUserRegMng_list.pagePopup(flag, url, params);
break;
default:
break;
}
},
/* ========================
* 페이지 Open
-팝업페이지를 Open 한다.
======================== */
pagePopup: function(flag, url, params){
var popUrl = url;
popUrl += "?tilesDef=popup";
if(!(params == undefined || params == null)){
popUrl += "&";
popUrl += params;
}
var popTitle = '';
var popOption = '';
switch (flag) {
case "insert": //등록
popTitle = "사용자 신규등록";
popOption = "width=760px, height=890px, resizable=no, scrollbars=yes, location=no, top=50px, left=50px";
break;
case "detail": //상세
popTitle = "사용자 상세";
popOption = "width=760px, height=825px, resizable=no, scrollbars=yes, location=no, top=50px, left=50px";
break;
default:
break;
}
window.open(popUrl, popTitle ,popOption);
},
/* ========================
* 상세 팝업 조회 버튼 클릭
-선택한 신청의 상세 조회 팝업을 OPEN 한다.
======================== */
fnClickRegBtn: function(props){
var rowData = props.grid.getRow(props.rowKey);
var params = "";
params += "selectedId=" + rowData.uniqId;
XitEntUserRegMng_list.pagePopup('detail', '<c:url value="/framework/biz/mng/usr/entUserRegMng_edit.do"/>', params);
}
}
/* ******************************
* Grid 환경 설정
****************************** */
var GridConfig = new XitTuiGridConfig();
GridConfig.setOptGridId('grid'); //Grid를 출력할 Element ID(해당 Element에 Grid가 출력 됨)
GridConfig.setOptGridHeight(270); //Grid 높이(단위: px)
GridConfig.setOptRowHeight(20); //Grid row 높이(단위: px)
GridConfig.setOptRowHeaderType('checkbox'); //Row 첫번째 Cell 타입(rowNum: 순번, checkbox: 체크박스, '': 아무것도 출력 안함)
GridConfig.setOptPageOptions({ //페이징(Pagination) 옵션
useClient: true //Client Paging 여부(true 설정 시 클라이언트 자체 페이징 처리. 서버호출 X)
,perPage: 10 //페이지당 표시 건수
});
GridConfig.setOptColumnOptions({ //컬럼고정 옵션
});
GridConfig.setOptDataSource({ //DataSource
/* -----------------------
* DataSource Config Setting
* -설정항목은 Global 적용 되며
* -API별 적용을 원할 경우 각 API 안에 작성 가능(우선순위: 개별->글로벌)
----------------------- */
//contentType: 'application/json',
//headers: { 'x-custom-header': 'custom-header' },
initialRequest: true, //디폴트 값은 true(false: 인스턴스 생성 시 요청은 보내지 않음. 이런 경우 "instance.reloadData()"를 사용하여 요청 가능)
//serializer: function(params) {
//return $(document.frmSearch).serialize();
// },
/* -----------------------
* DataSource API Setting
----------------------- */
api: {
readData : {
url: '<c:url value="/framework/biz/mng/usr/entUserRegMng_list.ajax"/>', method: 'GET'
,initParams: {}
,serializer: function(params) {
var form = document.frmSearch;
var serializeParam = $(form).serialize();
for(var key in params){
if(key=='perPage'){
if(params[key]==undefined)
serializeParam +='&'+key+'=-1';
else
serializeParam +='&'+key+'='+params[key];
}else
serializeParam +='&'+key+'='+params[key];
}
return serializeParam;
}
}
,createData: { url: '', method: 'POST'}
,updateData: { url: '', method: 'PUT'}
,modifyData: { url: '', method: 'PUT'}
,deleteData: { url: '', method: 'DELETE'}
}
});
GridConfig.setOptHeader({
}); //Grid 헤더 정보(헤더 셀 병합 필요 시 설정)
GridConfig.setOptColumns([ //Grid 컬럼 정보(명칭,매핑 field, 기타옵션 등)
{
header: '번호',
name: 'rowNum',
width: 50,
sortable: false,
align: 'center',
renderer: {
type : RowNumberRenderer
}
},
{
header: '아이디',
name: 'userId',
width: 160,
sortable: true,
sortingType: 'desc',
align: 'center',
renderer: {
type: CustomButtonRenderer,
options: {
formatter : function(props){
var rowData = props.grid.getRow(props.rowKey);
var obj = {
formatter : rowData.userId
,element : "text"
}
return obj;
}
,eventFunction: XitEntUserRegMng_list.fnClickRegBtn
,eventType : "click"
}
}
},
{
header: '회사명',
name: 'cmpnyNm',
width: 120,
sortable: false,
align: 'center'
},
{
header: '신청자 이름',
name: 'userNm',
width: 120,
sortable: false,
align: 'center'
},
{
header: '사용자 이메일',
name: 'emailAdres',
minWidth: 160,
sortable: false,
align: 'center'
},
{
header: '전화번호',
name: 'mbtlnum',
width: 120,
sortable: false,
align: 'center'
},
{
header: '등록일',
name: 'regDt',
width: 150,
sortable: false,
align: 'center'
},
{
header: '가입상태',
name: 'userSttusCode',
width: 110,
sortable: false,
align: 'center'
}
]);
var Grid = tui.Grid;
var instance = GridConfig.instance(Grid); //Grid 인스턴스
/* ********************************************************
* 처리결과메시지 출력
******************************************************** */
<c:if test="${!empty message}">alert("${message}");</c:if>
</script>

@ -1,356 +0,0 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<%@ include file="/WEB-INF/jsp/include/fims/taglib.jsp"%>
<script type="text/javascript" src="<c:url value='/resources/js/fims/framework/egov/EgovZipPopup.js' />" ></script>
<script type="text/javaScript" language="javascript" defer="defer">
function fnPasswordMove(){
// document.entrprsManageVO.action = "<c:url value='/framework/biz/mng/usr/entUserRegMng_editPwd.do'/>";
// document.entrprsManageVO.submit();
var params = "";
var form = $('#entrprsManageVO');
var array = $(form).serializeArray();
var result = {};
if(array){
$(array).each(function(index, item){
if(this.value){
params += (this.name+"=" + this.value);
if(index < (array.length -1)) params += "&"
}
})
}
pagePopup('pwd', '<c:url value="/framework/biz/mng/usr/entUserRegMng_editPwd_popup.do"/>', params);
}
function pagePopup(flag, url, params){
var popUrl = url;
if(!(params == undefined || params == null)){
popUrl += "?";
popUrl += params;
}
var popTitle = '';
var popOption = '';
switch (flag) {
case "pwd":
popTitle = "";
popOption = "width=570px, height=420px, resizable=yes, scrollbars=yes, location=no, top=100px, left=100px;";
break;
default:
break;
}
window.open(popUrl, popTitle ,popOption);
}
function fnUpdate(){
if(validateEntrprsManageVO(document.entrprsManageVO)){
document.entrprsManageVO.submit();
}
}
function fn_egov_inqire_cert() {
var url = '/uat/uia/EgovGpkiRegist.do';
var popupwidth = '500';
var popupheight = '400';
var title = '인증서';
Top = (window.screen.height - popupheight) / 3;
Left = (window.screen.width - popupwidth) / 2;
if (Top < 0) Top = 0;
if (Left < 0) Left = 0;
Future = "fullscreen=no,toolbar=no,location=no,directories=no,status=no,menubar=no, scrollbars=no,resizable=no,left=" + Left + ",top=" + Top + ",width=" + popupwidth + ",height=" + popupheight;
PopUpWindow = window.open(url, title, Future)
PopUpWindow.focus();
}
function fn_egov_dn_info_setting(dn) {
var frm = document.entrprsManageVO;
frm.crtfcDnValue.value = dn;
}
/* ========================
* 주소 검색 팝업 OPEN
-도로명 주소를 검색할 수 있는 팝업을 오픈한다.
======================== */
function fnSearchAdres(){
var popUrl = '<c:url value="/_anonymous_/api/AdresSearch.do"/>';
var params = '?callback=fnSearchAdresCallback';
popUrl += params;
var popTitle = "주소 찾기";
var popOption = "width=570px, height=420px, resizable=yes, scrollbars=yes, location=no, top=100px, left=100px";
window.open(popUrl, popTitle ,popOption);
}
/* ========================
* 주소 검색 콜백 함수
-주소 검색 팝업의 검색결과를 전달 받는다.
======================== */
function fnSearchAdresCallback(obj){
//검색결과 Set
var totalDetailAdres = ""; // 전체 상세 주소
totalDetailAdres += obj.addrDetail;
totalDetailAdres += obj.roadAddrPart2;
//화면에 출력
document.entrprsManageVO.houseAdres.value = obj.roadAddrPart1;
document.entrprsManageVO.zip.value = obj.zipNo;
document.entrprsManageVO.zip_view.value = obj.zipNo;
document.entrprsManageVO.detailAdres.value = totalDetailAdres;
}
/* ********************************************************
* 처리결과메시지 출력
******************************************************** */
<c:if test="${!empty message}">alert('${message}');</c:if>
</script>
<style type="text/css">
table {
table-layout: auto;
}
table.table-03 input[type="text"], table.table-03 select{
min-height: 10px;
}
</style>
<!-- 검색 필드 박스 시작 -->
<!-- <div id="search_field"> -->
<!-- <div id="search_field_loc"><h2><strong>업무사용자 상세조회(수정)</strong></h2></div> -->
<!-- </div> -->
<script type="text/javascript" src="<c:url value="/framework/util/validator.do"/>"></script>
<validator:javascript formName="entrprsManageVO" staticJavascript="false" xhtml="true" cdata="false"/>
<form:form modelAttribute="entrprsManageVO" action="${pageContext.request.contextPath}/framework/biz/mng/usr/entUserRegMng_update_proc.do" name="entrprsManageVO" method="post" >
<!-- 상세정보 사용자 삭제시 prameter 전달용 input -->
<input name="checkedIdForDel" type="hidden" />
<!-- 사용자본인정보 수정 prameter 전달용 input -->
<input name="isViewPage" type="hidden" value="Y" />
<input name="tilesDef" type="hidden" value="popup" />
<!-- 검색조건 유지 -->
<input type="hidden" name="searchCondition" value="<c:out value='${userSearchVO.searchCondition}'/>"/>
<input type="hidden" name="searchKeyword" value="<c:out value='${userSearchVO.searchKeyword}'/>"/>
<input type="hidden" name="sbscrbSttus" value="<c:out value='${userSearchVO.sbscrbSttus}'/>"/>
<input type="hidden" name="pageIndex" value="<c:out value='${userSearchVO.pageIndex}'/>"/>
<!-- 우편번호검색 -->
<input type="hidden" name="zip_url" value="<c:url value='/framework/biz/cmm/popup/ZipSearchList.do'/>" />
<!-- 사용자유형정보 : password 수정화면으로 이동시 타겟 유형정보 확인용, 만약검색조건으로 유형이 포함될경우 혼란을 피하기위해 userTy명칭을 쓰지 않음-->
<input type="hidden" name="userTyForPassword" value="<c:out value='${entrprsManageVO.userTy}'/>" />
<div class="popup" style="min-width: 100%;">
<div class="container-window3" style="max-width: 700px;">
<c:set var="pageTitle"><spring:message code="comUssUmt.entrprsUserManage.title"/></c:set>
<p class="container-window-header2">${pageTitle } <spring:message code="title.update" /></p>
<!-- 수정폼 -->
<table class="table-03" summary="<spring:message code="common.summary.list" arguments="${pageTitle}" />">
<caption>${pageTitle} <spring:message code="title.update" /></caption>
<colgroup>
<col style="width: 22%;"><col style="width: ;">
</colgroup>
<tbody>
<!-- 입력/선택 -->
<c:set var="inputTxt"><spring:message code="input.input" /></c:set>
<c:set var="inputSelect"><spring:message code="input.cSelect" /></c:set>
<!-- 기업회원아이디 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.id"/></c:set>
<tr>
<th>${title} <span class="pilsu">*</span></th>
<td class="left">
<form:input path="entrprsmberId" id="entrprsmberId" title="${title} ${inputTxt}" size="20" readonly="true" maxlength="20" />
<div><form:errors path="entrprsmberId" cssClass="error" /></div>
<form:hidden path="uniqId" />
</td>
</tr>
<!-- 회사명 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.name"/></c:set>
<tr>
<th>${title} <span class="pilsu">*</span></th>
<td class="left">
<form:input path="cmpnyNm" title="${title} ${inputTxt}" size="50" maxlength="60" />
<div><form:errors path="cmpnyNm" cssClass="error" /></div>
</td>
</tr>
<!-- 비밀번호힌트 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.passHit"/></c:set>
<tr>
<th>${title} <span class="pilsu">*</span></th>
<td class="left">
<form:select path="entrprsMberPasswordHint" id="entrprsMberPasswordHint" title="${title} ${inputSelect}">
<form:option value="" label="--선택하세요--"/>
<form:options items="${passwordHint_result}" itemValue="code" itemLabel="codeVal"/>
</form:select>
<div><form:errors path="entrprsMberPasswordHint" cssClass="error"/></div>
</td>
</tr>
<!-- 비밀번호정답 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.passOk"/></c:set>
<tr>
<th>${title} <span class="pilsu">*</span></th>
<td class="left">
<form:input path="entrprsMberPasswordCnsr" id="entrprsMberPasswordCnsr" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="50" maxlength="100" />
<div><form:errors path="entrprsMberPasswordCnsr" cssClass="error"/></div>
</td>
</tr>
<!-- 업종코드 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.indutyCode"/></c:set>
<tr>
<th>${title}</th>
<td class="left">
<form:select path="indutyCode" id="indutyCode" title="${title} ${inputSelect}">
<form:option value="" label="${inputSelect}"/>
<form:options items="${indutyCode_result}" itemValue="code" itemLabel="codeVal"/>
</form:select>
</td>
</tr>
<!-- 기업구분코드 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.entrprsSeCode"/></c:set>
<tr>
<th>${title}</th>
<td class="left">
<form:select path="entrprsSeCode" id="entrprsSeCode" title="${title} ${inputSelect}">
<form:option value="" label="${inputSelect}"/>
<form:options items="${entrprsSeCode_result}" itemValue="code" itemLabel="codeVal"/>
</form:select>
</td>
</tr>
<!-- 대표이사이름 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.cxfc"/></c:set>
<tr>
<th>${title}</th>
<td class="left">
<form:input path="cxfc" id="cxfc" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="20" maxlength="15" />
<div><form:errors path="cxfc" cssClass="error" /></div>
</td>
</tr>
<!-- 사업자등록번호 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.bizrno"/></c:set>
<tr>
<th>${title} <span class="pilsu">*</span></th>
<td class="left">
<form:input path="bizrno" id="bizrno" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="20" maxlength="15" />
<div><form:errors path="bizrno" cssClass="error" /></div>
</td>
</tr>
<!-- 법인등록번호 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.jurirno"/></c:set>
<tr>
<th>${title}</th>
<td class="left">
<form:select path="jurirno" id="jurirno" title="${title} ${inputSelect}">
<form:option value="" label="--선택하세요--"/>
<form:options items="${entrprsSeCode_result}" itemValue="code" itemLabel="codeVal"/>
</form:select>
<div><form:errors path="jurirno" cssClass="error" /></div>
</td>
</tr>
<!-- 회사전화번호 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.tel"/></c:set>
<tr>
<th>${title} <span class="pilsu">*</span></th>
<td class="left">
<form:input path="areaNo" id="areaNo" title="전화번호" size="5" maxlength="5" style="width:40px;"/>
- <form:input path="entrprsMiddleTelno" id="entrprsMiddleTelno" size="5" maxlength="5" style="width:40px;"/>
- <form:input path="entrprsEndTelno" id="entrprsEndTelno" size="5" maxlength="5" style="width:40px;"/>
<div><form:errors path="areaNo" cssClass="error" /></div>
<div><form:errors path="entrprsMiddleTelno" cssClass="error" /></div>
<div><form:errors path="entrprsEndTelno" cssClass="error" /></div>
</td>
</tr>
<!-- 팩스번호 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.fax"/></c:set>
<tr>
<th>${title}</th>
<td class="left">
<form:input path="fxnum" id="fxnum" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="20" maxlength="15" />
<div><form:errors path="fxnum" cssClass="error" /></div>
</td>
</tr>
<!-- 우번번호 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.post"/></c:set>
<tr>
<th>${title} <span class="pilsu">*</span></th>
<td class="left">
<input name="zip" id="zip" title="${title} ${inputTxt}" value="<c:out value='${entrprsManageVO.zip}'/>" type="text" size="20" value="" maxlength="8" style="width:60px;" />
<!-- form:hidden path="zip" id="zip" -->
<!-- <button class="btn_s2" onClick="fn_egov_ZipSearch(document.mberManageVO, document.mberManageVO.zip, document.mberManageVO.zip_view, document.mberManageVO.adres);return false;" title="<spring:message code="button.delete" /> <spring:message code="input.button" />">우번번호검색</button> -->
<div><form:errors path="zip" cssClass="error" /></div>
</td>
</tr>
<!-- 주소 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.addr"/></c:set>
<tr>
<th>${title} <span class="pilsu">*</span></th>
<td class="left">
<form:input path="adres" id="adres" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="70" maxlength="100" />
<div><form:errors path="adres" cssClass="error" /></div>
</td>
</tr>
<!-- 상세주소 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.addrDetail"/></c:set>
<tr>
<th>${title}</th>
<td class="left">
<form:input path="detailAdres" id="detailAdres" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="70" maxlength="100" />
<div><form:errors path="detailAdres" cssClass="error" /></div>
</td>
</tr>
<!-- 신청자이름 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageList.regName"/></c:set>
<tr>
<th>${title} <span class="pilsu">*</span></th>
<td class="left">
<form:input path="applcntNm" id="applcntNm" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="20" maxlength="20" />
<div><form:errors path="applcntNm" cssClass="error" /></div>
</td>
</tr>
<!-- 신청자이메일주소 -->
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageList.regMail"/></c:set>
<tr>
<th>${title} <span class="pilsu">*</span></th>
<td class="left">
<form:input path="applcntEmailAdres" id="applcntEmailAdres" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="30" maxlength="50" />
<div><form:errors path="applcntEmailAdres" cssClass="error" /></div>
</td>
</tr>
<!-- 그룹아이디 -->
<c:set var="inputSelect"><spring:message code="input.select"/></c:set>
<c:set var="title"><spring:message code="comUssUmt.entrprsUserManageRegist.groupId"/></c:set>
<tr>
<th>${title}</th>
<td class="left">
<form:select path="groupId" id="groupId" title="${title} ${inputSelect}">
<form:option value="" label="${inputSelect}"/>
<form:options items="${groupId_result}" itemValue="code" itemLabel="codeVal"/>
</form:select>
<div><form:errors path="groupId" cssClass="error"/></div>
</td>
</tr>
</tbody>
</table>
<div class="container-window-btn1">
<span class="flr">
<a href="#LINK" onclick="JavaScript:fnUpdate(); return false;" class="btn btn-blue" id="btnSave"><spring:message code="button.save" /></a>
<!-- <a href="#" class="btn btn-red" id="btnRemove">삭제</a> -->
<a href="#LINK" onclick="javascript:document.entrprsManageVO.reset();" class="btn btn-lightgray" id="init_btn">원래대로</a>
<a href="<c:url value='/framework/biz/mng/usr/entUserRegMng_editPwd.do'/>" onclick="fnPasswordMove(); return false;" class="btn btn-blue" id="btnPwdChg"><spring:message code="button.passwordUpdate" /></a>
<a href="#LINK" onclick="window.close();" class="btn btn-lightgray" id="btnClose">닫기</a>
</span>
</div>
</div>
</div>
<form:hidden path="entrprsMberPassword" />
</form:form>

@ -1,420 +0,0 @@
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<%@ include file="/WEB-INF/jsp/include/fims/taglib.jsp"%>
<script type="text/javascript" src="<c:url value="/framework/util/validator.do"/>"></script>
<validator:javascript formName="mberManageVO" staticJavascript="false" xhtml="true" cdata="false"/>
<form:form modelAttribute="mberManageVO" id ="mberManageVO" name="mberManageVO" method="post" >
<input type="hidden" name="searchCondition" value="<c:out value='${userSearchVO.searchCondition}'/>"/>
<input type="hidden" name="searchKeyword" value="<c:out value='${userSearchVO.searchKeyword}'/>"/>
<input type="hidden" name="sbscrbSttus" value="<c:out value='${userSearchVO.sbscrbSttus}'/>"/>
<input type="hidden" name="pageIndex" value="<c:out value='${userSearchVO.pageIndex}'/>"/>
<input type="hidden" name="zip_url" value="<c:url value='/framework/biz/cmm/popup/ZipSearchList.do'/>" />
<!-- 상세정보 사용자 삭제시 prameter 전달용 input -->
<input type="hidden" name="checkedIdForDel" id="checkedIdForDel" value="<c:out value='${mberManageVO.userTy}'/>:<c:out value='${mberManageVO.mberId}'/>">
<!-- 사용자유형정보 : password 수정화면으로 이동시 타겟 유형정보 확인용, 만약검색조건으로 유형이 포함될경우 혼란을 피하기위해 userTy명칭을 쓰지 않음-->
<input type="hidden" name="userTyForPassword" value="<c:out value='${mberManageVO.userTy}'/>" />
<!-- for validation -->
<input type="hidden" name="password" id="password" value="Tmp!@123)"/>
<input type="hidden" name="selectedId" id="selectedId" value=""/>
<div class="popup" style="min-width: 100%;">
<div class="container-window1" style="max-width: 700px;">
<c:set var="pageTitle"><spring:message code="comUssUmt.userManage.title"/></c:set>
<p class="container-window-header2">${pageTitle } <spring:message code="title.update" /></p>
<!-- 수정폼 -->
<table class="table-03" summary="<spring:message code="common.summary.list" arguments="${pageTitle}" />">
<caption>${pageTitle} <spring:message code="title.update" /></caption>
<colgroup>
<col style="width: 22%;"><col style="width: ;">
</colgroup>
<tbody>
<!-- 입력/선택 -->
<c:set var="inputTxt"><spring:message code="input.input" /></c:set>
<c:set var="inputSelect"><spring:message code="input.cSelect" /></c:set>
<!-- 일반회원아이디 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.id"/></c:set>
<tr>
<th><label for="mberId">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="mberId" id="mberId" title="${title} ${inputTxt}" size="20" readonly="true" maxlength="20" />
<form:errors path="mberId" cssClass="error" />
<form:hidden path="uniqId" />
</td>
</tr>
<!-- 일반회원이름 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.name"/></c:set>
<tr>
<th><label for="mberNm">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="mberNm" title="${title} ${inputTxt}" size="50" maxlength="60" />
<div><form:errors path="mberNm" cssClass="error" /></div>
</td>
</tr>
<!-- 비밀번호힌트 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.passHit"/></c:set>
<tr>
<th><label for="passwordHint">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:select path="passwordHint" id="passwordHint" title="${title} ${inputSelect}">
<form:option value="" label="--선택하세요--"/>
<form:options items="${passwordHint_result}" itemValue="code" itemLabel="codeVal"/>
</form:select>
<div><form:errors path="passwordHint" cssClass="error"/></div>
</td>
</tr>
<!-- 비밀번호정답 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.passOk"/></c:set>
<tr>
<th><label for="passwordCnsr">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="passwordCnsr" id="passwordCnsr" title="${title} ${inputTxt}" size="50" maxlength="100" />
<div><form:errors path="passwordCnsr" cssClass="error"/></div>
</td>
</tr>
<!-- 성별구분코드 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.saxTypeCode"/></c:set>
<tr>
<th><label for="sexdstnCode">${title}</label></th>
<td class="left">
<form:select path="sexdstnCode" id="sexdstnCode" title="${title} ${inputSelect}">
<form:option value="" label="--선택하세요--"/>
<form:options items="${sexdstnCode_result}" itemValue="code" itemLabel="codeVal"/>
</form:select>
</td>
</tr>
<!-- 전화번호 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.tel"/></c:set>
<tr>
<th><label for="areaNo">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="areaNo" id="areaNo" title="전화번호" cssClass="txaIpUmt" size="5" maxlength="5" style="width:40px;"/>
- <form:input path="middleTelno" id="middleTelno" cssClass="txaIpUmt" size="5" maxlength="5" style="width:40px;"/>
- <form:input path="endTelno" id="endTelno" cssClass="txaIpUmt" size="5" maxlength="5" style="width:40px;"/>
<div><form:errors path="areaNo" cssClass="error" /></div>
<div><form:errors path="middleTelno" cssClass="error" /></div>
<div><form:errors path="endTelno" cssClass="error" /></div>
</td>
</tr>
<!-- 팩스번호 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.fax"/></c:set>
<tr>
<th><label for="mberFxnum">${title}</label></th>
<td class="left">
<form:input path="mberFxnum" id="mberFxnum" title="${title} ${inputTxt}" size="20" maxlength="15" />
<div><form:errors path="mberFxnum" cssClass="error" /></div>
</td>
</tr>
<!-- 헨드폰번호 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.phone"/></c:set>
<tr>
<th><label for="mbtlnum">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="mbtlnum" id="mbtlnum" title="${title} ${inputTxt}" size="20" maxlength="15" />
<div><form:errors path="mbtlnum" cssClass="error" /></div>
</td>
</tr>
<!-- 이메일주소 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.email"/></c:set>
<tr>
<th><label for="mberEmailAdres">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="mberEmailAdres" id="mberEmailAdres" title="${title} ${inputTxt}" size="30" maxlength="50" />
<div><form:errors path="mberEmailAdres" cssClass="error" /></div>
</td>
</tr>
<!-- 우번번호 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.post"/></c:set>
<tr>
<th><label for="zip">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="zip" id="zip" title="${title} ${inputTxt}" readonly="true" size="70" maxlength="6" style="width:60px;"/>
<!-- form:hidden path="zip" id="zip" -->
<!-- <button class="btn_s2" onClick="fn_egov_ZipSearch(document.mberManageVO, document.mberManageVO.zip, document.mberManageVO.zip_view, document.mberManageVO.adres);return false;" title="<spring:message code="button.delete" /> <spring:message code="input.button" />">우번번호검색</button> -->
<div><form:errors path="zip" cssClass="error" /></div>
</td>
</tr>
<!-- 주소 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.addr"/></c:set>
<tr>
<th><label for="adres">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="adres" id="adres" title="${title} ${inputTxt}" readonly="true" size="70" maxlength="100" />
<div><form:errors path="adres" cssClass="error" /></div>
</td>
</tr>
<!-- 상세주소 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.addrDetail"/></c:set>
<tr>
<th><label for="detailAdres">${title}</label> </th>
<td class="left">
<form:input path="detailAdres" id="detailAdres" title="${title} ${inputTxt}" size="70" maxlength="100" />
<div><form:errors path="detailAdres" cssClass="error" /></div>
</td>
</tr>
<!-- 그룹아이디 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.groupId"/></c:set>
<c:set var="inputSelect"><spring:message code="input.select"/></c:set>
<tr>
<th><label for="groupId">${title}</label></th>
<td class="left">
<form:select path="groupId" id="groupId" title="${title} ${inputSelect}">
<form:option value="" label="${inputSelect}"/>
<form:options items="${groupId_result}" itemValue="code" itemLabel="codeVal"/>
</form:select>
<div><form:errors path="groupId" cssClass="error"/></div>
</td>
</tr>
<!-- 일반회원상태코드 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.status"/></c:set>
<tr>
<th><label for="mberSttus">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:select path="mberSttus" id="mberSttus" title="${title} ${inputSelect}">
<form:option value="" label="${inputSelect}"/>
<form:options items="${mberSttus_result}" itemValue="code" itemLabel="codeVal"/>
</form:select>
<div><form:errors path="mberSttus" cssClass="error"/></div>
</td>
</tr>
<!-- 로그인인증제한여부 -->
<%-- <c:set var="title"><spring:message code="comUssUmt.common.lockAt"/></c:set> --%>
<!-- <tr> -->
<%-- <th><label for="lockAt">${title}</label></th> --%>
<!-- <td class="left"> -->
<%-- <c:if test="${mberManageVO.lockAt eq 'Y'}">예</c:if> --%>
<%-- <c:if test="${mberManageVO.lockAt == null || mberManageVO.lockAt eq '' || mberManageVO.lockAt eq 'N'}">아니오</c:if> --%>
<!-- </td> -->
<!-- </tr> -->
</tbody>
</table>
<div class="container-window-btn1">
<span class="flr">
<a href="#" class="btn btn-blue" id="btnSave">변경</a>
<a href="#" class="btn btn-red" id="btnRemove">삭제</a>
<a href="#" class="btn btn-blue" id="btnPwdChg">비밀번호변경</a>
<a href="#" class="btn btn-lightgray" id="btnClose">닫기</a>
</span>
</div>
</div>
</div>
<!-- //popup -->
</form:form>
<script type="text/javascript" src="<c:url value='/resources/js/fims/framework/egov/EgovZipPopup.js' />" ></script>
<script type="text/javaScript" language="javascript" defer="defer">
$(document).ready(function(){
XitGnrUserRegMng_edit.init();
});
/* *******************************
* 사용자 등록관리 수정화면 Functions
******************************* */
var XitGnrUserRegMng_edit = {
/* ========================
* 초기화
======================== */
init : function(){
//닫기 버튼 EVENT 설정
$("#btnClose").on({
click : function(){
window.close();
}
});
//저장 버튼 Event 설정
$('#btnSave').on({
click: function(){
if (confirm('수정하시겠습니까?')) {
if(validateMberManageVO(document.mberManageVO)){
XitGnrUserRegMng_edit.modifyData();
}
}
}
});
$('#btnRemove').on({
click : function(){
if(confirm("삭제하시겠습니까?")){
XitGnrUserRegMng_edit.removeData();
}
}
})
//주소검색버튼 Event설정
$('#addrSearch').on({
click : function(){
/*
* 2020.10.05. 박민규
* 우편번호검색 Event 변경
* -작업내용: DB조회->행자부API로 변경
*/
// fn_egov_ZipSearch(
// document.mberManageVO
// , document.mberManageVO.zip
// , document.mberManageVO.adres
// );
XitGnrUserRegMng_edit.fnSearchAdres();
}
});
$('#btnPwdChg').on({
click : function(){
var params = "";
var form = $('#mberManageVO');
var array = $(form).serializeArray();
var result = {};
if(array){
$(array).each(function(index, item){
if(this.value){
params += (this.name+"=" + this.value);
if(index < (array.length -1)) params += "&"
}
})
}
XitGnrUserRegMng_edit.pagePopup('pwd', '<c:url value="/framework/biz/mng/usr/gnrUserRegMng_editPwd_popup.do"/>', params);
}
});
},
/* ========================
* 입력값 언어 선택
======================== */
fn_setInputLimit : function(){
},
/* ========================
* 데이터 조회
======================== */
findData : function(){
},
/* ========================
* 데이터 등록
======================== */
addData : function(){
},
/* ========================
* 데이터 수정
======================== */
modifyData : function(){
var param = $("#mberManageVO").serialize();
$.ajax({
url : "/_mng_/usr/reg/gnrUserRegMng_update_proc.do",
data : param,
type : "post",
dataType : "json",
success : function(data) {
alert(data.resp.message);
window.opener.XitGnrUserRegMng_list.findData();
window.close();
},
error: function(){
}
});
},
/* ========================
* 데이터 삭제
======================== */
removeData : function(){
var param = $("#mberManageVO").serialize();
$.ajax({
url : "/_mng_/usr/reg/gnrUserRegMng_delete_proc.do",
data : param,
type : "post",
dataType : "json",
success : function(data) {
alert(data.resp.message);
window.opener.XitGnrUserRegMng_list.findData();
window.close();
},
error: function(){
}
});
},
/* ========================
* 유효성 검증
-flag에 따라 유효성 검증을 분기처리한다.
======================== */
validate : function(flag){
switch(flag){
case 'update' : //수정
break;
default : break;
}
return true;
},
/* ========================
* 페이지 이동
-외부사이트 링크가 필요 시 사용(내부코드는 각 페이지에 맞게 수정, ex>https://www.gov.kr/portal/main )
======================== */
pageLink: function(flag, url, params){
switch (flag) {
case "move": //페이지 이동
break;
case "popup": //팝업 OPEN
break;
default:
break;
}
},
/* ========================
* 페이지 Open
-팝업페이지를 Open 한다.
======================== */
pagePopup: function(flag, url, params){
var popUrl = url;
if(!(params == undefined || params == null)){
popUrl += "?";
popUrl += params;
}
var popTitle = '';
var popOption = '';
switch (flag) {
case "pwd":
popTitle = "";
popOption = "width=570px, height=420px, resizable=yes, scrollbars=yes, location=no, top=100px, left=100px;";
break;
default:
break;
}
window.open(popUrl, popTitle ,popOption);
},
/* ========================
* 주소 검색 팝업 OPEN
-도로명 주소를 검색할 수 있는 팝업을 오픈한다.
======================== */
fnSearchAdres: function(){
var popUrl = '<c:url value="/_anonymous_/api/AdresSearch.do"/>';
var params = '?callback=XitGnrUserRegMng_edit.fnSearchAdresCallback';
popUrl += params;
var popTitle = "주소 찾기";
var popOption = "width=570px, height=420px, resizable=yes, scrollbars=yes, location=no, top=100px, left=100px";
window.open(popUrl, popTitle ,popOption);
},
/* ========================
* 주소 검색 콜백 함수
-주소 검색 팝업의 검색결과를 전달 받는다.
======================== */
fnSearchAdresCallback: function(obj){
//검색결과 Set
var totalDetailAdres = ""; // 전체 상세 주소
totalDetailAdres += obj.addrDetail;
totalDetailAdres += obj.roadAddrPart2;
//화면에 출력
document.mberManageVO.adres.value = obj.roadAddrPart1;
document.mberManageVO.zip.value = obj.zipNo;
document.mberManageVO.detailAdres.value = totalDetailAdres;
}
}
/* ********************************************************
* 처리결과메시지 출력
******************************************************** */
<c:if test="${!empty message}">alert("${message}");</c:if>
</script>

@ -1,122 +0,0 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<%@ include file="/WEB-INF/jsp/include/fims/taglib.jsp"%>
<script type="text/javascript" src="<c:url value="/framework/util/validator.do"/>"></script>
<validator:javascript formName="passwordChgVO" staticJavascript="false" xhtml="true" cdata="false"/>
<form name="passwordChgVO" id="passwordChgVO" method="post" action="${pageContext.request.contextPath}/framework/biz/mng/usr/gnrUserRegMng_update_pwd_proc.do">
<input type="submit" id="invisible" class="invisible"/>
<!-- onsubmit="javascript:return FormValidation(document.passwordChgVO);" > -->
<!-- 상세정보 사용자 삭제시 prameter 전달용 input -->
<input name="checkedIdForDel" type="hidden" />
<!-- 사용자본인정보 수정 prameter 전달용 input -->
<input name="isViewPage" type="hidden" value="${param.isViewPage }" />
<input name="tilesDef" type="hidden" value="${param.tilesDef }" />
<!-- 검색조건 유지 -->
<input type="hidden" name="searchCondition" value="<c:out value='${userSearchVO.searchCondition}'/>"/>
<input type="hidden" name="searchKeyword" value="<c:out value='${userSearchVO.searchKeyword}'/>"/>
<input type="hidden" name="sbscrbSttus" value="<c:out value='${userSearchVO.sbscrbSttus}'/>"/>
<input type="hidden" name="pageIndex" value="<c:out value='${userSearchVO.pageIndex}'/>"/>
<!-- 우편번호검색 -->
<input type="hidden" name="url" value="<c:url value='/sym/ccm/zip/EgovCcmZipSearchPopup.do'/>" />
<div class="popup" style="min-width: 100%;">
<div class="container-window1" style="max-width: 500px;">
<c:set var="pageTitle"><spring:message code="comUssUmt.userManagePasswordUpdt.title"/></c:set>
<p class="container-window-header2"><spring:message code="comUssUmt.userManage.title" /> ${pageTitle}</p>
<!-- 등록폼 -->
<table class="" summary="<spring:message code="common.summary.list" arguments="${pageTitle}" />">
<caption>${pageTitle} <spring:message code="title.create" /></caption>
<colgroup>
<col style="width: 120px;">
<col style="width: ;">
</colgroup>
<tbody>
<!-- 입력 -->
<c:set var="inputTxt"><spring:message code="input.input" /></c:set>
<!-- 일반회원아이디 -->
<c:set var="title"><spring:message code="comUssUmt.userManagePasswordUpdt.id" /></c:set>
<tr>
<th>${title}</th>
<td class="left">
<input name="mberId" id="mberId" type="text" size="20" value="<c:out value='${mberManageVO.mberId}'/>" maxlength="20" readonly >
<input name="uniqId" id="uniqId" type="hidden" size="20" value="<c:out value='${mberManageVO.uniqId}'/>" >
<input name="userTy" id="userTy" type="hidden" size="20" value="<c:out value='${mberManageVO.userTy}'/>" >
</td>
</tr>
<!-- 기존 비밀번호 -->
<c:set var="title"><spring:message code="comUssUmt.userManagePasswordUpdt.oldPass" /></c:set>
<tr>
<th>${title}<span class="pilsu">*</span></th>
<td class="left">
<input name="oldPassword" id="oldPassword" type="password" size="20" value="" maxlength="100" >
</td>
</tr>
<!-- 비밀번호 -->
<c:set var="title"><spring:message code="comUssUmt.userManagePasswordUpdt.pass" /></c:set>
<tr>
<th>${title}<span class="pilsu">*</span></th>
<td class="left">
<input name="newPassword" id="newPassword" type="password" size="20" value="" maxlength="100" >
</td>
</tr>
<!-- 비밀번호확인 -->
<c:set var="title"><spring:message code="comUssUmt.userManagePasswordUpdt.passConfirm" /></c:set>
<tr>
<th>${title}<span class="pilsu">*</span></th>
<td class="left">
<input name="newPassword2" id="newPassword2" type="password" size="20" value="" maxlength="100" >
</td>
</tr>
</tbody>
</table>
<div class="container-window-btn1">
<span class="flr">
<a href="#" class="btn btn-blue" id="btnSave">저장</a>
<a href="#" class="btn btn-lightgray" id="btnClose">닫기</a>
</span>
</div>
</div>
</div>
</form>
<script type="text/javaScript" language="javascript" defer="defer">
$("#btnSave").on({
click : function(){
if(validatePasswordChgVO(document.passwordChgVO)){
if(document.passwordChgVO.newPassword.value != document.passwordChgVO.newPassword2.value){
alert("<spring:message code="fail.user.passwordUpdate2" />");
return;
}
var param = $("#passwordChgVO").serialize();
$.ajax({
url : "/framework/biz/mng/usr/gnrUserRegMng_update_pwd_proc.do",
data : param,
type : "post",
dataType : "json",
success : function(data) {
alert(data.resp.message);
window.close();
},
error: function(){
}
});
}
}
});
$("#btnClose").on({
click : function(){
window.close();
}
});
/* ********************************************************
* 처리결과메시지 출력
******************************************************** */
<c:if test="${!empty message}">alert("${message}");</c:if>
</script>

@ -1,415 +0,0 @@
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<%@ include file="/WEB-INF/jsp/include/fims/taglib.jsp"%>
<script type="text/javascript" src="<c:url value="/framework/util/validator.do"/>"></script>
<validator:javascript formName="mberManageVO" staticJavascript="false" xhtml="true" cdata="false"/>
<form:form modelAttribute="mberManageVO" id ="mberManageVO" name="mberManageVO" method="post" >
<input type="hidden" name="searchCondition" value="<c:out value='${userSearchVO.searchCondition}'/>"/>
<input type="hidden" name="searchKeyword" value="<c:out value='${userSearchVO.searchKeyword}'/>"/>
<input type="hidden" name="sbscrbSttus" value="<c:out value='${userSearchVO.sbscrbSttus}'/>"/>
<input type="hidden" name="pageIndex" value="<c:out value='${userSearchVO.pageIndex}'/>"/>
<input type="hidden" name="zip_url" value="<c:url value='/framework/biz/cmm/popup/ZipSearchList.do'/>" />
<div class="popup" style="min-width: 100%;">
<div class="container-window1" style="max-width: 700px;">
<c:set var="pageTitle"><spring:message code="comUssUmt.userManage.title"/></c:set>
<p class="container-window-header2">${pageTitle } <spring:message code="title.create" /></p>
<!-- 등록폼 -->
<table class="table-03" summary="<spring:message code="common.summary.list" arguments="${pageTitle}" />">
<caption>${pageTitle} <spring:message code="title.create" /></caption>
<colgroup>
<col style="width: 22%;"><col style="width: ;">
</colgroup>
<tbody>
<!-- 입력/선택 -->
<c:set var="inputTxt"><spring:message code="input.input" /></c:set>
<c:set var="inputSelect"><spring:message code="input.cSelect" /></c:set>
<!-- 일반회원아이디 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.id"/></c:set>
<tr>
<th><label for="mberId">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="mberId" id="mberId" title="${title} ${inputTxt}" size="20" readonly="true" maxlength="20" style="width:60%;" />
<%-- <button id="btnMbrId" class="btn_s2" onClick="return false;" title="<spring:message code="button.delete" /> <spring:message code="input.button" />"><spring:message code="comUssUmt.userManageRegistBtn.idSearch" /></button> --%>
<a id="fnIdCheck" >
<img src="/resources/image/fims/framework/etc/img_search.gif" alt=""/>(<spring:message code="comUssUmt.userManageRegistBtn.idSearch" />)
</a>
<div><form:errors path="mberId" cssClass="error" /></div>
</td>
</tr>
<!-- 일반회원이름 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.name"/></c:set>
<tr>
<th><label for="mberNm">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="mberNm" title="${title} ${inputTxt}" size="50" maxlength="50" />
<div><form:errors path="mberNm" cssClass="error" /></div>
</td>
</tr>
<!-- 비밀번호 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.pass"/></c:set>
<tr>
<th><label for="password">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:password path="password" title="${title} ${inputTxt}" size="50" maxlength="20" />
<div><form:errors path="password" cssClass="error" /></div>
</td>
</tr>
<!-- 비밀번호확인 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.passConfirm"/></c:set>
<tr>
<th><label for="password2">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<input name="password2" id="password2" title="${title} ${inputTxt}" type="password" size="50" maxlength="20" />
</td>
</tr>
<!-- 비밀번호힌트 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.passHit"/></c:set>
<tr>
<th><label for="passwordHint">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:select path="passwordHint" id="passwordHint" title="${title} ${inputSelect}">
<form:option value="" label="--선택하세요--"/>
<form:options items="${passwordHint_result}" itemValue="code" itemLabel="codeVal"/>
</form:select>
<div><form:errors path="passwordHint" cssClass="error"/></div>
</td>
</tr>
<!-- 비밀번호정답 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.passOk"/></c:set>
<tr>
<th><label for="passwordCnsr">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="passwordCnsr" id="passwordCnsr" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="50" maxlength="100" />
<div><form:errors path="passwordCnsr" cssClass="error"/></div>
</td>
</tr>
<!-- 성별구분코드 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.saxTypeCode"/></c:set>
<tr>
<th><label for="sexdstnCode">${title}</label></th>
<td class="left">
<form:select path="sexdstnCode" id="sexdstnCode" title="${title} ${inputSelect}">
<form:option value="" label="--선택하세요--"/>
<form:options items="${sexdstnCode_result}" itemValue="code" itemLabel="codeVal"/>
</form:select>
</td>
</tr>
<!-- 전화번호 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.tel"/></c:set>
<tr>
<th><label for="areaNo">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="areaNo" id="areaNo" title="전화번호" cssClass="txaIpUmt" size="5" maxlength="4" style="width:40px;"/>
- <form:input path="middleTelno" id="middleTelno" cssClass="txaIpUmt" size="5" maxlength="4" style="width:40px;"/>
- <form:input path="endTelno" id="endTelno" cssClass="txaIpUmt" size="5" maxlength="4" style="width:40px;"/>
<div><form:errors path="areaNo" cssClass="error" /></div>
<div><form:errors path="middleTelno" cssClass="error" /></div>
<div><form:errors path="endTelno" cssClass="error" /></div>
</td>
</tr>
<!-- 팩스번호 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.fax"/></c:set>
<tr>
<th><label for="mberFxnum">${title}</label></th>
<td class="left">
<form:input path="mberFxnum" id="mberFxnum" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="20" maxlength="15" />
<div><form:errors path="mberFxnum" cssClass="error" /></div>
</td>
</tr>
<!-- 헨드폰번호 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.phone"/></c:set>
<tr>
<th><label for="mbtlnum">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="mbtlnum" id="mbtlnum" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="20" maxlength="15" />
<div><form:errors path="mbtlnum" cssClass="error" /></div>
</td>
</tr>
<!-- 이메일주소 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.email"/></c:set>
<tr>
<th><label for="mberEmailAdres">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="mberEmailAdres" id="mberEmailAdres" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="30" maxlength="50" />
<div><form:errors path="mberEmailAdres" cssClass="error" /></div>
</td>
</tr>
<!-- 우번번호 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.post"/></c:set>
<tr>
<th><label for="zip">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<input name="zip" id="zip" title="${title} ${inputTxt}" type="text" size="20" value="" maxlength="6" style="width:60px;" readonly="true" />
<!-- form:hidden path="zip" id="zip" -->
<!-- <button class="btn_s2" onClick="fn_egov_ZipSearch(document.mberManageVO, document.mberManageVO.zip, document.mberManageVO.zip_view, document.mberManageVO.adres);return false;" title="<spring:message code="button.delete" /> <spring:message code="input.button" />">우번번호검색</button> -->
<a id ="addrSearch">
<img src="<c:url value='/resources/image/fims/framework/btn/search.png'/>" alt="" />(우편번호 검색)
</a>
<div><form:errors path="zip" cssClass="error" /></div>
</td>
</tr>
<!-- 주소 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.addr"/></c:set>
<tr>
<th><label for="adres">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="adres" id="adres" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="70" maxlength="100" />
<div><form:errors path="adres" cssClass="error" /></div>
</td>
</tr>
<!-- 상세주소 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.addrDetail"/></c:set>
<tr>
<th><label for="detailAdres">${title}</label></th>
<td class="left">
<form:input path="detailAdres" id="detailAdres" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="70" maxlength="100" />
<div><form:errors path="detailAdres" cssClass="error" /></div>
</td>
</tr>
<!-- 그룹아이디 -->
<c:set var="inputSelect"><spring:message code="input.select"/></c:set>
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.groupId"/></c:set>
<tr>
<th><label for="groupId">${title}</label></th>
<td class="left">
<form:select path="groupId" id="groupId" title="${title} ${inputSelect}">
<form:option value="" label="${inputSelect}"/>
<form:options items="${groupId_result}" itemValue="code" itemLabel="codeVal"/>
</form:select>
<div><form:errors path="groupId" cssClass="error"/></div>
</td>
</tr>
<!-- 일반회원상태코드 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.status"/></c:set>
<tr>
<th><label for="mberSttus">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:select path="mberSttus" id="mberSttus" title="${title} ${inputSelect}">
<form:option value="" label="${inputSelect}"/>
<form:options items="${mberSttus_result}" itemValue="code" itemLabel="codeVal"/>
</form:select>
<div><form:errors path="mberSttus" cssClass="error"/></div>
</td>
</tr>
</tbody>
</table>
<div class="container-window-btn1">
<span class="flr">
<a href="#" class="btn btn-blue" id="btnSave">저장</a>
<a href="#" class="btn btn-lightgray" id="btnClose">닫기</a>
</span>
</div>
<!-- //등록버튼 -->
</div>
</div>
<!-- //popup -->
</form:form>
<script type="text/javascript" src="<c:url value='/resources/js/fims/framework/egov/EgovZipPopup.js' />" ></script>
<script type="text/javaScript" language="javascript" defer="defer">
$(document).ready(function(){
XitGnrUserRegMng_input.init();
});
function showModalDialogCallback(retVal) {
if(retVal) {
document.mberManageVO.mberId.value = retVal;
}
}
/* *******************************
* 사용자 등록관리 등록화면 Functions
******************************* */
var XitGnrUserRegMng_input = {
/* ========================
* 초기화
======================== */
init : function(){
//닫기 버튼 EVENT 설정
$("#btnClose").on({
click : function(){
window.close();
}
});
//입력값 유효성 설정
XitGnrUserRegMng_input.fn_setInputLimit();
//저장 버튼 Event 설정
$('#btnSave').on({
click: function(){
if (confirm('등록하시겠습니까?')) {
if(validateMberManageVO(document.mberManageVO)){
if(document.mberManageVO.password.value != document.mberManageVO.password2.value){
alert("비밀번호와 비밀번호 확인이 일치하지 않습니다.");
return;
}
XitGnrUserRegMng_input.addData();
}
}
}
});
//주소검색버튼 Event설정
$('#addrSearch').on({
click : function(){
/*
* 2020.10.05. 박민규
* 우편번호검색 Event 변경
* -작업내용: DB조회->행자부API로 변경
*/
// fn_egov_ZipSearch(
// document.mberManageVO
// , document.mberManageVO.zip
// , document.mberManageVO.houseAdres
// );
XitGnrUserRegMng_input.fnSearchAdres();
}
});
$('#fnIdCheck').on({
click : function(){
var retVal;
var url = "<c:url value='/_anonymous_/login/IdDuplCnfirm.do'/>";
var varParam = new Object();
varParam.checkId = document.mberManageVO.mberId.value;
var openParam = "dialogWidth:555px;dialogHeight:320px;scroll:no;status:no;center:yes;resizable:yes;";
retVal = window.showModalDialog(url, varParam, openParam);
if(retVal) {
document.mberManageVO.mberId.value = retVal;
}
}
});
},
/* ========================
* 입력값 언어 선택
======================== */
fn_setInputLimit : function(){
},
/* ========================
* 데이터 조회
======================== */
findData : function(){
},
/* ========================
* 데이터 등록
======================== */
addData : function(){
var param = $("#mberManageVO").serialize();
$.ajax({
url : "/framework/biz/mng/usr/gnrUserRegMng_insert_proc.do",
data : param,
type : "post",
dataType : "json",
success : function(data) {
alert(data.resp.message);
window.opener.XitGnrUserRegMng_list.findData();
window.close();
},
error: function(){
}
});
},
/* ========================
* 데이터 수정
======================== */
modifyData : function(){
},
/* ========================
* 데이터 삭제
======================== */
removeData : function(){
},
/* ========================
* 유효성 검증
-flag에 따라 유효성 검증을 분기처리한다.
======================== */
validate : function(flag){
switch(flag){
case 'update' : //수정
break;
default : break;
}
return true;
},
/* ========================
* 페이지 이동
-외부사이트 링크가 필요 시 사용(내부코드는 각 페이지에 맞게 수정, ex>https://www.gov.kr/portal/main )
======================== */
pageLink: function(flag, url, params){
switch (flag) {
case "move": //페이지 이동
break;
case "popup": //팝업 OPEN
break;
default:
break;
}
},
/* ========================
* 페이지 Open
-팝업페이지를 Open 한다.
======================== */
pagePopup: function(flag, url, params){
var popUrl = url;
if(!(params == undefined || params == null)){
popUrl += "?";
popUrl += params;
}
var popTitle = '';
var popOption = '';
switch (flag) {
case "": //주소 팝업 OPEN
popTitle = "";
popOption = "width=570px, height=420px, resizable=yes, scrollbars=yes, location=no, top=100px, left=100px;";
break;
default:
break;
}
window.open(popUrl, popTitle ,popOption);
},
/* ========================
* 주소 검색 팝업 OPEN
-도로명 주소를 검색할 수 있는 팝업을 오픈한다.
======================== */
fnSearchAdres: function(){
var popUrl = '<c:url value="/_anonymous_/api/AdresSearch.do"/>';
var params = '?callback=XitGnrUserRegMng_input.fnSearchAdresCallback';
popUrl += params;
var popTitle = "주소 찾기";
var popOption = "width=570px, height=420px, resizable=yes, scrollbars=yes, location=no, top=100px, left=100px";
window.open(popUrl, popTitle ,popOption);
},
/* ========================
* 주소 검색 콜백 함수
-주소 검색 팝업의 검색결과를 전달 받는다.
======================== */
fnSearchAdresCallback: function(obj){
//검색결과 Set
var totalDetailAdres = ""; // 전체 상세 주소
totalDetailAdres += obj.addrDetail;
totalDetailAdres += obj.roadAddrPart2;
//화면에 출력
document.mberManageVO.adres.value = obj.roadAddrPart1;
document.mberManageVO.zip.value = obj.zipNo;
document.mberManageVO.detailAdres.value = totalDetailAdres;
}
}
/* ********************************************************
* 처리결과메시지 출력
******************************************************** */
<c:if test="${!empty message}">alert("${message}");</c:if>
</script>

@ -1,391 +0,0 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<%@ include file="/WEB-INF/jsp/include/fims/taglib.jsp"%>
<form name="frmSearch" id="frmSearch" method="post">
<input type="hidden" id="searchAt" name="searchAt" value="Y">
<input name="selectedId" type="hidden" />
<input type="hidden" id="searchGubun" name="searchGubun" value="excel">
<input name="pageIndex" type="hidden" value="<c:out value='${userSearchVO.pageIndex}'/>"/>
<input type="hidden" name="checkedIdForDel" id="checkedIdForDel">
<div class="container-search">
<table>
<caption>검색조건</caption>
<colgroup>
<col style="width: 8%;"/>
<col style="width: 30%;"/>
<col style="width: 8%;"/>
<col style="width: ;"/>
<col style="width: 8%;"/>
<col style="width: ;"/>
<col style="width: 7%;"/>
</colgroup>
<tbody>
<tr>
<td colspan="6">
<select name="sbscrbSttus" id="sbscrbSttus" title="검색조건1-사용자상태" style=" width: 100px">
<option value="0" <c:if test="${empty userSearchVO.sbscrbSttus || userSearchVO.sbscrbSttus == '0'}">selected="selected"</c:if> >상태(전체)</option>
<option value="A" <c:if test="${userSearchVO.sbscrbSttus == 'A'}">selected="selected"</c:if> >가입신청</option>
<option value="D" <c:if test="${userSearchVO.sbscrbSttus == 'D'}">selected="selected"</c:if> >삭제</option>
<option value="P" <c:if test="${userSearchVO.sbscrbSttus == 'P'}">selected="selected"</c:if> >승인</option>
</select>
<select name="searchCondition" id="searchCondition" title="검색조건2-검색어구분" style="width: 100px">
<option value="0" <c:if test="${userSearchVO.searchCondition == '0'}">selected="selected"</c:if> >ID</option>
<option value="1" <c:if test="${empty userSearchVO.searchCondition || userSearchVO.searchCondition == '1'}">selected="selected"</c:if> >Name</option>
</select>
<input name="searchKeyword" title="검색어" type="text" value="<c:out value="${userSearchVO.searchKeyword}"/>" />
</td>
<td>
<button type="button" id="btnSearch" class="btn btn-search" title="검색">검색</button>
</td>
</tr>
</tbody>
</table>
</div>
<!-- //검색 -->
<div class="container-page-btn">
<span>
<a href="#" class="btn btn-darkgray" id="btnRegist" title="등록">등록</a>
<a href="#" class="btn btn-red" id="btnRemove" title="삭제">삭제</a>
</span>
</div>
<!-- //버튼 및 페이지정보 -->
<!-- 데이터 출력 -->
<div id="grid"></div>
<div class="d-flex flex-row p-3 justify-content-between">
<label id="grid1PagingInfo" class="dataTables_info" role="status" aria-live="polite"></label>
<ul id="grid1Paging" class="pagination pagination-primary"></ul>
</div>
</form>
<script type="text/javaScript" language="javascript" defer="defer">
$(document).ready(function(){
XitGnrUserRegMng_list.init();
});
/* *******************************
* 사용자 등록관리 Functions
******************************* */
var XitGnrUserRegMng_list = {
/* ========================
* 초기화
======================== */
init : function(){
/**
* Grid Config Settings
*/
//Grid Style Set
Grid.applyTheme('striped'); // Call API of static method
//Grid 체크박스 checked EventListner
instance.on('check', function(ev) {
// console.log('check!', ev);
});
//Grid 체크박스 unchecked EventListner
instance.on('uncheck', function(ev) {
// console.log('uncheck!', ev);
});
//Grid 체크박스 focus이동 EventListner
instance.on('focusChange', function(ev) {
// console.log('change focused cell!', ev);
});
/**
* Elements EventListener Settings
*/
//검색 Event 설정
$('#btnSearch').on({
click: function(){
XitGnrUserRegMng_list.findData();
}
});
/*등록 버튼 Event 설정
등록 팝업을 OPEN 한다.*/
$('#btnRegist').on({
click: function(){
XitGnrUserRegMng_list.pagePopup('insert', '<c:url value="/framework/biz/mng/usr/gnrUserRegMng_input.do"/>');
}
});
//삭제 버튼 Event 설정
$('#btnRemove').on({
click: function(){
if(confirm("삭제하시겠습니까?")){
var checkArr = instance.getCheckedRows();
var checkedIds = "";
checkArr.forEach(function(item, index){
checkedIds += (item.userTy +":"+item.userId);
if(checkArr.length -1 > index){
checkedIds += ",";
}
})
document.frmSearch.checkedIdForDel.value=checkedIds;
XitGnrUserRegMng_list.removeData();
}
}
});
XitGnrUserRegMng_list.fn_setInputLimit();
},
/* ========================
* 입력값 언어 선택
======================== */
fn_setInputLimit : function(){
},
/* ========================
* 데이터 조회
======================== */
findData : function(){
instance.reloadData();
},
/* ========================
* 데이터 등록
======================== */
addData : function(){
},
/* ========================
* 데이터 수정
======================== */
modifyData : function(){
},
/* ========================
* 데이터 삭제
======================== */
removeData : function(){
var param = $("#frmSearch").serialize();
$.ajax({
url : "/framework/biz/mng/usr/gnrUserRegMng_deletes_proc.do",
data : param,
type : "post",
dataType : "json",
success : function(data) {
alert(data.resp.message);
XitGnrUserRegMng_list.findData();
window.close();
},
error: function(){
}
});
},
/* ========================
* 유효성 검증
======================== */
validate : function(flag){
switch(flag){
case 'delete' :
/* 필수값 설정 */
var dataSet = instance.getData(); //Grid에 출력된 DataSet
var arrCheckedRowKey = instance.getCheckedRowKeys(); //선택한 row의 key값( 선택된 row 정보가 필요 시 "getCheckedRows()" )
// var arrCheckedRow = instance.getCheckedRows(); //선택한 row
/* 유효성 확인 */
if(dataSet.length==0){
alert("조회된 결과가 없습니다.");
return false;
}
if(arrCheckedRowKey.length==0) {
alert("선택된 자료가 없습니다.");
return false;
}
break;
}
return true;
},
/* ========================
* 페이지 이동
-외부사이트 링크가 필요 시 사용(내부코드는 각 페이지에 맞게 수정, ex>https://www.gov.kr/portal/main )
======================== */
pageLink: function(flag, url, params){
switch (flag) {
case "move": //페이지 이동
document.frmSearch.searchKeyword.value = "";
document.frmSearch.action = url;
document.frmSearch.submit();
break;
case "popup": //팝업 OPEN
XitGnrUserRegMng_list.pagePopup(flag, url, params);
break;
default:
break;
}
},
/* ========================
* 페이지 Open
-팝업페이지를 Open 한다.
======================== */
pagePopup: function(flag, url, params){
var popUrl = url;
popUrl += "?tilesDef=popup";
if(!(params == undefined || params == null)){
popUrl += "&";
popUrl += params;
}
var popTitle = '';
var popOption = '';
switch (flag) {
case "insert": //등록
popTitle = "사용자 신규등록";
popOption = "width=760px, height=890px, resizable=no, scrollbars=yes, location=no, top=50px, left=50px";
break;
case "detail": //상세
popTitle = "사용자 상세";
popOption = "width=760px, height=825px, resizable=no, scrollbars=yes, location=no, top=50px, left=50px";
break;
default:
break;
}
window.open(popUrl, popTitle ,popOption);
},
/* ========================
* 상세 팝업 조회 버튼 클릭
-선택한 신청의 상세 조회 팝업을 OPEN 한다.
======================== */
fnClickRegBtn: function(props){
var rowData = props.grid.getRow(props.rowKey);
var params = "";
params += "selectedId=" + rowData.uniqId;
XitGnrUserRegMng_list.pagePopup('detail', '<c:url value="/framework/biz/mng/usr/gnrUserRegMng_edit.do"/>', params);
}
}
/* ******************************
* Grid 환경 설정
****************************** */
var GridConfig = new XitTuiGridConfig();
GridConfig.setOptGridId('grid'); //Grid를 출력할 Element ID(해당 Element에 Grid가 출력 됨)
GridConfig.setOptGridHeight(270); //Grid 높이(단위: px)
GridConfig.setOptRowHeight(20); //Grid row 높이(단위: px)
GridConfig.setOptRowHeaderType('checkbox'); //Row 첫번째 Cell 타입(rowNum: 순번, checkbox: 체크박스, '': 아무것도 출력 안함)
GridConfig.setOptPageOptions({ //페이징(Pagination) 옵션
useClient: true //Client Paging 여부(true 설정 시 클라이언트 자체 페이징 처리. 서버호출 X)
,perPage: 10 //페이지당 표시 건수
});
GridConfig.setOptColumnOptions({ //컬럼고정 옵션
});
GridConfig.setOptDataSource({ //DataSource
/* -----------------------
* DataSource Config Setting
* -설정항목은 Global 적용 되며
* -API별 적용을 원할 경우 각 API 안에 작성 가능(우선순위: 개별->글로벌)
----------------------- */
//contentType: 'application/json',
//headers: { 'x-custom-header': 'custom-header' },
initialRequest: true, //디폴트 값은 true(false: 인스턴스 생성 시 요청은 보내지 않음. 이런 경우 "instance.reloadData()"를 사용하여 요청 가능)
//serializer: function(params) {
//return $(document.frmSearch).serialize();
// },
/* -----------------------
* DataSource API Setting
----------------------- */
api: {
readData : {
url: '<c:url value="/_mng_/usr/reg/gnrUserRegMng_list.ajax"/>', method: 'GET'
,initParams: {}
,serializer: function(params) {
var form = document.frmSearch;
var serializeParam = $(form).serialize();
for(var key in params){
if(key=='perPage'){
if(params[key]==undefined)
serializeParam +='&'+key+'=-1';
else
serializeParam +='&'+key+'='+params[key];
}else
serializeParam +='&'+key+'='+params[key];
}
return serializeParam;
}
}
,createData: { url: '', method: 'POST'}
,updateData: { url: '', method: 'PUT'}
,modifyData: { url: '', method: 'PUT'}
,deleteData: { url: '', method: 'DELETE'}
}
});
GridConfig.setOptHeader({
}); //Grid 헤더 정보(헤더 셀 병합 필요 시 설정)
GridConfig.setOptColumns([ //Grid 컬럼 정보(명칭,매핑 field, 기타옵션 등)
{
header: '번호',
name: 'rowNum',
width: 50,
sortable: false,
align: 'center',
renderer: {
type : RowNumberRenderer
}
},
{
header: '아이디',
name: 'userId',
width: 160,
sortable: true,
sortingType: 'desc',
align: 'center',
renderer: {
type: CustomButtonRenderer,
options: {
formatter : function(props){
var rowData = props.grid.getRow(props.rowKey);
var obj = {
formatter : rowData.userId
,element : "text"
}
return obj;
}
,eventFunction: XitGnrUserRegMng_list.fnClickRegBtn
,eventType : "click"
}
}
},
{
header: '사용자 이름',
name: 'userNm',
width: 120,
sortable: false,
align: 'center'
},
{
header: '사용자 이메일',
name: 'emailAdres',
minWidth: 160,
sortable: false,
align: 'center'
},
{
header: '전화번호',
name: 'mbtlnum',
width: 120,
sortable: false,
align: 'center'
},
{
header: '등록일',
name: 'regDt',
width: 150,
sortable: false,
align: 'center'
},
{
header: '가입상태',
name: 'userSttusCode',
width: 110,
sortable: false,
align: 'center'
}
]);
var Grid = tui.Grid;
var instance = GridConfig.instance(Grid); //Grid 인스턴스
/* ********************************************************
* 처리결과메시지 출력
******************************************************** */
<c:if test="${!empty message}">alert("${message}");</c:if>
</script>

@ -1,309 +0,0 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<%@ include file="/WEB-INF/jsp/include/fims/taglib.jsp"%>
<script type="text/javascript" src="<c:url value='/resources/js/fims/framework/egov/EgovZipPopup.js' />" ></script>
<script type="text/javaScript" language="javascript" defer="defer">
function fnPasswordMove(){
// document.mberManageVO.action = "<c:url value='/framework/biz/mng/usr/gnrUserRegMng_editPwd.do'/>";
// document.mberManageVO.submit();
var params = "";
var form = $('#mberManageVO');
var array = $(form).serializeArray();
var result = {};
if(array){
$(array).each(function(index, item){
if(this.value){
params += (this.name+"=" + this.value);
if(index < (array.length -1)) params += "&"
}
})
}
pagePopup('pwd', '<c:url value="/framework/biz/mng/usr/gnrUserRegMng_editPwd_popup.do"/>', params);
}
function pagePopup(flag, url, params){
var popUrl = url;
if(!(params == undefined || params == null)){
popUrl += "?";
popUrl += params;
}
var popTitle = '';
var popOption = '';
switch (flag) {
case "pwd":
popTitle = "";
popOption = "width=570px, height=420px, resizable=yes, scrollbars=yes, location=no, top=100px, left=100px;";
break;
default:
break;
}
window.open(popUrl, popTitle ,popOption);
}
function fnUpdate(){
if(validateMberManageVO(document.mberManageVO)){
document.mberManageVO.submit();
}
}
function fn_egov_inqire_cert() {
var url = '/uat/uia/EgovGpkiRegist.do';
var popupwidth = '500';
var popupheight = '400';
var title = '인증서';
Top = (window.screen.height - popupheight) / 3;
Left = (window.screen.width - popupwidth) / 2;
if (Top < 0) Top = 0;
if (Left < 0) Left = 0;
Future = "fullscreen=no,toolbar=no,location=no,directories=no,status=no,menubar=no, scrollbars=no,resizable=no,left=" + Left + ",top=" + Top + ",width=" + popupwidth + ",height=" + popupheight;
PopUpWindow = window.open(url, title, Future)
PopUpWindow.focus();
}
function fn_egov_dn_info_setting(dn) {
var frm = document.mberManageVO;
frm.crtfcDnValue.value = dn;
}
/* ========================
* 주소 검색 팝업 OPEN
-도로명 주소를 검색할 수 있는 팝업을 오픈한다.
======================== */
function fnSearchAdres(){
var popUrl = '<c:url value="/_anonymous_/api/AdresSearch.do"/>';
var params = '?callback=fnSearchAdresCallback';
popUrl += params;
var popTitle = "주소 찾기";
var popOption = "width=570px, height=420px, resizable=yes, scrollbars=yes, location=no, top=100px, left=100px";
window.open(popUrl, popTitle ,popOption);
}
/* ========================
* 주소 검색 콜백 함수
-주소 검색 팝업의 검색결과를 전달 받는다.
======================== */
function fnSearchAdresCallback(obj){
//검색결과 Set
var totalDetailAdres = ""; // 전체 상세 주소
totalDetailAdres += obj.addrDetail;
totalDetailAdres += obj.roadAddrPart2;
//화면에 출력
document.mberManageVO.houseAdres.value = obj.roadAddrPart1;
document.mberManageVO.zip.value = obj.zipNo;
document.mberManageVO.zip_view.value = obj.zipNo;
document.mberManageVO.detailAdres.value = totalDetailAdres;
}
/* ********************************************************
* 처리결과메시지 출력
******************************************************** */
<c:if test="${!empty message}">alert('${message}');</c:if>
</script>
<style type="text/css">
table {
table-layout: auto;
}
table.table-03 input[type="text"], table.table-03 select{
min-height: 10px;
}
</style>
<!-- 검색 필드 박스 시작 -->
<!-- <div id="search_field"> -->
<!-- <div id="search_field_loc"><h2><strong>업무사용자 상세조회(수정)</strong></h2></div> -->
<!-- </div> -->
<script type="text/javascript" src="<c:url value="/framework/util/validator.do"/>"></script>
<validator:javascript formName="mberManageVO" staticJavascript="false" xhtml="true" cdata="false"/>
<form:form modelAttribute="mberManageVO" action="${pageContext.request.contextPath}/framework/biz/mng/usr/gnrUserRegMng_update_proc.do" name="mberManageVO" method="post" >
<!-- 상세정보 사용자 삭제시 prameter 전달용 input -->
<input name="checkedIdForDel" type="hidden" />
<!-- 사용자본인정보 수정 prameter 전달용 input -->
<input name="isViewPage" type="hidden" value="Y" />
<input name="tilesDef" type="hidden" value="popup" />
<!-- 검색조건 유지 -->
<input type="hidden" name="searchCondition" value="<c:out value='${userSearchVO.searchCondition}'/>"/>
<input type="hidden" name="searchKeyword" value="<c:out value='${userSearchVO.searchKeyword}'/>"/>
<input type="hidden" name="sbscrbSttus" value="<c:out value='${userSearchVO.sbscrbSttus}'/>"/>
<input type="hidden" name="pageIndex" value="<c:out value='${userSearchVO.pageIndex}'/>"/>
<!-- 우편번호검색 -->
<input type="hidden" name="zip_url" value="<c:url value='/framework/biz/cmm/popup/ZipSearchList.do'/>" />
<!-- 사용자유형정보 : password 수정화면으로 이동시 타겟 유형정보 확인용, 만약검색조건으로 유형이 포함될경우 혼란을 피하기위해 userTy명칭을 쓰지 않음-->
<input type="hidden" name="userTyForPassword" value="<c:out value='${mberManageVO.userTy}'/>" />
<div class="popup" style="min-width: 100%;">
<div class="container-window3" style="max-width: 700px;">
<c:set var="pageTitle"><spring:message code="comUssUmt.userManage.title"/></c:set>
<p class="container-window-header2">${pageTitle } <spring:message code="title.update" /></p>
<!-- 수정폼 -->
<table class="table-03" summary="<spring:message code="common.summary.list" arguments="${pageTitle}" />">
<caption>${pageTitle} <spring:message code="title.update" /></caption>
<colgroup>
<col style="width: 22%;"><col style="width: ;">
</colgroup>
<tbody>
<!-- 입력/선택 -->
<c:set var="inputTxt"><spring:message code="input.input" /></c:set>
<c:set var="inputSelect"><spring:message code="input.cSelect" /></c:set>
<!-- 일반회원아이디 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.id"/></c:set>
<tr>
<th><label for="mberId">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="mberId" id="mberId" title="${title} ${inputTxt}" size="20" readonly="true" maxlength="20" />
<form:errors path="mberId" cssClass="error" />
<form:hidden path="uniqId" />
</td>
</tr>
<!-- 일반회원이름 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.name"/></c:set>
<tr>
<th><label for="mberNm">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="mberNm" title="${title} ${inputTxt}" size="50" maxlength="60" />
<div><form:errors path="mberNm" cssClass="error" /></div>
</td>
</tr>
<!-- 비밀번호힌트 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.passHit"/></c:set>
<tr>
<th><label for="passwordHint">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:select path="passwordHint" id="passwordHint" title="${title} ${inputSelect}">
<form:option value="" label="--선택하세요--"/>
<form:options items="${passwordHint_result}" itemValue="code" itemLabel="codeVal"/>
</form:select>
<div><form:errors path="passwordHint" cssClass="error"/></div>
</td>
</tr>
<!-- 비밀번호정답 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.passOk"/></c:set>
<tr>
<th><label for="passwordCnsr">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="passwordCnsr" id="passwordCnsr" title="${title} ${inputTxt}" size="50" maxlength="100" />
<div><form:errors path="passwordCnsr" cssClass="error"/></div>
</td>
</tr>
<!-- 성별구분코드 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.saxTypeCode"/></c:set>
<tr>
<th><label for="sexdstnCode">${title}</label></th>
<td class="left">
<form:select path="sexdstnCode" id="sexdstnCode" title="${title} ${inputSelect}">
<form:option value="" label="--선택하세요--"/>
<form:options items="${sexdstnCode_result}" itemValue="code" itemLabel="codeVal"/>
</form:select>
</td>
</tr>
<!-- 전화번호 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.tel"/></c:set>
<tr>
<th><label for="areaNo">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="areaNo" id="areaNo" title="전화번호" cssClass="txaIpUmt" size="5" maxlength="5" style="width:40px;"/>
- <form:input path="middleTelno" id="middleTelno" cssClass="txaIpUmt" size="5" maxlength="5" style="width:40px;"/>
- <form:input path="endTelno" id="endTelno" cssClass="txaIpUmt" size="5" maxlength="5" style="width:40px;"/>
<div><form:errors path="areaNo" cssClass="error" /></div>
<div><form:errors path="middleTelno" cssClass="error" /></div>
<div><form:errors path="endTelno" cssClass="error" /></div>
</td>
</tr>
<!-- 팩스번호 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.fax"/></c:set>
<tr>
<th><label for="mberFxnum">${title}</label></th>
<td class="left">
<form:input path="mberFxnum" id="mberFxnum" title="${title} ${inputTxt}" size="20" maxlength="15" />
<div><form:errors path="mberFxnum" cssClass="error" /></div>
</td>
</tr>
<!-- 헨드폰번호 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.phone"/></c:set>
<tr>
<th><label for="mbtlnum">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="mbtlnum" id="mbtlnum" title="${title} ${inputTxt}" size="20" maxlength="15" />
<div><form:errors path="mbtlnum" cssClass="error" /></div>
</td>
</tr>
<!-- 이메일주소 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.email"/></c:set>
<tr>
<th><label for="mberEmailAdres">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="mberEmailAdres" id="mberEmailAdres" title="${title} ${inputTxt}" size="30" maxlength="50" />
<div><form:errors path="mberEmailAdres" cssClass="error" /></div>
</td>
</tr>
<!-- 우번번호 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.post"/></c:set>
<tr>
<th><label for="zip">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="zip" id="zip" title="${title} ${inputTxt}" readonly="true" size="70" maxlength="6" style="width:60px;"/>
<!-- form:hidden path="zip" id="zip" -->
<!-- <button class="btn_s2" onClick="fn_egov_ZipSearch(document.mberManageVO, document.mberManageVO.zip, document.mberManageVO.zip_view, document.mberManageVO.adres);return false;" title="<spring:message code="button.delete" /> <spring:message code="input.button" />">우번번호검색</button> -->
<div><form:errors path="zip" cssClass="error" /></div>
</td>
</tr>
<!-- 주소 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.addr"/></c:set>
<tr>
<th><label for="adres">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="adres" id="adres" title="${title} ${inputTxt}" readonly="true" size="70" maxlength="100" />
<div><form:errors path="adres" cssClass="error" /></div>
</td>
</tr>
<!-- 상세주소 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.addrDetail"/></c:set>
<tr>
<th><label for="detailAdres">${title}</label> </th>
<td class="left">
<form:input path="detailAdres" id="detailAdres" title="${title} ${inputTxt}" size="70" maxlength="100" />
<div><form:errors path="detailAdres" cssClass="error" /></div>
</td>
</tr>
<!-- 그룹아이디 -->
<c:set var="title"><spring:message code="comUssUmt.userManageRegist.groupId"/></c:set>
<c:set var="inputSelect"><spring:message code="input.select"/></c:set>
<tr>
<th><label for="groupId">${title}</label></th>
<td class="left">
<form:select path="groupId" id="groupId" title="${title} ${inputSelect}">
<form:option value="" label="${inputSelect}"/>
<form:options items="${groupId_result}" itemValue="code" itemLabel="codeVal"/>
</form:select>
<div><form:errors path="groupId" cssClass="error"/></div>
</td>
</tr>
</tbody>
</table>
<div class="container-window-btn1">
<span class="flr">
<a href="#LINK" onclick="JavaScript:fnUpdate(); return false;" class="btn btn-blue" id="btnSave"><spring:message code="button.save" /></a>
<!-- <a href="#" class="btn btn-red" id="btnRemove">삭제</a> -->
<a href="#LINK" onclick="javascript:document.mberManageVO.reset();" class="btn btn-lightgray" id="init_btn">원래대로</a>
<a href="<c:url value='/framework/biz/mng/usr/gnrUserRegMng_editPwd.do'/>" onclick="fnPasswordMove(); return false;" class="btn btn-blue" id="btnPwdChg"><spring:message code="button.passwordUpdate" /></a>
<a href="#LINK" onclick="window.close();" class="btn btn-lightgray" id="btnClose">닫기</a>
</span>
</div>
</div>
</div>
<form:hidden path="password" />
</form:form>

@ -38,33 +38,17 @@
<script type="text/javascript">
/* 사용자 수정 화면 오픈 */
function fn_goMyView() {
/* ====================
* 2020.11.20 박민규
* 회원 유형별 페이지 분기
====================*/
//2020.11.20. 주석처리
// var popUrl ='<c:url value="/framework/biz/mng/usr/UserRegMng_view.do"/>';
// var popOption = "width=1100px, height=600px, resizable=no, scrollbars=no, location=no, top=100px, left=100px";
let popUrl ='';
let popOption = '';
let params = {
selectedId: '${sessionScope.XitLoginSession.uniqId}'
//TODO : 개발완료후 이부분 제거
,tilesDef: 'popup'
};
// if('GNR'=='${sessionScope.XitLoginSession.userSe}'){
// popUrl ='<c:url value="/framework/biz/mng/usr/gnrUserRegMng_view.do"/>';
// popOption = {width: 738, height: 630};
// }
// else if('ENT'=='${sessionScope.XitLoginSession.userSe}'){
// popUrl ='<c:url value="/framework/biz/mng/usr/entUserRegMng_view.do"/>';
// popOption = {width: 738, height: 777};
// }
// else{
popUrl ='<c:url value="/framework/biz/mng/usr/modifyUserPopup.do"/>';
popOption = {width: 1100, height: 600};
params = {uniqId: '${sessionScope.XitLoginSession.uniqId}'}
//}
const target = '정보수정';
$.blockUI({message: '' ,css: {width: '100%', height: '100%'}

@ -14,19 +14,11 @@ function fn_goMyView(uniqId, userSe) {
//TODO : 개발완료후 이부분 제거
,tilesDef: 'popup'
};
if('GNR'== userSe){
popUrl = "/framework/biz/mng/usr/gnrUserRegMng_view.do";
popOption = {width: 738, height: 630};
}
else if('ENT'== userSe){
popUrl = "/framework/biz/mng/usr/entUserRegMng_view.do";
popOption = {width: 738, height: 777};
}
else{
popUrl = "/framework/biz/mng/usr/modifyUserPopup.do";
popOption = {width: 1100, height: 600};
params = {uniqId: uniqId}
}
const target = '정보수정';
$.blockUI({message: '' ,css: {width: '100%', height: '100%'}

Loading…
Cancel
Save