fix: 사용자관리 필드명 fix

main
minuk926 2 years ago
parent 8535dc22e7
commit 8a06794b67

@ -60,4 +60,7 @@ public class XitUserInfoVO extends XitUserEtcOptionVO{
protected String emplyrId; protected String emplyrId;
protected String emplyrNm; protected String emplyrNm;
protected String orgnztNm; protected String orgnztNm;
protected String uniqId;
protected String userTy;
protected String userSttusCodeNm;
} }

@ -7,6 +7,7 @@ import java.util.Map;
import org.apache.ibatis.session.RowBounds; import org.apache.ibatis.session.RowBounds;
import egovframework.rte.psl.dataaccess.mapper.Mapper; import egovframework.rte.psl.dataaccess.mapper.Mapper;
import kr.xit.framework.biz.cmm.model.XitUserInfoVO;
import kr.xit.framework.biz.mng.user.model.XitUserRegMngSearchVO; import kr.xit.framework.biz.mng.user.model.XitUserRegMngSearchVO;
import kr.xit.framework.biz.mng.user.model.XitUserRegMngVO; import kr.xit.framework.biz.mng.user.model.XitUserRegMngVO;
@ -21,23 +22,14 @@ import kr.xit.framework.biz.mng.user.model.XitUserRegMngVO;
* @version 1.0 Copyright(c) XIT All rights reserved. * @version 1.0 Copyright(c) XIT All rights reserved.
*/ */
@Mapper @Mapper
public interface XitUserRegMngMapper { public interface UserMgtMapper {
/** /**
* <pre> : </pre> * <pre> : </pre>
*/ */
List<XitUserRegMngVO> selectUsers(final Map<String,Object> paraMap, final RowBounds rowBounds); List<XitUserInfoVO> selectUsers(final Map<String,Object> paraMap, final RowBounds rowBounds);
XitUserRegMngVO selectUser(final String userId); XitUserInfoVO selectUser(final String userId);
/**
* <pre> : </pre>
* @param searchVO
* @return int
* @author:
* @date: 2020. 3. 26.
*/
public int findListTotCnt(XitUserRegMngSearchVO searchVO) throws SQLException;
/** /**
* <pre> : </pre> * <pre> : </pre>
* @param vo * @param vo

@ -5,6 +5,7 @@ import java.util.Map;
import org.apache.ibatis.session.RowBounds; import org.apache.ibatis.session.RowBounds;
import kr.xit.framework.biz.cmm.model.XitUserInfoVO;
import kr.xit.framework.biz.mng.user.model.XitUserRegMngVO; import kr.xit.framework.biz.mng.user.model.XitUserRegMngVO;
import kr.xit.framework.biz.mng.user.model.XitUserRegMngSearchVO; import kr.xit.framework.biz.mng.user.model.XitUserRegMngSearchVO;
@ -27,11 +28,11 @@ public interface UserMgtService {
* @author: * @author:
* @date: 2020. 4. 8. * @date: 2020. 4. 8.
*/ */
List<XitUserRegMngVO> findUsers(final Map<String, Object> paraMap, final RowBounds rowBounds); List<XitUserInfoVO> findUsers(final Map<String, Object> paraMap, final RowBounds rowBounds);
XitUserRegMngVO findUser(final String uniqId); XitUserInfoVO findUser(final String uniqId);
int addUser(XitUserRegMngVO userManageVO); int addUser(XitUserInfoVO userInfoVO);
int modifyUser(XitUserRegMngVO userManageVO); int modifyUser(XitUserInfoVO userInfoVO);
int removeUser(final String uniqId); int removeUser(final String uniqId);
@ -39,15 +40,7 @@ public interface UserMgtService {
/**
* <pre> : </pre>
* @param searchVO
* @return int
* @author:
* @date: 2020. 4. 8.
*/
public int findListTotCnt(XitUserRegMngSearchVO searchVO);
/** /**
* <pre> : </pre> * <pre> : </pre>
* @param vo * @param vo

@ -20,7 +20,7 @@ import kr.xit.framework.biz.cmm.model.XitUserScrtySetupVO;
import kr.xit.framework.biz.cmm.service.XitFrameCrudService; import kr.xit.framework.biz.cmm.service.XitFrameCrudService;
import kr.xit.framework.biz.cmm.service.XitFrameUnitService; import kr.xit.framework.biz.cmm.service.XitFrameUnitService;
import kr.xit.framework.biz.cmm.model.XitLoginVO; import kr.xit.framework.biz.cmm.model.XitLoginVO;
import kr.xit.framework.biz.mng.user.mapper.XitUserRegMngMapper; import kr.xit.framework.biz.mng.user.mapper.UserMgtMapper;
import kr.xit.framework.biz.mng.user.model.XitUserRegMngSearchVO; import kr.xit.framework.biz.mng.user.model.XitUserRegMngSearchVO;
import kr.xit.framework.biz.mng.user.model.XitUserRegMngVO; import kr.xit.framework.biz.mng.user.model.XitUserRegMngVO;
import kr.xit.framework.biz.mng.user.service.UserMgtService; import kr.xit.framework.biz.mng.user.service.UserMgtService;
@ -33,7 +33,7 @@ import kr.xit.framework.support.util.constants.MessageKey;
@Service @Service
public class UserMgtServiceImpl implements UserMgtService { public class UserMgtServiceImpl implements UserMgtService {
@Resource @Resource
private XitUserRegMngMapper mapper; private UserMgtMapper mapper;
@Resource @Resource
private XitFrameCrudService xitFrameCrudService; private XitFrameCrudService xitFrameCrudService;
@Resource @Resource
@ -44,23 +44,25 @@ public class UserMgtServiceImpl implements UserMgtService {
private EgovIdGnrService idgenService; private EgovIdGnrService idgenService;
@Override @Override
public List<XitUserRegMngVO> findUsers(final Map<String,Object> paraMap, RowBounds rowBounds) { public List<XitUserInfoVO> findUsers(final Map<String,Object> paraMap, RowBounds rowBounds) {
return mapper.selectUsers(paraMap, rowBounds); return mapper.selectUsers(paraMap, rowBounds);
} }
@Override @Override
public XitUserRegMngVO findUser(final String userId) { public XitUserInfoVO findUser(final String userId) {
return mapper.selectUser(userId); return mapper.selectUser(userId);
} }
@Override @Override
public int addUser(final XitUserRegMngVO vo) { public int addUser(final XitUserInfoVO vo) {
try { try {
vo.setUniqId(idgenService.getNextStringId()); vo.setUniqId(idgenService.getNextStringId());
} catch (FdlException e) { } catch (FdlException e) {
throw BizRuntimeException.create(MessageKey.CMM_INSERT_FAIL); throw BizRuntimeException.create(MessageKey.CMM_INSERT_FAIL);
} }
/*
XitUserInfoVO userInfoVO = convertToCrudVO(vo); XitUserInfoVO userInfoVO = convertToCrudVO(vo);
//그룹의 기본권한 조회 및 설정 //그룹의 기본권한 조회 및 설정
XitUserScrtySetupVO userScrtySetupVO = new XitUserScrtySetupVO(); XitUserScrtySetupVO userScrtySetupVO = new XitUserScrtySetupVO();
@ -74,23 +76,21 @@ public class UserMgtServiceImpl implements UserMgtService {
userEtcOptionVO.setJobDataAuthor("ONESELF"); //업무 데이터 권한 userEtcOptionVO.setJobDataAuthor("ONESELF"); //업무 데이터 권한
userEtcOptionVO.setUserManageAuthor("ONESELF"); //사용자 관리 권한 userEtcOptionVO.setUserManageAuthor("ONESELF"); //사용자 관리 권한
/**
*
*/
//사용자정보 등록 //사용자정보 등록
xitFrameCrudService.addXitUserInfo(userInfoVO); xitFrameCrudService.addXitUserInfo(userInfoVO);
//사용자의 권한 등록 //사용자의 권한 등록
xitFrameCrudService.addXitUserScrtySetup(userScrtySetupVO); xitFrameCrudService.addXitUserScrtySetup(userScrtySetupVO);
//사용자 기타 옵션 관리 //사용자 기타 옵션 관리
xitFrameCrudService.addXitUserEtcOption(userEtcOptionVO); xitFrameCrudService.addXitUserEtcOption(userEtcOptionVO);
*/
return 0; //mapper.insertUser(userManageVO); return 0; //mapper.insertUser(userManageVO);
} }
@Override @Override
public int modifyUser(XitUserRegMngVO userManageVO) { public int modifyUser(XitUserInfoVO userInfoVO) {
return 0; //mapper.updateUser(userManageVO); return 0; //mapper.updateUser(userManageVO);
} }
@ -115,16 +115,6 @@ public class UserMgtServiceImpl implements UserMgtService {
@Override
public int findListTotCnt(XitUserRegMngSearchVO searchVO) {
int result = 0;
try {
result = mapper.findListTotCnt(searchVO);
} catch (SQLException e) {
throw new RuntimeException("사용자등록관리 목록 총건수 조회 FAIL::", e);
}
return result;
}
@Override @Override
public XitUserRegMngVO findView(XitUserRegMngVO vo) { public XitUserRegMngVO findView(XitUserRegMngVO vo) {

@ -78,8 +78,8 @@ public class UserMgtController {
ModelAndView mav = new ModelAndView(); ModelAndView mav = new ModelAndView();
mav.setViewName(FrameworkConstants.FRAMEWORK_JSP_BASE_PATH + "mng/usr/mngUserMgtPopup.popup"); mav.setViewName(FrameworkConstants.FRAMEWORK_JSP_BASE_PATH + "mng/usr/mngUserMgtPopup.popup");
if (Checks.isEmpty(uniqId)) mav.addObject("userManageVO", new XitUserRegMngVO()); if (Checks.isEmpty(uniqId)) mav.addObject("userInfoVO", new XitUserInfoVO());
else mav.addObject("userManageVO", service.findUser(uniqId)); else mav.addObject("userInfoVO", service.findUser(uniqId));
return mav; return mav;
} }
@ -109,13 +109,13 @@ public class UserMgtController {
} }
public ModelAndView modifyUser( public ModelAndView modifyUser(
@ModelAttribute final XitUserRegMngVO userManageVO @ModelAttribute final XitUserInfoVO userInfoVO
,final BindingResult bindingResult){ ,final BindingResult bindingResult){
ModelAndView mav = new ModelAndView(FrameworkConstants.JSON_VIEW); ModelAndView mav = new ModelAndView(FrameworkConstants.JSON_VIEW);
ValidationError.of("userManageVO", userManageVO, bindingResult); ValidationError.of("userInfoVO", userInfoVO, bindingResult);
service.modifyUser(userManageVO); service.modifyUser(userInfoVO);
AjaxMessageMapRenderer.success(mav, MessageKey.CMM_UPDATE_SUCCESS); AjaxMessageMapRenderer.success(mav, MessageKey.CMM_UPDATE_SUCCESS);
return mav; return mav;
} }

@ -22,7 +22,7 @@
<appender name="ROLLING" class="ch.qos.logback.core.rolling.RollingFileAppender"> <appender name="ROLLING" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${LOG_PATH}/fims-be.log</file> <file>${LOG_PATH}/fims-be.log</file>
<filter class="ch.qos.logback.classic.filter.LevelFilter"> <filter class="ch.qos.logback.classic.filter.LevelFilter">
<level>WARN</level> <level>DEBUG</level>
<onMatch>ACCEPT</onMatch> <onMatch>ACCEPT</onMatch>
<!-- 다른 수준의 레벨은 기록하지 않는다.(상위 레벨도 기록 안함), 상위 수준의 레벨에 대한 기록을 원하면 ACCEPT 로 하면 기록된다. --> <!-- 다른 수준의 레벨은 기록하지 않는다.(상위 레벨도 기록 안함), 상위 수준의 레벨에 대한 기록을 원하면 ACCEPT 로 하면 기록된다. -->
<onMismatch>ACCEPT</onMismatch> <onMismatch>ACCEPT</onMismatch>
@ -180,7 +180,7 @@
<root level="WARN"> <root level="WARN">
<appender-ref ref="CONSOLE"/> <appender-ref ref="CONSOLE"/>
<!-- <appender-ref ref="ASYNC_ROLLING"/>--> <appender-ref ref="ASYNC_ROLLING"/>
<!-- <appender-ref ref="ASYNC_ERROR_ROLLING"/>--> <!-- <appender-ref ref="ASYNC_ERROR_ROLLING"/>-->
</root> </root>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="kr.xit.framework.biz.mng.user.mapper.XitUserRegMngMapper"> <mapper namespace="kr.xit.framework.biz.mng.user.mapper.UserMgtMapper">
<!-- SQL 페이징 코드 --> <!-- SQL 페이징 코드 -->
<sql id="pageBefore"> <sql id="pageBefore">
SELECT * FROM SELECT * FROM

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="kr.xit.framework.biz.mng.user.mapper.XitUserRegMngMapper"> <mapper namespace="kr.xit.framework.biz.mng.user.mapper.UserMgtMapper">
<select id="selectUsers" resultType="kr.xit.framework.biz.mng.user.model.XitUserRegMngVO"> <select id="selectUsers" resultType="kr.xit.framework.biz.cmm.model.XitUserInfoVO">
/* user-mysql-mapper|selectUsers-사용자 목록 조회|julim */ /* user-mysql-mapper|selectUsers-사용자 목록 조회|julim */
SELECT xui.esntl_id AS uniqId SELECT xui.esntl_id AS uniqId
, 'USR03' AS userTy , 'USR03' AS userTy
@ -40,7 +40,7 @@
</select> </select>
<select id="selectUser" resultType="kr.xit.framework.biz.mng.user.model.XitUserRegMngVO"> <select id="selectUser" resultType="kr.xit.framework.biz.cmm.model.XitUserInfoVO">
/* user-mysql-mapper|selectUser-사용자 정보 조회|julim */ /* user-mysql-mapper|selectUser-사용자 정보 조회|julim */
SELECT esntl_id AS uniqId SELECT esntl_id AS uniqId
, 'USR03' AS userTy , 'USR03' AS userTy

@ -625,7 +625,7 @@
} }
}); });
// 수정 버튼 Event 설정 // 수정 버튼 Event 설정
$('#btnUpdate').on({ $('#btnModify').on({
click: function(props){ click: function(props){
var rowData = props.grid.getRow(props.rowKey); var rowData = props.grid.getRow(props.rowKey);
@ -646,7 +646,7 @@
} }
}); });
//삭제 버튼 Event 설정 //삭제 버튼 Event 설정
$('#btnDelete').on({ $('#btnRemove').on({
click: function(){ click: function(){
if(confirm("삭제하시겠습니까?")){ if(confirm("삭제하시겠습니까?")){
} }

@ -62,11 +62,11 @@
<span class="flr" colspan="4"> <span class="flr" colspan="4">
<c:choose> <c:choose>
<c:when test="${!empty progrmMngVO.progrmFileNm and fn:length(progrmMngVO.progrmFileNm) > 0}"> <c:when test="${!empty progrmMngVO.progrmFileNm and fn:length(progrmMngVO.progrmFileNm) > 0}">
<a href="#LINK" class="btn blue" id="btnUpdate" onclick="mngProgramMgtPopup.modifyProgram()">변경</a> <a href="#LINK" class="btn blue" id="btnModify" onclick="mngProgramMgtPopup.modifyProgram()">변경</a>
<a href="#LINK" class="btn red" id="btnDelete" onclick="mngProgramMgtPopup.removeProgram()">삭제</a> <a href="#LINK" class="btn red" id="btnRemove" onclick="mngProgramMgtPopup.removeProgram()">삭제</a>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<a href="#LINK" class="btn blue" id="btnUpdate" onClick="mngProgramMgtPopup.addProgram()">등록</a> <a href="#LINK" class="btn blue" id="btnModify" onClick="mngProgramMgtPopup.addProgram()">등록</a>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
<a href="#" class="btn lightgray" id="btnClose" onclick="window.close()">닫기</a> <a href="#" class="btn lightgray" id="btnClose" onclick="window.close()">닫기</a>

@ -88,10 +88,10 @@
<!-- <button><i class="ico fas fa-save"></i> 저장</button> --> <!-- <button><i class="ico fas fa-save"></i> 저장</button> -->
<!-- </li> --> <!-- </li> -->
<!-- <li> --> <!-- <li> -->
<!-- <button type="button" id="btnUpdate"><i class="ico fas fa-edit"></i> 수정</button> --> <!-- <button type="button" id="btnModify"><i class="ico fas fa-edit"></i> 수정</button> -->
<!-- </li> --> <!-- </li> -->
<!-- <li> --> <!-- <li> -->
<!-- <button id="btnDelete"><i class="ico far fa-trash-alt"></i> 삭제</button> --> <!-- <button id="btnRemove"><i class="ico far fa-trash-alt"></i> 삭제</button> -->
<!-- </li> --> <!-- </li> -->
</ul> </ul>
<div class="list clearfix" id="totCnt">전체 ㅣ <span>{tot_cnt}<span></div> <div class="list clearfix" id="totCnt">전체 ㅣ <span>{tot_cnt}<span></div>
@ -218,7 +218,7 @@ var Rt0200_detail = {
} }
}); });
// 수정 버튼 Event 설정 // 수정 버튼 Event 설정
$('#btnUpdate').on({ $('#btnModify').on({
click: function(props){ click: function(props){
var rowData = props.grid.getRow(props.rowKey); var rowData = props.grid.getRow(props.rowKey);
@ -239,7 +239,7 @@ var Rt0200_detail = {
} }
}); });
//삭제 버튼 Event 설정 //삭제 버튼 Event 설정
$('#btnDelete').on({ $('#btnRemove').on({
click: function(){ click: function(){
if(confirm("삭제하시겠습니까?")){ if(confirm("삭제하시겠습니까?")){
} }

@ -67,10 +67,10 @@
<!-- <button id="btnRegist"><i class="ico fas fa-save"></i> 저장</button> --> <!-- <button id="btnRegist"><i class="ico fas fa-save"></i> 저장</button> -->
<!-- </li> --> <!-- </li> -->
<!-- <li> --> <!-- <li> -->
<!-- <button id="btnUpdate"><i class="ico fas fa-edit"></i> 수정</button> --> <!-- <button id="btnModify"><i class="ico fas fa-edit"></i> 수정</button> -->
<!-- </li> --> <!-- </li> -->
<!-- <li> --> <!-- <li> -->
<!-- <button id="btnDelete"><i class="ico far fa-trash-alt"></i> 삭제</button> --> <!-- <button id="btnRemove"><i class="ico far fa-trash-alt"></i> 삭제</button> -->
<!-- </li> --> <!-- </li> -->
</ul> </ul>
<div class="list clearfix" id="totCnt">전체 ㅣ <span></span></div> <div class="list clearfix" id="totCnt">전체 ㅣ <span></span></div>
@ -350,10 +350,10 @@
}); });
// 수정 버튼 Event 설정 // 수정 버튼 Event 설정
$('#btnUpdate').on('click', () => { $('#btnModify').on('click', () => {
}); });
//삭제 버튼 Event 설정 //삭제 버튼 Event 설정
$('#btnDelete').on('click', () => { $('#btnRemove').on('click', () => {
}); });
}, },

@ -67,10 +67,10 @@
<!-- <button id="btnRegist"><i class="ico fas fa-save"></i> 저장</button> --> <!-- <button id="btnRegist"><i class="ico fas fa-save"></i> 저장</button> -->
<!-- </li> --> <!-- </li> -->
<!-- <li> --> <!-- <li> -->
<!-- <button id="btnUpdate"><i class="ico fas fa-edit"></i> 수정</button> --> <!-- <button id="btnModify"><i class="ico fas fa-edit"></i> 수정</button> -->
<!-- </li> --> <!-- </li> -->
<!-- <li> --> <!-- <li> -->
<!-- <button id="btnDelete"><i class="ico far fa-trash-alt"></i> 삭제</button> --> <!-- <button id="btnRemove"><i class="ico far fa-trash-alt"></i> 삭제</button> -->
<!-- </li> --> <!-- </li> -->
</ul> </ul>
<div class="list clearfix" id="totCnt">전체 ㅣ <span><span></div> <div class="list clearfix" id="totCnt">전체 ㅣ <span><span></div>
@ -248,12 +248,12 @@
} }
}); });
// 수정 버튼 Event 설정 // 수정 버튼 Event 설정
$('#btnUpdate').on({ $('#btnModify').on({
click: function(){ click: function(){
} }
}); });
//삭제 버튼 Event 설정 //삭제 버튼 Event 설정
$('#btnDelete').on({ $('#btnRemove').on({
click: function(){ click: function(){
if(confirm("삭제하시겠습니까?")){ if(confirm("삭제하시겠습니까?")){
} }

@ -66,10 +66,10 @@
<!-- <button id="btnRegist"><i class="ico fas fa-save"></i> 저장</button> --> <!-- <button id="btnRegist"><i class="ico fas fa-save"></i> 저장</button> -->
<!-- </li> --> <!-- </li> -->
<!-- <li> --> <!-- <li> -->
<!-- <button id="btnUpdate"><i class="ico fas fa-edit"></i> 수정</button> --> <!-- <button id="btnModify"><i class="ico fas fa-edit"></i> 수정</button> -->
<!-- </li> --> <!-- </li> -->
<!-- <li> --> <!-- <li> -->
<!-- <button id="btnDelete"><i class="ico far fa-trash-alt"></i> 삭제</button> --> <!-- <button id="btnRemove"><i class="ico far fa-trash-alt"></i> 삭제</button> -->
<!-- </li> --> <!-- </li> -->
</ul> </ul>
<div class="list clearfix" id="totCnt">전체 ㅣ <span><span></div> <div class="list clearfix" id="totCnt">전체 ㅣ <span><span></div>
@ -249,12 +249,12 @@
} }
}); });
// 수정 버튼 Event 설정 // 수정 버튼 Event 설정
$('#btnUpdate').on({ $('#btnModify').on({
click: function(){ click: function(){
} }
}); });
//삭제 버튼 Event 설정 //삭제 버튼 Event 설정
$('#btnDelete').on({ $('#btnRemove').on({
click: function(){ click: function(){
if(confirm("삭제하시겠습니까?")){ if(confirm("삭제하시겠습니까?")){
} }

@ -69,10 +69,10 @@
<!-- <button id="btnRegist"><i class="ico fas fa-save"></i> 저장</button> --> <!-- <button id="btnRegist"><i class="ico fas fa-save"></i> 저장</button> -->
<!-- </li> --> <!-- </li> -->
<!-- <li> --> <!-- <li> -->
<!-- <button id="btnUpdate"><i class="ico fas fa-edit"></i> 수정</button> --> <!-- <button id="btnModify"><i class="ico fas fa-edit"></i> 수정</button> -->
<!-- </li> --> <!-- </li> -->
<!-- <li> --> <!-- <li> -->
<!-- <button id="btnDelete"><i class="ico far fa-trash-alt"></i> 삭제</button> --> <!-- <button id="btnRemove"><i class="ico far fa-trash-alt"></i> 삭제</button> -->
<!-- </li> --> <!-- </li> -->
</ul> </ul>
<div class="list clearfix" id="totCnt">전체 ㅣ <span></span></div> <div class="list clearfix" id="totCnt">전체 ㅣ <span></span></div>
@ -391,10 +391,10 @@
}); });
// 수정 버튼 Event 설정 // 수정 버튼 Event 설정
$('#btnUpdate').on('click', () => { $('#btnModify').on('click', () => {
}); });
//삭제 버튼 Event 설정 //삭제 버튼 Event 설정
$('#btnDelete').on('click', () => { $('#btnRemove').on('click', () => {
}); });
}) })

@ -6,7 +6,7 @@
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> <%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
<script type="text/javascript" src="<c:url value='/js/xitframework/egov/showModalDialog.js'/>" ></script> <script type="text/javascript" src="<c:url value='/resources/framework/js/egov/showModalDialog.js'/>" ></script>
<script type="text/javascript" src="<c:url value="/_anonymous_/login/validator.do"/>"></script> <script type="text/javascript" src="<c:url value="/_anonymous_/login/validator.do"/>"></script>
<validator:javascript formName="userManageVO" staticJavascript="false" xhtml="true" cdata="false"/> <validator:javascript formName="userManageVO" staticJavascript="false" xhtml="true" cdata="false"/>
<form:form commandName="userManageVO" name="userManageVO" method="post" action="${pageContext.request.contextPath}/_anonymous_/login/UserReg_insert_proc.do"> <form:form commandName="userManageVO" name="userManageVO" method="post" action="${pageContext.request.contextPath}/_anonymous_/login/UserReg_insert_proc.do">

@ -40,7 +40,7 @@
<div class="page_btn"> <div class="page_btn">
<span class="fll"> <span class="fll">
<a href="#" class="btn darkgray" id="btnRegist" title="등록">등록</a> <a href="#" class="btn darkgray" id="btnRegist" title="등록">등록</a>
<a href="#" class="btn red" id="btnDelete" title="삭제">삭제</a> <a href="#" class="btn red" id="btnRemove" title="삭제">삭제</a>
</span> </span>
</div> </div>
<!-- //버튼 및 페이지정보 --> <!-- //버튼 및 페이지정보 -->
@ -89,7 +89,7 @@ var XitAuthGrpMng_list = {
XitAuthGrpMng_list.pagePopup('input', '<c:url value="/framework/biz/mng/auth/AuthGrpMng_input.do"/>'); XitAuthGrpMng_list.pagePopup('input', '<c:url value="/framework/biz/mng/auth/AuthGrpMng_input.do"/>');
}); });
//삭제 버튼 Event //삭제 버튼 Event
$("#btnDelete").click(function(){ $("#btnRemove").click(function(){
if(confirm("삭제하시겠습니까?")){ if(confirm("삭제하시겠습니까?")){
var checkArr = instance.getCheckedRows(); var checkArr = instance.getCheckedRows();
var returnValue = ""; var returnValue = "";

@ -41,7 +41,7 @@
<div class="page_btn"> <div class="page_btn">
<span class="fll"> <span class="fll">
<a href="#" class="btn darkgray" id="btnRegist" title="등록">등록</a> <a href="#" class="btn darkgray" id="btnRegist" title="등록">등록</a>
<a href="#" class="btn red" id="btnDelete" title="삭제">삭제</a> <a href="#" class="btn red" id="btnRemove" title="삭제">삭제</a>
</span> </span>
</div> </div>
<!-- //버튼 및 페이지정보 --> <!-- //버튼 및 페이지정보 -->
@ -91,7 +91,7 @@ var XitAuthRegMng_list = {
XitAuthRegMng_list.pagePopup('input', "<c:url value='/framework/biz/mng/auth/AuthRegMng_input.do'/>"); XitAuthRegMng_list.pagePopup('input', "<c:url value='/framework/biz/mng/auth/AuthRegMng_input.do'/>");
}); });
//삭제 버튼 Event //삭제 버튼 Event
$("#btnDelete").click(function(){ $("#btnRemove").click(function(){
if(confirm("삭제하시겠습니까?")){ if(confirm("삭제하시겠습니까?")){
var checkArr = instance.getCheckedRows(); var checkArr = instance.getCheckedRows();
var returnValue = ""; var returnValue = "";

@ -41,7 +41,7 @@
<div class="page_btn"> <div class="page_btn">
<span class="fll"> <span class="fll">
<a href="#" class="btn darkgray" id="btnRegist" title="등록">등록</a> <a href="#" class="btn darkgray" id="btnRegist" title="등록">등록</a>
<a href="#" class="btn red" id="btnDelete" title="삭제">삭제</a> <a href="#" class="btn red" id="btnRemove" title="삭제">삭제</a>
</span> </span>
</div> </div>
<!-- //버튼 및 페이지정보 --> <!-- //버튼 및 페이지정보 -->
@ -91,7 +91,7 @@ var XitAuthRuleMng_list = {
XitAuthRuleMng_list.pagePopup('input', "<c:url value='/framework/biz/mng/auth/AuthRuleMng_input.do'/>"); XitAuthRuleMng_list.pagePopup('input', "<c:url value='/framework/biz/mng/auth/AuthRuleMng_input.do'/>");
}); });
//삭제 Event 설정 //삭제 Event 설정
$("#btnDelete").click(function(){ $("#btnRemove").click(function(){
if(confirm("삭제하시겠습니까?")){ if(confirm("삭제하시겠습니까?")){
XitAuthRuleMng_list.fncManageChecked(); XitAuthRuleMng_list.fncManageChecked();
if($('#roleCodes').val()){ if($('#roleCodes').val()){

@ -48,7 +48,7 @@
<div class="page_btn"> <div class="page_btn">
<span class="fll"> <span class="fll">
<a href="#" class="btn darkgray" id="btnRegist" title="권한등록">권한등록</a> <a href="#" class="btn darkgray" id="btnRegist" title="권한등록">권한등록</a>
<a href="#" class="btn red" id="btnDelete" title="권한취소">권한취소</a> <a href="#" class="btn red" id="btnRemove" title="권한취소">권한취소</a>
</span> </span>
</div> </div>
<!-- //버튼 및 페이지정보 --> <!-- //버튼 및 페이지정보 -->
@ -103,7 +103,7 @@ var XitAuthUsrMng_list = {
} }
}); });
//삭제 Event 설정 //삭제 Event 설정
$("#btnDelete").click(function(){ $("#btnRemove").click(function(){
if(confirm("삭제하시겠습니까?")){ if(confirm("삭제하시겠습니까?")){
XitAuthUsrMng_list.fncManageChecked(); XitAuthUsrMng_list.fncManageChecked();
if($('#userIds').val()){ if($('#userIds').val()){

@ -67,7 +67,7 @@
<div class="popup_btn"> <div class="popup_btn">
<span class="flr"> <span class="flr">
<a href="#" class="btn blue" id="btnSave"><spring:message code="button.save" /></a> <a href="#" class="btn blue" id="btnSave"><spring:message code="button.save" /></a>
<a href="#" class="btn red" id="btnDelete"><spring:message code="button.delete" /></a> <a href="#" class="btn red" id="btnRemove"><spring:message code="button.delete" /></a>
<!-- 페이지 Open 방식에 따라 버튼 표출 분기(일반페이지 or 팝업페이지) --> <!-- 페이지 Open 방식에 따라 버튼 표출 분기(일반페이지 or 팝업페이지) -->
<c:choose> <c:choose>
<c:when test="${param.tilesDef == 'popup'}"> <c:when test="${param.tilesDef == 'popup'}">
@ -115,7 +115,7 @@
XitLoginPolicyMng_edit.modifyData(); XitLoginPolicyMng_edit.modifyData();
}); });
//삭제 버튼 Event 설정 //삭제 버튼 Event 설정
$("#btnDelete").click(function(){ $("#btnRemove").click(function(){
XitLoginPolicyMng_edit.removeData(); XitLoginPolicyMng_edit.removeData();
}); });
//목록 버튼 Event 설정 //목록 버튼 Event 설정

@ -74,7 +74,7 @@
<div class="popup_btn"> <div class="popup_btn">
<span class="flr"> <span class="flr">
<a href="#" class="btn blue" id="update_btn">변경</a> <a href="#" class="btn blue" id="update_btn">변경</a>
<a href="#" class="btn red" id="btnDelete">삭제</a> <a href="#" class="btn red" id="btnRemove">삭제</a>
<a href="#" class="btn lightgray" id="btnClose">닫기</a> <a href="#" class="btn lightgray" id="btnClose">닫기</a>
</span> </span>
</div> </div>
@ -130,7 +130,7 @@ var XitBatchRegMng_edit = {
} }
} }
}); });
$('#btnDelete').on({ $('#btnRemove').on({
click: function(){ click: function(){
if (confirm('삭제하시겠습니까?')) { if (confirm('삭제하시겠습니까?')) {
if(!validateBatchOpert(document.batchOpert)){ if(!validateBatchOpert(document.batchOpert)){

@ -120,7 +120,7 @@ var XitBatchRegMng_input = {
} }
} }
}); });
$('#btnDelete').on({ $('#btnRemove').on({
click: function(){ click: function(){
if (confirm('삭제하시겠습니까?')) { if (confirm('삭제하시겠습니까?')) {
if(!validateBatchOpert(document.batchOpert)){ if(!validateBatchOpert(document.batchOpert)){

@ -100,7 +100,7 @@
<div class="popup_btn"> <div class="popup_btn">
<span class="flr"> <span class="flr">
<a href="#" class="btn red" id="btnDelete">삭제</a> <a href="#" class="btn red" id="btnRemove">삭제</a>
<a href="#" class="btn lightgray" id="btnClose">닫기</a> <a href="#" class="btn lightgray" id="btnClose">닫기</a>
</span> </span>
</div> </div>
@ -133,7 +133,7 @@ var XitBatchResultMng_edit = {
//입력값 유효성 설정 //입력값 유효성 설정
XitBatchResultMng_edit.fn_setInputLimit(); XitBatchResultMng_edit.fn_setInputLimit();
$('#btnDelete').on({ $('#btnRemove').on({
click: function(){ click: function(){
if (confirm('삭제하시겠습니까?')) { if (confirm('삭제하시겠습니까?')) {
XitBatchResultMng_edit.removeData(); XitBatchResultMng_edit.removeData();

@ -50,7 +50,7 @@
<div class="page_btn"> <div class="page_btn">
<span class="fll"> <span class="fll">
<!-- <a href="#" class="btn darkgray" id="btnRegist" title="권한등록">등록</a> --> <!-- <a href="#" class="btn darkgray" id="btnRegist" title="권한등록">등록</a> -->
<!-- <a href="#" class="btn lightgray" id="btnDelete" title="권한취소">엑셀등록</a> --> <!-- <a href="#" class="btn lightgray" id="btnRemove" title="권한취소">엑셀등록</a> -->
</span> </span>
</div> </div>
<!-- //버튼 및 페이지정보 --> <!-- //버튼 및 페이지정보 -->

@ -124,7 +124,7 @@
<div class="popup_btn"> <div class="popup_btn">
<span class="flr"> <span class="flr">
<a href="#" class="btn blue" id="btnSave">저장</a> <a href="#" class="btn blue" id="btnSave">저장</a>
<a href="#" class="btn red" id="btnDelete">삭제</a> <a href="#" class="btn red" id="btnRemove">삭제</a>
<a href="#" class="btn lightgray" id="btnClose">닫기</a> <a href="#" class="btn lightgray" id="btnClose">닫기</a>
</span> </span>
</div> </div>
@ -169,7 +169,7 @@ var XitBatchScheduleMng_edit = {
} }
}); });
//삭제 버튼 Event 설정 //삭제 버튼 Event 설정
$('#btnDelete').on({ $('#btnRemove').on({
click: function(){ click: function(){
if (confirm('삭제하시겠습니까?')) { if (confirm('삭제하시겠습니까?')) {
XitBatchScheduleMng_edit.removeData(); XitBatchScheduleMng_edit.removeData();

@ -254,7 +254,7 @@ var XitBasicBbsMng_edit = {
} }
}); });
// //삭제 버튼 Event 설정 // //삭제 버튼 Event 설정
// $('#btnDelete').on({ // $('#btnRemove').on({
// click : function(){ // click : function(){
// } // }
// }); // });

@ -196,7 +196,7 @@
} }
}); });
// //삭제 버튼 Event 설정 // //삭제 버튼 Event 설정
// $('#btnDelete').on({ // $('#btnRemove').on({
// click : function(){ // click : function(){
// } // }
// }); // });

@ -199,7 +199,7 @@
} }
}); });
// //삭제 버튼 Event 설정 // //삭제 버튼 Event 설정
// $('#btnDelete').on({ // $('#btnRemove').on({
// click : function(){ // click : function(){
// } // }
// }); // });

@ -284,7 +284,7 @@
<div class="page_btn"> <div class="page_btn">
<span class="fll"> <span class="fll">
<a href="#" class="btn darkgray" id="btnRegist" title="등록">등록</a> <a href="#" class="btn darkgray" id="btnRegist" title="등록">등록</a>
<!-- <a href="#" class="btn red" id="btnDelete" title="삭제">삭제</a> --> <!-- <a href="#" class="btn red" id="btnRemove" title="삭제">삭제</a> -->
</span> </span>
</div> </div>
<!-- //버튼 및 페이지정보 --> <!-- //버튼 및 페이지정보 -->
@ -383,7 +383,7 @@ var XitBasicBbsMng_list = {
} }
}); });
//삭제 버튼 Event 설정 //삭제 버튼 Event 설정
// $('#btnDelete').on({ // $('#btnRemove').on({
// click: function(){ // click: function(){
// } // }
// }); // });

@ -147,7 +147,7 @@
<span class="flr"> <span class="flr">
<c:if test="${result.frstRegisterId == sessionScope.XitLoginSession.uniqId}"> <c:if test="${result.frstRegisterId == sessionScope.XitLoginSession.uniqId}">
<a href="#" class="btn blue" id="btnSave"><spring:message code="button.update" /></a> <a href="#" class="btn blue" id="btnSave"><spring:message code="button.update" /></a>
<a href="#" class="btn red" id="btnDelete"><spring:message code="button.delete" /></a> <a href="#" class="btn red" id="btnRemove"><spring:message code="button.delete" /></a>
</c:if> </c:if>
<c:if test="${result.replyPosblAt == 'Y'}"> <c:if test="${result.replyPosblAt == 'Y'}">
<a href="#" onclick="" class="btn blue" id="reply_btn">답글작성</a> <a href="#" onclick="" class="btn blue" id="reply_btn">답글작성</a>
@ -205,7 +205,7 @@
} }
}); });
//삭제 버튼 Event 설정 //삭제 버튼 Event 설정
$('#btnDelete').on({ $('#btnRemove').on({
click : function(){ click : function(){
XitBasicBbsMng_view.removeData(); XitBasicBbsMng_view.removeData();
} }

@ -143,7 +143,7 @@
<div class="popup_btn"> <div class="popup_btn">
<span class="flr"> <span class="flr">
<a href="#" class="btn blue" id="btnSave">저장</a> <a href="#" class="btn blue" id="btnSave">저장</a>
<a href="#" class="btn red" id="btnDelete">삭제</a> <a href="#" class="btn red" id="btnRemove">삭제</a>
<a href="#" class="btn lightgray" id="btnClose">닫기</a> <a href="#" class="btn lightgray" id="btnClose">닫기</a>
</span> </span>
</div> </div>
@ -189,7 +189,7 @@ var XitBbsCreateMng_edit = {
}); });
//삭제버튼 이벤트 설정 //삭제버튼 이벤트 설정
$('#btnDelete').on({ $('#btnRemove').on({
click: function(){ click: function(){
XitBbsCreateMng_edit.removeData(); XitBbsCreateMng_edit.removeData();
} }

@ -74,7 +74,7 @@
<div class="popup_btn"> <div class="popup_btn">
<span class="flr"> <span class="flr">
<a href="#" class="btn blue" id="update_btn">변경</a> <a href="#" class="btn blue" id="update_btn">변경</a>
<a href="#" class="btn red" id="btnDelete">삭제</a> <a href="#" class="btn red" id="btnRemove">삭제</a>
<a href="#" class="btn lightgray" id="btnClose">닫기</a> <a href="#" class="btn lightgray" id="btnClose">닫기</a>
</span> </span>
</div> </div>
@ -131,7 +131,7 @@ var XitCmmnCodeMng_edit = {
} }
} }
}); });
$('#btnDelete').on({ $('#btnRemove').on({
click: function(){ click: function(){
if (confirm('삭제하시겠습니까?')) { if (confirm('삭제하시겠습니까?')) {
if(!validateCmmnCode(document.cmmnCode)){ if(!validateCmmnCode(document.cmmnCode)){

@ -131,7 +131,7 @@ var XitCmmnCodeMng_input = {
} }
} }
}); });
$('#btnDelete').on({ $('#btnRemove').on({
click: function(){ click: function(){
if (confirm('삭제하시겠습니까?')) { if (confirm('삭제하시겠습니까?')) {
if(!validateCmmnCode(document.cmmnCode)){ if(!validateCmmnCode(document.cmmnCode)){

@ -73,7 +73,7 @@
<span class="flr"> <span class="flr">
<a href="#" class="btn blue" id="update_btn">변경</a> <a href="#" class="btn blue" id="update_btn">변경</a>
<c:if test="${cmmnDetailCode.useAt == 'Y'}"> <c:if test="${cmmnDetailCode.useAt == 'Y'}">
<a href="#" class="btn red" id="btnDelete">삭제</a> <a href="#" class="btn red" id="btnRemove">삭제</a>
</c:if> </c:if>
<a href="#" class="btn lightgray" id="btnClose">닫기</a> <a href="#" class="btn lightgray" id="btnClose">닫기</a>
</span> </span>
@ -129,7 +129,7 @@ var XitDetailCodeMng_edit = {
} }
} }
}); });
$('#btnDelete').on({ $('#btnRemove').on({
click: function(){ click: function(){
if (confirm('삭제하시겠습니까?')) { if (confirm('삭제하시겠습니까?')) {
if(!validateCmmnDetailCode(document.cmmnDetailCode)){ if(!validateCmmnDetailCode(document.cmmnDetailCode)){

@ -136,7 +136,7 @@ var XitDetailCodeMng_input = {
} }
} }
}); });
$('#btnDelete').on({ $('#btnRemove').on({
click: function(){ click: function(){
if (confirm('삭제하시겠습니까?')) { if (confirm('삭제하시겠습니까?')) {
if(!validateCmmnDetailCode(document.cmmnDetailCode)){ if(!validateCmmnDetailCode(document.cmmnDetailCode)){

@ -71,7 +71,7 @@
<div class="popup_btn"> <div class="popup_btn">
<span class="flr"> <span class="flr">
<a href="#" class="btn blue" id="update_btn">변경</a> <a href="#" class="btn blue" id="update_btn">변경</a>
<a href="#" class="btn red" id="btnDelete">삭제</a> <a href="#" class="btn red" id="btnRemove">삭제</a>
<a href="#" class="btn lightgray" id="btnClose">닫기</a> <a href="#" class="btn lightgray" id="btnClose">닫기</a>
</span> </span>
</div> </div>
@ -127,7 +127,7 @@ var XitZipCodeMng_edit = {
} }
} }
}); });
$('#btnDelete').on({ $('#btnRemove').on({
click: function(){ click: function(){
if (confirm('삭제하시겠습니까?')) { if (confirm('삭제하시겠습니까?')) {
if(!validateZip(document.zip)){ if(!validateZip(document.zip)){

@ -124,7 +124,7 @@ var XitZipCodeMng_input = {
} }
} }
}); });
$('#btnDelete').on({ $('#btnRemove').on({
click: function(){ click: function(){
if (confirm('삭제하시겠습니까?')) { if (confirm('삭제하시겠습니까?')) {
if(!validateZip(document.zip)){ if(!validateZip(document.zip)){

@ -95,7 +95,7 @@ var XitZipCodeMng_inputs = {
} }
} }
}); });
$('#btnDelete').on({ $('#btnRemove').on({
click: function(){ click: function(){
if (confirm('삭제하시겠습니까?')) { if (confirm('삭제하시겠습니까?')) {
if(!validateZip(document.zip)){ if(!validateZip(document.zip)){

@ -48,7 +48,7 @@
<span class="fll"> <span class="fll">
<a href="#" class="btn darkgray" id="allRegist_btn" title="일괄등록">일괄등록</a> <a href="#" class="btn darkgray" id="allRegist_btn" title="일괄등록">일괄등록</a>
<a href="#" class="btn darkgray" id="btnRegist" title="등록">등록</a> <a href="#" class="btn darkgray" id="btnRegist" title="등록">등록</a>
<a href="#" class="btn red" id="btnDelete" title="삭제">삭제</a> <a href="#" class="btn red" id="btnRemove" title="삭제">삭제</a>
</span> </span>
</div> </div>
<!-- //버튼 및 페이지정보 --> <!-- //버튼 및 페이지정보 -->
@ -258,7 +258,7 @@
fnMenuMgt.pagePopup('input', "<c:url value='/framework/biz/mng/menu/MenuListMng_input.do'/>"); fnMenuMgt.pagePopup('input', "<c:url value='/framework/biz/mng/menu/MenuListMng_input.do'/>");
}); });
$("#btnDelete").click(function(){ $("#btnRemove").click(function(){
fnMenuMgt.removeData(); fnMenuMgt.removeData();
}); });

@ -63,11 +63,11 @@
</tbody> </tbody>
</table> </table>
<div class="popup_btn"> <div class="popup_btn">
<span class="flr" colspan="4"> <span class="flr">
<c:choose> <c:choose>
<c:when test="${!empty progrmMngVO.progrmFileNm and fn:length(progrmMngVO.progrmFileNm) > 0}"> <c:when test="${!empty progrmMngVO.progrmFileNm}">
<a href="#LINK" class="btn blue" id="btnUpdate">변경</a> <a href="#LINK" class="btn blue" id="btnModify">변경</a>
<a href="#LINK" class="btn red" id="btnDelete">삭제</a> <a href="#LINK" class="btn red" id="btnRemove">삭제</a>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<a href="#LINK" class="btn blue" id="btnRegist">등록</a> <a href="#LINK" class="btn blue" id="btnRegist">등록</a>
@ -154,11 +154,11 @@
fnProgramMgtPopup.add(); fnProgramMgtPopup.add();
}); });
$('#btnUpdate').on('click', () => { $('#btnModify').on('click', () => {
fnProgramMgtPopup.modify(); fnProgramMgtPopup.modify();
}); });
$('#btnDelete').on('click', () => { $('#btnRemove').on('click', () => {
fnProgramMgtPopup.remove(); fnProgramMgtPopup.remove();
}); });
}); });

@ -238,8 +238,8 @@
<div class="popup_btn"> <div class="popup_btn">
<span class="flr"> <span class="flr">
<a href="#" class="btn blue" id="btnSave">변경</a> <a href="#" class="btn blue" id="btnSave">변경</a>
<a href="#" class="btn red" id="btnDelete">삭제</a> <a href="#" class="btn red" id="btnRemove">삭제</a>
<a href="#" class="btn blue" id="pwd_btn">비밀번호변경</a> <a href="#" class="btn blue" id="btnPwdChg">비밀번호변경</a>
<a href="#" class="btn lightgray" id="btnClose">닫기</a> <a href="#" class="btn lightgray" id="btnClose">닫기</a>
</span> </span>
</div> </div>
@ -279,7 +279,7 @@ var XitEntUserRegMng_edit = {
} }
} }
}); });
$('#btnDelete').on({ $('#btnRemove').on({
click : function(){ click : function(){
if(confirm("삭제하시겠습니까?")){ if(confirm("삭제하시겠습니까?")){
XitEntUserRegMng_edit.removeData(); XitEntUserRegMng_edit.removeData();
@ -302,7 +302,7 @@ var XitEntUserRegMng_edit = {
XitEntUserRegMng_edit.fnSearchAdres(); XitEntUserRegMng_edit.fnSearchAdres();
} }
}); });
$('#pwd_btn').on({ $('#btnPwdChg').on({
click : function(){ click : function(){
var params = ""; var params = "";
var form = $('#entrprsManageVO'); var form = $('#entrprsManageVO');

@ -47,7 +47,7 @@
<div class="page_btn"> <div class="page_btn">
<span class="fll"> <span class="fll">
<a href="#" class="btn darkgray" id="btnRegist" title="등록">등록</a> <a href="#" class="btn darkgray" id="btnRegist" title="등록">등록</a>
<a href="#" class="btn red" id="btnDelete" title="삭제">삭제</a> <a href="#" class="btn red" id="btnRemove" title="삭제">삭제</a>
</span> </span>
</div> </div>
<!-- //버튼 및 페이지정보 --> <!-- //버튼 및 페이지정보 -->
@ -103,7 +103,7 @@ var XitEntUserRegMng_list = {
} }
}); });
//삭제 버튼 Event 설정 //삭제 버튼 Event 설정
$('#btnDelete').on({ $('#btnRemove').on({
click: function(){ click: function(){
if(confirm("삭제하시겠습니까?")){ if(confirm("삭제하시겠습니까?")){
var checkArr = instance.getCheckedRows(); var checkArr = instance.getCheckedRows();

@ -342,9 +342,9 @@ table.tbl03 input[type="text"], table.tbl03 select{
<div class="popup_btn"> <div class="popup_btn">
<span class="flr"> <span class="flr">
<a href="#LINK" onclick="JavaScript:fnUpdate(); return false;" class="btn blue" id="btnSave"><spring:message code="button.save" /></a> <a href="#LINK" onclick="JavaScript:fnUpdate(); return false;" class="btn blue" id="btnSave"><spring:message code="button.save" /></a>
<!-- <a href="#" class="btn red" id="btnDelete">삭제</a> --> <!-- <a href="#" class="btn red" id="btnRemove">삭제</a> -->
<a href="#LINK" onclick="javascript:document.entrprsManageVO.reset();" class="btn lightgray" id="init_btn">원래대로</a> <a href="#LINK" onclick="javascript:document.entrprsManageVO.reset();" class="btn lightgray" id="init_btn">원래대로</a>
<a href="<c:url value='/framework/biz/mng/usr/EntUserRegMng_editPwd.do'/>" onclick="fnPasswordMove(); return false;" class="btn blue" id="pwd_btn"><spring:message code="button.passwordUpdate" /></a> <a href="<c:url value='/framework/biz/mng/usr/EntUserRegMng_editPwd.do'/>" onclick="fnPasswordMove(); return false;" class="btn blue" id="btnPwdChg"><spring:message code="button.passwordUpdate" /></a>
<a href="#LINK" onclick="window.close();" class="btn lightgray" id="btnClose">닫기</a> <a href="#LINK" onclick="window.close();" class="btn lightgray" id="btnClose">닫기</a>
</span> </span>
</div> </div>

@ -194,8 +194,8 @@
<div class="popup_btn"> <div class="popup_btn">
<span class="flr"> <span class="flr">
<a href="#" class="btn blue" id="btnSave">변경</a> <a href="#" class="btn blue" id="btnSave">변경</a>
<a href="#" class="btn red" id="btnDelete">삭제</a> <a href="#" class="btn red" id="btnRemove">삭제</a>
<a href="#" class="btn blue" id="pwd_btn">비밀번호변경</a> <a href="#" class="btn blue" id="btnPwdChg">비밀번호변경</a>
<a href="#" class="btn lightgray" id="btnClose">닫기</a> <a href="#" class="btn lightgray" id="btnClose">닫기</a>
</span> </span>
</div> </div>
@ -235,7 +235,7 @@ var XitGnrUserRegMng_edit = {
} }
} }
}); });
$('#btnDelete').on({ $('#btnRemove').on({
click : function(){ click : function(){
if(confirm("삭제하시겠습니까?")){ if(confirm("삭제하시겠습니까?")){
XitGnrUserRegMng_edit.removeData(); XitGnrUserRegMng_edit.removeData();
@ -258,7 +258,7 @@ var XitGnrUserRegMng_edit = {
XitGnrUserRegMng_edit.fnSearchAdres(); XitGnrUserRegMng_edit.fnSearchAdres();
} }
}); });
$('#pwd_btn').on({ $('#btnPwdChg').on({
click : function(){ click : function(){
var params = ""; var params = "";
var form = $('#mberManageVO'); var form = $('#mberManageVO');

@ -47,7 +47,7 @@
<div class="page_btn"> <div class="page_btn">
<span class="fll"> <span class="fll">
<a href="#" class="btn darkgray" id="btnRegist" title="등록">등록</a> <a href="#" class="btn darkgray" id="btnRegist" title="등록">등록</a>
<a href="#" class="btn red" id="btnDelete" title="삭제">삭제</a> <a href="#" class="btn red" id="btnRemove" title="삭제">삭제</a>
</span> </span>
</div> </div>
<!-- //버튼 및 페이지정보 --> <!-- //버튼 및 페이지정보 -->
@ -103,7 +103,7 @@ var XitGnrUserRegMng_list = {
} }
}); });
//삭제 버튼 Event 설정 //삭제 버튼 Event 설정
$('#btnDelete').on({ $('#btnRemove').on({
click: function(){ click: function(){
if(confirm("삭제하시겠습니까?")){ if(confirm("삭제하시겠습니까?")){
var checkArr = instance.getCheckedRows(); var checkArr = instance.getCheckedRows();

@ -295,9 +295,9 @@ table.tbl03 input[type="text"], table.tbl03 select{
<div class="popup_btn"> <div class="popup_btn">
<span class="flr"> <span class="flr">
<a href="#LINK" onclick="JavaScript:fnUpdate(); return false;" class="btn blue" id="btnSave"><spring:message code="button.save" /></a> <a href="#LINK" onclick="JavaScript:fnUpdate(); return false;" class="btn blue" id="btnSave"><spring:message code="button.save" /></a>
<!-- <a href="#" class="btn red" id="btnDelete">삭제</a> --> <!-- <a href="#" class="btn red" id="btnRemove">삭제</a> -->
<a href="#LINK" onclick="javascript:document.mberManageVO.reset();" class="btn lightgray" id="init_btn">원래대로</a> <a href="#LINK" onclick="javascript:document.mberManageVO.reset();" class="btn lightgray" id="init_btn">원래대로</a>
<a href="<c:url value='/framework/biz/mng/usr/GnrUserRegMng_editPwd.do'/>" onclick="fnPasswordMove(); return false;" class="btn blue" id="pwd_btn"><spring:message code="button.passwordUpdate" /></a> <a href="<c:url value='/framework/biz/mng/usr/GnrUserRegMng_editPwd.do'/>" onclick="fnPasswordMove(); return false;" class="btn blue" id="btnPwdChg"><spring:message code="button.passwordUpdate" /></a>
<a href="#LINK" onclick="window.close();" class="btn lightgray" id="btnClose">닫기</a> <a href="#LINK" onclick="window.close();" class="btn lightgray" id="btnClose">닫기</a>
</span> </span>
</div> </div>

@ -56,7 +56,7 @@
<div class="popup_btn"> <div class="popup_btn">
<span class="flr" colspan="4"> <span class="flr" colspan="4">
<a href="#LINK" class="btn blue" id="btnSave">변경</a> <a href="#LINK" class="btn blue" id="btnSave">변경</a>
<a href="#LINK" class="btn red" id="btnDelete">삭제</a> <a href="#LINK" class="btn red" id="btnRemove">삭제</a>
<a href="#" class="btn lightgray" id="btnClose">닫기</a> <a href="#" class="btn lightgray" id="btnClose">닫기</a>
</span> </span>
</div> </div>
@ -89,7 +89,7 @@ $(document).ready(function(){
XitUserAbsntMng_edit.modifyData(); XitUserAbsntMng_edit.modifyData();
} }
}); });
$('#btnDelete').on({ $('#btnRemove').on({
click: function(){ click: function(){
XitUserAbsntMng_edit.removeData(); XitUserAbsntMng_edit.removeData();
} }

@ -304,9 +304,9 @@ table {
<div class="popup_btn"> <div class="popup_btn">
<span class="flr"> <span class="flr">
<a href="#LINK" onclick="JavaScript:fnUpdate(); return false;" class="btn blue" id="btnSave"><spring:message code="button.save" /></a> <a href="#LINK" onclick="JavaScript:fnUpdate(); return false;" class="btn blue" id="btnSave"><spring:message code="button.save" /></a>
<!-- <a href="#" class="btn red" id="btnDelete">삭제</a> --> <!-- <a href="#" class="btn red" id="btnRemove">삭제</a> -->
<a href="#LINK" onclick="javascript:document.userManageVO.reset();" class="btn lightgray" id="init_btn">원래대로</a> <a href="#LINK" onclick="javascript:document.userManageVO.reset();" class="btn lightgray" id="init_btn">원래대로</a>
<a href="<c:url value='/_mng_/usr/reg/UserRegMng_editPwd.do'/>" onclick="fnPasswordMove(); return false;" class="btn blue" id="pwd_btn"><spring:message code="button.passwordUpdate" /></a> <a href="<c:url value='/_mng_/usr/reg/UserRegMng_editPwd.do'/>" onclick="fnPasswordMove(); return false;" class="btn blue" id="btnPwdChg"><spring:message code="button.passwordUpdate" /></a>
<a href="#LINK" onclick="window.close();" class="btn lightgray" id="btnClose">닫기</a> <a href="#LINK" onclick="window.close();" class="btn lightgray" id="btnClose">닫기</a>
</span> </span>
</div> </div>

@ -42,7 +42,7 @@
<div class="page_btn"> <div class="page_btn">
<span class="fll"> <span class="fll">
<a href="#" class="btn darkgray" id="btnRegist" title="등록">등록</a> <a href="#" class="btn darkgray" id="btnRegist" title="등록">등록</a>
<a href="#" class="btn red" id="btnDelete" title="삭제">삭제</a> <a href="#" class="btn red" id="btnRemove" title="삭제">삭제</a>
</span> </span>
</div> </div>
<!-- //버튼 및 페이지정보 --> <!-- //버튼 및 페이지정보 -->

@ -2,20 +2,20 @@
<%@ include file="/WEB-INF/jsp/framework/taglibs.jsp"%> <%@ include file="/WEB-INF/jsp/framework/taglibs.jsp"%>
<script type="text/javascript" src="<c:url value="/framework/util/validator.do"/>"></script> <script type="text/javascript" src="<c:url value="/framework/util/validator.do"/>"></script>
<validator:javascript formName="userManageVO" staticJavascript="true" xhtml="true" cdata="false"/> <validator:javascript formName="userInfoVO" staticJavascript="true" xhtml="true" cdata="false"/>
<%--@elvariable id="userManageVO" type=""--%> <%--@elvariable id="userInfoVO" type=""--%>
<form:form commandName="userManageVO" name="userManageVO"> <form:form commandName="userInfoVO" name="userInfoVO">
<input type="hidden" name="zip_url" value="<c:url value='/_cmmn_/popup/ZipSearchList.do'/>" /> <input type="hidden" name="zip_url" value="<c:url value='/_cmmn_/popup/ZipSearchList.do'/>" />
<!-- 상세정보 사용자 삭제시 prameter 전달용 input --> <!-- 상세정보 사용자 삭제시 prameter 전달용 input -->
<input type="hidden" name="checkedIdForDel" id="checkedIdForDel" value="<c:out value='${userManageVO.userTy}'/>:<c:out value='${userManageVO.emplyrId}'/>"> <input type="hidden" name="checkedIdForDel" id="checkedIdForDel" value="<c:out value='${userInfoVO.userTy}'/>:<c:out value='${userInfoVO.emplyrId}'/>">
<!-- 사용자유형정보 : password 수정화면으로 이동시 타겟 유형정보 확인용, 만약검색조건으로 유형이 포함될경우 혼란을 피하기위해 userTy명칭을 쓰지 않음--> <!-- 사용자유형정보 : password 수정화면으로 이동시 타겟 유형정보 확인용, 만약검색조건으로 유형이 포함될경우 혼란을 피하기위해 userTy명칭을 쓰지 않음-->
<input type="hidden" name="userTyForPassword" value="<c:out value='${userManageVO.userTy}'/>" /> <input type="hidden" name="userTyForPassword" value="<c:out value='${userInfoVO.userTy}'/>" />
<div class="popup" style="min-width: 1100px;"> <div class="popup" style="min-width: 1100px;">
<div class="popup_inner" style="max-width: 1100px;"> <div class="popup_inner" style="max-width: 1100px;">
<c:set var="pageTitle"><spring:message code="comUssUmt.deptUserManage.title"/></c:set> <c:set var="pageTitle"><spring:message code="comUssUmt.deptUserManage.title"/></c:set>
<p class="pop_title">${pageTitle } <spring:message code="title.update" /></p> <p class="pop_title">${pageTitle } <spring:message code="title.update" /></p>
<table class="tbl03"> <table class="tbl03">
<caption>${pageTitle } <spring:message code="title.update" /></caption> <caption>${pageTitle } <spring:message code="title.update" /></caption>
<colgroup> <colgroup>
@ -25,7 +25,7 @@
<col style="width: 30%;"/> <col style="width: 30%;"/>
</colgroup> </colgroup>
<tbody> <tbody>
<tr> <tr>
<th height="23" class="required"> <th height="23" class="required">
<label>사용자아이디</label> <label>사용자아이디</label>
</th> </th>
@ -159,7 +159,7 @@
<img src="<c:url value='/resources/images/btn/icon_zip_search.gif'/>" alt="" />(우편번호 검색) <img src="<c:url value='/resources/images/btn/icon_zip_search.gif'/>" alt="" />(우편번호 검색)
</a> </a>
<form:errors path="zip" cssClass="error" /> <form:errors path="zip" cssClass="error" />
<input name="zip_view" id="zip_view" type="hidden" title="우편번호" size="20" value="<c:out value='${userManageVO.zip}'/>" maxlength="8" readonly="readonly" /> <input name="zip_view" id="zip_view" type="hidden" title="우편번호" size="20" value="<c:out value='${userInfoVO.zip}'/>" maxlength="8" readonly="readonly" />
</td> </td>
<th height="23" class="required"> <th height="23" class="required">
<label>상세주소</label> <label>상세주소</label>
@ -203,9 +203,17 @@
<div class="popup_btn"> <div class="popup_btn">
<span class="flr"> <span class="flr">
<a href="#" class="btn blue" id="btnSave">변경</a> <c:choose>
<a href="#" class="btn red" id="btnDelete">삭제</a> <c:when test="${!empty userInfoVO.uniqId}">
<a href="#" class="btn blue" id="pwd_btn">비밀번호변경</a> <a href="#" class="btn blue" id="btnModify">변경</a>
<a href="#" class="btn red" id="btnRemove">삭제</a>
<a href="#" class="btn blue" id="btnPwdChg">비밀번호변경</a>
</c:when>
<c:otherwise>
<a href="#" class="btn blue" id="btnRegist">등록</a>
</c:otherwise>
</c:choose>
<a href="#" class="btn lightgray" id="btnClose">닫기</a> <a href="#" class="btn lightgray" id="btnClose">닫기</a>
</span> </span>
</div> </div>
@ -239,13 +247,13 @@
$('#btnSave').on({ $('#btnSave').on({
click: function(){ click: function(){
if (confirm('변경 하시겠습니까?')) { if (confirm('변경 하시겠습니까?')) {
if(validateUserManageVO(document.userManageVO)){ if(validateUserInfoVO(document.userInfoVO)){
XitUserRegMng_edit.modifyData(); XitUserRegMng_edit.modifyData();
} }
} }
} }
}); });
$('#btnDelete').on({ $('#btnRemove').on({
click : function(){ click : function(){
if(confirm("삭제 하시겠습니까?")){ if(confirm("삭제 하시겠습니까?")){
XitUserRegMng_edit.removeData(); XitUserRegMng_edit.removeData();
@ -261,18 +269,18 @@
* -작업내용: DB조회->행자부API로 변경 * -작업내용: DB조회->행자부API로 변경
*/ */
// fn_egov_ZipSearch( // fn_egov_ZipSearch(
// document.userManageVO // document.userInfoVO
// , document.userManageVO.zip // , document.userInfoVO.zip
// , document.userManageVO.zip_view // , document.userInfoVO.zip_view
// , document.userManageVO.houseAdres // , document.userInfoVO.houseAdres
// ); // );
XitUserRegMng_edit.fnSearchAdres(); XitUserRegMng_edit.fnSearchAdres();
} }
}); });
$('#pwd_btn').on({ $('#btnPwdChg').on({
click : function(){ click : function(){
var params = ""; var params = "";
var form = $('#userManageVO'); var form = $('#userInfoVO');
var array = $(form).serializeArray(); var array = $(form).serializeArray();
var result = {}; var result = {};
if(array){ if(array){
@ -307,7 +315,7 @@
* 데이터 수정 * 데이터 수정
======================== */ ======================== */
modifyData : function(){ modifyData : function(){
var param = $("#userManageVO").serialize(); var param = $("#userInfoVO").serialize();
$.ajax({ $.ajax({
url : "/framework/biz/mng/usr/UserRegMng_update_proc.do", url : "/framework/biz/mng/usr/UserRegMng_update_proc.do",
data : param, data : param,
@ -327,7 +335,7 @@
* 데이터 삭제 * 데이터 삭제
======================== */ ======================== */
removeData : function(){ removeData : function(){
var param = $("#userManageVO").serialize(); var param = $("#userInfoVO").serialize();
$.ajax({ $.ajax({
url : "/framework/biz/mng/usr/UserRegMng_delete_proc.do", url : "/framework/biz/mng/usr/UserRegMng_delete_proc.do",
data : param, data : param,
@ -417,10 +425,10 @@
//화면에 출력 //화면에 출력
document.userManageVO.houseAdres.value = obj.roadAddrPart1; document.userInfoVO.houseAdres.value = obj.roadAddrPart1;
document.userManageVO.zip.value = obj.zipNo; document.userInfoVO.zip.value = obj.zipNo;
document.userManageVO.zip_view.value = obj.zipNo; document.userInfoVO.zip_view.value = obj.zipNo;
document.userManageVO.detailAdres.value = totalDetailAdres; document.userInfoVO.detailAdres.value = totalDetailAdres;
} }
} }
</script> </script>

@ -0,0 +1,426 @@
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/framework/taglibs.jsp"%>
<script type="text/javascript" src="<c:url value="/framework/util/validator.do"/>"></script>
<validator:javascript formName="userManageVO" staticJavascript="true" xhtml="true" cdata="false"/>
<%--@elvariable id="userManageVO" type=""--%>
<form:form commandName="userManageVO" name="userManageVO">
<input type="hidden" name="zip_url" value="<c:url value='/_cmmn_/popup/ZipSearchList.do'/>" />
<!-- 상세정보 사용자 삭제시 prameter 전달용 input -->
<input type="hidden" name="checkedIdForDel" id="checkedIdForDel" value="<c:out value='${userManageVO.userTy}'/>:<c:out value='${userManageVO.emplyrId}'/>">
<!-- 사용자유형정보 : password 수정화면으로 이동시 타겟 유형정보 확인용, 만약검색조건으로 유형이 포함될경우 혼란을 피하기위해 userTy명칭을 쓰지 않음-->
<input type="hidden" name="userTyForPassword" value="<c:out value='${userManageVO.userTy}'/>" />
<div class="popup" style="min-width: 1100px;">
<div class="popup_inner" style="max-width: 1100px;">
<c:set var="pageTitle"><spring:message code="comUssUmt.deptUserManage.title"/></c:set>
<p class="pop_title">${pageTitle } <spring:message code="title.update" /></p>
<table class="tbl03">
<caption>${pageTitle } <spring:message code="title.update" /></caption>
<colgroup>
<col style="width: 20%;"/>
<col style="width: 30%;"/>
<col style="width: 20%;"/>
<col style="width: 30%;"/>
</colgroup>
<tbody>
<tr>
<th height="23" class="required">
<label>사용자아이디</label>
</th>
<td >
<form:input path="emplyrId" id="emplyrId" cssClass="txaIpt" size="20" maxlength="20" readonly="readonly" />
<form:errors path="emplyrId" cssClass="error"/>
<form:hidden path="uniqId" />
</td>
<th height="23" class="required">
<label>핸드폰번호</label>
</th>
<td >
<form:input path="mbtlnum" id="mbtlnum" title="핸드폰번호" cssClass="txaIpt" size="20" maxlength="15" />
<form:errors path="mbtlnum" cssClass="error" />
</td>
</tr>
<tr>
<th height="23" class="required">
<label>비밀번호힌트</label>
</th>
<td>
<code:select id="passwordHint" name="passwordHint" codeId="XIT022" title="비밀번호힌트" cls="selectBox" alt="비밀번호힌트"/>
<%--
<form:select path="passwordHint" id="passwordHint" title="비밀번호힌트">
<form:option value="" label="--선택하세요--" />
<form:options items="${passwordHint_result}" itemValue="code" itemLabel="codeNm" />
</form:select>
--%>
<form:errors path="passwordHint" cssClass="error" /></td>
<th height="23" class="required">
<label>비밀번호정답</label>
</th>
<td>
<form:input path="passwordCnsr" id="passwordCnsr" title="비밀번호정답" cssClass="txaIpt" size="50" maxlength="100" />
<form:errors path="passwordCnsr" cssClass="error" />
</td>
</tr>
<tr>
<th height="23" class="required">
<label>이름</label>
</th>
<td>
<form:input path="emplyrNm" id="emplyrNm" cssClass="txaIpt" size="20" maxlength="60" />
<form:errors path="emplyrNm" cssClass="error" />
</td>
<th height="23" class="required">
<label>소속기관</label>
</th>
<td>
<code:select id="pstinstCode" name="pstinstCode" codeId="XIT025" title="소속기관" cls="selectBox" alt="소속기관"/>
<%--
<form:select path="pstinstCode" id="pstinstCode" title="소속기관">
<form:option value="" label="--선택하세요--" />
<form:options items="${pstinstCode_result}" itemValue="code" itemLabel="codeNm" />
</form:select>
--%>
<form:errors path="pstinstCode" cssClass="error" />
</td>
</tr>
<tr>
<th height="23" class="required">
<label>조직코드</label>
</th>
<td>
<code:select type="ORGN" id="orgnztId" name="orgnztId" title="부서" cls="selectBox" alt="부서"/>
<%--
<form:select path="orgnztId" id="orgnztId" title="부서">
<form:option value="" label="--선택하세요--" />
<form:options items="${orgnztId_result}" itemValue="code" itemLabel="codeNm" />
</form:select>
--%>
<form:errors path="orgnztId" cssClass="error" />
</td>
<th height="23" class="required">
<label>직위명</label>
</th>
<td>
<input path="ofcpsNm" id="ofcpsNm" title="직위명" cssClass="txaIpt" size="20" maxlength="30" />
<%-- <form:errors path="ofcpsNm" cssClass="error" />--%>
</td>
</tr>
<tr>
<th height="23" class="required">
<label>이메일주소</label>
</th>
<td>
<form:input path="emailAdres" id="emailAdres" title="이메일주소" cssClass="txaIpt" size="20" maxlength="50" />
<form:errors path="emailAdres" cssClass="error" />
</td>
<th height="23" class="required">
<label>집전화지역번호</label>
</th>
<td>
<form:input path="areaNo" id="areaNo" style="width : 20%" title="areaNo" cssClass="txaIpt" size="5" maxlength="5" />
- <form:input path="houseMiddleTelno" style="width : 20%" title="houseMiddleTelno" id="houseMiddleTelno" cssClass="txaIpt" size="5" maxlength="5" />
- <form:input path="houseEndTelno" style="width : 20%" title="houseEndTelno" id="houseEndTelno" cssClass="txaIpt" size="5" maxlength="5" />
<form:errors path="areaNo" cssClass="error" />
<form:errors path="houseMiddleTelno" cssClass="error" />
<form:errors path="houseEndTelno" cssClass="error" />
</td>
</tr>
<tr>
<th height="23" class="required">
<label>사무실전화번호</label>
</th>
<td>
<form:input path="offmTelno" id="offmTelno" title="사무실전화번호" cssClass="txaIpt" size="20" maxlength="15" />
<form:errors path="offmTelno" cssClass="error" />
</td>
<th height="23" class="required">
<label>팩스번호</label>
</th>
<td>
<form:input path="fxnum" id="fxnum" cssClass="txaIpt" title="팩스번호" size="20" maxlength="15" />
<form:errors path="fxnum" cssClass="error" />
</td>
</tr>
<tr>
<th height="23" class="required">
주소
</th>
<td>
<form:input path="houseAdres" id="houseAdres" title="주소" style="width: 50%" cssClass="txaIpt" size="40" maxlength="100" readonly="true" />
<form:errors path="houseAdres" cssClass="error" />
<form:hidden path="zip" />
<a id ="addrSearch">
<img src="<c:url value='/resources/images/btn/icon_zip_search.gif'/>" alt="" />(우편번호 검색)
</a>
<form:errors path="zip" cssClass="error" />
<input name="zip_view" id="zip_view" type="hidden" title="우편번호" size="20" value="<c:out value='${userManageVO.zip}'/>" maxlength="8" readonly="readonly" />
</td>
<th height="23" class="required">
<label>상세주소</label>
</th>
<td>
<input path="detailAdres" id="detailAdres" title="상세주소" cssClass="txaIpt" size="40" maxlength="50" />
<%-- <form:errors path="detailAdres" cssClass="error" />--%>
</td>
</tr>
<tr>
<th height="23" class="required">
<label>사용자상태코드</label>
</th>
<td>
<code:select id="userSttusCode" name="userSttusCode" codeId="XIT013" title="사용자상태" cls="selectBox" alt="사용자상태"/>
<%--
<form:select path="userSttusCode" id="userSttusCode" title="사용자상태코드">
<form:option value="" label="--선택하세요--" />
<form:options items="${userSttusCode_result}" itemValue="code" itemLabel="codeNm" />
</form:select>
--%>
<form:errors path="userSttusCode" cssClass="error" />
</td>
<th height="23" class="required">
<label>그룹아이디</label>
</th>
<td>
<code:select type="GROUP" id="groupId" name="grupId" title="그룹아이디" cls="selectBox" alt="그룹아이디"/>
<%--
<form:select path="groupId" id="groupId" title="그룹아이디">
<form:option value="" label="--선택하세요--" />
<form:options items="${groupId_result}" itemValue="code" itemLabel="codeNm" />
</form:select>
--%>
<form:errors path="groupId" cssClass="error" />
</td>
</tr>
</tbody>
</table>
<div class="popup_btn">
<span class="flr">
<a href="#" class="btn blue" id="btnSave">변경</a>
<a href="#" class="btn red" id="btnRemove">삭제</a>
<a href="#" class="btn blue" id="btnPwdChg">비밀번호변경</a>
<a href="#" class="btn lightgray" id="btnClose">닫기</a>
</span>
</div>
<!-- //popup_btn -->
</div>
</div>
<!-- //popup -->
</form:form>
<script type="text/javascript" src="<c:url value='/resources/framework/js/egov/EgovZipPopup.js' />" ></script>
<script type="text/javaScript">
$(document).ready(function(){
XitUserRegMng_edit.init();
});
/* *******************************
* 사용자 등록관리 수정화면 Functions
******************************* */
var XitUserRegMng_edit = {
/* ========================
* 초기화
======================== */
init : function(){
//닫기 버튼 EVENT 설정
$("#btnClose").on({
click : function(){
window.close();
}
});
//저장 버튼 Event 설정
$('#btnSave').on({
click: function(){
if (confirm('변경 하시겠습니까?')) {
if(validateUserManageVO(document.userManageVO)){
XitUserRegMng_edit.modifyData();
}
}
}
});
$('#btnRemove').on({
click : function(){
if(confirm("삭제 하시겠습니까?")){
XitUserRegMng_edit.removeData();
}
}
})
//주소검색버튼 Event설정
$('#addrSearch').on({
click : function(){
/*
* 2020.10.05. 박민규
* 우편번호검색 Event 변경
* -작업내용: DB조회->행자부API로 변경
*/
// fn_egov_ZipSearch(
// document.userInfoVO
// , document.userInfoVO.zip
// , document.userInfoVO.zip_view
// , document.userInfoVO.houseAdres
// );
XitUserRegMng_edit.fnSearchAdres();
}
});
$('#btnPwdChg').on({
click : function(){
var params = "";
var form = $('#userManageVO');
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 += "&"
}
})
}
XitUserRegMng_edit.pagePopup('pwd', '<c:url value="/framework/biz/mng/usr/UserRegMng_editPwd_popup.do"/>', params);
}
});
},
/* ========================
* 입력값 언어 선택
======================== */
fn_setInputLimit : function(){
},
/* ========================
* 데이터 조회
======================== */
findData : function(){
},
/* ========================
* 데이터 등록
======================== */
addData : function(){
},
/* ========================
* 데이터 수정
======================== */
modifyData : function(){
var param = $("#userManageVO").serialize();
$.ajax({
url : "/framework/biz/mng/usr/UserRegMng_update_proc.do",
data : param,
type : "post",
dataType : "json",
success : function(data) {
alert(data.resp.message);
window.opener.XitUserRegMng_list.findData();
window.close();
},
error: function(){
}
});
},
/* ========================
* 데이터 삭제
======================== */
removeData : function(){
var param = $("#userManageVO").serialize();
$.ajax({
url : "/framework/biz/mng/usr/UserRegMng_delete_proc.do",
data : param,
type : "post",
dataType : "json",
success : function(data) {
alert(data.resp.message);
window.opener.XitUserRegMng_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=XitUserRegMng_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.userManageVO.houseAdres.value = obj.roadAddrPart1;
document.userManageVO.zip.value = obj.zipNo;
document.userManageVO.zip_view.value = obj.zipNo;
document.userManageVO.detailAdres.value = totalDetailAdres;
}
}
</script>

@ -1368,7 +1368,7 @@ input:read-only {
/*등록,삭제,변경신청 버튼*/ /*등록,삭제,변경신청 버튼*/
/* .darkgray {border:0px solid red; width:55px;} */ /* .darkgray {border:0px solid red; width:55px;} */
/* .lightgray {border:1px solid red; width:55px; background-color: #e05f5f; color:#fff;} */ /* .lightgray {border:1px solid red; width:55px; background-color: #e05f5f; color:#fff;} */
/* /* #btnDelete{border:0px solid red; width:55px; } */ /* /* #btnRemove{border:0px solid red; width:55px; } */
/* #bundle_approval_btn{border:0px solid red; width:90px; padding:11px; color:#fff;} */ /* #bundle_approval_btn{border:0px solid red; width:90px; padding:11px; color:#fff;} */
@ -1694,7 +1694,7 @@ span.attachfile_add_btn {
font-weight: bold; font-weight: bold;
margin: 0px 1px 0px 1px; margin: 0px 1px 0px 1px;
} }
span.attachfile_btnDelete { span.attachfile_btnRemove {
cursor: pointer; cursor: pointer;
font-weight: bold; font-weight: bold;
color: red; color: red;

Loading…
Cancel
Save