이준호 전자조저잇스템 커밋
- 법원연계 수정 요청 사항 적용중 - kccadrcourtConstatns 갱신
This commit is contained in:
parent
3fcc0835e0
commit
a2acf7e42b
@ -75,6 +75,27 @@ public class AdjCourtCnctnVO extends ComDefaultVO implements Serializable {
|
||||
|
||||
private String searchStatCd;
|
||||
|
||||
private String ckStsList[];
|
||||
private String ckStsListAll;
|
||||
|
||||
private String searchMonth;
|
||||
|
||||
private String searchStartDt;
|
||||
private String searchEndDt;
|
||||
|
||||
private String deptNmArr;
|
||||
|
||||
private String searchLoginId;
|
||||
|
||||
private String crtAllctDdlDeAdd1st;
|
||||
private String crtAllctDdlDeAdd2nd;
|
||||
|
||||
private int pageUnit = 50;
|
||||
|
||||
private int pageSize = 50;
|
||||
|
||||
private int recordCountPerPage = 50;
|
||||
|
||||
public String getCrtSeq() {
|
||||
return crtSeq;
|
||||
}
|
||||
@ -357,10 +378,78 @@ public class AdjCourtCnctnVO extends ComDefaultVO implements Serializable {
|
||||
public void setSearchStatCd(String searchStatCd) {
|
||||
this.searchStatCd = searchStatCd;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public String[] getCkStsList() {
|
||||
return ckStsList;
|
||||
}
|
||||
public void setCkStsList(String[] ckStsList) {
|
||||
this.ckStsList = ckStsList;
|
||||
}
|
||||
public String getCkStsListAll() {
|
||||
return ckStsListAll;
|
||||
}
|
||||
public void setCkStsListAll(String ckStsListAll) {
|
||||
this.ckStsListAll = ckStsListAll;
|
||||
}
|
||||
public String getSearchMonth() {
|
||||
return searchMonth;
|
||||
}
|
||||
public void setSearchMonth(String searchMonth) {
|
||||
this.searchMonth = searchMonth;
|
||||
}
|
||||
public String getSearchStartDt() {
|
||||
return searchStartDt;
|
||||
}
|
||||
public void setSearchStartDt(String searchStartDt) {
|
||||
this.searchStartDt = searchStartDt;
|
||||
}
|
||||
public String getSearchEndDt() {
|
||||
return searchEndDt;
|
||||
}
|
||||
public void setSearchEndDt(String searchEndDt) {
|
||||
this.searchEndDt = searchEndDt;
|
||||
}
|
||||
public String getDeptNmArr() {
|
||||
return deptNmArr;
|
||||
}
|
||||
public void setDeptNmArr(String deptNmArr) {
|
||||
this.deptNmArr = deptNmArr;
|
||||
}
|
||||
public String getSearchLoginId() {
|
||||
return searchLoginId;
|
||||
}
|
||||
public void setSearchLoginId(String searchLoginId) {
|
||||
this.searchLoginId = searchLoginId;
|
||||
}
|
||||
public String getCrtAllctDdlDeAdd1st() {
|
||||
return crtAllctDdlDeAdd1st;
|
||||
}
|
||||
public void setCrtAllctDdlDeAdd1st(String crtAllctDdlDeAdd1st) {
|
||||
this.crtAllctDdlDeAdd1st = crtAllctDdlDeAdd1st;
|
||||
}
|
||||
public String getCrtAllctDdlDeAdd2nd() {
|
||||
return crtAllctDdlDeAdd2nd;
|
||||
}
|
||||
public void setCrtAllctDdlDeAdd2nd(String crtAllctDdlDeAdd2nd) {
|
||||
this.crtAllctDdlDeAdd2nd = crtAllctDdlDeAdd2nd;
|
||||
}
|
||||
public int getPageUnit() {
|
||||
return pageUnit;
|
||||
}
|
||||
public void setPageUnit(int pageUnit) {
|
||||
this.pageUnit = pageUnit;
|
||||
}
|
||||
public int getPageSize() {
|
||||
return pageSize;
|
||||
}
|
||||
public void setPageSize(int pageSize) {
|
||||
this.pageSize = pageSize;
|
||||
}
|
||||
public int getRecordCountPerPage() {
|
||||
return recordCountPerPage;
|
||||
}
|
||||
public void setRecordCountPerPage(int recordCountPerPage) {
|
||||
this.recordCountPerPage = recordCountPerPage;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -31,6 +31,7 @@ public class AdjCourtDeptVO extends ComDefaultVO implements Serializable {
|
||||
private String emplyrId;
|
||||
private String userNm;
|
||||
private String pstinstCode;
|
||||
private String ofcpsNm;
|
||||
|
||||
public String getCrtAtchFileId() {
|
||||
return crtAtchFileId;
|
||||
@ -122,5 +123,12 @@ public class AdjCourtDeptVO extends ComDefaultVO implements Serializable {
|
||||
public void setPstinstCode(String pstinstCode) {
|
||||
this.pstinstCode = pstinstCode;
|
||||
}
|
||||
public String getOfcpsNm() {
|
||||
return ofcpsNm;
|
||||
}
|
||||
public void setOfcpsNm(String ofcpsNm) {
|
||||
this.ofcpsNm = ofcpsNm;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -60,6 +60,13 @@ public class AdjCourtAprvlController {
|
||||
model.addAttribute("msg", "로그인 해주세요.");
|
||||
return "redirect:/web/user/login/ssoLogin.do";
|
||||
}
|
||||
if("ROLE_COURT_ADMIN".equals(loginVO.getAuthority())
|
||||
&& "80".equals(loginVO.getOfcpsNm())) {
|
||||
|
||||
model.addAttribute("msg", "접근 할 수 없습니다.");
|
||||
return "redirect:/kccadr/adjCourtCnctn/adjCourtCnctnList.do";
|
||||
}
|
||||
|
||||
|
||||
if(adjCourtaprvlVO.getPageUnit() != 10) {
|
||||
adjCourtaprvlVO.setPageUnit(adjCourtaprvlVO.getPageUnit());
|
||||
@ -70,10 +77,7 @@ public class AdjCourtAprvlController {
|
||||
adjCourtaprvlVO.setSearchSortOrd("desc");
|
||||
}
|
||||
|
||||
//내부결재 목록 페이지 접근시 결재상태 - 결재대기(01), 결재진행중(02) 상태가 기본값으로 해달라는 요청_220225_이준호수정
|
||||
//내부결재 목록 페이지 접근시 결재상태 - 결재대기(01) 상태가 기본값으로 해달라는 요청_221201_조용준수정
|
||||
if("".equals(adjCourtaprvlVO.getSearchStatusArr()) || adjCourtaprvlVO.getSearchStatusArr() == null){
|
||||
//String[] defaultSearchStatusArr = {"01", "02"};
|
||||
String[] defaultSearchStatusArr = {"01"};
|
||||
adjCourtaprvlVO.setSearchStatusArr(defaultSearchStatusArr);
|
||||
}
|
||||
@ -82,6 +86,10 @@ public class AdjCourtAprvlController {
|
||||
adjCourtaprvlVO.setSearchStartDt(CmmUtil.getDiffMonth(1 , "yyyy-MM-dd"));
|
||||
adjCourtaprvlVO.setSearchEndDt(CmmUtil.getDateNow("yyyy-MM-dd"));
|
||||
}
|
||||
|
||||
if(StringUtils.isEmpty(adjCourtaprvlVO.getSearchMonth())) {
|
||||
adjCourtaprvlVO.setSearchMonth("3");
|
||||
}
|
||||
|
||||
/** paging */
|
||||
PaginationInfo paginationInfo = new PaginationInfo();
|
||||
|
||||
@ -1,13 +1,21 @@
|
||||
package kcc.kccadr.adjCourtCnctn.web;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.stream.Collectors;
|
||||
import java.util.Map;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpSession;
|
||||
|
||||
import org.apache.commons.lang.time.DateFormatUtils;
|
||||
import org.apache.commons.lang.time.DateUtils;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.ui.Model;
|
||||
import org.springframework.ui.ModelMap;
|
||||
import org.springframework.web.bind.annotation.ModelAttribute;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
@ -15,17 +23,29 @@ import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
||||
|
||||
import egovframework.rte.fdl.security.userdetails.util.EgovUserDetailsHelper;
|
||||
import egovframework.rte.psl.dataaccess.util.EgovMap;
|
||||
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
|
||||
import kcc.com.cmm.ComDefaultCodeVO;
|
||||
import kcc.com.cmm.LoginVO;
|
||||
import kcc.com.cmm.service.EgovCmmUseService;
|
||||
import kcc.com.cmm.service.EgovFileMngService;
|
||||
import kcc.com.cmm.service.FileVO;
|
||||
import kcc.com.cmm.util.RedirectUrlMaker;
|
||||
import kcc.com.cmm.util.StringUtil;
|
||||
import kcc.com.utl.fcc.service.EgovStringUtil;
|
||||
import kcc.kccadr.adjCourtCnctn.service.AdjCourtAppVO;
|
||||
import kcc.kccadr.adjCourtCnctn.service.AdjCourtCnctnService;
|
||||
import kcc.kccadr.adjCourtCnctn.service.AdjCourtCnctnVO;
|
||||
import kcc.kccadr.adjCourtCnctn.service.AdjCourtDeptVO;
|
||||
import kcc.kccadr.cmm.KccadrCourtConstants;
|
||||
import kcc.kccadr.cmm.RestResponse;
|
||||
import kcc.let.org.service.LocVO;
|
||||
import kcc.let.sec.ram.service.AuthorManageVO;
|
||||
import kcc.let.sec.ram.service.EgovAuthorManageService;
|
||||
import kcc.let.uat.uia.service.EgovLoginService;
|
||||
import kcc.let.uss.umt.service.EgovUserManageService;
|
||||
import kcc.let.uss.umt.service.UserDefaultVO;
|
||||
import kcc.let.uss.umt.service.UserManageVO;
|
||||
|
||||
/**
|
||||
*
|
||||
@ -52,9 +72,29 @@ public class AdjCourtCnctnController {
|
||||
@Resource(name = "EgovFileMngService")
|
||||
private EgovFileMngService fileService;
|
||||
|
||||
@Resource(name = "loginService")
|
||||
private EgovLoginService loginService;
|
||||
|
||||
@Resource(name = "userManageService")
|
||||
private EgovUserManageService userManageService;
|
||||
|
||||
/** cmmUseService */
|
||||
@Resource(name = "EgovCmmUseService")
|
||||
private EgovCmmUseService cmmUseService;
|
||||
|
||||
@Resource(name = "egovAuthorManageService")
|
||||
private EgovAuthorManageService egovAuthorManageService;
|
||||
|
||||
@Resource(name = "EgovFileMngService")
|
||||
private EgovFileMngService fileMngService;
|
||||
|
||||
@RequestMapping("/kccadr/adjCourtCnctn/adjCourtCnctnList.do")
|
||||
public String adjCourtCnctnList(@ModelAttribute("adjCourtCnctnVO") AdjCourtCnctnVO adjCourtCnctnVO, ModelMap model) throws Exception {
|
||||
|
||||
LoginVO loginVO = EgovUserDetailsHelper.isAuthenticated() ? (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser() : null;
|
||||
|
||||
if(loginVO != null && (KccadrCourtConstants.CRT_DEPT_ORDINARY).equals(loginVO.getOfcpsNm()))
|
||||
|
||||
adjCourtCnctnVO.setSearchStatCd("list");
|
||||
|
||||
if(adjCourtCnctnVO.getPageUnit() != 10) {
|
||||
@ -78,18 +118,25 @@ public class AdjCourtCnctnController {
|
||||
paginationInfo.setTotalRecordCount(adjCourtCnctnService.adjCourtCnctnListCount(adjCourtCnctnVO));
|
||||
model.addAttribute("paginationInfo", paginationInfo);
|
||||
|
||||
if(StringUtil.isEmpty(adjCourtCnctnVO.getSearchMonth())) {
|
||||
adjCourtCnctnVO.setSearchMonth("1");
|
||||
}
|
||||
|
||||
if (StringUtil.isEmpty(adjCourtCnctnVO.getSearchStartDt())) { // 조회일시가 null인경우
|
||||
Date today = new Date();
|
||||
int month = -1;
|
||||
if(StringUtil.isNotEmpty(adjCourtCnctnVO.getSearchMonth())) {
|
||||
month = -(Integer.valueOf(adjCourtCnctnVO.getSearchMonth()));
|
||||
}
|
||||
adjCourtCnctnVO.setSearchStartDt(DateFormatUtils.format(DateUtils.addMonths(today, month), "yyyyMMdd"));
|
||||
adjCourtCnctnVO.setSearchEndDt(DateFormatUtils.format(today, "yyyyMMdd"));
|
||||
|
||||
}
|
||||
|
||||
List<AdjCourtCnctnVO> list = adjCourtCnctnService.adjCourtCnctnList(adjCourtCnctnVO);
|
||||
|
||||
// try {
|
||||
// list = list.stream()
|
||||
// .filter(t -> t.getCrtStatCd() != null)
|
||||
// .filter(t -> Integer.parseInt(t.getCrtStatCd()) <= 201050)
|
||||
// .collect(Collectors.toList());
|
||||
// } catch (Exception e) {
|
||||
// System.out.println(e.getMessage());
|
||||
// }
|
||||
// 복호화
|
||||
model.addAttribute("deptNmArr", deptNmArr(list));
|
||||
|
||||
model.addAttribute("list", list);
|
||||
|
||||
return "kccadr/adjCourtCnctn/adjCourtCnctnList";
|
||||
@ -372,4 +419,174 @@ public class AdjCourtCnctnController {
|
||||
model.addAttribute("list", list);
|
||||
return "kccadr/adjCourtCnctn/adjCourtCnctnEndDetailTab1";
|
||||
}
|
||||
|
||||
|
||||
@RequestMapping("/kccadr/adjCourtCnctn/adjCourtSelectUserList.do")
|
||||
public String adjCourtSelectUserList(@ModelAttribute("userSearchVO") UserDefaultVO userSearchVO,
|
||||
ModelMap model,
|
||||
HttpServletRequest request,
|
||||
HttpSession session) throws Exception {
|
||||
{
|
||||
//일반관리자가 좌측의 매뉴의 관리자 관리 클릭시 리스트가 아닌 자신의 정보수정페이지로 리로딩.
|
||||
LoginVO loginVO = (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser();//최고관리자의 경우 비밀번호 확인 없음.
|
||||
loginVO.setId(loginVO.getId());
|
||||
if(!"ROLE_ADMIN".equals(loginService.getUserAuth(loginVO).getAuthority())){//최고관리자 아닐경우
|
||||
return "redirect:/EgovTopPageLink.do?link=/uss/umt/user/EgovUserSelectUpdtView.do?selectedId="+loginVO.getUniqId()+"&baseMenuNo=3500000" ;
|
||||
}
|
||||
}
|
||||
|
||||
if(userSearchVO.getPageUnit() != 10) {
|
||||
userSearchVO.setPageUnit(userSearchVO.getPageUnit());
|
||||
}
|
||||
|
||||
userSearchVO.setPageUnit(50);
|
||||
|
||||
/** 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.setCourtYn("Y");
|
||||
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());
|
||||
|
||||
return "kccadr/adjCourtCnctn/adjCourtUserList";
|
||||
}
|
||||
|
||||
@RequestMapping("/kccadr/adjCourtCnctn/adjCourtSelectUserDetail.do")
|
||||
public String adjCourtSelectUserDetail(@RequestParam("selectedId") String uniqId,
|
||||
@ModelAttribute("searchVO") UserDefaultVO userSearchVO,
|
||||
HttpServletRequest request,
|
||||
@RequestParam Map<String, Object> commandMap,
|
||||
Model model) throws Exception {
|
||||
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(StringUtils.isNotBlank(userManageVO.getAtchFileId())){
|
||||
FileVO fileVO = new FileVO();
|
||||
fileVO.setAtchFileId(userManageVO.getAtchFileId());
|
||||
List<FileVO> fileList = fileMngService.selectFileInfs(fileVO);
|
||||
model.addAttribute("fileList", fileList);
|
||||
}
|
||||
|
||||
//권한조회
|
||||
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);
|
||||
|
||||
LoginVO loginVO = (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser();
|
||||
|
||||
if(!"ROLE_ADMIN".equals(loginVO.getAuthority()) && !uniqId.equals(loginVO.getUniqId())) {
|
||||
/*return "/cmm/main/mainPage.do";*/
|
||||
RedirectUrlMaker redirectUrlMaker = new RedirectUrlMaker("/cmm/main/mainPage.do");
|
||||
return redirectUrlMaker.getRedirectUrl();
|
||||
}
|
||||
|
||||
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);
|
||||
return "kccadr/adjCourtCnctn/adjCourtUserDetail";
|
||||
}
|
||||
|
||||
|
||||
private List<Map<String, String>> deptNmArr(List<AdjCourtCnctnVO> list){
|
||||
List<Map<String, String>> tmp1 = new ArrayList<Map<String, String>>();
|
||||
if(list.stream().count() > 0) {
|
||||
String[] deptNmArr = list.get(0).getDeptNmArr().split("\\|");
|
||||
for(String tmp : deptNmArr) {
|
||||
String[] tmpArr = null;
|
||||
tmpArr = tmp.split("§");
|
||||
Map<String, String> tmpMap = new HashMap<String, String>();
|
||||
tmpMap.put("userNm", tmpArr[0]);
|
||||
tmpMap.put("esntlId", tmpArr[1]);
|
||||
|
||||
tmp1.add(tmpMap);
|
||||
}
|
||||
}
|
||||
return tmp1;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -16,4 +16,10 @@ public class KccadrCourtConstants {
|
||||
public static final String CRT_FILE_ADD = "20"; // 추가문건
|
||||
public static final String CRT_FILE_APP = "30"; // 기일문건
|
||||
public static final String CRT_FILE_ACTION = "40"; // 사무수행보고서
|
||||
|
||||
|
||||
|
||||
//법원연계 조정위원 OfcpsNm
|
||||
public static final String CRT_DEPT_GENERAL = "90";
|
||||
public static final String CRT_DEPT_ORDINARY = "80";
|
||||
}
|
||||
@ -13,6 +13,8 @@ import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
import java.util.stream.Collector;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
@ -59,6 +61,7 @@ import kcc.kccadr.adjPgrMgr.iam.service.InternalApprovManageService;
|
||||
import kcc.kccadr.adjPgrMgr.iam.service.InternalApprovManageVO;
|
||||
import kcc.kccadr.cmm.CmmUtil;
|
||||
import kcc.kccadr.cmm.KccadrConstants;
|
||||
import kcc.kccadr.cmm.KccadrCourtConstants;
|
||||
import kcc.let.cop.bbs.service.BoardVO;
|
||||
import kcc.let.cop.bbs.service.EgovBBSManageService;
|
||||
import kcc.let.sts.com.StatsVO;
|
||||
@ -381,9 +384,21 @@ public class EgovMainController {
|
||||
//menuManageVO.setMenuUserType("A"); //관리자만 조회
|
||||
//menuManageVO.setSiteId(user.getSiteId());
|
||||
List<?> list_headmenu = menuManageService.selectMainMenuHead(menuManageVO);
|
||||
model.addAttribute("list_headmenu", list_headmenu);
|
||||
|
||||
List<?> list_menulist = menuManageService.selectMainMenuLeft(menuManageVO);
|
||||
// List<?> list_menulist = menuManageService.selectMainMenuLeft(menuManageVO);
|
||||
List<Map<String, String>> list_menulist = (List<Map<String, String>>) menuManageService.selectMainMenuLeft(menuManageVO);
|
||||
|
||||
|
||||
if("ROLE_COURT_ADMIN".equals(user.getAuthority())
|
||||
&& (KccadrCourtConstants.CRT_DEPT_ORDINARY).equals(user.getOfcpsNm())) {
|
||||
list_menulist = list_menulist.stream()
|
||||
.filter(
|
||||
t -> !"/kccadr/adjCourtAprvl/aprvlList.do".equals(t.get("chkURL"))
|
||||
)
|
||||
.collect(Collectors.toList());
|
||||
}
|
||||
|
||||
model.addAttribute("list_headmenu", list_headmenu);
|
||||
model.addAttribute("list_menulist", list_menulist);
|
||||
|
||||
/*
|
||||
|
||||
@ -1576,10 +1576,11 @@ public class EgovSiteManagerController {
|
||||
|
||||
//로그인 세션 연장
|
||||
@RequestMapping("/sym/site/sessionExpendAjax.do")
|
||||
public ModelAndView sessionExpendAjax(SiteManagerVO siteManagerVO
|
||||
public ModelAndView sessionExpendAjax(SiteManagerVO siteManagerVO, HttpServletRequest request
|
||||
) throws Exception {
|
||||
ModelAndView modelAndView = new ModelAndView();
|
||||
modelAndView.setViewName("jsonView");
|
||||
request.getSession().setMaxInactiveInterval(60 * 60);
|
||||
return modelAndView;
|
||||
}
|
||||
|
||||
|
||||
@ -103,6 +103,8 @@ public class UserDefaultVO implements Serializable {
|
||||
|
||||
private String userNewBlock;
|
||||
|
||||
private String courtYn;
|
||||
|
||||
public String getUserTotailCount() {
|
||||
return userTotailCount;
|
||||
}
|
||||
@ -459,4 +461,14 @@ public class UserDefaultVO implements Serializable {
|
||||
public void setSearchSortOrd(String searchSortOrd) {
|
||||
this.searchSortOrd = searchSortOrd;
|
||||
}
|
||||
|
||||
public String getCourtYn() {
|
||||
return courtYn;
|
||||
}
|
||||
|
||||
public void setCourtYn(String courtYn) {
|
||||
this.courtYn = courtYn;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -9,6 +9,7 @@ import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import egovframework.rte.fdl.cmmn.EgovAbstractServiceImpl;
|
||||
import egovframework.rte.fdl.idgnr.EgovIdGnrService;
|
||||
import kcc.kccadr.cmm.KccadrCourtConstants;
|
||||
import kcc.let.sec.rgm.service.AuthorGroup;
|
||||
import kcc.let.sec.rgm.service.EgovAuthorGroupService;
|
||||
import kcc.let.sym.site.service.SiteManagerVO;
|
||||
@ -204,7 +205,7 @@ public class EgovUserManageServiceImpl extends EgovAbstractServiceImpl implement
|
||||
userManageVO.setPassword(pass);
|
||||
|
||||
int chkCourt_link_house_cnt = userManageDAO.selectUserCourtCnt(userManageVO);
|
||||
if(!"90".equals(userManageVO.getOfcpsNm())) {
|
||||
if(!(KccadrCourtConstants.CRT_DEPT_GENERAL).equals(userManageVO.getOfcpsNm())) {
|
||||
userManageVO.setInsttCode("00");
|
||||
}
|
||||
if(chkCourt_link_house_cnt > 0) {
|
||||
|
||||
@ -874,7 +874,11 @@ public class EgovUserManageController {
|
||||
//RedirectUrlMaker redirectUrlMaker = new RedirectUrlMaker("/uss/umt/user/EgovUserManage.do");
|
||||
RedirectUrlMaker redirectUrlMaker = new RedirectUrlMaker("/uss/umt/user/EgovUserSelectUpdtView.do?selectedId="+loginService.getUserAuth(tempUser).getId());
|
||||
return redirectUrlMaker.getRedirectUrl();
|
||||
}else {
|
||||
}else if("ROLE_COURT_ADMIN".equals(userManageVO.getAuthorCode())) {
|
||||
RedirectUrlMaker redirectUrlMaker = new RedirectUrlMaker("/kccadr/adjCourtCnctn/adjCourtSelectUserList.do");
|
||||
return redirectUrlMaker.getRedirectUrl();
|
||||
}
|
||||
else {
|
||||
RedirectUrlMaker redirectUrlMaker = new RedirectUrlMaker("/uss/umt/user/EgovUserManage.do");
|
||||
return redirectUrlMaker.getRedirectUrl();
|
||||
}
|
||||
|
||||
@ -8,6 +8,93 @@
|
||||
<typeAlias alias="adjCourtaprvlVO" type="kcc.kccadr.adjCourtCnctn.service.AdjCourtaprvlVO"/>
|
||||
<typeAlias alias="adjCourtAppVO" type="kcc.kccadr.adjCourtCnctn.service.AdjCourtAppVO"/>
|
||||
|
||||
<sql id="adjCourtCnctnDAO.adjCourtCnctnListSql">
|
||||
FROM adr_court_mgr a
|
||||
LEFT JOIN
|
||||
(SELECT t1.crt_seq,
|
||||
t1.esntl_id,
|
||||
t1.crt_dept_ty,
|
||||
t2.user_nm
|
||||
FROM adr_court_dept_mgr t1
|
||||
LEFT JOIN lettnemplyrinfo t2
|
||||
ON t1.esntl_id = t2.esntl_id
|
||||
WHERE t1.crt_dept_ty = '20'
|
||||
)
|
||||
b
|
||||
ON a.crt_seq = b.crt_seq
|
||||
, (SELECT GROUP_CONCAT(DISTINCT t2.user_nm separator '|') AS user_nm
|
||||
FROM adr_court_dept_mgr t1
|
||||
LEFT JOIN (
|
||||
SELECT CONCAT(tt1.user_nm, '§',tt1.esntl_id) AS user_nm,
|
||||
tt1.esntl_id
|
||||
FROM lettnemplyrinfo tt1
|
||||
) t2
|
||||
ON t1.esntl_id = t2.esntl_id
|
||||
WHERE t1.crt_dept_ty = '20'
|
||||
)
|
||||
c
|
||||
WHERE 1=1
|
||||
<isNotEmpty property="searchCondition">
|
||||
|
||||
<isEqual property="searchCondition" prepend="AND" compareValue="10">
|
||||
/*조정 사건번호*/
|
||||
crt_ori_no LIKE CONCAT('%' , #searchKeyword#, '%')
|
||||
</isEqual>
|
||||
<isEqual property="searchCondition" prepend="AND" compareValue="20">
|
||||
/*본사건번호*/
|
||||
crt_no LIKE CONCAT('%' , #searchKeyword#, '%')
|
||||
</isEqual>
|
||||
</isNotEmpty>
|
||||
|
||||
<isEqual property="searchMonth" compareValue="99">
|
||||
/*날짜 검색 - 기간지정*/
|
||||
<isNotEmpty prepend="AND" property="searchStartDt">
|
||||
TO_CHAR(crt_allct_de,'YYYYMMDD') <![CDATA[ >= ]]> REPLACE(#searchStartDt#, '-' , '')
|
||||
</isNotEmpty>
|
||||
|
||||
<isNotEmpty prepend="AND" property="searchEndDt">
|
||||
TO_CHAR(crt_allct_de,'YYYYMMDD')<![CDATA[ <= ]]> REPLACE(#searchEndDt#, '-' , '')
|
||||
</isNotEmpty>
|
||||
</isEqual>
|
||||
|
||||
<isEqual property="searchMonth" compareValue="1">
|
||||
/*날짜 검색 - 1개월 전까지*/
|
||||
<isNotEmpty prepend="AND" property="diffMonth">
|
||||
TO_CHAR(crt_allct_de,'YYYYMMDD') <![CDATA[ >= ]]> REPLACE(#diffMonth#, '-' , '')
|
||||
</isNotEmpty>
|
||||
</isEqual>
|
||||
|
||||
<isEqual property="searchMonth" compareValue="2">
|
||||
/*날짜 검색 - 3개월 전까지*/
|
||||
<isNotEmpty prepend="AND" property="diffMonth">
|
||||
TO_CHAR(crt_allct_de,'YYYYMMDD') <![CDATA[ >= ]]> REPLACE(#diffMonth#, '-' , '')
|
||||
</isNotEmpty>
|
||||
</isEqual>
|
||||
<isNotEmpty prepend="AND" property="searchStatCd">
|
||||
crt_stat_cd
|
||||
<isEqual property="searchStatCd" compareValue="list">
|
||||
<![CDATA[ <= ]]> 201050
|
||||
</isEqual>
|
||||
<isEqual property="searchStatCd" compareValue="endList">
|
||||
<![CDATA[ > ]]> 201050
|
||||
</isEqual>
|
||||
</isNotEmpty>
|
||||
AND crt_stat_cd IS NOT NULL
|
||||
|
||||
<isEmpty property="ckStsListAll" >
|
||||
<isNotEmpty property="ckStsList">
|
||||
<iterate open="(" close=")" conjunction="," property="ckStsList" prepend="AND a.crt_stat_cd IN " > #ckStsList[]# </iterate>
|
||||
</isNotEmpty>
|
||||
</isEmpty>
|
||||
<isNotEmpty property="searchLoginId" >
|
||||
<isNotEqual property="searchLoginId" compareValue="all" prepend="AND" >
|
||||
b.esntl_id = #searchLoginId#
|
||||
</isNotEqual>
|
||||
</isNotEmpty>
|
||||
|
||||
|
||||
</sql>
|
||||
|
||||
|
||||
<select id="adjCourtCnctnDAO.adjCourtCnctnList" parameterClass="adjCourtCnctnVO" resultClass="adjCourtCnctnVO">
|
||||
|
||||
@ -44,139 +131,19 @@
|
||||
a.crt_end_rslt as crtEndRslt,
|
||||
a.crt_end_rslt_detail as crtEndRsltDetail,
|
||||
a.crt_end_de as crtEndDe,
|
||||
b.user_nm AS deptNm
|
||||
FROM adr_court_mgr a
|
||||
LEFT JOIN
|
||||
(SELECT t1.crt_seq,
|
||||
t1.esntl_id,
|
||||
t1.crt_dept_ty,
|
||||
t2.user_nm
|
||||
FROM adr_court_dept_mgr t1
|
||||
LEFT JOIN lettnemplyrinfo t2
|
||||
ON t1.esntl_id = t2.esntl_id
|
||||
WHERE t1.crt_dept_ty = '20'
|
||||
)
|
||||
b
|
||||
ON a.crt_seq = b.crt_seq
|
||||
WHERE 1=1
|
||||
/*조정 사건번호*/
|
||||
<isEqual property="searchCondition" prepend="AND" compareValue="10">
|
||||
crt_ori_no LIKE CONCAT('%' , #searchKeyword#, '%')
|
||||
</isEqual>
|
||||
a.crt_allct_ddl_de_add1st as crtAllctDdlDeAdd1st,
|
||||
a.crt_allct_ddl_de_add2nd as crtAllctDdlDeAdd2nd,
|
||||
b.user_nm AS deptNm,
|
||||
c.user_nm AS deptNmArr
|
||||
|
||||
/*본사건번호*/
|
||||
<isEqual property="searchCondition" prepend="AND" compareValue="20">
|
||||
crt_no LIKE CONCAT('%' , #searchKeyword#, '%')
|
||||
</isEqual>
|
||||
|
||||
/*날짜 검색 - 기간지정*/
|
||||
<isEqual property="searchMonth2" compareValue="99">
|
||||
<isNotEmpty prepend="AND" property="searchStartDt">
|
||||
TO_CHAR(crt_allct_de,'YYYYMMDD') <![CDATA[ >= ]]> REPLACE(#searchStartDt#, '-' , '')
|
||||
</isNotEmpty>
|
||||
|
||||
<isNotEmpty prepend="AND" property="searchEndDt">
|
||||
TO_CHAR(crt_allct_de,'YYYYMMDD')<![CDATA[ <= ]]> REPLACE(#searchEndDt#, '-' , '')
|
||||
</isNotEmpty>
|
||||
</isEqual>
|
||||
/*날짜 검색 - 1개월 전까지*/
|
||||
<!-- <isEqual property="searchMonth2" compareValue="1">
|
||||
<isNotEmpty prepend="AND" property="diffMonth">
|
||||
TO_CHAR(DCSN_DE,'YYYYMMDD') <![CDATA[ >= ]]> REPLACE(#diffMonth#, '-' , '')
|
||||
</isNotEmpty>
|
||||
</isEqual> -->
|
||||
/*날짜 검색 - 3개월 전까지*/
|
||||
<!-- <isEqual property="searchMonth2" compareValue="3">
|
||||
<isNotEmpty prepend="AND" property="diffMonth">
|
||||
TO_CHAR(DCSN_DE,'YYYYMMDD') <![CDATA[ >= ]]> REPLACE(#diffMonth#, '-' , '')
|
||||
</isNotEmpty>
|
||||
</isEqual> -->
|
||||
/*날짜 검색 - 6개월 전까지*/
|
||||
<!-- <isEqual property="searchMonth2" compareValue="6">
|
||||
<isNotEmpty prepend="AND" property="diffMonth">
|
||||
TO_CHAR(DCSN_DE,'YYYYMMDD') <![CDATA[ >= ]]> REPLACE(#diffMonth#, '-' , '')
|
||||
</isNotEmpty>
|
||||
</isEqual> -->
|
||||
<isNotEmpty prepend="AND" property="searchStatCd">
|
||||
crt_stat_cd
|
||||
<isEqual property="searchStatCd" compareValue="list">
|
||||
<![CDATA[ <= ]]> 201050
|
||||
</isEqual>
|
||||
<isEqual property="searchStatCd" compareValue="endList">
|
||||
<![CDATA[ > ]]> 201050
|
||||
</isEqual>
|
||||
</isNotEmpty>
|
||||
AND crt_stat_cd IS NOT NULL
|
||||
|
||||
<include refid="adjCourtCnctnDAO.adjCourtCnctnListSql"></include>
|
||||
ORDER BY a.frst_regist_pnttm desc
|
||||
LIMIT #recordCountPerPage# OFFSET #firstIndex#
|
||||
</select>
|
||||
<select id="adjCourtCnctnDAO.adjCourtCnctnListCount" parameterClass="adjCourtCnctnVO" resultClass="Integer">
|
||||
SELECT
|
||||
COUNT(1) AS TOT
|
||||
FROM adr_court_mgr a
|
||||
LEFT JOIN
|
||||
(SELECT t1.crt_seq,
|
||||
t1.esntl_id,
|
||||
t1.crt_dept_ty,
|
||||
t2.user_nm
|
||||
FROM adr_court_dept_mgr t1
|
||||
LEFT JOIN lettnemplyrinfo t2
|
||||
ON t1.esntl_id = t2.esntl_id
|
||||
WHERE t1.crt_dept_ty = '20'
|
||||
)
|
||||
b
|
||||
ON a.crt_seq = b.crt_seq
|
||||
WHERE 1=1
|
||||
/*조정 사건번호*/
|
||||
<isEqual property="searchCondition" prepend="AND" compareValue="10">
|
||||
crt_ori_no LIKE CONCAT('%' , #searchKeyword#, '%')
|
||||
</isEqual>
|
||||
|
||||
/*본사건번호*/
|
||||
<isEqual property="searchCondition" prepend="AND" compareValue="20">
|
||||
crt_no LIKE CONCAT('%' , #searchKeyword#, '%')
|
||||
</isEqual>
|
||||
|
||||
/*날짜 검색 - 기간지정*/
|
||||
<isEqual property="searchMonth2" compareValue="99">
|
||||
<isNotEmpty prepend="AND" property="searchStartDt">
|
||||
TO_CHAR(crt_allct_de,'YYYYMMDD') <![CDATA[ >= ]]> REPLACE(#searchStartDt#, '-' , '')
|
||||
</isNotEmpty>
|
||||
|
||||
<isNotEmpty prepend="AND" property="searchEndDt">
|
||||
TO_CHAR(crt_allct_de,'YYYYMMDD')<![CDATA[ <= ]]> REPLACE(#searchEndDt#, '-' , '')
|
||||
</isNotEmpty>
|
||||
</isEqual>
|
||||
/*날짜 검색 - 1개월 전까지*/
|
||||
<!-- <isEqual property="searchMonth2" compareValue="1">
|
||||
<isNotEmpty prepend="AND" property="diffMonth">
|
||||
TO_CHAR(DCSN_DE,'YYYYMMDD') <![CDATA[ >= ]]> REPLACE(#diffMonth#, '-' , '')
|
||||
</isNotEmpty>
|
||||
</isEqual> -->
|
||||
/*날짜 검색 - 3개월 전까지*/
|
||||
<!-- <isEqual property="searchMonth2" compareValue="3">
|
||||
<isNotEmpty prepend="AND" property="diffMonth">
|
||||
TO_CHAR(DCSN_DE,'YYYYMMDD') <![CDATA[ >= ]]> REPLACE(#diffMonth#, '-' , '')
|
||||
</isNotEmpty>
|
||||
</isEqual> -->
|
||||
/*날짜 검색 - 6개월 전까지*/
|
||||
<!-- <isEqual property="searchMonth2" compareValue="6">
|
||||
<isNotEmpty prepend="AND" property="diffMonth">
|
||||
TO_CHAR(DCSN_DE,'YYYYMMDD') <![CDATA[ >= ]]> REPLACE(#diffMonth#, '-' , '')
|
||||
</isNotEmpty>
|
||||
</isEqual> -->
|
||||
|
||||
<isNotEmpty prepend="AND" property="searchStatCd">
|
||||
crt_stat_cd
|
||||
<isEqual property="searchStatCd" compareValue="list">
|
||||
<![CDATA[ <= ]]> 201050
|
||||
</isEqual>
|
||||
<isEqual property="searchStatCd" compareValue="endList">
|
||||
<![CDATA[ > ]]> 201050
|
||||
</isEqual>
|
||||
</isNotEmpty>
|
||||
AND crt_stat_cd IS NOT NULL
|
||||
|
||||
<include refid="adjCourtCnctnDAO.adjCourtCnctnListSql"></include>
|
||||
</select>
|
||||
|
||||
|
||||
@ -209,6 +176,8 @@
|
||||
crt_link_house,
|
||||
crt_stat_cd,
|
||||
crt_agrment,
|
||||
crt_allct_ddl_de_add1st,
|
||||
crt_allct_ddl_de_add2nd,
|
||||
frst_regist_pnttm,
|
||||
frst_register_id
|
||||
)
|
||||
@ -239,6 +208,8 @@
|
||||
#crtLinkHouse#,
|
||||
#crtStatCd#,
|
||||
#crtAgrment# ,
|
||||
#crtAllctDdlDeAdd1st#,
|
||||
#crtAllctDdlDeAdd2nd#,
|
||||
NOW() ,
|
||||
#frstRegisterId#
|
||||
)
|
||||
@ -282,7 +253,9 @@
|
||||
b.user_nm AS crtDeptKng,
|
||||
b.esntl_id AS esntlId,
|
||||
c.user_nm AS crtDeptOrdi,
|
||||
a.crt_end_de as crtEndDe
|
||||
a.crt_end_de as crtEndDe,
|
||||
a.crt_allct_ddl_de_add1st as crtAllctDdlDeAdd1st,
|
||||
a.crt_allct_ddl_de_add2nd as crtAllctDdlDeAdd2nd
|
||||
FROM adr_court_mgr a
|
||||
LEFT JOIN
|
||||
(SELECT t1.crt_seq,
|
||||
@ -376,14 +349,25 @@
|
||||
|
||||
MERGE INTO ADR_COURT_DEPT_MGR T1 USING DB_ROOT
|
||||
ON (
|
||||
T1.CRT_SEQ = #crtSeq#
|
||||
AND T1.ESNTL_ID = #esntlId#
|
||||
T1.CRT_SEQ = #crtSeq#
|
||||
<isEqual property="ofcpsNm" compareValue="80">
|
||||
AND T1.CRT_DEPT_TY = '20'
|
||||
</isEqual>
|
||||
<isEqual property="ofcpsNm" compareValue="90">
|
||||
AND T1.CRT_DEPT_TY = '10'
|
||||
</isEqual>
|
||||
<!-- AND T1.CRT_DEPT_TY = '20' -->
|
||||
)
|
||||
WHEN MATCHED THEN
|
||||
UPDATE SET
|
||||
CRT_SEQ = #crtSeq#
|
||||
, ESNTL_ID = #esntlId#
|
||||
, CRT_DEPT_TY = #pstinstCode#
|
||||
<isEqual property="ofcpsNm" compareValue="80">
|
||||
, CRT_DEPT_TY = '20'
|
||||
</isEqual>
|
||||
<isEqual property="ofcpsNm" compareValue="90">
|
||||
, CRT_DEPT_TY = '10'
|
||||
</isEqual>
|
||||
, LAST_UPDT_PNTTM = NOW()
|
||||
, LAST_UPDUSR_ID = #lastUpdusrId#
|
||||
WHEN NOT MATCHED THEN
|
||||
@ -396,7 +380,12 @@
|
||||
) VALUES (
|
||||
#crtSeq#
|
||||
, #esntlId#
|
||||
, #pstinstCode#
|
||||
<isEqual property="ofcpsNm" compareValue="80">
|
||||
,'20'
|
||||
</isEqual>
|
||||
<isEqual property="ofcpsNm" compareValue="90">
|
||||
,'10'
|
||||
</isEqual>
|
||||
, NOW()
|
||||
, #frstRegisterId#
|
||||
)
|
||||
@ -464,12 +453,12 @@
|
||||
</insert>
|
||||
|
||||
<select id="adjCourtCnctnDAO.selectAdjCourtCnctniDeptPop" resultClass="adjCourtDeptVO">
|
||||
SELECT a.emplyr_id AS emplyrId,
|
||||
a.user_nm AS userNm,
|
||||
a.esntl_id AS esntlId,
|
||||
a.pstinst_code AS pstinstCode
|
||||
SELECT a.emplyr_id AS emplyrId,
|
||||
a.user_nm AS userNm,
|
||||
a.esntl_id AS esntlId,
|
||||
a.ofcps_nm AS ofcpsNm
|
||||
FROM lettnemplyrinfo a
|
||||
WHERE a.pstinst_code = '20'
|
||||
WHERE a.ofcps_nm = '80'
|
||||
</select>
|
||||
|
||||
<insert id="adjCourtAprvlDAO.insertAprvlReg" parameterClass="adjCourtaprvlVO">
|
||||
@ -928,6 +917,8 @@
|
||||
crt_cc_ty = #crtCcTy#,
|
||||
crt_link_house = #crtLinkHouse#,
|
||||
crt_agrment = #crtAgrment#,
|
||||
crt_allct_ddl_de_add1st = #crtAllctDdlDeAdd1st#,
|
||||
crt_allct_ddl_de_add2nd = #crtAllctDdlDeAdd2nd#,
|
||||
last_updt_pnttm = NOW(),
|
||||
last_updusr_id = #lastUpdusrId#
|
||||
WHERE
|
||||
|
||||
@ -395,8 +395,8 @@
|
||||
left join ADR_MEM_DEPT_MGR_PST AMDMP on
|
||||
AMD.MEM_DEPT_SEQ = AMDMP.MEM_PST_SEQ
|
||||
left join ADR_ASS_MGR_PST AAMP on
|
||||
<!-- AMD.ADR_ADM_ID = AAMP.ASS_PST_SEQ -->
|
||||
AMD.ADR_SEQ = AAMP.ADR_SEQ
|
||||
AMD.ADR_ADM_ID = AAMP.ASS_PST_SEQ
|
||||
<!-- AMD.ADR_SEQ = AAMP.ADR_SEQ -->
|
||||
where AMD.ADR_SEQ= #adrSeq#
|
||||
</select>
|
||||
|
||||
@ -918,7 +918,7 @@
|
||||
LEFT JOIN ADR_MGR_DETAIL amd
|
||||
ON amm.ADR_SEQ = amd.ADR_SEQ
|
||||
LEFT JOIN ADR_ASS_MGR_PST aamp
|
||||
ON amd.adr_seq = aamp.adr_seq
|
||||
ON amd.ADR_ADM_ID = aamp.ASS_PST_SEQ
|
||||
LEFT JOIN ADR_MEM_DEPT_MGR_PST amdm
|
||||
ON amd.MEM_DEPT_SEQ = amdm.MEM_PST_SEQ
|
||||
LEFT JOIN ADR_HSTRY ah
|
||||
@ -1001,7 +1001,7 @@
|
||||
LEFT JOIN ADR_MGR_DETAIL amd
|
||||
ON amm.ADR_SEQ = amd.ADR_SEQ
|
||||
LEFT JOIN ADR_ASS_MGR_PST aamp
|
||||
ON amd.adr_seq = aamp.adr_seq
|
||||
ON amd.ADR_ADM_ID = aamp.ASS_PST_SEQ
|
||||
LEFT JOIN ADR_MEM_DEPT_MGR_PST amdm
|
||||
ON amd.MEM_DEPT_SEQ = amdm.MEM_PST_SEQ
|
||||
LEFT JOIN ADR_HSTRY ah
|
||||
|
||||
@ -82,6 +82,12 @@
|
||||
<isNotEmpty property="searchConditionSite">
|
||||
AND A.siteId = #searchConditionSite#
|
||||
</isNotEmpty>
|
||||
<isNotEmpty property="courtYn">
|
||||
<isEqual property="courtYn" compareValue="Y">
|
||||
AND B.AUTHOR_CODE = 'ROLE_COURT_ADMIN'
|
||||
</isEqual>
|
||||
</isNotEmpty>
|
||||
|
||||
ORDER BY 1=1
|
||||
<isNotEmpty property="searchSortCnd">
|
||||
,$searchSortCnd$
|
||||
|
||||
@ -332,11 +332,11 @@
|
||||
</colgroup>
|
||||
<tbody class="border_0">
|
||||
<tr>
|
||||
<th>결정일자</th>
|
||||
<th>법원결정일</th>
|
||||
<td>
|
||||
<c:out value="${fn:substring(courtVO.crtDcsnDe, 0, 10)}"/>
|
||||
</td>
|
||||
<th>수령일자</th>
|
||||
<th>메일수신일(사건기록)</th>
|
||||
<td>
|
||||
<c:out value="${fn:substring(courtVO.crtRcptDe, 0, 10)}"/>
|
||||
</td>
|
||||
@ -352,7 +352,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>보고일자</th>
|
||||
<th>사무수행보고일</th>
|
||||
<td>
|
||||
<c:out value="${fn:substring(courtVO.crtRprtDe, 0, 10)}"/>
|
||||
</td>
|
||||
@ -434,7 +434,7 @@
|
||||
<tr>
|
||||
<th>분야</th>
|
||||
<td>
|
||||
<kc:code codeId="CC002" code="${courtVO.crtCcTy}" />
|
||||
<kc:code codeId="CC705" code="${courtVO.crtCcTy}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@ -75,9 +75,7 @@
|
||||
}
|
||||
|
||||
function setSearchMonthDate(month){
|
||||
if(month == undefined || month == ""){
|
||||
month = '${adjCourtaprvlVO.searchMonth}';
|
||||
}
|
||||
month = '${adjCourtaprvlVO.searchMonth}';
|
||||
|
||||
//현재날짜
|
||||
var now = new Date();
|
||||
|
||||
@ -126,17 +126,20 @@ function endAfterPop(){
|
||||
</colgroup>
|
||||
<tbody class="border_0">
|
||||
<tr>
|
||||
<th>결정일자</th>
|
||||
<!-- <th>법원결정일</th> -->
|
||||
<th>법원결정일</th>
|
||||
<td>
|
||||
<c:out value="${fn:substring(courtVO.crtDcsnDe, 0, 10)}"/>
|
||||
</td>
|
||||
<th>수령일자</th>
|
||||
<!-- <th>메일수신일(사건기록)</th> -->
|
||||
<th>메일수신일(사건기록)(사건기록)</th>
|
||||
<td>
|
||||
<c:out value="${fn:substring(courtVO.crtRcptDe, 0, 10)}"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>배당일자</th>
|
||||
<!-- <th>배당일자</th> -->
|
||||
<th>배당일(위원지정)</th>
|
||||
<td>
|
||||
<c:out value="${fn:substring(courtVO.crtAllctDe, 0, 10)}"/>
|
||||
</td>
|
||||
@ -146,22 +149,33 @@ function endAfterPop(){
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>보고일자</th>
|
||||
<!-- <th>배당일자</th> -->
|
||||
<th>기한연장(1차)</th>
|
||||
<td>
|
||||
<c:out value="${fn:substring(courtVO.crtAllctDdlDeAdd1st, 0, 10)}"/>
|
||||
</td>
|
||||
<th>기한연장(2차)</th>
|
||||
<td>
|
||||
<c:out value="${fn:substring(courtVO.crtAllctDdlDeAdd2nd, 0, 10)}"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<!-- <th>사무수행보고일</th> -->
|
||||
<th>사무수행보고일</th>
|
||||
<td>
|
||||
<c:out value="${fn:substring(courtVO.crtRprtDe, 0, 10)}"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>조정 사건번호</th>
|
||||
<td>
|
||||
<c:out value="${courtVO.crtNo}"/>
|
||||
</td>
|
||||
<th>본 사건번호</th>
|
||||
<td>
|
||||
<c:out value="${courtVO.crtOriNo}"/>
|
||||
[<kc:code codeId="CC701" code="${courtVO.crtLinkHouse}" />]
|
||||
</td>
|
||||
<th>조정 사건번호</th>
|
||||
<td>
|
||||
<c:out value="${courtVO.crtNo}"/>
|
||||
<!-- <input type="text" id="crtNo" name="crtNo" /> -->
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>총괄조정위원</th>
|
||||
@ -231,7 +245,7 @@ function endAfterPop(){
|
||||
<tr>
|
||||
<th>분야</th>
|
||||
<td>
|
||||
<kc:code codeId="CC002" code="${courtVO.crtCcTy}" />
|
||||
<kc:code codeId="CC705" code="${courtVO.crtCcTy}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@ -127,11 +127,11 @@ function endAfterPop(){
|
||||
</colgroup>
|
||||
<tbody class="border_0">
|
||||
<tr>
|
||||
<th>결정일자</th>
|
||||
<th>법원결정일</th>
|
||||
<td>
|
||||
<c:out value="${fn:substring(courtVO.crtDcsnDe, 0, 10)}"/>
|
||||
</td>
|
||||
<th>수령일자</th>
|
||||
<th>메일수신일(사건기록)</th>
|
||||
<td>
|
||||
<c:out value="${fn:substring(courtVO.crtRcptDe, 0, 10)}"/>
|
||||
</td>
|
||||
@ -147,7 +147,7 @@ function endAfterPop(){
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>보고일자</th>
|
||||
<th>사무수행보고일</th>
|
||||
<td>
|
||||
<c:out value="${fn:substring(courtVO.crtRprtDe, 0, 10)}"/>
|
||||
</td>
|
||||
@ -232,7 +232,7 @@ function endAfterPop(){
|
||||
<tr>
|
||||
<th>분야</th>
|
||||
<td>
|
||||
<kc:code codeId="CC002" code="${courtVO.crtCcTy}" />
|
||||
<kc:code codeId="CC705" code="${courtVO.crtCcTy}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@ -7,6 +7,7 @@
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<%@ taglib prefix="un" uri="http://jakarta.apache.org/taglibs/unstandard-1.0" %>
|
||||
<c:set var="now" value="<%=new java.util.Date()%>" />
|
||||
<!DOCTYPE html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
@ -17,6 +18,38 @@
|
||||
$(document).ready(function(){
|
||||
//해당 페이지에 대한 권한 체크
|
||||
_admin_fn_check_authority("adjCourtCnctnList", "div.cont", "ALL");
|
||||
|
||||
<c:if test="${adjCourtCnctnVO.ckStsListAll eq 'Y' }">
|
||||
$("input[name=ckStsListAll]").attr("checked", true);
|
||||
</c:if>
|
||||
<c:forEach var="val" items="${adjCourtCnctnVO.ckStsList}">
|
||||
fncCheckValue('ckStsList', '${val}')
|
||||
</c:forEach>
|
||||
|
||||
$("input[name=searchStatusArr]").on("click", function() {
|
||||
var value = $(this).val();
|
||||
if (value == "99") {
|
||||
$("input[name=searchStatusArr]").prop("checked", $(this).is(":checked"));
|
||||
}
|
||||
})
|
||||
|
||||
$("input[name=searchMonth]").on("click", function() {
|
||||
var value = $(this).val();
|
||||
if (value == "99") {
|
||||
setSearchMonthDate(1);
|
||||
$("#sel_date").find("button").prop("disabled", false);
|
||||
$("#sel_date").find("input").prop("readonly", false);
|
||||
} else {
|
||||
setSearchMonthDate(value);
|
||||
$("#sel_date").find("button").prop("disabled", true);
|
||||
$("#sel_date").find("input").prop("readonly", true);
|
||||
}
|
||||
});
|
||||
if ('${adjCourtCnctnVO.searchMonth}' != '99') {
|
||||
setSearchMonthDate('${adjCourtCnctnVO.searchMonth}');
|
||||
};
|
||||
|
||||
|
||||
});
|
||||
|
||||
//권한 체크 결과값으로 후속처리
|
||||
@ -54,6 +87,21 @@ function fn_goEndDetail(crtSeq){
|
||||
goForm.submit();
|
||||
}
|
||||
|
||||
function fncCheckValue(name, value) {
|
||||
|
||||
$("input[name=" + name + "]").each(function(index, item) {
|
||||
if (item.value == value) {
|
||||
item.checked = true;
|
||||
}
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
function setSearchMonthDate(month) {
|
||||
$("input[name=searchStartDt]").val(moment('<fmt:formatDate value="${now}" pattern="yyyy-MM-dd" />').add(month * -1, 'months').format('YYYY-MM-DD'));
|
||||
$("input[name=searchEndDt]").val(moment('<fmt:formatDate value="${now}" pattern="yyyy-MM-dd" />').format('YYYY-MM-DD'));
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
@ -75,7 +123,7 @@ function fn_goEndDetail(crtSeq){
|
||||
</ul>
|
||||
</div>
|
||||
<div class="cont">
|
||||
<div class="list_top">
|
||||
<%-- <div class="list_top">
|
||||
<div class="list_util">
|
||||
<div class="detail_search">
|
||||
<ul>
|
||||
@ -92,7 +140,115 @@ function fn_goEndDetail(crtSeq){
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div> --%>
|
||||
|
||||
<!-- list_top -->
|
||||
<div class="list_top">
|
||||
<div class="list_util">
|
||||
<div class="detail_search">
|
||||
<ul>
|
||||
<li>
|
||||
<p class="tit_text">구분</p>
|
||||
<select name="searchCondition" id="searchCondition" title="선택">
|
||||
<option value='10' <c:if test="${adjCourtCnctnVO.searchCondition == '10'}">selected</c:if>>본사건번호</option>
|
||||
<option value='20' <c:if test="${adjCourtCnctnVO.searchCondition == '20'}">selected</c:if>>조정사건번호</option>
|
||||
</select>
|
||||
<input type="text" class="search_input" id="searchKeyword" name="searchKeyword" value="<c:out value='${adjCourtCnctnVO.searchKeyword}'/>" placeholder="검색어를 입력하세요.">
|
||||
<button class="btn_search" onclick="fncGoList();">검색</button>
|
||||
</li>
|
||||
<li>
|
||||
<%-- <kc:radio name="" id="" codeId="" /> --%>
|
||||
<p class="tit_text">조정상태</p>
|
||||
<div class="check_wrap">
|
||||
<span>
|
||||
<input type="checkbox" id="ckStsListAll" name="ckStsListAll" value="Y">
|
||||
<label for="ckStsListAll">전체</label>
|
||||
</span>
|
||||
<span>
|
||||
<input type="checkbox" id="ckStsList1" name="ckStsList" value="101000">
|
||||
<label for="ckStsList1">사건접수</label>
|
||||
</span>
|
||||
<span>
|
||||
<input type="checkbox" id="ckStsList2" name="ckStsList" value="101010">
|
||||
<label for="ckStsList2">접수결재요청</label>
|
||||
</span>
|
||||
<span>
|
||||
<input type="checkbox" id="ckStsList3" name="ckStsList" value="101050">
|
||||
<label for="ckStsList3">접수결재승인</label>
|
||||
</span>
|
||||
<span>
|
||||
<input type="checkbox" id="ckStsList7" name="ckStsList" value="201010">
|
||||
<label for="ckStsList7">종결결재요청</label>
|
||||
</span>
|
||||
<!-- <span> -->
|
||||
<!-- <input type="checkbox" id="ckStsList5" name="ckStsList" value="300000"> -->
|
||||
<!-- <label for="ckStsList5">사건종결</label> -->
|
||||
<!-- </span> -->
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<p class="tit_text">조정위원</p>
|
||||
<select name="searchLoginId" id="searchLoginId" title="선택" style="width: 250px;">
|
||||
<option value='all' <c:if test="${adjCourtCnctnVO.searchLoginId == 'all'}">selected</c:if>>전체</option>
|
||||
<c:forEach var="list" items="${deptNmArr}" varStatus="status">
|
||||
<option value='${list.esntlId}' <c:if test="${adjCourtCnctnVO.searchLoginId == list.esntlId}">selected</c:if>><c:out value="${list.userNm}"/></option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</li>
|
||||
<li>
|
||||
<p class="tit_text">배당일(위원지정)</p>
|
||||
<div class="radio_wrap">
|
||||
<span>
|
||||
<input ${adjCourtCnctnVO.searchMonth eq '1' ? 'checked=\"checked\"' : ''} value="1" type="radio" name="searchMonth" id="month1"><label for="month1">1개월</label>
|
||||
</span>
|
||||
<span>
|
||||
<input ${adjCourtCnctnVO.searchMonth eq '2' ? 'checked=\"checked\"' : ''} value="2" type="radio" name="searchMonth" id="month2"><label for="month2">2개월</label>
|
||||
</span>
|
||||
<span>
|
||||
<input ${adjCourtCnctnVO.searchMonth eq '99' ? 'checked=\"checked\"' : ''} value="99" type="radio" name="searchMonth" id="monthEtc"><label for="monthEtc">기간지정</label>
|
||||
</span>
|
||||
<div id="sel_date" class="sel_date">
|
||||
<input type="text" class="startDate inp" title="검색시작일" id="startDate01" name="searchStartDt" value="${adjCourtCnctnVO.searchStartDt}" data-datecontrol="true" ${adjCourtCnctnVO.searchMonth ne '99' ? 'readonly' : ''}>
|
||||
<div class="calendar_in" id="calendarName_startDate" style="z-index: 9;">
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('startDate01-lry','',this)" class="btn_cal" ${adjCourtCnctnVO.searchMonth ne '99' ? 'disabled' : ''}></button>
|
||||
<div id="startDate01-lry" class="calendarPop" style="display: none;">
|
||||
<iframe id="startDate01-ifrm" name="startDate01-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html" title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
~
|
||||
<input type="text" class="endDate inp" title="검색시작일" id="endDate" name="searchEndDt" value="${adjCourtCnctnVO.searchEndDt}" data-datecontrol="true" ${adjCourtCnctnVO.searchMonth ne '99' ? 'readonly' : ''}>
|
||||
<div class="calendar_in" id="calendarName_endDate" style="z-index: 9;">
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('endDate-lry','',this)" class="btn_cal" ${adjCourtCnctnVO.searchMonth ne '99' ? 'disabled' : ''}></button>
|
||||
<div id="endDate-lry" class="calendarPop" style="display: none;">
|
||||
<iframe id="endDate-ifrm" name="endDate-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html" title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //list_top -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="list_top">
|
||||
<p>총 <span> <c:out value="${paginationInfo.totalRecordCount }" /></span>건 입니다.</p>
|
||||
</div>
|
||||
@ -144,7 +300,7 @@ function fn_goEndDetail(crtSeq){
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><c:out value="${list.crtClimntNm}" /></a></td>
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><c:out value="${list.crtDfndntNm}" /></a></td>
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><c:out value="${fn:substring(list.crtAllctDe, 0, 10)}" /></a></td>
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><kc:code codeId="CC002" code="${list.crtCcTy}"/></a></td>
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><kc:code codeId="CC705" code="${list.crtCcTy}"/></a></td>
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><c:out value="${list.deptNm}" /></a></td>
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><kc:code codeId="CC701" code="${list.crtLinkHouse}"/></a></td>
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><kc:code codeId="CC703" code="${list.crtStatCd}"/></a></td>
|
||||
@ -155,7 +311,7 @@ function fn_goEndDetail(crtSeq){
|
||||
<td><a href="#" onclick="fn_goEndDetail('${list.crtSeq}');"><c:out value="${list.crtClimntNm}" /></a></td>
|
||||
<td><a href="#" onclick="fn_goEndDetail('${list.crtSeq}');"><c:out value="${list.crtDfndntNm}" /></a></td>
|
||||
<td><a href="#" onclick="fn_goEndDetail('${list.crtSeq}');"><c:out value="${fn:substring(list.crtAllctDe, 0, 10)}" /></a></td>
|
||||
<td><a href="#" onclick="fn_goEndDetail('${list.crtSeq}');"><kc:code codeId="CC002" code="${list.crtCcTy}"/></a></td>
|
||||
<td><a href="#" onclick="fn_goEndDetail('${list.crtSeq}');"><kc:code codeId="CC705" code="${list.crtCcTy}"/></a></td>
|
||||
<td><a href="#" onclick="fn_goEndDetail('${list.crtSeq}');"><c:out value="${list.deptNm}" /></a></td>
|
||||
<td><a href="#" onclick="fn_goEndDetail('${list.crtSeq}');"><kc:code codeId="CC701" code="${list.crtLinkHouse}"/></a></td>
|
||||
<td><a href="#" onclick="fn_goEndDetail('${list.crtSeq}');"><kc:code codeId="CC703" code="${list.crtStatCd}"/></a></td>
|
||||
|
||||
@ -17,11 +17,11 @@
|
||||
|
||||
$(document).ready(function(){
|
||||
|
||||
// 배당일자, 보고일자 선택하면 발동되는 event
|
||||
// 배당일자, 사무수행보고일 선택하면 발동되는 event
|
||||
// 소요일 계산
|
||||
$('#crtAllctDe').on('focusin',function(){
|
||||
$('#crtRcptDe').on('focusin',function(){
|
||||
|
||||
var alctnVal = $('#crtAllctDe').val();
|
||||
var alctnVal = $('#crtRcptDe').val();
|
||||
var returnVal = StringToDate(alctnVal, 45);
|
||||
$('#crtAllctDdlDe').val(returnVal);
|
||||
});
|
||||
@ -31,9 +31,31 @@ $(document).ready(function(){
|
||||
$('#file_temp').click();
|
||||
});
|
||||
|
||||
// 600초 마다 세션 갱신
|
||||
const intervalId = setInterval(() =>
|
||||
{
|
||||
sessionExpend();
|
||||
}
|
||||
, 600000);
|
||||
|
||||
});
|
||||
|
||||
function sessionExpend(){
|
||||
$.ajax({
|
||||
url :"/sym/site/sessionExpendAjax.do"
|
||||
,type:"post"
|
||||
,data:{"session": "expend"}
|
||||
,dataType:"json"
|
||||
,success:function(data){
|
||||
console.log("세션이 연장되었습니다.");
|
||||
}
|
||||
,error:function(request , status, error){
|
||||
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
|
||||
console.log("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function StringToDate(date, n) {
|
||||
let yyyy = date.substring(0, 4);
|
||||
let mm = date.substring(5, 7);
|
||||
@ -147,10 +169,11 @@ function fn_GoList(){
|
||||
</colgroup>
|
||||
<tbody class="border_0">
|
||||
<tr>
|
||||
<th>결정일자</th>
|
||||
<!-- <th>법원결정일</th> -->
|
||||
<th>법원결정일</th>
|
||||
<td>
|
||||
<div id="sel_date" class="sel_date">
|
||||
<input readonly="readonly" type="text" class="startDate inp" title="결정일자" id="crtDcsnDe" name="crtDcsnDe" value="${fn:substring(courtVO.crtDcsnDe, 0, 10)}" data-datecontrol="true">
|
||||
<input readonly="readonly" type="text" class="startDate inp" title="법원결정일" id="crtDcsnDe" name="crtDcsnDe" value="${fn:substring(courtVO.crtDcsnDe, 0, 10)}" data-datecontrol="true">
|
||||
<div class="calendar_in" id="calendarName_crtDcsnDe" style="z-index: 9;">
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtDcsnDe-lry','',this)" class="btn_cal"></button>
|
||||
<div id="crtDcsnDe-lry" class="calendarPop" style="display: none;">
|
||||
@ -159,10 +182,11 @@ function fn_GoList(){
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<th>수령일자</th>
|
||||
<!-- <th>메일수신일(사건기록)</th> -->
|
||||
<th>메일수신일(사건기록)(사건기록)</th>
|
||||
<td>
|
||||
<div id="sel_date" class="sel_date">
|
||||
<input readonly="readonly" type="text" class="startDate inp" title="수령일자" id="crtRcptDe" name="crtRcptDe" value="${fn:substring(courtVO.crtRcptDe, 0, 10)}" data-datecontrol="true">
|
||||
<input readonly="readonly" type="text" class="startDate inp" title="메일수신일(사건기록)" id="crtRcptDe" name="crtRcptDe" value="${fn:substring(courtVO.crtRcptDe, 0, 10)}" data-datecontrol="true">
|
||||
<div class="calendar_in" id="calendarName_crtRcptDe" style="z-index: 9;">
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtRcptDe-lry','',this)" class="btn_cal"></button>
|
||||
<div id="crtRcptDe-lry" class="calendarPop" style="display: none;">
|
||||
@ -173,7 +197,8 @@ function fn_GoList(){
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>배당일자</th>
|
||||
<!-- <th>배당일자</th> -->
|
||||
<th>배당일(위원지정)</th>
|
||||
<td>
|
||||
<div id="sel_date" class="sel_date">
|
||||
<input readonly="readonly" type="text" class="crtAllctDe inp" title="배당일자" id="crtAllctDe" name="crtAllctDe" value="${fn:substring(courtVO.crtAllctDe, 0, 10)}" data-datecontrol="true" onchange="test(this);">
|
||||
@ -200,86 +225,114 @@ function fn_GoList(){
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>보고일자</th>
|
||||
<!-- <th>배당일자</th> -->
|
||||
<th>기한연장(1차)</th>
|
||||
<td>
|
||||
<div id="sel_date" class="sel_date">
|
||||
<input readonly="readonly" type="text" class="crtRprtDe inp" title="보고일자" id="crtRprtDe" name="crtRprtDe" value="${fn:substring(courtVO.crtRprtDe, 0, 10)}" data-datecontrol="true">
|
||||
<div class="calendar_in" id="calendarName_crtRprtDe" style="z-index: 9;">
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtRprtDe-lry','',this)" class="btn_cal" ></button>
|
||||
<div id="crtRprtDe-lry" class="calendarPop" style="display: none;">
|
||||
<iframe id="crtRprtDe-ifrm" name="crtRprtDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
|
||||
<input readonly="readonly" type="text" class="crtAllctDdlDeAdd1st inp" title="배당일자" id="crtAllctDdlDeAdd1st" name="crtAllctDdlDeAdd1st" value="" data-datecontrol="true" onchange="test(this);">
|
||||
<div class="calendar_in" id="calendarName_endDate" style="z-index: 9;">
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtAllctDdlDeAdd1st-lry','',this)" class="btn_cal" ></button>
|
||||
<div id="crtAllctDdlDeAdd1st-lry" class="calendarPop" style="display: none;">
|
||||
<iframe id="crtAllctDdlDeAdd1st-ifrm" name="crtAllctDdlDeAdd1st-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<th>기한연장(2차)</th>
|
||||
<td>
|
||||
<div id="sel_date" class="sel_date">
|
||||
<input readonly="readonly" type="text" class="crtAllctDdlDeAdd2nd inp" title="배당일자" id="crtAllctDdlDeAdd2nd" name="crtAllctDdlDeAdd2nd" value="" data-datecontrol="true" onchange="test(this);">
|
||||
<div class="calendar_in" id="calendarName_endDate" style="z-index: 9;">
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtAllctDdlDeAdd2nd-lry','',this)" class="btn_cal" ></button>
|
||||
<div id="crtAllctDdlDeAdd2nd-lry" class="calendarPop" style="display: none;">
|
||||
<iframe id="crtAllctDdlDeAdd2nd-ifrm" name="crtAllctDdlDeAdd2nd-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<!-- <th>사무수행보고일</th> -->
|
||||
<th>사무수행보고일</th>
|
||||
<td>
|
||||
<div id="sel_date" class="sel_date">
|
||||
<input readonly="readonly" type="text" class="crtRprtDe inp" title="사무수행보고일" id="crtRprtDe" name="crtRprtDe" value="${fn:substring(courtVO.crtRprtDe, 0, 10)}" data-datecontrol="true">
|
||||
<!-- <div class="calendar_in" id="calendarName_crtRprtDe" style="z-index: 9;">
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtRprtDe-lry','',this)" class="btn_cal" ></button>
|
||||
<div id="crtRprtDe-lry" class="calendarPop" style="display: none;">
|
||||
<iframe id="crtRprtDe-ifrm" name="crtRprtDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>조정 사건번호</th>
|
||||
<td>
|
||||
<input type="text" id="crtNo" name="crtNo" value="${courtVO.crtNo}"/>
|
||||
</td>
|
||||
<th>본 사건번호</th>
|
||||
<td>
|
||||
<input type="text" id="crtOriNo" name="crtOriNo" value="${courtVO.crtOriNo}"/>
|
||||
<kc:select codeId="CC701" id="crtLinkHouse" name="crtLinkHouse" selectedValue="${courtVO.crtLinkHouse}" />
|
||||
</td>
|
||||
<th>조정 사건번호</th>
|
||||
<td>
|
||||
<input type="text" id="crtNo" name="crtNo" value="${courtVO.crtNo}"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>원고 이름</th>
|
||||
<td>
|
||||
<input type="text" id="crtClimntNm" name="crtClimntNm" value="${courtVO.crtClimntNm}"/>
|
||||
<input type="text" id="crtClimntNm" name="crtClimntNm" value="${courtVO.crtClimntNm}" style="width: 90%;" />
|
||||
</td>
|
||||
<th>원고 (대리인) 이름</th>
|
||||
<td>
|
||||
<input type="text" id="crtClimntAgntNm" name="crtClimntAgntNm" value="${courtVO.crtClimntAgntNm}"/>
|
||||
<input type="text" id="crtClimntAgntNm" name="crtClimntAgntNm" value="${courtVO.crtClimntAgntNm}" style="width: 90%;" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>원고 연락처</th>
|
||||
<td>
|
||||
<input type="text" id="crtClimntPhone" name="crtClimntPhone" value="${courtVO.crtClimntPhone}"/>
|
||||
<input type="text" id="crtClimntPhone" name="crtClimntPhone" value="${courtVO.crtClimntPhone}" style="width: 90%;" />
|
||||
</td>
|
||||
<th>원고 (대리인) 연락처</th>
|
||||
<td>
|
||||
<input type="text" id="crtClimntAgtPhone" name="crtClimntAgtPhone" value="${courtVO.crtClimntAgtPhone}"/>
|
||||
<input type="text" id="crtClimntAgtPhone" name="crtClimntAgtPhone" value="${courtVO.crtClimntAgtPhone}" style="width: 90%;" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<%-- <tr>
|
||||
<th>원고 정보</th>
|
||||
<td colspan="3">
|
||||
<textarea name="crtClimntInfo" id="crtClimntInfo" cols="30" rows="3">${courtVO.crtClimntInfo} </textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</tr> --%>
|
||||
<tr>
|
||||
<th>피고 이름</th>
|
||||
<td>
|
||||
<input type="text" id="crtDfndntNm" name="crtDfndntNm" value="${courtVO.crtDfndntNm}" />
|
||||
<input type="text" id="crtDfndntNm" name="crtDfndntNm" value="${courtVO.crtDfndntNm}" style="width: 90%;" />
|
||||
</td>
|
||||
<th>피고 (대리인) 이름</th>
|
||||
<td>
|
||||
<input type="text" id="crtDfndntAgntNm" name="crtDfndntAgntNm" value="${courtVO.crtDfndntAgntNm}" />
|
||||
<input type="text" id="crtDfndntAgntNm" name="crtDfndntAgntNm" value="${courtVO.crtDfndntAgntNm}" style="width: 90%;" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>피고 연락처</th>
|
||||
<td>
|
||||
<input type="text" id="crtDfndntPhone" name="crtDfndntPhone" value="${courtVO.crtDfndntPhone}" />
|
||||
<input type="text" id="crtDfndntPhone" name="crtDfndntPhone" value="${courtVO.crtDfndntPhone}" style="width: 90%;" />
|
||||
</td>
|
||||
<th>피고 (대리인) 연락처</th>
|
||||
<td>
|
||||
<input type="text" id="crtDfndntAgntPhone" name="crtDfndntAgntPhone" value="${courtVO.crtDfndntAgntPhone}" />
|
||||
<input type="text" id="crtDfndntAgntPhone" name="crtDfndntAgntPhone" value="${courtVO.crtDfndntAgntPhone}" style="width: 90%;" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<%-- <tr>
|
||||
<th>피고 정보</th>
|
||||
<td colspan="3">
|
||||
<textarea name="crtDfndntInfo" id="crtDfndntInfo" cols="30" rows="3">${courtVO.crtDfndntInfo} </textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</tr> --%>
|
||||
<tr>
|
||||
<th>분야</th>
|
||||
<td>
|
||||
<kc:select codeId="CC002" id="crtCcTy" name="crtCcTy" selectedValue="${courtVO.crtCcTy}" />
|
||||
<kc:select codeId="CC705" id="crtCcTy" name="crtCcTy" selectedValue="${courtVO.crtCcTy}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@ -17,11 +17,11 @@
|
||||
|
||||
$(document).ready(function(){
|
||||
|
||||
// 배당일자, 보고일자 선택하면 발동되는 event
|
||||
// 배당일자, 사무수행보고일 선택하면 발동되는 event
|
||||
// 소요일 계산
|
||||
$('#crtAllctDe').on('focusin',function(){
|
||||
$('#crtRcptDe').on('focusin',function(){
|
||||
|
||||
var alctnVal = $('#crtAllctDe').val();
|
||||
var alctnVal = $('#crtRcptDe').val();
|
||||
var returnVal = StringToDate(alctnVal, 45);
|
||||
$('#crtAllctDdlDe').val(returnVal);
|
||||
});
|
||||
@ -31,9 +31,36 @@ $(document).ready(function(){
|
||||
$('#file_temp').click();
|
||||
});
|
||||
|
||||
var timeTmp = 0;
|
||||
|
||||
// 600초 마다 세션 갱신
|
||||
const intervalId = setInterval(() =>
|
||||
{
|
||||
sessionExpend();
|
||||
console.log("timeTmp :: ", timeTmp);
|
||||
|
||||
timeTmp++;
|
||||
}
|
||||
, 600000);
|
||||
|
||||
});
|
||||
|
||||
function sessionExpend(){
|
||||
$.ajax({
|
||||
url :"/sym/site/sessionExpendAjax.do"
|
||||
,type:"post"
|
||||
,data:{"session": "expend"}
|
||||
,dataType:"json"
|
||||
,success:function(data){
|
||||
console.log("세션이 연장되었습니다.");
|
||||
}
|
||||
,error:function(request , status, error){
|
||||
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
|
||||
console.log("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function StringToDate(date, n) {
|
||||
let yyyy = date.substring(0, 4);
|
||||
let mm = date.substring(5, 7);
|
||||
@ -146,10 +173,11 @@ function fn_GoList(){
|
||||
</colgroup>
|
||||
<tbody class="border_0">
|
||||
<tr>
|
||||
<th>결정일자</th>
|
||||
<!-- <th>법원결정일</th> -->
|
||||
<th>법원결정일</th>
|
||||
<td>
|
||||
<div id="sel_date" class="sel_date">
|
||||
<input readonly="readonly" type="text" class="startDate inp" title="결정일자" id="crtDcsnDe" name="crtDcsnDe" value="" data-datecontrol="true">
|
||||
<input readonly="readonly" type="text" class="startDate inp" title="법원결정일" id="crtDcsnDe" name="crtDcsnDe" value="" data-datecontrol="true">
|
||||
<div class="calendar_in" id="calendarName_crtDcsnDe" style="z-index: 9;">
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtDcsnDe-lry','',this)" class="btn_cal"></button>
|
||||
<div id="crtDcsnDe-lry" class="calendarPop" style="display: none;">
|
||||
@ -158,10 +186,11 @@ function fn_GoList(){
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<th>수령일자</th>
|
||||
<!-- <th>메일수신일(사건기록)</th> -->
|
||||
<th>메일수신일(사건기록)(사건기록)</th>
|
||||
<td>
|
||||
<div id="sel_date" class="sel_date">
|
||||
<input readonly="readonly" type="text" class="startDate inp" title="수령일자" id="crtRcptDe" name="crtRcptDe" value="" data-datecontrol="true">
|
||||
<input readonly="readonly" type="text" class="startDate inp" title="메일수신일(사건기록)" id="crtRcptDe" name="crtRcptDe" value="" data-datecontrol="true">
|
||||
<div class="calendar_in" id="calendarName_crtRcptDe" style="z-index: 9;">
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtRcptDe-lry','',this)" class="btn_cal"></button>
|
||||
<div id="crtRcptDe-lry" class="calendarPop" style="display: none;">
|
||||
@ -172,7 +201,8 @@ function fn_GoList(){
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>배당일자</th>
|
||||
<!-- <th>배당일자</th> -->
|
||||
<th>배당일(위원지정)</th>
|
||||
<td>
|
||||
<div id="sel_date" class="sel_date">
|
||||
<input readonly="readonly" type="text" class="crtAllctDe inp" title="배당일자" id="crtAllctDe" name="crtAllctDe" value="" data-datecontrol="true" onchange="test(this);">
|
||||
@ -190,86 +220,114 @@ function fn_GoList(){
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>보고일자</th>
|
||||
<!-- <th>배당일자</th> -->
|
||||
<th>기한연장(1차)</th>
|
||||
<td>
|
||||
<div id="sel_date" class="sel_date">
|
||||
<input readonly="readonly" type="text" class="crtRprtDe inp" title="보고일자" id="crtRprtDe" name="crtRprtDe" value="" data-datecontrol="true">
|
||||
<div class="calendar_in" id="calendarName_crtRprtDe" style="z-index: 9;">
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtRprtDe-lry','',this)" class="btn_cal" ></button>
|
||||
<div id="crtRprtDe-lry" class="calendarPop" style="display: none;">
|
||||
<iframe id="crtRprtDe-ifrm" name="crtRprtDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
|
||||
<input readonly="readonly" type="text" class="crtAllctDdlDeAdd1st inp" title="배당일자" id="crtAllctDdlDeAdd1st" name="crtAllctDdlDeAdd1st" value="" data-datecontrol="true" onchange="test(this);">
|
||||
<div class="calendar_in" id="calendarName_endDate" style="z-index: 9;">
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtAllctDdlDeAdd1st-lry','',this)" class="btn_cal" ></button>
|
||||
<div id="crtAllctDdlDeAdd1st-lry" class="calendarPop" style="display: none;">
|
||||
<iframe id="crtAllctDdlDeAdd1st-ifrm" name="crtAllctDdlDeAdd1st-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<th>기한연장(2차)</th>
|
||||
<td>
|
||||
<div id="sel_date" class="sel_date">
|
||||
<input readonly="readonly" type="text" class="crtAllctDdlDeAdd2nd inp" title="배당일자" id="crtAllctDdlDeAdd2nd" name="crtAllctDdlDeAdd2nd" value="" data-datecontrol="true" onchange="test(this);">
|
||||
<div class="calendar_in" id="calendarName_endDate" style="z-index: 9;">
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtAllctDdlDeAdd2nd-lry','',this)" class="btn_cal" ></button>
|
||||
<div id="crtAllctDdlDeAdd2nd-lry" class="calendarPop" style="display: none;">
|
||||
<iframe id="crtAllctDdlDeAdd2nd-ifrm" name="crtAllctDdlDeAdd2nd-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<!-- <th>사무수행보고일</th> -->
|
||||
<th>사무수행보고일</th>
|
||||
<td>
|
||||
<div id="sel_date" class="sel_date">
|
||||
<input readonly="readonly" type="text" class="crtRprtDe inp" title="사무수행보고일" id="crtRprtDe" name="crtRprtDe" value="" data-datecontrol="true">
|
||||
<!-- <div class="calendar_in" id="calendarName_crtRprtDe" style="z-index: 9;">
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtRprtDe-lry','',this)" class="btn_cal" ></button>
|
||||
<div id="crtRprtDe-lry" class="calendarPop" style="display: none;">
|
||||
<iframe id="crtRprtDe-ifrm" name="crtRprtDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>조정 사건번호</th>
|
||||
<td>
|
||||
<input type="text" id="crtNo" name="crtNo" />
|
||||
</td>
|
||||
<th>본 사건번호</th>
|
||||
<td>
|
||||
<input type="text" id="crtOriNo" name="crtOriNo" />
|
||||
<kc:select codeId="CC701" id="crtLinkHouse" name="crtLinkHouse" selectedValue="10" />
|
||||
</td>
|
||||
<th>조정 사건번호</th>
|
||||
<td>
|
||||
<input type="text" id="crtNo" name="crtNo" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>원고 이름</th>
|
||||
<td>
|
||||
<input type="text" id="crtClimntNm" name="crtClimntNm" />
|
||||
<input type="text" id="crtClimntNm" name="crtClimntNm" style="width: 90%;"/>
|
||||
</td>
|
||||
<th>원고 (대리인) 이름</th>
|
||||
<td>
|
||||
<input type="text" id="crtClimntAgntNm" name="crtClimntAgntNm" />
|
||||
<input type="text" id="crtClimntAgntNm" name="crtClimntAgntNm" style="width: 90%;" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>원고 연락처</th>
|
||||
<td>
|
||||
<input type="text" id="crtClimntPhone" name="crtClimntPhone" />
|
||||
<input type="text" id="crtClimntPhone" name="crtClimntPhone" style="width: 90%;" />
|
||||
</td>
|
||||
<th>원고 (대리인) 연락처</th>
|
||||
<td>
|
||||
<input type="text" id="crtClimntAgtPhone" name="crtClimntAgtPhone" />
|
||||
<input type="text" id="crtClimntAgtPhone" name="crtClimntAgtPhone" style="width: 90%;" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<!-- <tr>
|
||||
<th>원고 정보</th>
|
||||
<td colspan="3">
|
||||
<textarea name="crtClimntInfo" id="crtClimntInfo" cols="30" rows="3"> </textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</tr> -->
|
||||
<tr>
|
||||
<th>피고 이름</th>
|
||||
<td>
|
||||
<input type="text" id="crtDfndntNm" name="crtDfndntNm" />
|
||||
<input type="text" id="crtDfndntNm" name="crtDfndntNm" style="width: 90%;" />
|
||||
</td>
|
||||
<th>피고 (대리인) 이름</th>
|
||||
<td>
|
||||
<input type="text" id="crtDfndntAgntNm" name="crtDfndntAgntNm" />
|
||||
<input type="text" id="crtDfndntAgntNm" name="crtDfndntAgntNm" style="width: 90%;" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>피고 연락처</th>
|
||||
<td>
|
||||
<input type="text" id="crtDfndntPhone" name="crtDfndntPhone" />
|
||||
<input type="text" id="crtDfndntPhone" name="crtDfndntPhone" style="width: 90%;" />
|
||||
</td>
|
||||
<th>피고 (대리인) 연락처</th>
|
||||
<td>
|
||||
<input type="text" id="crtDfndntAgntPhone" name="crtDfndntAgntPhone" />
|
||||
<input type="text" id="crtDfndntAgntPhone" name="crtDfndntAgntPhone" style="width: 90%;" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<!-- <tr>
|
||||
<th>피고 정보</th>
|
||||
<td colspan="3">
|
||||
<textarea name="crtDfndntInfo" id="crtDfndntInfo" cols="30" rows="3"> </textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</tr> -->
|
||||
<tr>
|
||||
<th>분야</th>
|
||||
<td>
|
||||
<kc:select codeId="CC002" id="crtCcTy" name="crtCcTy" selectedValue="01" />
|
||||
<kc:select codeId="CC705" id="crtCcTy" name="crtCcTy" selectedValue="01" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@ -0,0 +1,680 @@
|
||||
<%--
|
||||
Class Name : EgovUserSelectUpdt.jsp
|
||||
Description : 사용자상세조회, 수정 JSP
|
||||
Modification Information
|
||||
|
||||
수정일 수정자 수정내용
|
||||
------- -------- ---------------------------
|
||||
2009.03.03 JJY 최초 생성
|
||||
2011.08.31 JJY 경량환경 버전 생성
|
||||
|
||||
author : 공통서비스 개발팀 JJY
|
||||
since : 2009.03.03
|
||||
--%>
|
||||
<%@ page 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 prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
|
||||
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
|
||||
<%@ taglib prefix="double-submit" uri="http://www.egovframe.go.kr/tags/double-submit/jsp" %>
|
||||
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Language" content="ko" >
|
||||
<title>관리자 수정</title>
|
||||
<script type="text/javascript" src="<c:url value="/validator.do"/>"></script>
|
||||
<validator:javascript formName="userManageVO" staticJavascript="false" xhtml="true" cdata="false"/>
|
||||
<script type="text/javascript" src="<c:url value='/js/EgovCmmUtl.js'/>" ></script>
|
||||
<!-- 암화화 순서에 유의 -->
|
||||
<!-- <script type="text/javascript" src="/js/RSA/rsa.js"></script> -->
|
||||
<!-- <script type="text/javascript" src="/js/RSA/jsbn.js"></script> -->
|
||||
<!-- <script type="text/javascript" src="/js/RSA/prng4.js"></script> -->
|
||||
<!-- <script type="text/javascript" src="/js/RSA/rng.js"></script> -->
|
||||
|
||||
<!-- select niceselect -->
|
||||
<!-- <script src="/direct/js/jquery.nice-select.min.js"></script> -->
|
||||
<!-- <link rel="stylesheet" href="/direct/css/nice-select.css"> -->
|
||||
|
||||
|
||||
<script type="text/javaScript" language="javascript" defer="defer">
|
||||
$( document ).ready(function(){
|
||||
// $('select').not(".displayN").niceSelect();
|
||||
$("#orgDepth_01").on("change", function(){
|
||||
setOrgDepth_01();
|
||||
});
|
||||
|
||||
/* if(""!='${userOneDepth}'){//부서 초기세팅값 세팅
|
||||
$('#orgDepth_01').val('${userOneDepth}');
|
||||
$('#orgDepth_01').niceSelect('update');
|
||||
$('#orgDepth_02').html($('#span_one_'+$("#orgDepth_01").val()).html().trim()) ;
|
||||
|
||||
$('#orgDepth_02').niceSelect('update');
|
||||
if(""!='${userTwoDepth}'){
|
||||
$("#orgDepth_02").val('${userTwoDepth}');
|
||||
$('#orgDepth_02').niceSelect('update');
|
||||
}
|
||||
|
||||
$("#orgDepth_02").niceSelect(); //display show 기능
|
||||
|
||||
} */
|
||||
|
||||
//첨부파일 버튼 처리
|
||||
$("#filebutton").click(function(){
|
||||
$("#file_temp").trigger("click");
|
||||
});
|
||||
|
||||
authorChange();
|
||||
authorChangeCourt();
|
||||
});
|
||||
|
||||
function setOrgDepth_01(){
|
||||
if(""==$("#orgDepth_01").val()){ //빈값 선택
|
||||
$("#orgDepth_02").niceSelect('destroy').hide();
|
||||
$('#partIdx').val($("#orgDepth_01").val());
|
||||
}else{
|
||||
$('#orgDepth_02').html($('#span_one_'+$("#orgDepth_01").val()).html().trim());
|
||||
$('#orgDepth_02').niceSelect('update');
|
||||
$('#partIdx').val($("#orgDepth_01").val());
|
||||
$("#orgDepth_02").niceSelect(); //display show 기능
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function onChagneOrgDepth_02(){ //변경시 partIdx 세팅
|
||||
if(""==$("#orgDepth_02").val()){
|
||||
$('#partIdx').val($("#orgDepth_01").val());
|
||||
}else{
|
||||
$('#partIdx').val($("#orgDepth_02").val());
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
var killBackSpace = function(e) { e = e ? e : window.event; var t = e.target ? e.target : e.srcElement ? e.srcElement : null; if(t && t.tagName && (t.type && /(password)|(text)|(file)/.test(t.type.toLowerCase())) || t.tagName.toLowerCase() == 'textarea') { return true; } var k = e.keyCode ? e.keyCode : e.which ? e.which : null; if(k == 8) { if(e.preventDefault) { e.preventDefault(); } return false; } return true; }; if(typeof document.addEventListener != 'undefined') { document.addEventListener('keydown', killBackSpace, false); }else if(typeof document.attachEvent != 'undefined') { document.attachEvent('onkeydown', killBackSpace); }else { if(document.onkeydown != null) { var oldOnkeydown = document.onkeydown; document.onkeydown = function(e) { oldOnkeydown(e); killBackSpace(e); }; }else { document.onkeydown = killBackSpace; } }
|
||||
}
|
||||
{
|
||||
history.pushState(null , null, location.href);
|
||||
}
|
||||
|
||||
function fnListPage(){
|
||||
document.searchForm.action = "<c:url value='/cmm/main/mainPage.do'/>";
|
||||
document.searchForm.submit();
|
||||
}
|
||||
function fnDeleteUser(checkedIds) {
|
||||
if(confirm("<spring:message code="common.delete.msg" />")){
|
||||
document.userManageVO.checkedIdForDel.value=checkedIds;
|
||||
document.userManageVO.action = "<c:url value='/uss/umt/user/EgovUserDelete.do'/>";
|
||||
document.userManageVO.submit();
|
||||
}
|
||||
}
|
||||
function fnPasswordMove(){
|
||||
document.modiForm.action = "<c:url value='/uss/umt/user/EgovUserPasswordUpdtView.do'/>";
|
||||
document.modiForm.submit();
|
||||
}
|
||||
|
||||
function fnUpdates(){
|
||||
|
||||
if(!nCheck()){
|
||||
return;
|
||||
}
|
||||
|
||||
var email = document.getElementById("emailAdres").value;
|
||||
if(email != ''){
|
||||
var exptext = /^[A-Za-z0-9_\.\-]+@[A-Za-z0-9\-]+\.[A-Za-z0-9\-]+/;
|
||||
if(exptext.test(email)==false){
|
||||
alert("이메일주소 형식이 올바르지 않습니다.");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
//if(validateUserManageVO(document.userManageVO)){
|
||||
|
||||
if(confirm("수정하시겠습니까?")){
|
||||
|
||||
var form = document.userManageVO;
|
||||
var data = new FormData(form);
|
||||
_fileForm2.forEach(function(obj, idx) {
|
||||
if (obj) data.append("file"+idx, obj.fileObj);
|
||||
});
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
enctype: 'multipart/form-data',
|
||||
url: "/uss/umt/user/EgovUserFileInsert.do",
|
||||
data: data,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
if(status == 'success'){
|
||||
|
||||
var resultFileId = returnData.atchFileId;
|
||||
|
||||
if(resultFileId == ""){
|
||||
|
||||
alert("등록에 실패하였습니다.");
|
||||
return false;
|
||||
|
||||
}else{
|
||||
|
||||
$("#atchFileId").val(resultFileId);
|
||||
form.action="<c:url value='/uss/umt/user/EgovUserSelectUpdt.do'/>";
|
||||
form.submit();
|
||||
|
||||
}
|
||||
|
||||
} else if(status== 'fail'){
|
||||
alert("저장에 실패하였습니다.");
|
||||
}
|
||||
},
|
||||
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
}
|
||||
// <c:if test="${empty isAdmin and empty isMember}">
|
||||
// var rsa = new RSAKey();
|
||||
// rsa.setPublic($('#RSAModulus').val(),$('#RSAExponent').val());
|
||||
// $("#rsaPasswd").val(rsa.encrypt($("#passwdCmp").val()));
|
||||
// </c:if>
|
||||
//document.userManageVO.submit();
|
||||
//}
|
||||
}
|
||||
|
||||
function updateMemberAjax(){
|
||||
var url = "/uss/umt/user/EgovUserSelectUpdtAjax.do";
|
||||
var data = new FormData(document.userManageVO);
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: url,
|
||||
data: data,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
//timeout: 600000,
|
||||
success: function (returnData, status) {
|
||||
if(status == 'success'){ // status 확인 필요한가. 석세스 안뜨면 에러 가지 않나
|
||||
if("fail"==returnData.result){
|
||||
alert(returnData.message);
|
||||
return;
|
||||
}
|
||||
alert("저장 되었습니다.");
|
||||
goList();
|
||||
} else if(status== 'fail'){
|
||||
alert("저장에 실패하였습니다. !!");
|
||||
}
|
||||
},
|
||||
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
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.userManageVO;
|
||||
|
||||
frm.subDn.value = dn;
|
||||
}
|
||||
|
||||
//직원 상세 - 부서 선택박스 변경 시
|
||||
function fn_select_emp_part(obj) {
|
||||
var selectId = $(obj).children("option:selected").val();
|
||||
var selectDepth = $(obj).children("option:selected").attr("depth")*1+1;
|
||||
|
||||
if(selectId == "" && selectDepth =="2"){
|
||||
$('#partIdx').val(selectId) ;
|
||||
$("#depth_2").remove();
|
||||
$("#depth_3").remove();
|
||||
return;
|
||||
}
|
||||
|
||||
if(selectId == "" && selectDepth =="3"){
|
||||
$('#partIdx').val($('#depth_1').val());
|
||||
$("#depth_3").remove();
|
||||
return;
|
||||
}
|
||||
|
||||
if(selectDepth =="4"){
|
||||
if(selectId == ""){
|
||||
$('#partIdx').val($('#depth_2').val());
|
||||
}else{
|
||||
$('#partIdx').val(selectId) ;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
if(selectDepth =="2"){
|
||||
$("#depth_2").remove();
|
||||
$("#depth_3").remove();
|
||||
}
|
||||
if(selectDepth =="3"){
|
||||
$("#depth_3").remove();
|
||||
}
|
||||
$('#partIdx').val(selectId) ;
|
||||
ajaxGetChartDepth( selectId, selectDepth );
|
||||
}
|
||||
|
||||
function ajaxGetChartDepth(upperIdx , depth){
|
||||
$.ajax({
|
||||
type:"POST",
|
||||
url:"<c:url value='/uss/umt/user/ajaxGetChartDepth.do' />",
|
||||
data:{ "depth": depth , "upperIdx": upperIdx},
|
||||
dataType:'json',
|
||||
success:function(returnData, status){
|
||||
if(status == "success") {
|
||||
var str = "<select id='depth_"+depth+"' depth='"+depth+"' onchange='fn_select_emp_part(this);'>";
|
||||
str += "<option value='' depth='"+depth+"'>선택</option>";
|
||||
$.each(returnData.orgChartDepth , function(idx, val){
|
||||
str += "<option value='"+val.id+"' depth='"+depth+"'>"+val.text+"</option>";
|
||||
});
|
||||
str += "</select>";
|
||||
$("#orgChartDepth").append(str);
|
||||
}else{ alert("ERROR!");return;}
|
||||
},
|
||||
error:function(request , status, error){
|
||||
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function changSelect(obj){
|
||||
var str = "<option value='ROLE_USER_MEMBER'>일반관리자</option>";
|
||||
if(obj.value == "super"){
|
||||
str += "<option value='ROLE_ADMIN'>최고관리자</option>"
|
||||
}
|
||||
$("#authorCode option").remove();
|
||||
$("#authorCode").append(str);
|
||||
}
|
||||
|
||||
function passMissReset(){
|
||||
$.ajax({
|
||||
type:"POST",
|
||||
url:"/uss/umt/user/PassMissResetAjax.do",
|
||||
data:{
|
||||
"id": "${userManageVO.emplyrId}"
|
||||
},
|
||||
dataType:'json',
|
||||
timeout:(1000*30),
|
||||
success:function(returnData, status){
|
||||
if(status == "success") {
|
||||
alert("카운터가 초기화 되었습니다.");
|
||||
}else{ alert("ERROR!");return;}
|
||||
},
|
||||
error:function(request , status, error){
|
||||
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function nCheck(){
|
||||
var numCheck = document.getElementById("offmTelno").value;
|
||||
if(numCheck!=""){
|
||||
if(/[^0123456789-]/g.test(numCheck)){
|
||||
alert("사무실 전화번호는 숫자와 특수문자'-'만 입력이 가능합니다.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
||||
}
|
||||
function nCheck2(){
|
||||
var numCheck = document.getElementById("numCheck");
|
||||
if(/[^0123456789]/g.test(numCheck.value)){
|
||||
alert("숫자가 아닙니다.\n\n0~9의 숫자만 허용합니다.");
|
||||
}
|
||||
}
|
||||
|
||||
function authorChange(obj) {
|
||||
var author = $("[name='authorCode'] option:selected").val();
|
||||
if(author == 'ROLE_ADR_ADMIN'){
|
||||
$("#rank1").css('display', 'block');
|
||||
$("#rank1").attr('disabled', false);
|
||||
$("#rank2").css('display', 'none');
|
||||
$("#rank2").attr('disabled', true);
|
||||
$("#rank3").css('display', 'none');
|
||||
$("#rank3").attr('disabled', true);
|
||||
$("#rank4").css('display', 'none');
|
||||
$("#rank4").attr('disabled', true)
|
||||
|
||||
}else if(author == 'ROLE_COURT_ADMIN'){
|
||||
$("#rank1").css('display', 'none');;
|
||||
$("#rank1").attr('disabled', true);
|
||||
$("#rank2").css('display', 'none');
|
||||
$("#rank2").attr('disabled', true);
|
||||
$("#rank3").css('display', 'block');
|
||||
$("#rank3").attr('disabled', false);
|
||||
if($('#rank3').val() == '90'){
|
||||
$("#rank4").css('display', '');
|
||||
$("#rank4").attr('disabled', false);
|
||||
}
|
||||
}
|
||||
else{
|
||||
$("#rank1").css('display', 'none');
|
||||
$("#rank1").attr('disabled', true);
|
||||
$("#rank2").css('display', 'block');
|
||||
$("#rank2").attr('disabled', false);
|
||||
$("#rank3").css('display', 'none');
|
||||
$("#rank3").attr('disabled', true);
|
||||
$("#rank4").css('display', 'none');
|
||||
$("#rank4").attr('disabled', true)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function authorChangeCourt(){
|
||||
if($('#rank3').val() == '90'){
|
||||
$("#rank4").css('display', '');
|
||||
$("#rank4").attr('disabled', false);
|
||||
}else{
|
||||
$("#rank4").css('display', 'none');
|
||||
$("#rank4").attr('disabled', true);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
.tbType02 .radio_wrap input[type=radio] + label {margin-right:15px;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<%-- <form:form commandName="userManageVO" action="${pageContext.request.contextPath}/uss/umt/user/EgovUserSelectUpdt.do" name="userManageVO" method="post" enctype="multipart/form-data"> --%>
|
||||
<form:form commandName="userManageVO" id="userManageVO" name="userManageVO" method="post" enctype="multipart/form-data">
|
||||
<%-- <double-submit:preventer tokenKey="someKey" /> --%>
|
||||
<input name="checkedIdForDel" type="hidden" />
|
||||
<!-- 검색조건 유지 -->
|
||||
<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="partIdx" id="partIdx" value="<c:out value='${userManageVO.partIdx}'/>"/>
|
||||
<input type="hidden" id="atchFileId" name="atchFileId" value="<c:out value='${userManageVO.atchFileId}'/>"/>
|
||||
|
||||
<!-- 사용자유형정보 : password 수정화면으로 이동시 타겟 유형정보 확인용, 만약검색조건으로 유형이 포함될경우 혼란을 피하기위해 userTy명칭을 쓰지 않음-->
|
||||
<input type="hidden" name="userTyForPassword" value="<c:out value='${userManageVO.userTy}'/>" />
|
||||
|
||||
<input type="hidden" name="limitcount" value="1" /><!-- 최대 업로드 파일갯수 -->
|
||||
|
||||
<!-- cont -->
|
||||
<div class="cont_wrap">
|
||||
<div class="box">
|
||||
|
||||
<!-- cont_tit -->
|
||||
<div class="cont_tit">
|
||||
<h2>관리자수정</h2>
|
||||
<ul class="cont_nav">
|
||||
<li class="home"><a href="/"><i></i></a></li>
|
||||
<li>
|
||||
<p>관리자관리</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>관리자관리</p>
|
||||
</li>
|
||||
<li><span class="cur_nav">관리자수정</span></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- //cont_tit -->
|
||||
|
||||
<div class="cont">
|
||||
<!-- list_상세 -->
|
||||
<div class="tbType02">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 20%">
|
||||
<col style="width: 80%">
|
||||
</colgroup>
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<th><span class="reqArea">사용자아이디</span></th>
|
||||
<td colspan="3">
|
||||
<form:input path="emplyrId" id="emplyrId" size="50" maxlength="20" readonly="true" />
|
||||
<form:errors path="emplyrId" cssClass="error"/>
|
||||
<form:hidden path="uniqId" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><span class="reqArea">로그인 유형</span></th>
|
||||
<td colspan="3">
|
||||
<div class="radio_wrap">
|
||||
<!-- <span><input type="radio" name="loginType" id="IP" class="radio2" value="IP"><label for="IP">IP제어</label></span>
|
||||
<span><input type="radio" name="loginType" id="OTP" class="radio2" value="OTP" checked><label for="OTP">OTP</label></span> -->
|
||||
<kc:radio codeId="CC051" name="loginTypeCd" id="loginTypeCd" selectedValue="${userManageVO.loginTypeCd}" />
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><span class="reqArea">이름</span></th>
|
||||
<td colspan="3">
|
||||
<form:input path="emplyrNm" id="emplyrNm" cssClass="txaIpt" size="50" maxlength="60" />
|
||||
<form:errors path="emplyrNm" cssClass="error" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<c:if test="${!empty isAdmin}">
|
||||
<tr>
|
||||
<th>권한</th>
|
||||
<td colspan="3">
|
||||
<select name="authorCode" id="authorCode" title="권한" onchange="authorChange(this)">
|
||||
<c:forEach var="authorResult" items="${authorList}" varStatus="status">
|
||||
<c:if test="${
|
||||
!('ROLE_GNRL_USER' eq authorResult.authorCode
|
||||
or 'ROLE_ANONYMOUS' eq authorResult.authorCode
|
||||
or 'ROLE_ADR_ADMIN' eq authorResult.authorCode
|
||||
or 'ROLE_ADMIN' eq authorResult.authorCode
|
||||
)}"> <!-- 사용자/방문자제외 -->
|
||||
<option value="<c:out value="${authorResult.authorCode}"/>" <c:if test="${authorResult.authorCode eq userManageVO.authorCode}">selected</c:if>>
|
||||
<c:out value="${authorResult.authorNm}"/>
|
||||
</option>
|
||||
</c:if>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>직책</th>
|
||||
<td colspan="3">
|
||||
<select name="ofcpsNm" title="직급" id="rank1" >
|
||||
<option value="10" selected>조정조사관</option>
|
||||
<option value="20" <c:if test="${userManageVO.ofcpsNm eq '20'}">selected</c:if>>조정팀장</option>
|
||||
<option value="30" <c:if test="${userManageVO.ofcpsNm eq '30'}">selected</c:if>>부서장</option>
|
||||
<option value="40" <c:if test="${userManageVO.ofcpsNm eq '40'}">selected</c:if>>위원장</option>
|
||||
</select>
|
||||
<select name="ofcpsNm" title="직급" id="rank2" >
|
||||
<option value="admin">시스템관리자</option>
|
||||
</select>
|
||||
|
||||
<select name="ofcpsNm" title="직급" id="rank3" style="display:none;" disabled="disabled" onchange="authorChangeCourt(this)">
|
||||
<option value="80" <c:if test="${userManageVO.ofcpsNm eq '80'}">selected</c:if>>법원연계 조정위원</option>
|
||||
<option value="90" <c:if test="${userManageVO.ofcpsNm eq '90'}">selected</c:if>>법원연계 총괄조정위원</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="rank4">
|
||||
<th>연계법원</th>
|
||||
<td colspan="3">
|
||||
<kc:select codeId="CC701" id="insttCode" name="insttCode" selectedValue="${userManageVO.insttCode}" defaultValue="00" defaultText="없음"/>
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
<tr>
|
||||
<th>전화번호</th>
|
||||
<td colspan="3">
|
||||
<form:input path="offmTelno" id="offmTelno" cssClass="txaIpt" size="50" maxlength="15" placeholder="예시 : 02-123-4567" />
|
||||
<form:errors path="offmTelno" cssClass="error" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>팩스번호</th>
|
||||
<td colspan="3">
|
||||
<form:input path="fxnum" id="fxnum" cssClass="txaIpt" size="50" maxlength="15" placeholder="예시 : 02-123-4567" />
|
||||
<form:errors path="fxnum" cssClass="error" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>담당업무</th>
|
||||
<td colspan="3">
|
||||
<form:input path="userWork" id="userWork" cssClass="txaIpt" size="50" maxlength="15" placeholder="" />
|
||||
<form:errors path="userWork" cssClass="error" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>이메일주소</th>
|
||||
<td colspan="3">
|
||||
<form:input path="emailAdres" id="emailAdres" cssClass="txaIpt" size="50" maxlength="50" />
|
||||
<form:errors path="emailAdres" cssClass="error" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><span class="">서명이미지</span></th>
|
||||
<td class="upload_area">
|
||||
<input type="file" id="file_temp" name="file_temp" class="uploadFile" style="display:none"/>
|
||||
<button type="button" id="filebutton" class="btnType01 btn_add_file">파일 첨부하기</button>
|
||||
<div class="file_wrap file_upload_box no_img_box">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 60%;">
|
||||
<col style="width: auto;">
|
||||
<col style="width: 20%;">
|
||||
<col style="width: 10%;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<!-- <th>
|
||||
<input type="checkbox" id="all_check"><label for="all_check"></label>
|
||||
</th> -->
|
||||
<th>파일 명</th>
|
||||
<th>종류</th>
|
||||
<th>크기</th>
|
||||
<th>삭제</th>
|
||||
</thead>
|
||||
<tbody class="tb_file_before">
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
<p>첨부하실 파일을 <span>마우스로 끌어서</span> 넣어주세요.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="file_wrap fileAfter file_list_div">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 60%">
|
||||
<col style="width: 10%">
|
||||
<col style="width: 20%">
|
||||
<col style="width: 10%">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<!-- <th>
|
||||
<input type="checkbox" id="all_check"><label for="all_check"></label>
|
||||
</th> -->
|
||||
<th>파일 명</th>
|
||||
<th>종류</th>
|
||||
<th>크기</th>
|
||||
<th>삭제</th>
|
||||
</thead>
|
||||
<tbody id="tbody_fiielist" class="tb_file_after">
|
||||
<c:forEach var="fileList" items="${fileList}" varStatus="status">
|
||||
<tr class="item_<c:out value='${fileList.atchFileId}' />_<c:out value='${fileList.fileSn}' /> uploaded_obj">
|
||||
<input type="hidden" name="fileSize" class="item_file_size" value="${fileList.fileSize}">
|
||||
<td class="td_filename">
|
||||
<!-- <img src="/direct/img/upload_hwp_img.png" alt="" /> -->
|
||||
<span class="file_name_text"><c:out value='${fileList.orignlFileNm}' /></span>
|
||||
</td>
|
||||
<td class="td_filesort">
|
||||
<span class="file_filesort_text" value="<c:out value="${fileList.fileExtsn}"/>"><c:out value="${fileList.fileExtsn}"/></span>
|
||||
</td>
|
||||
<td class="td_filesize">
|
||||
<span class="file_size_text" value="<c:out value="${fileList.fileMg}"/>"><c:out value="${fileList.fileMg}"/></span>
|
||||
</td>
|
||||
<td>
|
||||
<button type="button" class="btn_del" onclick="delAtchFile('<c:out value='${fileList.atchFileId}' />', '<c:out value='${fileList.fileSn}' />'); return false;"><i></i></button>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<%-- <c:if test="${empty isAdmin and empty isMember}">
|
||||
<tr>
|
||||
<th>비밀번호확인</th>
|
||||
<td colspan="3">
|
||||
<input type="password" name="passwdCmp" id="passwdCmp" type="text" value="" size="50" maxlength="50" style="width: 95%;">
|
||||
</td>
|
||||
</tr>
|
||||
</c:if> --%>
|
||||
<c:if test="${!empty isAdmin}">
|
||||
<tr>
|
||||
<th>로그인 실패 횟수</br>초기화</th>
|
||||
<td colspan="3">
|
||||
<button class="btnType05" onclick="passMissReset(); return false;">초기화</button>
|
||||
<!-- <input type="button" class="btnType1" value="초기화" onclick="passMissReset(); return false;"> -->
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- //list_상세 -->
|
||||
|
||||
<!-- btn_wrap -->
|
||||
<div class="btn_wrap btn_layout01">
|
||||
<div class="area_right">
|
||||
<%-- <c:if test="${!empty isAdmin}"> --%>
|
||||
<%-- <button class="btnType04" onclick="fnDeleteUser('<c:out value='${userManageVO.userTy}'/>:<c:out value='${userManageVO.uniqId}'/>'); return false;">삭 제</button> --%>
|
||||
<%-- </c:if> --%>
|
||||
<button class="btnType06" onclick="javascript:fnUpdates(); return false;">수 정</button>
|
||||
<!-- <button class="btnType03" onclick="fnListPage(); return false;">목 록</button> -->
|
||||
<button class="btnType03" onclick="history.go(-3);">목 록</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //btn_wrap -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //cont -->
|
||||
<%-- <form:hidden path="password" /> --%>
|
||||
<input type="hidden" name="gnrlUser" value="N"> <!-- gnrlUser가 N이면 관리자등록 -->
|
||||
</form:form>
|
||||
<form name="searchForm" method="get"></form>
|
||||
<form name="modiForm" method="get" action="<c:url value='/sec/ram/EgovAuthorRoleList.do'/>" >
|
||||
<input type="hidden" name="uniqId" value="<c:out value='${userManageVO.uniqId}'/>"/>
|
||||
<input type="hidden" name="userTyForPassword" value="<c:out value='${userManageVO.userTy}'/>" />
|
||||
<input type="hidden" name="emplyrId" value="<c:out value='${userManageVO.emplyrId}'/>" />
|
||||
<input type="hidden" name="gnrlUser" value="N"/>
|
||||
</form>
|
||||
<!-- selectbox 미리만들기 -->
|
||||
<!-- 2뎁스 만들기 -->
|
||||
<%-- <c:forEach var="hiddenResult_one" items="${orgHiddenList}" varStatus="status">
|
||||
<c:if test="${hiddenResult_one.depths eq '1'}">
|
||||
<span id="span_one_${hiddenResult_one.id}" style="display:none;">
|
||||
<option value="">선택</option>
|
||||
<c:forEach var="hiddenResult_two" items="${orgHiddenList}" varStatus="status"><c:if test="${hiddenResult_one.id eq hiddenResult_two.parent}"><option value="<c:out value='${hiddenResult_two.id}'/>"><c:out value='${hiddenResult_two.text}'/></option></c:if></c:forEach>
|
||||
</span>
|
||||
</c:if>
|
||||
</c:forEach> --%>
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,312 @@
|
||||
|
||||
<%--
|
||||
Class Name : EgovUserManage.jsp
|
||||
Description : 사용자관리(조회,삭제) JSP
|
||||
Modification Information
|
||||
|
||||
수정일 수정자 수정내용
|
||||
------- -------- ---------------------------
|
||||
2009.03.03 JJY 최초 생성
|
||||
2011.08.31 JJY 경량환경 버전 생성
|
||||
|
||||
author : 공통서비스 개발팀 JJY
|
||||
since : 2009.03.03
|
||||
--%>
|
||||
<%@ page 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 prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||
<%@ taglib prefix="double-submit" uri="http://www.egovframe.go.kr/tags/double-submit/jsp" %>
|
||||
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
|
||||
<meta http-equiv="content-language" content="ko">
|
||||
<meta name="viewport" content="user-scalable=no, initial-scale=1.0,maximum-scale=1.0, minimum-scale=1.0, width=device-width" />
|
||||
<title>사용자 목록</title>
|
||||
<script type="text/javaScript" language="javascript" defer="defer">
|
||||
|
||||
$( document ).ready(function(){
|
||||
<c:if test="${!empty message}">
|
||||
alert('${message}');
|
||||
</c:if>
|
||||
});
|
||||
function fnCheckAll(){
|
||||
var checkField = document.listForm.checkField;
|
||||
if(document.listForm.checkAll.checked) {
|
||||
if(checkField) {
|
||||
if(checkField.length > 1) {
|
||||
for(var i=0; i < checkField.length; i++) {
|
||||
checkField[i].checked = true;
|
||||
}
|
||||
} else {
|
||||
checkField.checked = true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if(checkField) {
|
||||
if(checkField.length > 1) {
|
||||
for(var j=0; j < checkField.length; j++) {
|
||||
checkField[j].checked = false;
|
||||
}
|
||||
} else {
|
||||
checkField.checked = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
function fnDeleteUser() {
|
||||
if($("input:checkbox[name='checkField']").is(":checked")==false){
|
||||
alert("선택된 항목이 없습니다.");
|
||||
return;
|
||||
}
|
||||
var checkField = document.listForm.checkField;
|
||||
var id = document.listForm.checkId;
|
||||
var checkedIds = "";
|
||||
var checkedCount = 0;
|
||||
if(checkField) {
|
||||
if(checkField.length > 1) {
|
||||
for(var i=0; i < checkField.length; i++) {
|
||||
if(checkField[i].checked) {
|
||||
checkedIds += ((checkedCount==0? "" : ",") + id[i].value);
|
||||
checkedCount++;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if(checkField.checked) {
|
||||
checkedIds = id.value;
|
||||
}
|
||||
}
|
||||
}
|
||||
if(checkedIds.length > 0) {
|
||||
//alert(checkedIds);
|
||||
if(confirm("<spring:message code="common.delete.msg" />")){
|
||||
document.listForm.checkedIdForDel.value=checkedIds;
|
||||
document.listForm.action = "<c:url value='/uss/umt/user/EgovUserDelete.do'/>";
|
||||
document.listForm.submit();
|
||||
}
|
||||
}
|
||||
}
|
||||
function fnSelectUser(id) {
|
||||
document.modiForm.selectedId.value = id;
|
||||
array = id.split(":");
|
||||
if(array[0] == "") {
|
||||
} else {
|
||||
userTy = array[0];
|
||||
userId = array[1];
|
||||
}
|
||||
document.modiForm.selectedId.value = userId;
|
||||
document.modiForm.action = "<c:url value='/kccadr/adjCourtCnctn/adjCourtSelectUserDetail.do'/>";
|
||||
document.modiForm.submit();
|
||||
}
|
||||
function fnAddUserView() {
|
||||
document.modiForm.action = "<c:url value='/uss/umt/user/EgovUserInsertView.do'/>";
|
||||
document.modiForm.submit();
|
||||
}
|
||||
function linkPage(pageNo){
|
||||
var listForm = document.listForm ;
|
||||
listForm.pageIndex.value = pageNo ;
|
||||
listForm.searchCondition.value = $('#searchCondition').val();
|
||||
if($('#searchConditionSite').length != 0){
|
||||
listForm.searchConditionSite.value = $('#searchConditionSite').val();
|
||||
}
|
||||
listForm.searchKeyword.value = $('#searchKeyword').val();
|
||||
listForm.action = "<c:url value='/kccadr/adjCourtCnctn/adjCourtSelectUserList.do'/>";
|
||||
listForm.submit();
|
||||
}
|
||||
|
||||
function fnSearch(){
|
||||
<%--<c:if test="${!empty loginId}">
|
||||
if(""!= document.listForm.searchKeyword.value){
|
||||
updateRecentSearch();//최근검색어 등록
|
||||
}
|
||||
</c:if>--%>
|
||||
|
||||
linkPage(1);
|
||||
}
|
||||
function fnViewCheck(){
|
||||
if(insert_msg.style.visibility == 'hidden'){
|
||||
insert_msg.style.visibility = 'visible';
|
||||
}else{
|
||||
insert_msg.style.visibility = 'hidden';
|
||||
}
|
||||
}
|
||||
|
||||
//엑셀 다운로드
|
||||
function userListExcelDownload(){
|
||||
document.listForm.method = "post";
|
||||
document.listForm.action = "<c:url value='/uss/umt/user/userExcelDownload.do'/>";
|
||||
document.listForm.submit();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<form name="listForm" action="<c:url value='/kccadr/adjCourtCnctn/adjCourtSelectUserList.do'/>" method="post">
|
||||
<double-submit:preventer tokenKey="someKey" />
|
||||
<input name="selectedId" type="hidden" />
|
||||
<input name="checkedIdForDel" type="hidden" />
|
||||
<input name="pageIndex" type="hidden" value="<c:out value='${userSearchVO.pageIndex}' default='1' /> "/>
|
||||
<input name="adminYn" type="hidden" value="Y"/>
|
||||
<input type="hidden" name="searchSortCnd" value="<c:out value="${userSearchVO.searchSortCnd}" />" />
|
||||
<input type="hidden" name="searchSortOrd" value="<c:out value="${userSearchVO.searchSortOrd}" />" />
|
||||
<input type="hidden" name="gnrlUser" value="N"/>
|
||||
<div class="cont_wrap">
|
||||
<div class="box">
|
||||
<div class="cont_tit">
|
||||
<h2>관리자관리</h2>
|
||||
<ul class="cont_nav">
|
||||
<li class="home"><a href="/"><i></i></a></li>
|
||||
<li><p>관리자관리</p></li>
|
||||
<li><span class="cur_nav">관리자 관리</span></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- cont -->
|
||||
<div class="cont">
|
||||
<!-- list_top -->
|
||||
<div class="list_top">
|
||||
<p>총 건수 : <span><c:out value="${paginationInfo.totalRecordCount}" /></span>건</p>
|
||||
<div class="list_util">
|
||||
<%-- <c:if test="${siteId eq 'super'}">
|
||||
<select name="searchConditionSite" id="searchConditionSite" title="검색조건2-검색어구분">
|
||||
<c:forEach var="result" items="${siteManageList}" varStatus="status">
|
||||
<option value="${result.siteId}" <c:if test="${result.siteId eq userSearchVO.searchConditionSite }">selected="selected"</c:if> >${result.siteNm}</option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</c:if>
|
||||
<select class="sel2 searchSel" id="searchCondition" name="searchCondition" title="조회조건">
|
||||
<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> --%>
|
||||
|
||||
<%-- <input type="text" id="searchKeyword" name="searchKeyword" value="<c:out value='${userSearchVO.searchKeyword}'/>" class="search_input" placeholder="검색어를 입력하세요">
|
||||
<button class="btn_search" onclick="fnSearch(); return false;">검색</button> --%>
|
||||
|
||||
<%-- <select class="sel2" name="pageUnit" id="pageUnit" onchange="linkPage(1);" title="줄 선택" style="width: 140px">
|
||||
<option value='10' <c:if test="${userSearchVO.pageUnit == '10' or userSearchVO.pageUnit == ''}">selected</c:if>>10줄</option>
|
||||
<option value='20' <c:if test="${userSearchVO.pageUnit == '20'}">selected</c:if>>20줄</option>
|
||||
<option value='30' <c:if test="${userSearchVO.pageUnit == '30'}">selected</c:if>>30줄</option>
|
||||
</select> --%>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //list_top -->
|
||||
|
||||
<!-- list -->
|
||||
<div class="list tbType01">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 5%">
|
||||
<col style="width: 6%">
|
||||
<col style="width: 15%">
|
||||
<col style="width: 10%">
|
||||
<col style="width: 10%">
|
||||
<%-- <col style="width: 10%"> --%>
|
||||
<col style="width: 10%">
|
||||
<col style="width: 10%">
|
||||
<col style="width: 10%">
|
||||
<col style="width: 15%">
|
||||
<col style="width: 8%">
|
||||
</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_authorCodeTxt">▲</button></th>
|
||||
<th scope="col">아이디<button class="sort sortBtn" id="sort_userId">▲</button></th>
|
||||
<th scope="col">성명<button class="sort sortBtn" id="sort_userNm">▲</button></th>
|
||||
<!-- <th scope="col">소속<button class="sort sortBtn" id="sort_partIdxTxt">▲</button></th> -->
|
||||
<th scope="col">직책<button class="sort sortBtn" id="sort_ofcpsNm">▲</button></th>
|
||||
<th scope="col">전화번호<button class="sort sortBtn" id="sort_offmTelno">▲</button></th>
|
||||
<th scope="col">팩스번호<button class="sort sortBtn" id="sort_fxNum">▲</button></th>
|
||||
<th scope="col">담당업무<!-- <button class="sort sortBtn" id="sort_fxNum">▲</button> --></th>
|
||||
<th scope="col">등록일<button class="sort sortBtn" id="sort_sbscrbDe">▲</button></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach var="result" items="${resultList}" varStatus="status">
|
||||
<tr>
|
||||
<td>
|
||||
<input name="checkField" id="<c:out value="${result.uniqId}"/>" title="Check <c:out value="${status.count}"/>" type="checkbox"/><label for="<c:out value="${result.uniqId}"/>"></label>
|
||||
<input name="checkId" type="hidden" value="<c:out value='${result.userTy}'/>:<c:out value='${result.uniqId}'/>"/>
|
||||
</td>
|
||||
<td>
|
||||
<c:if test="${userSearchVO.searchSortOrd eq 'desc' }">
|
||||
<c:out value="${ ( paginationInfo.totalRecordCount - ((userSearchVO.pageIndex -1)*userSearchVO.pageUnit) ) - status.index }"/>
|
||||
</c:if>
|
||||
<c:if test="${userSearchVO.searchSortOrd eq 'asc' }">
|
||||
<c:out value="${(userSearchVO.pageIndex - 1) * userSearchVO.pageUnit + status.count}"/>
|
||||
</c:if>
|
||||
</td>
|
||||
<td>
|
||||
<c:forEach items="${authorList}" var="authorResult" varStatus="status">
|
||||
<c:if test="${authorResult.authorCode eq result.authorCode}">
|
||||
${authorResult.authorNm}
|
||||
</c:if>
|
||||
</c:forEach>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<a href="<c:url value='/kccadr/adjCourtCnctn/adjCourtSelectUserDetail.do'/>?selectedId=<c:out value="${result.uniqId}"/>" onclick="javascript:fnSelectUser('<c:out value="${result.userTy}"/>:<c:out value="${result.uniqId}"/>'); return false;">
|
||||
<p class="privateInfo"><c:out value="${result.userId}"/></p>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<p class="privateInfo"><c:out value="${result.userNm}"/></p>
|
||||
</td>
|
||||
<td>
|
||||
<span class="privateInfo">
|
||||
<kc:code codeId="CC401" code="${result.ofcpsNm}"/>
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<c:out value="${result.offmTelno}"/>
|
||||
</td>
|
||||
<td>
|
||||
<c:out value="${result.fxNum}"/>
|
||||
</td>
|
||||
<td>
|
||||
<c:out value="${result.userWork}"/>
|
||||
</td>
|
||||
<td>
|
||||
<c:out value="${result.sbscrbDe}"/>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
<c:if test="${empty resultList}">
|
||||
<tr><td colspan="10"><spring:message code="common.nodata.msg" /></td></tr>
|
||||
</c:if>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- //list -->
|
||||
|
||||
<!-- btn_wrap -->
|
||||
<div class="btn_wrap btn_layout01">
|
||||
<!-- <div class="area_left"> -->
|
||||
<!-- <button type="button" class="btnType03" onclick="fnDeleteUser(); return false;">삭제</button> -->
|
||||
<!-- </div> -->
|
||||
<!-- <div class="area_right"> -->
|
||||
<!-- <button type="button" class="btnType02" onclick="fnAddUserView(); return false;">등록</button> -->
|
||||
<!-- </div> -->
|
||||
</div>
|
||||
<!-- //btn_wrap -->
|
||||
|
||||
<!-- page -->
|
||||
<c:if test="${!empty resultList}">
|
||||
<div class="page">
|
||||
<ul class="inline">
|
||||
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
|
||||
</ul>
|
||||
</div>
|
||||
</c:if>
|
||||
</div>
|
||||
<!-- //cont -->
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<form name="modiForm" id="modiForm" method="get">
|
||||
<input name="selectedId" type="hidden" />
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@ -34,11 +34,11 @@
|
||||
|
||||
}
|
||||
|
||||
function fn_insert(p_esntlId, p_pstinstCode) {
|
||||
function fn_insert(p_esntlId, ofcpsNm) {
|
||||
|
||||
var form = document.insertForm;
|
||||
form.esntlId.value = p_esntlId;
|
||||
form.pstinstCode.value = p_pstinstCode;
|
||||
form.ofcpsNm.value = ofcpsNm;
|
||||
|
||||
var msg = "선택 하시겠습니까?";
|
||||
if(confirm(msg)){
|
||||
@ -74,7 +74,7 @@
|
||||
<form name="insertForm" id="insertForm">
|
||||
<input type="hidden" id="crtSeq" name="crtSeq" value="${deptVO.crtSeq }" />
|
||||
<input type="hidden" id="esntlId" name="esntlId" />
|
||||
<input type="hidden" id="pstinstCode" name="pstinstCode" />
|
||||
<input type="hidden" id="ofcpsNm" name="ofcpsNm" />
|
||||
</form>
|
||||
<div class="area_popup search_list_popup" style="width: 640px;">
|
||||
<form:form id="listForm" name="listForm" method="post" onsubmit="return false;">
|
||||
@ -98,7 +98,7 @@
|
||||
<td>${list.userNm }</td>
|
||||
<td>
|
||||
<button class="btnType06"
|
||||
onclick="fn_insert('${list.esntlId }', '${list.pstinstCode }'); return false;">선택</button>
|
||||
onclick="fn_insert('${list.esntlId }', '${list.ofcpsNm}'); return false;">선택</button>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user