2023-10-17 10:20 테스트용 사용자 이름 변경
This commit is contained in:
parent
a27e515970
commit
5910e87fbf
@ -177,4 +177,10 @@ public class EgovMberManageServiceImpl extends EgovAbstractServiceImpl implement
|
||||
mberManageDAO.updateMberCnf(vo);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateMberNm(MberManageVO mberManageVO) throws Exception {
|
||||
mberManageDAO.updateMber(mberManageVO);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@ -128,5 +128,6 @@ public interface EgovMberManageService {
|
||||
*/
|
||||
public void updateMberCnf(MberManageConfigVO mberManageConfigVO) throws Exception;
|
||||
|
||||
public void updateMberNm(MberManageVO mberManageVO) throws Exception;
|
||||
|
||||
}
|
||||
@ -73,6 +73,7 @@ import kcc.let.uss.umt.service.MberManageConfigVO;
|
||||
import kcc.let.uss.umt.service.MberManageVO;
|
||||
import kcc.let.uss.umt.service.UserDefaultVO;
|
||||
import kcc.let.uss.umt.service.UserManageVO;
|
||||
import kcc.let.utl.fcc.service.EgovCryptoUtil;
|
||||
import kcc.let.utl.sim.service.EgovFileScrty;
|
||||
|
||||
/**
|
||||
@ -147,6 +148,12 @@ public class EgovUserManageController {
|
||||
@Resource(name = "loginService")
|
||||
private EgovLoginService loginService;
|
||||
|
||||
|
||||
//암복호화 유틸
|
||||
@Resource(name = "egovCryptoUtil")
|
||||
EgovCryptoUtil egovCryptoUtil;
|
||||
|
||||
|
||||
private String topLocNo = "1000000" ; //전역 최상위 매뉴번호
|
||||
|
||||
|
||||
@ -187,43 +194,57 @@ public class EgovUserManageController {
|
||||
userSearchVO.setPageUnit(userSearchVO.getPageUnit());
|
||||
}
|
||||
|
||||
/** pageing */
|
||||
PaginationInfo paginationInfo = new PaginationInfo();
|
||||
paginationInfo.setCurrentPageNo(userSearchVO.getPageIndex());
|
||||
paginationInfo.setRecordCountPerPage(userSearchVO.getPageUnit());
|
||||
paginationInfo.setPageSize(userSearchVO.getPageSize());
|
||||
try{
|
||||
/** pageing */
|
||||
PaginationInfo paginationInfo = new PaginationInfo();
|
||||
paginationInfo.setCurrentPageNo(userSearchVO.getPageIndex());
|
||||
paginationInfo.setRecordCountPerPage(userSearchVO.getPageUnit());
|
||||
paginationInfo.setPageSize(userSearchVO.getPageSize());
|
||||
|
||||
userSearchVO.setFirstIndex(paginationInfo.getFirstRecordIndex());
|
||||
userSearchVO.setLastIndex(paginationInfo.getLastRecordIndex());
|
||||
userSearchVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
|
||||
LoginVO loginVO = (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser();
|
||||
//userSearchVO.setAdminYn("Y");
|
||||
if("".equals(userSearchVO.getSearchSortCnd())){ //최초조회시 최신것 조회List
|
||||
userSearchVO.setSearchSortCnd("uniqId");
|
||||
userSearchVO.setSearchSortOrd("desc");
|
||||
userSearchVO.setFirstIndex(paginationInfo.getFirstRecordIndex());
|
||||
userSearchVO.setLastIndex(paginationInfo.getLastRecordIndex());
|
||||
userSearchVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
|
||||
LoginVO loginVO = (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser();
|
||||
//userSearchVO.setAdminYn("Y");
|
||||
if("".equals(userSearchVO.getSearchSortCnd())){ //최초조회시 최신것 조회List
|
||||
userSearchVO.setSearchSortCnd("uniqId");
|
||||
userSearchVO.setSearchSortOrd("desc");
|
||||
}
|
||||
List<?> resultList = userManageService.selectUserList(userSearchVO) ;
|
||||
model.addAttribute("resultList", resultList);
|
||||
//paginationInfo.setTotalRecordCount( resultList.size()> 0 ? ((Long)((EgovMap)resultList.get(0)).get("totCnt")).intValue() : 0);
|
||||
int i_resultList = resultList.size();
|
||||
|
||||
/*
|
||||
if (i_resultList>0) {
|
||||
String g_resultList = ((EgovMap)resultList.get(0)).get("totCnt").toString();
|
||||
}
|
||||
*/
|
||||
|
||||
//paginationInfo.setTotalRecordCount( resultList.size()> 0 ? ((int)((EgovMap)resultList.get(0)).get("totCnt")) : 0);
|
||||
paginationInfo.setTotalRecordCount(i_resultList);
|
||||
model.addAttribute("paginationInfo", paginationInfo);
|
||||
|
||||
//사용자상태코드를 코드정보로부터 조회
|
||||
ComDefaultCodeVO vo = new ComDefaultCodeVO();
|
||||
vo.setCodeId("COM038");
|
||||
model.addAttribute("emplyrSttusCode_result", cmmUseService.selectCmmCodeDetail(vo));//사용자상태코드목록
|
||||
|
||||
//권한조회
|
||||
AuthorManageVO authorManageVO = new AuthorManageVO();
|
||||
authorManageVO.setFirstIndex(0);
|
||||
authorManageVO.setLastIndex(10);
|
||||
authorManageVO.setRecordCountPerPage(10);
|
||||
authorManageVO.setAuthorManageList(egovAuthorManageService.selectAuthorList(authorManageVO));
|
||||
model.addAttribute("authorList", authorManageVO.getAuthorManageList());
|
||||
|
||||
if("/uss/umt/user/EgovUserManageMenuAjax.do".equals(request.getServletPath())) {
|
||||
return "cmm/uss/umt/EgovUserManageMenuAjax";
|
||||
}
|
||||
}catch(Exception ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
List<?> resultList = userManageService.selectUserList(userSearchVO) ;
|
||||
model.addAttribute("resultList", resultList);
|
||||
//paginationInfo.setTotalRecordCount( resultList.size()> 0 ? ((Long)((EgovMap)resultList.get(0)).get("totCnt")).intValue() : 0);
|
||||
paginationInfo.setTotalRecordCount( resultList.size()> 0 ? ((int)((EgovMap)resultList.get(0)).get("totCnt")) : 0);
|
||||
model.addAttribute("paginationInfo", paginationInfo);
|
||||
|
||||
//사용자상태코드를 코드정보로부터 조회
|
||||
ComDefaultCodeVO vo = new ComDefaultCodeVO();
|
||||
vo.setCodeId("COM038");
|
||||
model.addAttribute("emplyrSttusCode_result", cmmUseService.selectCmmCodeDetail(vo));//사용자상태코드목록
|
||||
|
||||
//권한조회
|
||||
AuthorManageVO authorManageVO = new AuthorManageVO();
|
||||
authorManageVO.setFirstIndex(0);
|
||||
authorManageVO.setLastIndex(10);
|
||||
authorManageVO.setRecordCountPerPage(10);
|
||||
authorManageVO.setAuthorManageList(egovAuthorManageService.selectAuthorList(authorManageVO));
|
||||
model.addAttribute("authorList", authorManageVO.getAuthorManageList());
|
||||
|
||||
if("/uss/umt/user/EgovUserManageMenuAjax.do".equals(request.getServletPath())) {
|
||||
return "cmm/uss/umt/EgovUserManageMenuAjax";
|
||||
}
|
||||
|
||||
return "cmm/uss/umt/EgovUserManage";
|
||||
}
|
||||
@ -262,7 +283,13 @@ public class EgovUserManageController {
|
||||
userSearchVO.setSearchSortCnd("uniqId");
|
||||
userSearchVO.setSearchSortOrd("desc");
|
||||
}
|
||||
//이름 검색 암호화
|
||||
userSearchVO.setSnsSiteName(egovCryptoUtil.encrypt(userSearchVO.getSearchKeyword()));
|
||||
|
||||
List<?> resultList = mberManageService.selectMberList(userSearchVO);
|
||||
|
||||
//이름 복호화
|
||||
|
||||
model.addAttribute("resultList", resultList);
|
||||
// paginationInfo.setTotalRecordCount( resultList.size()> 0 ? ((Long)((EgovMap)resultList.get(0)).get("totCnt")).intValue() : 0);
|
||||
paginationInfo.setTotalRecordCount(10);
|
||||
@ -534,80 +561,86 @@ public class EgovUserManageController {
|
||||
return redirectUrlMaker.getRedirectUrl();
|
||||
}
|
||||
|
||||
|
||||
ComDefaultCodeVO vo = new ComDefaultCodeVO();
|
||||
//패스워드힌트목록을 코드정보로부터 조회
|
||||
vo.setCodeId("COM022");
|
||||
model.addAttribute("passwordHint_result", cmmUseService.selectCmmCodeDetail(vo));
|
||||
//성별구분코드를 코드정보로부터 조회
|
||||
vo.setCodeId("COM014");
|
||||
model.addAttribute("sexdstnCode_result", cmmUseService.selectCmmCodeDetail(vo));
|
||||
//사용자상태코드를 코드정보로부터 조회
|
||||
vo.setCodeId("COM013");
|
||||
model.addAttribute("emplyrSttusCode_result", cmmUseService.selectCmmCodeDetail(vo));
|
||||
//소속기관코드를 코드정보로부터 조회 - COM025
|
||||
vo.setCodeId("COM025");
|
||||
model.addAttribute("insttCode_result", cmmUseService.selectCmmCodeDetail(vo));
|
||||
//조직정보를 조회 - ORGNZT_ID정보
|
||||
vo.setTableNm("LETTNORGNZTINFO");
|
||||
model.addAttribute("orgnztId_result", cmmUseService.selectOgrnztIdDetail(vo));
|
||||
//그룹정보를 조회 - GROUP_ID정보
|
||||
vo.setTableNm("LETTNORGNZTINFO");
|
||||
model.addAttribute("groupId_result", cmmUseService.selectGroupIdDetail(vo));
|
||||
try {
|
||||
ComDefaultCodeVO vo = new ComDefaultCodeVO();
|
||||
//패스워드힌트목록을 코드정보로부터 조회
|
||||
vo.setCodeId("COM022");
|
||||
model.addAttribute("passwordHint_result", cmmUseService.selectCmmCodeDetail(vo));
|
||||
//성별구분코드를 코드정보로부터 조회
|
||||
vo.setCodeId("COM014");
|
||||
model.addAttribute("sexdstnCode_result", cmmUseService.selectCmmCodeDetail(vo));
|
||||
//사용자상태코드를 코드정보로부터 조회
|
||||
vo.setCodeId("COM013");
|
||||
model.addAttribute("emplyrSttusCode_result", cmmUseService.selectCmmCodeDetail(vo));
|
||||
//소속기관코드를 코드정보로부터 조회 - COM025
|
||||
vo.setCodeId("COM025");
|
||||
model.addAttribute("insttCode_result", cmmUseService.selectCmmCodeDetail(vo));
|
||||
//조직정보를 조회 - ORGNZT_ID정보
|
||||
vo.setTableNm("LETTNORGNZTINFO");
|
||||
model.addAttribute("orgnztId_result", cmmUseService.selectOgrnztIdDetail(vo));
|
||||
//그룹정보를 조회 - GROUP_ID정보
|
||||
vo.setTableNm("LETTNORGNZTINFO");
|
||||
model.addAttribute("groupId_result", cmmUseService.selectGroupIdDetail(vo));
|
||||
|
||||
UserManageVO userManageVO = new UserManageVO();
|
||||
userManageVO = userManageService.selectUser(uniqId);
|
||||
model.addAttribute("userSearchVO", userSearchVO);
|
||||
model.addAttribute("userManageVO", userManageVO);
|
||||
|
||||
if(userManageVO == null){
|
||||
/*redirectAttributes.addFlashAttribute("message", egovMessageSource.getMessage("fail.common.select"));
|
||||
RedirectUrlMaker redirectUrlMaker = new RedirectUrlMaker("/uss/umt/user/EgovUserManage.do");
|
||||
return redirectUrlMaker.getRedirectUrl();*/
|
||||
}
|
||||
|
||||
//권한조회
|
||||
AuthorManageVO authorManageVO = new AuthorManageVO();
|
||||
authorManageVO.setFirstIndex(0);
|
||||
authorManageVO.setLastIndex(10);
|
||||
authorManageVO.setRecordCountPerPage(10);
|
||||
authorManageVO.setAuthorSet("01");
|
||||
authorManageVO.setSearchSortCnd("sort_num");
|
||||
authorManageVO.setSearchSortOrd("desc");
|
||||
authorManageVO.setAuthorManageList(egovAuthorManageService.selectAuthorList(authorManageVO));
|
||||
model.addAttribute("authorList", authorManageVO.getAuthorManageList());
|
||||
//initRsa(request);
|
||||
|
||||
if("ROLE_ADMIN".equals(loginVO.getAuthority())) {
|
||||
model.addAttribute("isAdmin", "Y");
|
||||
UserManageVO userManageVO = new UserManageVO();
|
||||
userManageVO = userManageService.selectUser(uniqId);
|
||||
model.addAttribute("userSearchVO", userSearchVO);
|
||||
model.addAttribute("userManageVO", userManageVO);
|
||||
|
||||
if(userManageVO == null){
|
||||
/*redirectAttributes.addFlashAttribute("message", egovMessageSource.getMessage("fail.common.select"));
|
||||
RedirectUrlMaker redirectUrlMaker = new RedirectUrlMaker("/uss/umt/user/EgovUserManage.do");
|
||||
return redirectUrlMaker.getRedirectUrl();*/
|
||||
}
|
||||
|
||||
//권한조회
|
||||
AuthorManageVO authorManageVO = new AuthorManageVO();
|
||||
authorManageVO.setFirstIndex(0);
|
||||
authorManageVO.setLastIndex(10);
|
||||
authorManageVO.setRecordCountPerPage(10);
|
||||
authorManageVO.setAuthorSet("01");
|
||||
authorManageVO.setSearchSortCnd("sort_num");
|
||||
authorManageVO.setSearchSortOrd("desc");
|
||||
authorManageVO.setAuthorManageList(egovAuthorManageService.selectAuthorList(authorManageVO));
|
||||
model.addAttribute("authorList", authorManageVO.getAuthorManageList());
|
||||
//initRsa(request);
|
||||
|
||||
if("ROLE_ADMIN".equals(loginVO.getAuthority())) {
|
||||
model.addAttribute("isAdmin", "Y");
|
||||
}
|
||||
|
||||
if("ROLE_USER_MEMBER".equals(loginVO.getAuthority())) {
|
||||
model.addAttribute("isMember", "Y");
|
||||
}
|
||||
|
||||
//selectbox 미리 만들기
|
||||
LocVO locVO = new LocVO();
|
||||
locVO.setTopLocNo(topLocNo); //최상위 매뉴번호
|
||||
List<LocVO> orgHiddenList = orgChartManageService.selectOrgChartListAjax(locVO);
|
||||
String userOneDepth = "";
|
||||
String userTwoDepth = "";
|
||||
|
||||
if(null != userManageVO.getPartIdx()
|
||||
&& !"".equals(userManageVO.getPartIdx())
|
||||
) {
|
||||
for(LocVO tempLocVO : orgHiddenList) {
|
||||
if(userManageVO.getPartIdx().equals(tempLocVO.getId())){
|
||||
if(1==tempLocVO.getDepths()) { //1뎁스면 조회 안함
|
||||
userOneDepth = tempLocVO.getId();
|
||||
}else { //2뎁스면
|
||||
userTwoDepth = tempLocVO.getId() ;
|
||||
userOneDepth = tempLocVO.getParent() ;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
model.addAttribute("userOneDepth", userOneDepth);
|
||||
model.addAttribute("userTwoDepth", userTwoDepth);
|
||||
model.addAttribute("orgHiddenList", orgHiddenList);
|
||||
}catch(Exception ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
if("ROLE_USER_MEMBER".equals(loginVO.getAuthority())) {
|
||||
model.addAttribute("isMember", "Y");
|
||||
}
|
||||
|
||||
//selectbox 미리 만들기
|
||||
LocVO locVO = new LocVO();
|
||||
locVO.setTopLocNo(topLocNo); //최상위 매뉴번호
|
||||
List<LocVO> orgHiddenList = orgChartManageService.selectOrgChartListAjax(locVO);
|
||||
String userOneDepth = "";
|
||||
String userTwoDepth = "";
|
||||
|
||||
if(null != userManageVO.getPartIdx() && !"".equals(userManageVO.getPartIdx())) {
|
||||
for(LocVO tempLocVO : orgHiddenList) {
|
||||
if(userManageVO.getPartIdx().equals(tempLocVO.getId())){
|
||||
if(1==tempLocVO.getDepths()) { //1뎁스면 조회 안함
|
||||
userOneDepth = tempLocVO.getId();
|
||||
}else { //2뎁스면
|
||||
userTwoDepth = tempLocVO.getId() ;
|
||||
userOneDepth = tempLocVO.getParent() ;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
model.addAttribute("userOneDepth", userOneDepth);
|
||||
model.addAttribute("userTwoDepth", userTwoDepth);
|
||||
model.addAttribute("orgHiddenList", orgHiddenList);
|
||||
return "cmm/uss/umt/EgovUserSelectUpdt";
|
||||
}
|
||||
|
||||
@ -650,6 +683,9 @@ public class EgovUserManageController {
|
||||
mberManageVO = mberManageService.selectMber(uniqId) ;
|
||||
|
||||
model.addAttribute("userSearchVO", userSearchVO);
|
||||
|
||||
mberManageVO.setMberNm(egovCryptoUtil.decrypt(mberManageVO.getMberNm()));
|
||||
|
||||
model.addAttribute("mberManageVO", mberManageVO);
|
||||
|
||||
//권한조회
|
||||
@ -1212,6 +1248,20 @@ public class EgovUserManageController {
|
||||
}
|
||||
return "cmm/uss/umt/EgovMberConfigInsert";
|
||||
}
|
||||
|
||||
/* 회원이름 업데이트*/
|
||||
@RequestMapping("/uss/umt/EgovMberNameUpdateAjax.do")
|
||||
public ModelAndView updateMberNameUpdateAjax(@ModelAttribute("mberManageVO") MberManageVO mberManageVO) throws Exception {
|
||||
|
||||
ModelAndView modelAndView = new ModelAndView();
|
||||
modelAndView.setViewName("jsonView");
|
||||
|
||||
mberManageVO.setMberNm(egovCryptoUtil.encrypt(mberManageVO.getMberNm()));
|
||||
mberManageService.updateMberNm(mberManageVO);
|
||||
return modelAndView;
|
||||
|
||||
//userSearchVO.setSnsSiteName(egovCryptoUtil.encrypt(userSearchVO.getSearchKeyword()));
|
||||
}
|
||||
|
||||
/* 회원가입 설정 업데이트*/
|
||||
@RequestMapping("/uss/umt/EgovMberConfigUpdateAjax.do")
|
||||
@ -1540,7 +1590,7 @@ public class EgovUserManageController {
|
||||
|
||||
return "cmm/uss/umt/EgovMberSelectUpdtView";
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 일반회원정보 수정후 목록조회 화면으로 이동한다.
|
||||
* @param mberManageVO 일반회원수정정보
|
||||
|
||||
@ -40,7 +40,7 @@
|
||||
loc.DEPTHS + 1 AS DEPTHS ,
|
||||
sub_loc.FRST_REGIST_PNTTM ,
|
||||
sub_loc.LOC_ORDR ,
|
||||
CONCAT(loc.LOC_LPAD, ',', LPAD(sub_loc.LOC_ORDR, 5, 0)) AS LOC_LPAD ,
|
||||
loc.LOC_LPAD|| ','|| LPAD(sub_loc.LOC_ORDR, 5, 0) AS LOC_LPAD ,
|
||||
sub_loc.GW_STATUS
|
||||
FROM ITSM_LOC AS sub_loc
|
||||
INNER JOIN (
|
||||
@ -95,11 +95,11 @@
|
||||
loc.DEPTH + 1 AS DEPTH ,
|
||||
sub_loc.FRST_REGIST_PNTTM ,
|
||||
sub_loc.LOC_ORDR ,
|
||||
CONCAT(loc.LOC_LPAD,
|
||||
",",
|
||||
loc.LOC_LPAD||
|
||||
","||
|
||||
LPAD(sub_loc.LOC_ORDR,
|
||||
5,
|
||||
0)) AS LOC_LPAD ,
|
||||
0) AS LOC_LPAD ,
|
||||
sub_loc.GW_STATUS
|
||||
FROM
|
||||
ITSM_LOC AS sub_loc
|
||||
|
||||
@ -82,13 +82,16 @@
|
||||
sttus = #sbscrbSttus#
|
||||
</isNotEqual>
|
||||
<isEqual prepend="AND" property="searchCondition" compareValue="0">
|
||||
userId LIKE CONCAT('%',#searchKeyword#,'%')
|
||||
userId LIKE '%'||#searchKeyword#||'%'
|
||||
</isEqual>
|
||||
<isEqual prepend="AND" property="searchCondition" compareValue="1">
|
||||
userNm LIKE CONCAT('%',#searchKeyword#,'%')
|
||||
userNm LIKE '%'||#snsSiteName#||'%'
|
||||
</isEqual>
|
||||
<isEqual prepend="AND" property="searchCondition" compareValue="">
|
||||
( userNm LIKE CONCAT('%',#searchKeyword#,'%') OR userId LIKE CONCAT('%',#searchKeyword#,'%'))
|
||||
( userNm LIKE '%'||#searchKeyword#||'%'
|
||||
OR
|
||||
userId LIKE '%'||#searchKeyword#||'%'
|
||||
)
|
||||
</isEqual>
|
||||
ORDER BY 1
|
||||
<isNotEmpty property="searchSortCnd">
|
||||
|
||||
@ -159,7 +159,7 @@ function userListExcelDownload(){
|
||||
<p>총 건수 : <span><c:out value="${paginationInfo.totalRecordCount}" /></span>건</p>
|
||||
<div class="list_util">
|
||||
<select class="sel2 searchSel sel_type1" id="searchCondition" name="searchCondition" title="조회조건">
|
||||
<option value="" <c:if test="${empty userSearchVO.searchCondition }">selected="selected"</c:if> >전체</option>
|
||||
<%-- <option value="" <c:if test="${empty userSearchVO.searchCondition }">selected="selected"</c:if> >전체</option> --%>
|
||||
<option value="0" <c:if test="${userSearchVO.searchCondition == '0'}">selected="selected"</c:if> >아이디</option>
|
||||
<option value="1" <c:if test="${userSearchVO.searchCondition == '1'}">selected="selected"</c:if> >관리자명</option>
|
||||
</select>
|
||||
@ -180,15 +180,17 @@ function userListExcelDownload(){
|
||||
<div class="list tbType01">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 25%">
|
||||
<col style="width: 25%">
|
||||
<col style="width: 25%">
|
||||
<col style="width: 25%">
|
||||
<col style="width: 20%">
|
||||
<col style="width: 20%">
|
||||
<col style="width: 20%">
|
||||
<col style="width: 20%">
|
||||
<col style="width: 20%">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th><input type="checkbox" name="checkAll" id="checkAll" onclick="fnCheckAll();" /><label for="checkAll"></label></th>
|
||||
<th scope="col">번호<button class="sort sortBtn" id="sort_uniqId">▲</button></th>
|
||||
<th scope="col">이름<button class="sort sortBtn" id="sort_userNm">▲</button></th>
|
||||
<th scope="col">권한<button class="sort sortBtn" id="sort_authorCodeTxt">▲</button></th>
|
||||
<th scope="col">uniqueId<button class="sort sortBtn" id="sort_userId">▲</button></th>
|
||||
</tr>
|
||||
@ -208,16 +210,21 @@ function userListExcelDownload(){
|
||||
<c:out value="${(userSearchVO.pageIndex - 1) * userSearchVO.pageUnit + status.count}"/>
|
||||
</c:if>
|
||||
</td>
|
||||
<td>
|
||||
<a href="<c:url value='/uss/umt/user/EgovUserSelectUpdtView.do'/>?selectedId=<c:out value="${result.uniqid}"/>" onclick="javascript:fnSelectMber('<c:out value="${result.userty}"/>:<c:out value="${result.uniqid}"/>'); return false;">
|
||||
<span class="privateInfo"><c:out value="${result.usernm}"/></span>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<c:forEach items="${authorList}" var="authorResult" varStatus="status">
|
||||
<c:if test="${authorResult.authorCode eq result.authorCode}">
|
||||
<c:if test="${authorResult.authorCode eq result.authorcode}">
|
||||
${authorResult.authorNm}
|
||||
</c:if>
|
||||
</c:forEach>
|
||||
</td>
|
||||
<td>
|
||||
<a href="<c:url value='/uss/umt/user/EgovUserSelectUpdtView.do'/>?selectedId=<c:out value="${result.uniqId}"/>" onclick="javascript:fnSelectMber('<c:out value="${result.userTy}"/>:<c:out value="${result.uniqId}"/>'); return false;">
|
||||
<span class="privateInfo"><c:out value="${result.userId}"/></span>
|
||||
<a href="<c:url value='/uss/umt/user/EgovUserSelectUpdtView.do'/>?selectedId=<c:out value="${result.uniqid}"/>" onclick="javascript:fnSelectMber('<c:out value="${result.userty}"/>:<c:out value="${result.uniqid}"/>'); return false;">
|
||||
<span class="privateInfo"><c:out value="${result.uniqid}"/></span>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@ -103,8 +103,33 @@ function fnPasswordMove(){
|
||||
}
|
||||
|
||||
function fnUpdate(){
|
||||
var v_esntlId = $("#esntlId").val();
|
||||
var v_mberNm = $("#mberNm").val();
|
||||
|
||||
//alert(v_esntlId);
|
||||
//alert(v_mberNm);
|
||||
|
||||
//return ;
|
||||
|
||||
$.ajax({
|
||||
type:"POST",
|
||||
url:"<c:url value='/uss/umt/EgovMberNameUpdateAjax.do' />",
|
||||
data:{
|
||||
"uniqId": v_esntlId
|
||||
, "mberNm": v_mberNm
|
||||
},
|
||||
dataType:'json',
|
||||
success:function(returnData, status){
|
||||
if(status == "success") {
|
||||
}else{ alert("ERROR!");return;}
|
||||
},
|
||||
error:function(request , status, error){
|
||||
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
|
||||
}
|
||||
});
|
||||
|
||||
//가입설정으로 validateUserManageVO 처리 안함.
|
||||
var frm = document.mberManageVO ;
|
||||
//var frm = document.mberManageVO ;
|
||||
/* if(frm.mberNm.value == ''){
|
||||
alert("이름은 필수값입니다"); return ;
|
||||
}
|
||||
@ -186,20 +211,20 @@ function fnUpdate(){
|
||||
return ;
|
||||
} */
|
||||
|
||||
if(!valiConfig()){ //환경설정 체크
|
||||
return;
|
||||
}
|
||||
//if(!valiConfig()){ //환경설정 체크
|
||||
// return;
|
||||
//}
|
||||
|
||||
if(!confirm("수정하시겠습니까?")){
|
||||
return ;
|
||||
}
|
||||
//if(!confirm("수정하시겠습니까?")){
|
||||
//return ;
|
||||
//}
|
||||
|
||||
// <c:if test="${empty roleAdmin}">
|
||||
// var rsa = new RSAKey();
|
||||
// rsa.setPublic($('#RSAModulus').val(),$('#RSAExponent').val());
|
||||
// $("#rsaPasswd").val(rsa.encrypt($("#passwdCmp").val()));
|
||||
// </c:if>
|
||||
document.mberManageVO.submit();
|
||||
//document.mberManageVO.submit();
|
||||
}
|
||||
|
||||
function fn_egov_inqire_cert() {
|
||||
@ -344,7 +369,7 @@ function valiConfig(){ //설정 체크
|
||||
<%-- <input type="hidden" id="RSAExponent" value="${RSAExponent}"/> --%>
|
||||
|
||||
|
||||
<input type="hidden" name="mberNm" id="mberNm" value="1"/>
|
||||
<!-- <input type="hidden" name="mberNm" id="mberNm" value="1"/> -->
|
||||
<input type="hidden" name="mberEmailAdres" id="mberEmailAdres" value="1"/>
|
||||
|
||||
|
||||
@ -368,9 +393,8 @@ function valiConfig(){ //설정 체크
|
||||
<tr>
|
||||
<th><span class="reqArea">사용자유일키</span></th>
|
||||
<td colspan="3">
|
||||
<form:input path="mberId" id="mberId" size="50" maxlength="20" readonly="true" />
|
||||
<form:errors path="mberId" cssClass="error"/>
|
||||
<form:hidden path="uniqId" />
|
||||
<input type="text" name="esntlId" id="esntlId" value="<c:out value="${mberManageVO.uniqId}"/>" readonly/>
|
||||
|
||||
<%-- <select name="emplyrSttusCode" id="emplyrSttusCode" title="회원상태" style="width: 95px;">
|
||||
<c:forEach var="resultList" items="${emplyrSttusCodeList}" varStatus="status">
|
||||
<option value="<c:out value="${resultList.code}"/>"
|
||||
@ -398,17 +422,10 @@ function valiConfig(){ //설정 체크
|
||||
|
||||
|
||||
<tr>
|
||||
<th><span class="reqArea">권한</span></th>
|
||||
<th><span class="reqArea">이름</span></th>
|
||||
<td colspan="3">
|
||||
<select name="authorCode" id="authorCode" title="권한">
|
||||
<c:forEach var="authorResult" items="${authorList}" varStatus="status">
|
||||
<%-- <c:if test="${!('ROLE_GNRL_USER' eq authorResult.authorCode or 'ROLE_ANONYMOUS' eq authorResult.authorCode)}"> <!-- 사용자/방문자제외 --> --%>
|
||||
<option value="<c:out value="${authorResult.authorCode}"/>" <c:if test="${authorResult.authorCode eq mberManageVO.authorCode}">selected="selected"</c:if>>
|
||||
<c:out value="${authorResult.authorNm}"/>
|
||||
</option>
|
||||
<%-- </c:if> --%>
|
||||
</c:forEach>
|
||||
</select>
|
||||
<input type="text" name="mberNm" id="mberNm" value="<c:out value="${mberManageVO.mberNm}"/>"/>
|
||||
|
||||
<%-- <form:select path="authorCode" items="${authorList}" itemLabel="authorNm" itemValue="authorCode" /> --%>
|
||||
<%-- 215: <form:radiobuttons path="userType" items="${ userTypeList }" itemLabel="codeNm" itemValue="code" /> --%>
|
||||
</td>
|
||||
|
||||
@ -123,7 +123,18 @@ function usrIdPassFind(choose){
|
||||
<%-- <kc:profile value="local"> --%>
|
||||
개발자 아이디 선택 : <select id="devIdSelect" style="width: 400px; height: 30px;" onchange="login()">
|
||||
<option value="">로그인할 아이디를 선택해주세요.</option>
|
||||
|
||||
|
||||
<option value="3000118:1">공통 담당자1 (USRCNFRM_00000002620)_성인강사1</option>
|
||||
<option value="3000119:1">공통 담당자3 (USRCNFRM_00000002614)_성인강사2</option>
|
||||
|
||||
<option value="3000122:1">공통 담당자x (USRCNFRM_00000002610)_청소년강사1</option>
|
||||
<option value="3000120:1">사용자_김x호(USRCNFRM_00000002612)_청소년강사2</option>
|
||||
|
||||
|
||||
<option value="3000125:1">개발팀 사용자(USRCNFRM_00000002613)_일반사용자1</option>
|
||||
<option value="3000128:1">개발팀 사용자(USRCNFRM_00000002720)_일반사용자2</option>
|
||||
|
||||
<!--
|
||||
<option value="3000118:1">공통 담당자1 (USRCNFRM_00000002620)_우영두</option>
|
||||
<option value="3000116:1">공통 담당자2 (USRCNFRM_00000002611)_여현준</option>
|
||||
<option value="3000119:1">공통 담당자3 (USRCNFRM_00000002614)_원영현</option>
|
||||
@ -135,6 +146,7 @@ function usrIdPassFind(choose){
|
||||
<option value="3000128:1">개발팀 사용자(USRCNFRM_00000002720)_김지훈</option>
|
||||
<option value="3000127:1">개발팀 사용자(USRCNFRM_00000002630)_이소미</option>
|
||||
<option value="3000126:1">개발팀 사용자(USRCNFRM_00000002710)_최하연</option>
|
||||
-->
|
||||
<!--
|
||||
<option value="USRCNFRM_00000002620:1">공통 담당자1 (USRCNFRM_00000002620)_우영두</option>
|
||||
<option value="USRCNFRM_00000002611:1">공통 담당자2 (USRCNFRM_00000002611)_여현준</option>
|
||||
@ -151,6 +163,7 @@ function usrIdPassFind(choose){
|
||||
</select>
|
||||
<br></br>
|
||||
|
||||
<!--
|
||||
아이디 선택 : <select id="itnIdSelect" style="width: 400px; height: 30px;" onchange="actionLogin('Y')">
|
||||
<option value="">로그인할 아이디를 선택해주세요.</option>
|
||||
<option value="rosehips@naver.com:copyright123$">담당자1(USRCNFRM_00000002620)_우영두</option>
|
||||
@ -166,22 +179,9 @@ function usrIdPassFind(choose){
|
||||
<option value="soming90@nate.com:copyright123$">사용자_이x미(USRCNFRM_00000002630)_이소미</option>
|
||||
<option value="chylove0132@gmail.com:copyright123$">사용자_최x연(USRCNFRM_00000002710)_최하연</option>
|
||||
|
||||
<!--
|
||||
<option value="rosehips@naver.com:copyright123$">사용자_곽x태(USRCNFRM_00000002563)_우영두</option>
|
||||
<option value="yu3145@naver.com:copyright123$">담당자2 (USRCNFRM_00000002561)_여현준</option>
|
||||
<option value="wyh2010@naver.com:copyright123$">담당자3 (USRCNFRM_00000002562)_원영현</option>
|
||||
<option value="tolag3@gmail.com:copyright123$">담당자x (USRCNFRM_00000002560)_이준호</option>
|
||||
|
||||
<option value="peaceack@gmail.com:copyright123$">사용자_김x호(USRCNFRM_00000002564)_안주영</option>
|
||||
<option value="dlwldn1024@gmail.com:copyright123$">사용자_이x우(USRCNFRM_00000002570)_이지우</option>
|
||||
|
||||
<option value="dhgksk99@gmail.com:copyright123$">사용자_정x빈(USRCNFRM_00000002585)_정수빈</option>
|
||||
<option value="rownim@naver.com:copyright123$">사용자_김x훈(USRCNFRM_00000002590)_김지훈</option>
|
||||
<option value="soming90@nate.com:copyright123$">사용자_이x미(USRCNFRM_00000002591)_이소미</option>
|
||||
<option value="chylove0132@gmail.com:copyright123$">사용자_최x연(USRCNFRM_00000002592)_최하연</option>
|
||||
-->
|
||||
|
||||
</select>
|
||||
-->
|
||||
<br></br>
|
||||
<%-- </kc:profile> --%>
|
||||
<div class="login_form">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user