+++ src/main/java/kcc/com/cmm/RestResponse.java
... | ... | @@ -0,0 +1,88 @@ |
| 1 | +package kcc.com.cmm; | |
| 2 | + | |
| 3 | +import org.springframework.http.HttpStatus; | |
| 4 | + | |
| 5 | +/** | |
| 6 | +* | |
| 7 | +* @fileName : RestResponse.java | |
| 8 | +* @author : 이호영 | |
| 9 | +* @date : 2022.07.04 | |
| 10 | +* @description : RestApi 응답에 사용할 Class | |
| 11 | +* @TODO : | |
| 12 | +* =========================================================== | |
| 13 | +* DATE AUTHOR NOTE | |
| 14 | +* ----------------------------------------------------------- * | |
| 15 | +* 2022.07.04 이호영 최초 생성 | |
| 16 | +* | |
| 17 | +* | |
| 18 | +* | |
| 19 | +*/ | |
| 20 | + | |
| 21 | + | |
| 22 | +/* | |
| 23 | +* • 1XX : 조건부 응답 | |
| 24 | +* • 2XX : 성공 | |
| 25 | +* • 3XX : 리다이렉션 완료 | |
| 26 | +* • 4XX : 요청 오류 | |
| 27 | +* • 500 : 서버 오류 | |
| 28 | +* | |
| 29 | +* 참고 : https://km0830.tistory.com/33 | |
| 30 | +* | |
| 31 | +* ====== 자주 사용하는 코드 ===== | |
| 32 | +* 200 : Ok : 서버가 클라이언트의 요청을 성공적으로 처리, 웹 페이지에서는 페이지 요청이 정상적으로 완료 (Ok) | |
| 33 | +* 400 : Bad Request : 잘못 요청 (Bad Request) | |
| 34 | +* 401 : Unauthorized : 권한 없음, 예를 들면, 로그인 페이지가 필요한 페이지를 로그인 없이 접속하려는 경우 반환되는 코드 (인증 실패) (Unauthorized) | |
| 35 | +* | |
| 36 | +* */ | |
| 37 | + | |
| 38 | +public class RestResponse {
| |
| 39 | + | |
| 40 | + private HttpStatus status; | |
| 41 | + | |
| 42 | + private String msg; | |
| 43 | + | |
| 44 | + private Object data; | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + public RestResponse(HttpStatus status, String msg, Object data) {
| |
| 49 | + this.status = status; | |
| 50 | + this.msg = msg; | |
| 51 | + this.data = data; | |
| 52 | + } | |
| 53 | + | |
| 54 | + | |
| 55 | + public RestResponse() {
| |
| 56 | + } | |
| 57 | + | |
| 58 | + public HttpStatus getStatus() {
| |
| 59 | + return status; | |
| 60 | + } | |
| 61 | + | |
| 62 | + public void setStatus(HttpStatus status) {
| |
| 63 | + this.status = status; | |
| 64 | + } | |
| 65 | + | |
| 66 | + public String getMsg() {
| |
| 67 | + return msg; | |
| 68 | + } | |
| 69 | + | |
| 70 | + public void setMsg(String msg) {
| |
| 71 | + this.msg = msg; | |
| 72 | + } | |
| 73 | + | |
| 74 | + public Object getData() {
| |
| 75 | + return data; | |
| 76 | + } | |
| 77 | + | |
| 78 | + public void setData(Object data) {
| |
| 79 | + this.data = data; | |
| 80 | + } | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | +}(No newline at end of file) |
--- src/main/java/kcc/web/MainController.java
+++ src/main/java/kcc/web/MainController.java
... | ... | @@ -36,13 +36,16 @@ |
| 36 | 36 |
import javax.servlet.http.HttpSession; |
| 37 | 37 |
|
| 38 | 38 |
import org.springframework.beans.factory.annotation.Value; |
| 39 |
+import org.springframework.http.ResponseEntity; |
|
| 39 | 40 |
import org.springframework.stereotype.Controller; |
| 40 | 41 |
import org.springframework.ui.Model; |
| 41 | 42 |
import org.springframework.ui.ModelMap; |
| 42 | 43 |
import org.springframework.web.bind.annotation.ModelAttribute; |
| 43 | 44 |
import org.springframework.web.bind.annotation.PathVariable; |
| 45 |
+import org.springframework.web.bind.annotation.RequestBody; |
|
| 44 | 46 |
import org.springframework.web.bind.annotation.RequestMapping; |
| 45 | 47 |
import org.springframework.web.bind.annotation.RequestParam; |
| 48 |
+import org.springframework.web.bind.annotation.ResponseBody; |
|
| 46 | 49 |
import org.springframework.web.bind.annotation.SessionAttributes; |
| 47 | 50 |
import org.springframework.web.context.request.RequestContextHolder; |
| 48 | 51 |
import org.springframework.web.context.request.ServletRequestAttributes; |
... | ... | @@ -58,6 +61,7 @@ |
| 58 | 61 |
import kcc.com.cmm.CmmUtil; |
| 59 | 62 |
import kcc.com.cmm.ComDefaultVO; |
| 60 | 63 |
import kcc.com.cmm.LoginVO; |
| 64 |
+import kcc.com.cmm.RestResponse; |
|
| 61 | 65 |
import kcc.com.cmm.service.EgovCmmUseService; |
| 62 | 66 |
import kcc.com.cmm.service.EgovFileMngUtil; |
| 63 | 67 |
import kcc.com.cmm.service.FileVO; |
... | ... | @@ -704,6 +708,25 @@ |
| 704 | 708 |
return "web/com/webCommonNaviWrap"; |
| 705 | 709 |
|
| 706 | 710 |
} |
| 711 |
+ |
|
| 712 |
+ // 서브페이지 snb 메뉴 |
|
| 713 |
+ @ResponseBody |
|
| 714 |
+ @RequestMapping(value = "/web/com/subMenu.do") |
|
| 715 |
+ public ResponseEntity<RestResponse> webCommonSubMenu( |
|
| 716 |
+ @RequestBody MenuManageJTreeVO menuManageVO ) throws Exception {
|
|
| 717 |
+ |
|
| 718 |
+ |
|
| 719 |
+ System.out.println("?????");
|
|
| 720 |
+ |
|
| 721 |
+ |
|
| 722 |
+ |
|
| 723 |
+ RestResponse restResponse = new RestResponse(); |
|
| 724 |
+ |
|
| 725 |
+ |
|
| 726 |
+ return ResponseEntity.ok(restResponse); |
|
| 727 |
+ |
|
| 728 |
+ } |
|
| 729 |
+ |
|
| 707 | 730 |
|
| 708 | 731 |
/** |
| 709 | 732 |
* 사용자 좌측 매뉴 |
--- src/main/webapp/WEB-INF/jsp/cmm/uss/umt/EgovUserInsert.jsp
+++ src/main/webapp/WEB-INF/jsp/cmm/uss/umt/EgovUserInsert.jsp
... | ... | @@ -23,7 +23,7 @@ |
| 23 | 23 |
<html> |
| 24 | 24 |
<head> |
| 25 | 25 |
<meta http-equiv="Content-Language" content="ko" > |
| 26 |
-<link rel="stylesheet" href="/kccadrPb/adm/css/popup.css"> |
|
| 26 |
+ |
|
| 27 | 27 |
<script type="text/javascript" src="<c:url value="/validator.do"/>"></script> |
| 28 | 28 |
<validator:javascript formName="userManageVO" staticJavascript="false" xhtml="true" cdata="false"/> |
| 29 | 29 |
<script src="/direct/js/jquery.nice-select.min.js"></script> |
... | ... | @@ -50,6 +50,7 @@ |
| 50 | 50 |
$('.mask').click(function () {
|
| 51 | 51 |
$(this).hide(); |
| 52 | 52 |
$('.window').hide();
|
| 53 |
+ $('.window').removeClass("active");
|
|
| 53 | 54 |
}); |
| 54 | 55 |
|
| 55 | 56 |
/* $('select').not(".displayN").niceSelect(); */
|
... | ... | @@ -333,6 +334,7 @@ |
| 333 | 334 |
$('.window').css({'left':left,'top':top, 'position':'absolute'});
|
| 334 | 335 |
|
| 335 | 336 |
// 레이어 팝업을 띄웁니다. |
| 337 |
+ $('.window').addClass("active");
|
|
| 336 | 338 |
$('.window').show();
|
| 337 | 339 |
} |
| 338 | 340 |
|
... | ... | @@ -415,186 +417,149 @@ |
| 415 | 417 |
<input type="hidden" id="atchFileId" name="atchFileId" value=""/> |
| 416 | 418 |
<input type="hidden" name="limitcount" value="1" /><!-- 최대 업로드 파일갯수 --> |
| 417 | 419 |
<input type="hidden" id="innoDirPath" value="<spring:eval expression="@globalSettings['Globals.Innorix.FilePath']"/>" /> |
| 418 |
- <!-- cont --> |
|
| 419 |
- <div class="cont_wrap"> |
|
| 420 |
- <div class="box"> |
|
| 421 | 420 |
|
| 422 |
- <!-- cont_tit --> |
|
| 423 |
- <div class="cont_tit"> |
|
| 424 |
- <h2>관리자등록</h2> |
|
| 425 |
- <ul class="cont_nav"> |
|
| 426 |
- <li class="home"><a href="/"><i></i></a></li> |
|
| 427 |
- <li> |
|
| 428 |
- <p>관리자관리</p> |
|
| 429 |
- </li> |
|
| 430 |
- <li> |
|
| 431 |
- <p>관리자관리</p> |
|
| 432 |
- </li> |
|
| 433 |
- <li><span class="cur_nav">관리자등록</span></li> |
|
| 434 |
- </ul> |
|
| 435 |
- </div> |
|
| 436 |
- <!-- //cont_tit --> |
|
| 421 |
+<div class="content_title"> |
|
| 422 |
+ <h3>관리자등록</h3> |
|
| 423 |
+ <ol class="breadcrumb"> |
|
| 424 |
+ <li><a href="#" class="home" title="메인으로 이동"><i></i></a></li> |
|
| 425 |
+ <li><a href="#">관리자관리</a></li> |
|
| 426 |
+ <li><a href="#">관리자관리</a></li> |
|
| 427 |
+ <li><strong class="current_location">관리자등록</strong></li> |
|
| 428 |
+ </ol> |
|
| 429 |
+</div> |
|
| 437 | 430 |
|
| 438 |
- <div class="cont"> |
|
| 439 |
- <!-- list_상세 --> |
|
| 440 |
- <div class="col-table data-table"> |
|
| 441 |
- <table class="w100per"> |
|
| 442 |
- <colgroup> |
|
| 443 |
- <col style="width: 20%"> |
|
| 444 |
- <col style="width: 80%"> |
|
| 445 |
- </colgroup> |
|
| 431 |
+<div class="table table_type_rows mt0"> |
|
| 432 |
+ <table> |
|
| 433 |
+ <colgroup> |
|
| 434 |
+ <col style="width: 20%"> |
|
| 435 |
+ <col style="width: 80%"> |
|
| 436 |
+ </colgroup> |
|
| 446 | 437 |
|
| 447 |
- <tbody> |
|
| 448 |
- <c:if test="${siteId eq 'super'}">
|
|
| 449 |
- <tr> |
|
| 450 |
- <th><span class="reqArea">사이트명</span></th> |
|
| 451 |
- <td> |
|
| 452 |
- <select name="siteId" title="사이트"> |
|
| 453 |
- <c:forEach var="resultList" items="${siteManageList}" varStatus="status">
|
|
| 454 |
- <option value="<c:out value="${resultList.siteId}"/>" >
|
|
| 455 |
- <c:out value="${resultList.siteNm}"/>
|
|
| 456 |
- </option> |
|
| 457 |
- </c:forEach> |
|
| 458 |
- </select> |
|
| 459 |
- </td> |
|
| 460 |
- </tr> |
|
| 461 |
- </c:if> |
|
| 462 |
- |
|
| 463 |
- <tr> |
|
| 464 |
- <th><span class="reqArea">관리자아이디</span></th> |
|
| 465 |
- <td> |
|
| 466 |
- <form:input class="showMask" path="emplyrId" id="emplyrId" title="사용자아이디" size="50" maxlength="20" readonly="true" /> |
|
| 467 |
- <a href="#" class="showMask" style="display:inline-block;"> |
|
| 468 |
- <button type="button" class="btn btn_text btn_36 blue_border">중복아이디 검색</button> |
|
| 469 |
- </a> |
|
| 470 |
- <form:errors path="emplyrId" cssClass="error"/> |
|
| 471 |
- </td> |
|
| 472 |
- </tr> |
|
| 473 |
- <tr> |
|
| 474 |
- <th><span class="reqArea">비밀번호</span></th> |
|
| 475 |
- <td> |
|
| 476 |
- <form:password path="password" id="password" title="비밀번호" size="50" maxlength="20" /> |
|
| 477 |
- <form:errors path="password" cssClass="error" /> |
|
| 478 |
- <br/> |
|
| 479 |
- <span class="cf_text c_ed4555"> |
|
| 480 |
- 비밀번호 문자 + 숫자 + 특수 문자 포함, 최소 8~20자리 |
|
| 481 |
- </span> |
|
| 482 |
- </td> |
|
| 483 |
- </tr> |
|
| 484 |
- <tr> |
|
| 485 |
- <th><span class="reqArea">비밀번호확인</span></th> |
|
| 486 |
- <td> |
|
| 487 |
- <input name="password2" id="password2" title="비밀번호확인" type="password" autocomplete="off" size="50" maxlength="20" /> |
|
| 488 |
- </td> |
|
| 489 |
- </tr> |
|
| 490 |
- <tr> |
|
| 491 |
- <th><span class="reqArea">이름</span></th> |
|
| 492 |
- <td> |
|
| 493 |
- <input name="emplyrNm" id="emplyrNm" title="이름" type="text" size="50" value="" maxlength="60" /> |
|
| 494 |
- <form:errors path="emplyrNm" cssClass="error" /> |
|
| 495 |
- </td> |
|
| 496 |
- </tr> |
|
| 438 |
+ <tbody> |
|
| 439 |
+ <c:if test="${siteId eq 'super'}">
|
|
| 440 |
+ <tr> |
|
| 441 |
+ <th><span class="required">*</span>사이트명</th> |
|
| 442 |
+ <td> |
|
| 443 |
+ <select name="siteId" title="사이트"> |
|
| 444 |
+ <c:forEach var="resultList" items="${siteManageList}" varStatus="status">
|
|
| 445 |
+ <option value="<c:out value="${resultList.siteId}"/>" >
|
|
| 446 |
+ <c:out value="${resultList.siteNm}"/>
|
|
| 447 |
+ </option> |
|
| 448 |
+ </c:forEach> |
|
| 449 |
+ </select> |
|
| 450 |
+ </td> |
|
| 451 |
+ </tr> |
|
| 452 |
+ </c:if> |
|
| 453 |
+ |
|
| 454 |
+ <tr> |
|
| 455 |
+ <th><span class="required">*</span>관리자아이디</th> |
|
| 456 |
+ <td> |
|
| 457 |
+ <div class="form_wrap"> |
|
| 458 |
+ <form:input class="showMask" cssClass="input" path="emplyrId" id="emplyrId" title="사용자아이디" size="50" maxlength="20" readonly="true" /> |
|
| 459 |
+ <button type="button" class="showMask btn line primary medium">중복아이디 검색</button> |
|
| 460 |
+ <form:errors path="emplyrId" cssClass="error"/> |
|
| 461 |
+ </div> |
|
| 462 |
+ </td> |
|
| 463 |
+ </tr> |
|
| 464 |
+ <tr> |
|
| 465 |
+ <th><span class="required">*</span>비밀번호</th> |
|
| 466 |
+ <td> |
|
| 467 |
+ <form:password path="password" cssClass="input" id="password" title="비밀번호" size="50" maxlength="20" /> |
|
| 468 |
+ <form:errors path="password" cssClass="error" /> |
|
| 469 |
+ <span class="input_desc">비밀번호 문자 + 숫자 + 특수 문자 포함, 최소 8~20자리</span> |
|
| 470 |
+ </td> |
|
| 471 |
+ </tr> |
|
| 472 |
+ <tr> |
|
| 473 |
+ <th><span class="required">*</span>비밀번호확인</th> |
|
| 474 |
+ <td> |
|
| 475 |
+ <input name="password2" class="input" id="password2" title="비밀번호확인" type="password" autocomplete="off" size="50" maxlength="20" /> |
|
| 476 |
+ </td> |
|
| 477 |
+ </tr> |
|
| 478 |
+ <tr> |
|
| 479 |
+ <th><span class="required">*</span>이름</th> |
|
| 480 |
+ <td> |
|
| 481 |
+ <input name="emplyrNm" class="input" id="emplyrNm" title="이름" type="text" size="50" value="" maxlength="60" /> |
|
| 482 |
+ <form:errors path="emplyrNm" cssClass="error" /> |
|
| 483 |
+ </td> |
|
| 484 |
+ </tr> |
|
| 497 | 485 |
|
| 498 |
- <tr> |
|
| 499 |
- <th>권한</th> |
|
| 500 |
- <td> |
|
| 501 |
- <select name="authorCode" title="권한" onchange="authorChange(this)"> |
|
| 502 |
- <c:forEach var="authorResult" items="${authorList}" varStatus="status">
|
|
| 503 |
- <option value="<c:out value="${authorResult.authorCode}"/>" <c:if test="${authorResult.authorCode eq 'ROLE_ADR_ADMIN' }">selected</c:if>>
|
|
| 504 |
- <c:out value="${authorResult.authorNm}"/>
|
|
| 505 |
- </option> |
|
| 506 |
- </c:forEach> |
|
| 507 |
- </select> |
|
| 508 |
- </td> |
|
| 509 |
- </tr> |
|
| 486 |
+ <tr> |
|
| 487 |
+ <th>권한</th> |
|
| 488 |
+ <td> |
|
| 489 |
+ <select class="select w160" name="authorCode" title="권한" onchange="authorChange(this)"> |
|
| 490 |
+ <c:forEach var="authorResult" items="${authorList}" varStatus="status">
|
|
| 491 |
+ <option value="<c:out value="${authorResult.authorCode}"/>" <c:if test="${authorResult.authorCode eq 'ROLE_ADR_ADMIN' }">selected</c:if>>
|
|
| 492 |
+ <c:out value="${authorResult.authorNm}"/>
|
|
| 493 |
+ </option> |
|
| 494 |
+ </c:forEach> |
|
| 495 |
+ </select> |
|
| 496 |
+ </td> |
|
| 497 |
+ </tr> |
|
| 510 | 498 |
|
| 511 |
- </tr> |
|
| 512 |
- <tr> |
|
| 513 |
- <th>전화번호</th> |
|
| 514 |
- <td> |
|
| 515 |
- <form:input path="offmTelno" id="offmTelno" cssClass="txaIpt" size="50" maxlength="15" placeholder="예시 : 02-123-4567" /> |
|
| 516 |
- <form:errors path="offmTelno" cssClass="error" /> |
|
| 517 |
- </td> |
|
| 518 |
- </tr> |
|
| 519 |
- |
|
| 520 |
- <tr> |
|
| 521 |
- <th>팩스번호</th> |
|
| 522 |
- <td> |
|
| 523 |
- <form:input path="fxnum" id="fxnum" cssClass="txaIpt" size="50" maxlength="15" placeholder="예시 : 02-123-4567" /> |
|
| 524 |
- <form:errors path="fxnum" cssClass="error" /> |
|
| 525 |
- </td> |
|
| 526 |
- </tr> |
|
| 527 |
- |
|
| 528 |
- <tr> |
|
| 529 |
- <th>담당업무</th> |
|
| 530 |
- <td> |
|
| 531 |
- <form:input path="userWork" id="userWork" cssClass="txaIpt" size="50" maxlength="15" placeholder="" /> |
|
| 532 |
- <form:errors path="userWork" cssClass="error" /> |
|
| 533 |
- </td> |
|
| 534 |
- </tr> |
|
| 535 |
- |
|
| 536 |
- <tr> |
|
| 537 |
- <th>이메일주소</th> |
|
| 538 |
- <td> |
|
| 539 |
- <form:input path="emailAdres" id="emailAdres" title="이메일주소" cssClass="txaIpt" size="50" maxlength="50" /> |
|
| 540 |
- <form:errors path="emailAdres" cssClass="error" /> |
|
| 541 |
- </td> |
|
| 542 |
- </tr> |
|
| 543 |
- </tbody> |
|
| 544 |
- </table> |
|
| 545 |
- </div> |
|
| 546 |
- <!-- //list_상세 --> |
|
| 499 |
+ </tr> |
|
| 500 |
+ <tr> |
|
| 501 |
+ <th>전화번호</th> |
|
| 502 |
+ <td> |
|
| 503 |
+ <form:input path="offmTelno" id="offmTelno" cssClass="input" size="50" maxlength="15" placeholder="예시 : 02-123-4567" /> |
|
| 504 |
+ <form:errors path="offmTelno" cssClass="error" /> |
|
| 505 |
+ </td> |
|
| 506 |
+ </tr> |
|
| 507 |
+ |
|
| 508 |
+ <tr> |
|
| 509 |
+ <th>팩스번호</th> |
|
| 510 |
+ <td> |
|
| 511 |
+ <form:input path="fxnum" id="fxnum" cssClass="input" size="50" maxlength="15" placeholder="예시 : 02-123-4567" /> |
|
| 512 |
+ <form:errors path="fxnum" cssClass="error" /> |
|
| 513 |
+ </td> |
|
| 514 |
+ </tr> |
|
| 515 |
+ |
|
| 516 |
+ <tr> |
|
| 517 |
+ <th>담당업무</th> |
|
| 518 |
+ <td> |
|
| 519 |
+ <form:input path="userWork" id="userWork" cssClass="input" size="50" maxlength="15" placeholder="" /> |
|
| 520 |
+ <form:errors path="userWork" cssClass="error" /> |
|
| 521 |
+ </td> |
|
| 522 |
+ </tr> |
|
| 523 |
+ |
|
| 524 |
+ <tr> |
|
| 525 |
+ <th>이메일주소</th> |
|
| 526 |
+ <td> |
|
| 527 |
+ <form:input path="emailAdres" id="emailAdres" title="이메일주소" cssClass="input" size="50" maxlength="50" /> |
|
| 528 |
+ <form:errors path="emailAdres" cssClass="error" /> |
|
| 529 |
+ </td> |
|
| 530 |
+ </tr> |
|
| 531 |
+ </tbody> |
|
| 532 |
+ </table> |
|
| 533 |
+</div> |
|
| 547 | 534 |
|
| 548 |
- <!-- btn_wrap --> |
|
| 549 |
- <div class="btn_wrap right"> |
|
| 550 |
- <button class="btn btn_text btn_46 blue_fill" onclick="fncReg(); return false;">저 장</button> |
|
| 551 |
- <button class="btn btn_text btn_46 gray_fill" onclick="fnListPage(); return false;">목 록</button> |
|
| 552 |
- </div> |
|
| 553 |
- <!-- //btn_wrap --> |
|
| 554 |
- </div> |
|
| 555 |
- </div> |
|
| 556 |
- </div> |
|
| 557 |
- <!-- //cont --> |
|
| 535 |
+<div class="btn_wrap right"> |
|
| 536 |
+ <button class="btn fill primary xlarge" onclick="fncReg(); return false;">저 장</button> |
|
| 537 |
+ <button class="btn fill gray xlarge" onclick="fnListPage(); return false;">목 록</button> |
|
| 538 |
+</div> |
|
| 558 | 539 |
</form:form> |
| 559 | 540 |
|
| 560 | 541 |
<form name="searchForm" id="searchForm" method="get" action="<c:url value='/uss/umt/user/EgovUserManage.do'/>" ></form> |
| 561 | 542 |
<div class="setDiv"> |
| 562 | 543 |
<div class="mask"></div> |
| 563 |
- <div class="popup_wrap window id_duplication_popup" style="width:500px;"> |
|
| 564 |
- <div class="popup_tit"> |
|
| 565 |
- <p>아이디 중복 확인</p> |
|
| 566 |
- <button class="btn_popup_close close" title="팝업 닫기"><i></i></button> |
|
| 544 |
+ <div class="popup window id_duplication_popup" style="width:500px;"> |
|
| 545 |
+ <div class="popup_title_area"> |
|
| 546 |
+ <h1 class="popup_title">아이디 중복 확인</h1> |
|
| 547 |
+ <button class="btn_popup_close close" title="팝업 닫기"><i class="icon x"></i></button> |
|
| 567 | 548 |
</div> |
| 568 |
- <div class="cont_popup"> |
|
| 569 |
- <p class="popup_sub_tit">중복확인을 실행하십시오</p> |
|
| 549 |
+ <div class="popup_content"> |
|
| 550 |
+ <p class="text_primary">중복확인을 실행하십시오</p> |
|
| 570 | 551 |
|
| 571 |
- <div class="col-table data-table"> |
|
| 572 |
- <table> |
|
| 573 |
- <colgroup> |
|
| 574 |
- <col style="width:30%;"> |
|
| 575 |
- <col style="width:70%;"> |
|
| 576 |
- </colgroup> |
|
| 577 |
- <tbody> |
|
| 578 |
- <tr> |
|
| 579 |
- <th>사용할 아이디</th> |
|
| 580 |
- <td><input type="text" id="checkIdModal"><button class="btn btn_text btn_30 blue_border btnType03" onclick="fn_id_check(); return false;">중복확인조회</button></td> |
|
| 581 |
- </tr> |
|
| 582 |
- </tbody> |
|
| 583 |
- </table> |
|
| 552 |
+ <div class="form_group w100per mt20"> |
|
| 553 |
+ <div class="form_wrap w100per column"> |
|
| 554 |
+ <strong class="text_secondary">사용할 아이디</strong> |
|
| 555 |
+ <input type="text" id="checkIdModal" class="input medium w100per"/> |
|
| 556 |
+ </div> |
|
| 557 |
+ </div> |
|
| 558 |
+ <div class="btn_wrap center w60per" style="margin:20px auto 0;"> |
|
| 559 |
+ <button type="button" onclick="fn_id_check(); return false;" class="btn line primary large w70per">중복확인조회</button> |
|
| 560 |
+ <button type="button" class="close btn fill gray large w30per">닫기</button> |
|
| 584 | 561 |
</div> |
| 585 | 562 |
|
| 586 |
- <!-- <div class="id_check2"> |
|
| 587 |
- <span>사용할 아이디</span><input type="text" id="checkIdModal"> |
|
| 588 |
- </div> --> |
|
| 589 |
- <!-- <div class="id_check3"> |
|
| 590 |
- <span>중복확인을 실행하십시오</span><button class="btnType03" onclick="fn_id_check(); return false;">중복확인조회</button> |
|
| 591 |
- </div> --> |
|
| 592 |
- |
|
| 593 |
- </p> |
|
| 594 |
- |
|
| 595 |
- <div class="btn_wrap center"> |
|
| 596 |
- <button type="button" class="btn btn_text btn_36 gray_fill btnType03" onclick="layerPopToggle();">닫기</button> |
|
| 597 |
- </div> |
|
| 598 | 563 |
</div> |
| 599 | 564 |
</div> |
| 600 | 565 |
</div> |
--- src/main/webapp/WEB-INF/jsp/cmm/uss/umt/EgovUserManage.jsp
+++ src/main/webapp/WEB-INF/jsp/cmm/uss/umt/EgovUserManage.jsp
... | ... | @@ -151,184 +151,177 @@ |
| 151 | 151 |
<input type="hidden" name="searchSortCnd" value="<c:out value="${userSearchVO.searchSortCnd}" />" />
|
| 152 | 152 |
<input type="hidden" name="searchSortOrd" value="<c:out value="${userSearchVO.searchSortOrd}" />" />
|
| 153 | 153 |
<input type="hidden" name="gnrlUser" value="N"/> |
| 154 |
- <div class="cont_wrap"> |
|
| 155 |
- <div class="box"> |
|
| 156 |
- <div class="cont_tit"> |
|
| 157 |
- <h2>관리자관리</h2> |
|
| 158 |
- <ul class="cont_nav"> |
|
| 159 |
- <li class="home"><a href="/"><i></i></a></li> |
|
| 160 |
- <li><p>관리자관리</p></li> |
|
| 161 |
- <li><span class="cur_nav">관리자 관리</span></li> |
|
| 162 |
- </ul> |
|
| 163 |
- </div> |
|
| 164 |
- <!-- cont --> |
|
| 165 |
- <div class="cont"> |
|
| 166 |
- <!-- list_top --> |
|
| 167 |
- <div class="list_top table_top"> |
|
| 168 |
- <p class="table_total_text">총 건수 : <span class="color_blue"><c:out value="${paginationInfo.totalRecordCount}" /></span>건</p>
|
|
| 169 |
- <div class="list_util"> |
|
| 170 |
- <c:if test="${siteId eq 'super'}">
|
|
| 171 |
- <select name="searchConditionSite" id="searchConditionSite" title="검색조건2-검색어구분"> |
|
| 172 |
- <c:forEach var="result" items="${siteManageList}" varStatus="status">
|
|
| 173 |
- <option value="${result.siteId}" <c:if test="${result.siteId eq userSearchVO.searchConditionSite }">selected="selected"</c:if> >${result.siteNm}</option>
|
|
| 174 |
- </c:forEach> |
|
| 175 |
- </select> |
|
| 176 |
- </c:if> |
|
| 177 |
- <select class="sel2 searchSel" id="searchCondition" name="searchCondition" title="조회조건"> |
|
| 178 |
- <option value="" <c:if test="${empty userSearchVO.searchCondition }">selected="selected"</c:if> >전체</option>
|
|
| 179 |
- <option value="0" <c:if test="${userSearchVO.searchCondition == '0'}">selected="selected"</c:if> >아이디</option>
|
|
| 180 |
- <option value="1" <c:if test="${userSearchVO.searchCondition == '1'}">selected="selected"</c:if> >관리자명</option>
|
|
| 181 |
- </select> |
|
| 182 |
- |
|
| 183 |
- <input type="text" id="searchKeyword" name="searchKeyword" value="<c:out value='${userSearchVO.searchKeyword}'/>" class="search_input" placeholder="검색어를 입력하세요">
|
|
| 184 |
- <button class="btn btn_text blue_border btn_search" onclick="fnSearch(); return false;">검색</button> |
|
| 185 |
- |
|
| 186 |
- <select class="sel2 searchSel" name="pageUnit" id="pageUnit" onchange="linkPage(1);" title="줄 선택" style="width: 140px"> |
|
| 187 |
- <option value='10' <c:if test="${userSearchVO.pageUnit == '10' or userSearchVO.pageUnit == ''}">selected</c:if>>10줄</option>
|
|
| 188 |
- <option value='20' <c:if test="${userSearchVO.pageUnit == '20'}">selected</c:if>>20줄</option>
|
|
| 189 |
- <option value='30' <c:if test="${userSearchVO.pageUnit == '30'}">selected</c:if>>30줄</option>
|
|
| 190 |
- </select> |
|
| 191 |
- </div> |
|
| 192 |
- </div> |
|
| 193 |
- <!-- //list_top --> |
|
| 194 |
- |
|
| 195 |
- <!-- list --> |
|
| 196 |
- <div class="table-layout mt15"> |
|
| 197 |
- <table> |
|
| 198 |
- <colgroup> |
|
| 199 |
- <col style="width: 5%"> |
|
| 200 |
- <col style="width: 5%"> |
|
| 201 |
- <col style="width: 8%"> |
|
| 202 |
- <col style="width: 10%"> |
|
| 203 |
- <col style="width: 10%"> |
|
| 204 |
- <%-- <col style="width: 10%"> --%> |
|
| 205 |
- <col style="width: 10%"> |
|
| 206 |
- <col style="width: 10%"> |
|
| 207 |
- <col style="width: 10%"> |
|
| 208 |
- <col style="width: auto"> |
|
| 209 |
- <col style="width: 10%"> |
|
| 210 |
- </colgroup> |
|
| 211 |
- <thead> |
|
| 212 |
- <tr> |
|
| 213 |
- <th><input type="checkbox" name="checkAll" id="checkAll" onclick="fnCheckAll();" /><label for="checkAll"></label></th> |
|
| 214 |
- <th scope="col">번호<button class="sort sortBtn" id="sort_uniqId">▲</button></th> |
|
| 215 |
- <th scope="col">권한<button class="sort sortBtn" id="sort_authorCodeTxt">▲</button></th> |
|
| 216 |
- <th scope="col">아이디<button class="sort sortBtn" id="sort_userId">▲</button></th> |
|
| 217 |
- <th scope="col">성명<button class="sort sortBtn" id="sort_userNm">▲</button></th> |
|
| 218 |
- <!-- <th scope="col">소속<button class="sort sortBtn" id="sort_partIdxTxt">▲</button></th> --> |
|
| 219 |
- <th scope="col">직책<button class="sort sortBtn" id="sort_ofcpsNm">▲</button></th> |
|
| 220 |
- <th scope="col">전화번호<button class="sort sortBtn" id="sort_offmTelno">▲</button></th> |
|
| 221 |
- <th scope="col">팩스번호<button class="sort sortBtn" id="sort_fxNum">▲</button></th> |
|
| 222 |
- <th scope="col">담당업무<!-- <button class="sort sortBtn" id="sort_fxNum">▲</button> --></th> |
|
| 223 |
- <th scope="col">등록일<button class="sort sortBtn" id="sort_sbscrbDe">▲</button></th> |
|
| 224 |
- </tr> |
|
| 225 |
- </thead> |
|
| 226 |
- <tbody> |
|
| 227 |
- <c:forEach var="result" items="${resultList}" varStatus="status">
|
|
| 228 |
- <tr> |
|
| 229 |
- <td> |
|
| 230 |
- <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>
|
|
| 231 |
- <input name="checkId" type="hidden" value="<c:out value='${result.userTy}'/>:<c:out value='${result.uniqId}'/>"/>
|
|
| 232 |
- </td> |
|
| 233 |
- <td> |
|
| 234 |
- <c:if test="${userSearchVO.searchSortOrd eq 'desc' }">
|
|
| 235 |
- <c:out value="${ ( paginationInfo.totalRecordCount - ((userSearchVO.pageIndex -1)*userSearchVO.pageUnit) ) - status.index }"/>
|
|
| 236 |
- </c:if> |
|
| 237 |
- <c:if test="${userSearchVO.searchSortOrd eq 'asc' }">
|
|
| 238 |
- <c:out value="${(userSearchVO.pageIndex - 1) * userSearchVO.pageUnit + status.count}"/>
|
|
| 239 |
- </c:if> |
|
| 240 |
- </td> |
|
| 241 |
- <td> |
|
| 242 |
- <c:forEach items="${authorList}" var="authorResult" varStatus="status">
|
|
| 243 |
- <c:if test="${authorResult.authorCode eq result.authorCode}">
|
|
| 244 |
- ${authorResult.authorNm}
|
|
| 245 |
- </c:if> |
|
| 246 |
- </c:forEach> |
|
| 247 |
- </td> |
|
| 248 |
- |
|
| 249 |
- <td> |
|
| 250 |
- <a href="<c:url value='/uss/umt/user/EgovUserSelectUpdtView.do'/>?selectedId=<c:out value="${result.uniqId}"/>" onclick="javascript:fnSelectUser('<c:out value="${result.userTy}"/>:<c:out value="${result.uniqId}"/>'); return false;">
|
|
| 251 |
- <p class="privateInfo"><c:out value="${result.userId}"/></p>
|
|
| 252 |
- </a> |
|
| 253 |
- </td> |
|
| 254 |
- <td> |
|
| 255 |
- <p class="privateInfo"><c:out value="${result.userNm}"/></p>
|
|
| 256 |
- </td> |
|
| 257 |
- |
|
| 258 |
- <%-- <td> |
|
| 259 |
- <span><c:out value="${result.partIdxTxt}"/></span>
|
|
| 260 |
- </td> --%> |
|
| 261 |
- |
|
| 262 |
- <td> |
|
| 263 |
- <%-- <c:set var="ofcpsNm" value="" /> |
|
| 264 |
- <c:if test="${result.ofcpsNm eq '10'}">
|
|
| 265 |
- <c:set var="ofcpsNm" value="조정조사관" /> |
|
| 266 |
- </c:if> |
|
| 267 |
- <c:if test="${result.ofcpsNm eq '20'}">
|
|
| 268 |
- <c:set var="ofcpsNm" value="조정팀장" /> |
|
| 269 |
- </c:if> |
|
| 270 |
- <c:if test="${result.ofcpsNm eq '30'}">
|
|
| 271 |
- <c:set var="ofcpsNm" value="부서장" /> |
|
| 272 |
- </c:if> |
|
| 273 |
- <c:if test="${result.ofcpsNm eq '40'}">
|
|
| 274 |
- <c:set var="ofcpsNm" value="위원장" /> |
|
| 275 |
- </c:if> |
|
| 276 |
- <c:if test="${result.ofcpsNm eq 'admin'}">
|
|
| 277 |
- <c:set var="ofcpsNm" value="시스템관리자" /> |
|
| 278 |
- </c:if> |
|
| 279 |
- <c:if test="${result.ofcpsNm eq '80'}">
|
|
| 280 |
- <c:set var="ofcpsNm" value="법원연계 조정위원" /> |
|
| 281 |
- </c:if> --%> |
|
| 282 |
- |
|
| 283 |
- <span class="privateInfo"> |
|
| 284 |
- <c:out value="${result.ofcpsNm}"/>
|
|
| 285 |
- </span> |
|
| 286 |
- </td> |
|
| 287 |
- <td> |
|
| 288 |
- <c:out value="${result.offmTelno}"/>
|
|
| 289 |
- </td> |
|
| 290 |
- <td> |
|
| 291 |
- <c:out value="${result.fxNum}"/>
|
|
| 292 |
- </td> |
|
| 293 |
- <td> |
|
| 294 |
- <c:out value="${result.userWork}"/>
|
|
| 295 |
- </td> |
|
| 296 |
- <td> |
|
| 297 |
- <c:out value="${result.sbscrbDe}"/>
|
|
| 298 |
- </td> |
|
| 299 |
- </tr> |
|
| 300 |
- </c:forEach> |
|
| 301 |
- <c:if test="${empty resultList}">
|
|
| 302 |
- <tr><td colspan="10"><spring:message code="common.nodata.msg" /></td></tr> |
|
| 303 |
- </c:if> |
|
| 304 |
- </tbody> |
|
| 305 |
- </table> |
|
| 306 |
- </div> |
|
| 307 |
- <!-- //list --> |
|
| 308 |
- |
|
| 309 |
- <!-- btn_wrap --> |
|
| 310 |
- <div class="btn_wrap"> |
|
| 311 |
- <div class="area_left"> |
|
| 312 |
- <button type="button" class="btn btn_text btn_46 red_border" onclick="fnDeleteUser(); return false;">삭제</button> |
|
| 313 |
- </div> |
|
| 314 |
- <div class="area_right"> |
|
| 315 |
- <button type="button" class="btn btn_text btn_46 blue_fill" onclick="fnAddUserView(); return false;">등록</button> |
|
| 316 |
- </div> |
|
| 317 |
- </div> |
|
| 318 |
- <!-- //btn_wrap --> |
|
| 319 |
- |
|
| 320 |
- <!-- page --> |
|
| 321 |
- <c:if test="${!empty resultList}">
|
|
| 322 |
- <div class="page"> |
|
| 323 |
- <ul class="inline"> |
|
| 324 |
- <ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
|
|
| 325 |
- </ul> |
|
| 326 |
- </div> |
|
| 327 |
- </c:if> |
|
| 328 |
- </div> |
|
| 329 |
- <!-- //cont --> |
|
| 154 |
+ |
|
| 155 |
+ <div class="content_title"> |
|
| 156 |
+ <h3>관리자관리</h3> |
|
| 157 |
+ <ol class="breadcrumb"> |
|
| 158 |
+ <li><a href="#" class="home" title="메인으로 이동"><i></i></a></li> |
|
| 159 |
+ <li><a href="#">관리자관리</a></li> |
|
| 160 |
+ <li><strong class="current_location">관리자관리</strong></li> |
|
| 161 |
+ </ol> |
|
| 162 |
+ </div> |
|
| 163 |
+ |
|
| 164 |
+ <div class="search_area"> |
|
| 165 |
+ <div class="search_left"> |
|
| 166 |
+ <p class="total_number">총 건수 : <b><c:out value="${paginationInfo.totalRecordCount}" /></b>건</p>
|
|
| 167 |
+ </div> |
|
| 168 |
+ <div class="search_right"> |
|
| 169 |
+ <c:if test="${siteId eq 'super'}">
|
|
| 170 |
+ <select name="searchConditionSite" class="select search_select" id="searchConditionSite" title="검색조건2-검색어구분"> |
|
| 171 |
+ <c:forEach var="result" items="${siteManageList}" varStatus="status">
|
|
| 172 |
+ <option value="${result.siteId}" <c:if test="${result.siteId eq userSearchVO.searchConditionSite }">selected="selected"</c:if> >${result.siteNm}</option>
|
|
| 173 |
+ </c:forEach> |
|
| 174 |
+ </select> |
|
| 175 |
+ </c:if> |
|
| 176 |
+ <select class="select search_select" id="searchCondition" name="searchCondition" title="조회조건"> |
|
| 177 |
+ <option value="" <c:if test="${empty userSearchVO.searchCondition }">selected="selected"</c:if> >전체</option>
|
|
| 178 |
+ <option value="0" <c:if test="${userSearchVO.searchCondition == '0'}">selected="selected"</c:if> >아이디</option>
|
|
| 179 |
+ <option value="1" <c:if test="${userSearchVO.searchCondition == '1'}">selected="selected"</c:if> >관리자명</option>
|
|
| 180 |
+ </select> |
|
| 181 |
+ |
|
| 182 |
+ <input type="text" class="input search_input" id="searchKeyword" name="searchKeyword" value="<c:out value='${userSearchVO.searchKeyword}'/>" class="search_input" placeholder="검색어를 입력하세요">
|
|
| 183 |
+ <button class="btn btn_search" onclick="fnSearch(); return false;">검색</button> |
|
| 184 |
+ |
|
| 185 |
+ <select class="select search_select" name="pageUnit" id="pageUnit" onchange="linkPage(1);" title="줄 선택" style="width: 140px"> |
|
| 186 |
+ <option value='10' <c:if test="${userSearchVO.pageUnit == '10' or userSearchVO.pageUnit == ''}">selected</c:if>>10줄</option>
|
|
| 187 |
+ <option value='20' <c:if test="${userSearchVO.pageUnit == '20'}">selected</c:if>>20줄</option>
|
|
| 188 |
+ <option value='30' <c:if test="${userSearchVO.pageUnit == '30'}">selected</c:if>>30줄</option>
|
|
| 189 |
+ </select> |
|
| 330 | 190 |
</div> |
| 331 | 191 |
</div> |
| 192 |
+ |
|
| 193 |
+ <div class="table table_type_cols"> |
|
| 194 |
+ <table> |
|
| 195 |
+ <colgroup> |
|
| 196 |
+ <col style="width: 40px"> |
|
| 197 |
+ <col style="width: 6%"> |
|
| 198 |
+ <col style="width: 10%"> |
|
| 199 |
+ <col style="width: 8%"> |
|
| 200 |
+ <col style="width: 8%"> |
|
| 201 |
+ <%-- <col style="width: 10%"> --%> |
|
| 202 |
+ <col style="width: 12%"> |
|
| 203 |
+ <col style="width: 12%"> |
|
| 204 |
+ <col style="width: 12%"> |
|
| 205 |
+ <col style="width: auto"> |
|
| 206 |
+ <col style="width: 12%"> |
|
| 207 |
+ </colgroup> |
|
| 208 |
+ <thead> |
|
| 209 |
+ <tr> |
|
| 210 |
+ <th><input type="checkbox" name="checkAll" id="checkAll" onclick="fnCheckAll();" /><label for="checkAll"></label></th> |
|
| 211 |
+ <th scope="col">번호<button class="sort sortBtn" id="sort_uniqId">▲</button></th> |
|
| 212 |
+ <th scope="col">권한<button class="sort sortBtn" id="sort_authorCodeTxt">▲</button></th> |
|
| 213 |
+ <th scope="col">아이디<button class="sort sortBtn" id="sort_userId">▲</button></th> |
|
| 214 |
+ <th scope="col">성명<button class="sort sortBtn" id="sort_userNm">▲</button></th> |
|
| 215 |
+ <!-- <th scope="col">소속<button class="sort sortBtn" id="sort_partIdxTxt">▲</button></th> --> |
|
| 216 |
+ <th scope="col">직책<button class="sort sortBtn" id="sort_ofcpsNm">▲</button></th> |
|
| 217 |
+ <th scope="col">전화번호<button class="sort sortBtn" id="sort_offmTelno">▲</button></th> |
|
| 218 |
+ <th scope="col">팩스번호<button class="sort sortBtn" id="sort_fxNum">▲</button></th> |
|
| 219 |
+ <th scope="col">담당업무<!-- <button class="sort sortBtn" id="sort_fxNum">▲</button> --></th> |
|
| 220 |
+ <th scope="col">등록일<button class="sort sortBtn" id="sort_sbscrbDe">▲</button></th> |
|
| 221 |
+ </tr> |
|
| 222 |
+ </thead> |
|
| 223 |
+ <tbody> |
|
| 224 |
+ <c:forEach var="result" items="${resultList}" varStatus="status">
|
|
| 225 |
+ <tr> |
|
| 226 |
+ <td> |
|
| 227 |
+ <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>
|
|
| 228 |
+ <input name="checkId" type="hidden" value="<c:out value='${result.userTy}'/>:<c:out value='${result.uniqId}'/>"/>
|
|
| 229 |
+ </td> |
|
| 230 |
+ <td> |
|
| 231 |
+ <c:if test="${userSearchVO.searchSortOrd eq 'desc' }">
|
|
| 232 |
+ <c:out value="${ ( paginationInfo.totalRecordCount - ((userSearchVO.pageIndex -1)*userSearchVO.pageUnit) ) - status.index }"/>
|
|
| 233 |
+ </c:if> |
|
| 234 |
+ <c:if test="${userSearchVO.searchSortOrd eq 'asc' }">
|
|
| 235 |
+ <c:out value="${(userSearchVO.pageIndex - 1) * userSearchVO.pageUnit + status.count}"/>
|
|
| 236 |
+ </c:if> |
|
| 237 |
+ </td> |
|
| 238 |
+ <td> |
|
| 239 |
+ <c:forEach items="${authorList}" var="authorResult" varStatus="status">
|
|
| 240 |
+ <c:if test="${authorResult.authorCode eq result.authorCode}">
|
|
| 241 |
+ ${authorResult.authorNm}
|
|
| 242 |
+ </c:if> |
|
| 243 |
+ </c:forEach> |
|
| 244 |
+ </td> |
|
| 245 |
+ |
|
| 246 |
+ <td> |
|
| 247 |
+ <a href="<c:url value='/uss/umt/user/EgovUserSelectUpdtView.do'/>?selectedId=<c:out value="${result.uniqId}"/>" onclick="javascript:fnSelectUser('<c:out value="${result.userTy}"/>:<c:out value="${result.uniqId}"/>'); return false;">
|
|
| 248 |
+ <p class="privateInfo"><c:out value="${result.userId}"/></p>
|
|
| 249 |
+ </a> |
|
| 250 |
+ </td> |
|
| 251 |
+ <td> |
|
| 252 |
+ <p class="privateInfo"><c:out value="${result.userNm}"/></p>
|
|
| 253 |
+ </td> |
|
| 254 |
+ |
|
| 255 |
+ <%-- <td> |
|
| 256 |
+ <span><c:out value="${result.partIdxTxt}"/></span>
|
|
| 257 |
+ </td> --%> |
|
| 258 |
+ |
|
| 259 |
+ <td> |
|
| 260 |
+ <%-- <c:set var="ofcpsNm" value="" /> |
|
| 261 |
+ <c:if test="${result.ofcpsNm eq '10'}">
|
|
| 262 |
+ <c:set var="ofcpsNm" value="조정조사관" /> |
|
| 263 |
+ </c:if> |
|
| 264 |
+ <c:if test="${result.ofcpsNm eq '20'}">
|
|
| 265 |
+ <c:set var="ofcpsNm" value="조정팀장" /> |
|
| 266 |
+ </c:if> |
|
| 267 |
+ <c:if test="${result.ofcpsNm eq '30'}">
|
|
| 268 |
+ <c:set var="ofcpsNm" value="부서장" /> |
|
| 269 |
+ </c:if> |
|
| 270 |
+ <c:if test="${result.ofcpsNm eq '40'}">
|
|
| 271 |
+ <c:set var="ofcpsNm" value="위원장" /> |
|
| 272 |
+ </c:if> |
|
| 273 |
+ <c:if test="${result.ofcpsNm eq 'admin'}">
|
|
| 274 |
+ <c:set var="ofcpsNm" value="시스템관리자" /> |
|
| 275 |
+ </c:if> |
|
| 276 |
+ <c:if test="${result.ofcpsNm eq '80'}">
|
|
| 277 |
+ <c:set var="ofcpsNm" value="법원연계 조정위원" /> |
|
| 278 |
+ </c:if> --%> |
|
| 279 |
+ |
|
| 280 |
+ <span class="privateInfo"> |
|
| 281 |
+ <c:out value="${result.ofcpsNm}"/>
|
|
| 282 |
+ </span> |
|
| 283 |
+ </td> |
|
| 284 |
+ <td> |
|
| 285 |
+ <c:out value="${result.offmTelno}"/>
|
|
| 286 |
+ </td> |
|
| 287 |
+ <td> |
|
| 288 |
+ <c:out value="${result.fxNum}"/>
|
|
| 289 |
+ </td> |
|
| 290 |
+ <td> |
|
| 291 |
+ <c:out value="${result.userWork}"/>
|
|
| 292 |
+ </td> |
|
| 293 |
+ <td> |
|
| 294 |
+ <c:out value="${result.sbscrbDe}"/>
|
|
| 295 |
+ </td> |
|
| 296 |
+ </tr> |
|
| 297 |
+ </c:forEach> |
|
| 298 |
+ <c:if test="${empty resultList}">
|
|
| 299 |
+ <tr><td colspan="10"><spring:message code="common.nodata.msg" /></td></tr> |
|
| 300 |
+ </c:if> |
|
| 301 |
+ </tbody> |
|
| 302 |
+ </table> |
|
| 303 |
+ </div> |
|
| 304 |
+ |
|
| 305 |
+ <!-- btn_wrap --> |
|
| 306 |
+ <div class="btn_wrap"> |
|
| 307 |
+ <div class="left"> |
|
| 308 |
+ <button type="button" class="btn line red xlarge" onclick="fnDeleteUser(); return false;">삭제</button> |
|
| 309 |
+ </div> |
|
| 310 |
+ <div class="right"> |
|
| 311 |
+ <button type="button" class="btn fill primary xlarge" onclick="fnAddUserView(); return false;">등록</button> |
|
| 312 |
+ </div> |
|
| 313 |
+ </div> |
|
| 314 |
+ <!-- //btn_wrap --> |
|
| 315 |
+ |
|
| 316 |
+ <!-- page --> |
|
| 317 |
+ <c:if test="${!empty resultList}">
|
|
| 318 |
+ <div class="page"> |
|
| 319 |
+ <ul class="inline"> |
|
| 320 |
+ <ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
|
|
| 321 |
+ </ul> |
|
| 322 |
+ </div> |
|
| 323 |
+ </c:if> |
|
| 324 |
+ |
|
| 332 | 325 |
</form> |
| 333 | 326 |
<form name="modiForm" id="modiForm" method="get"> |
| 334 | 327 |
<input name="selectedId" type="hidden" /> |
--- src/main/webapp/WEB-INF/jsp/cmm/uss/umt/EgovUserSelectUpdt.jsp
+++ src/main/webapp/WEB-INF/jsp/cmm/uss/umt/EgovUserSelectUpdt.jsp
... | ... | @@ -410,251 +410,243 @@ |
| 410 | 410 |
<input type="hidden" name="userTyForPassword" value="<c:out value='${userManageVO.userTy}'/>" />
|
| 411 | 411 |
|
| 412 | 412 |
<input type="hidden" name="limitcount" value="1" /><!-- 최대 업로드 파일갯수 --> |
| 413 |
- |
|
| 414 |
- <!-- cont --> |
|
| 415 |
- <div class="cont_wrap"> |
|
| 416 |
- <div class="box"> |
|
| 417 |
- |
|
| 418 |
- <!-- cont_tit --> |
|
| 419 |
- <div class="cont_tit"> |
|
| 420 |
- <h2>관리자수정1</h2> |
|
| 421 |
- <ul class="cont_nav"> |
|
| 422 |
- <li class="home"><a href="/"><i></i></a></li> |
|
| 423 |
- <li> |
|
| 424 |
- <p>관리자관리</p> |
|
| 425 |
- </li> |
|
| 426 |
- <li> |
|
| 427 |
- <p>관리자관리</p> |
|
| 428 |
- </li> |
|
| 429 |
- <li><span class="cur_nav">관리자수정</span></li> |
|
| 430 |
- </ul> |
|
| 431 |
- </div> |
|
| 432 |
- <!-- //cont_tit --> |
|
| 433 |
- |
|
| 434 |
- <div class="cont"> |
|
| 435 |
- <!-- list_상세 --> |
|
| 436 |
- <div class="tbType02 col-table data-table"> |
|
| 437 |
- <table> |
|
| 438 |
- <colgroup> |
|
| 439 |
- <col style="width: 20%"> |
|
| 440 |
- <col style="width: 80%"> |
|
| 441 |
- </colgroup> |
|
| 442 |
- |
|
| 443 |
- <tbody> |
|
| 444 |
- <tr> |
|
| 445 |
- <th><span class="reqArea">사용자아이디</span></th> |
|
| 446 |
- <td colspan="3"> |
|
| 447 |
- <form:input path="emplyrId" id="emplyrId" size="50" maxlength="20" readonly="true" /> |
|
| 448 |
- <form:errors path="emplyrId" cssClass="error"/> |
|
| 449 |
- <form:hidden path="uniqId" /> |
|
| 450 |
- </td> |
|
| 451 |
- </tr> |
|
| 452 |
- <tr> |
|
| 453 |
- <th><span class="reqArea">로그인 유형</span></th> |
|
| 454 |
- <td colspan="3"> |
|
| 455 |
- <div class="radio_wrap none_span"> |
|
| 456 |
- <!-- <span><input type="radio" name="loginType" id="IP" class="radio2" value="IP"><label for="IP">IP제어</label></span> |
|
| 457 |
- <span><input type="radio" name="loginType" id="OTP" class="radio2" value="OTP" checked><label for="OTP">OTP</label></span> --> |
|
| 458 |
- <kc:radio codeId="CC051" name="loginTypeCd" id="loginTypeCd" selectedValue="${userManageVO.loginTypeCd}" />
|
|
| 459 |
- </div> |
|
| 460 |
- </td> |
|
| 461 |
- </tr> |
|
| 462 |
- <tr> |
|
| 463 |
- <th><span class="reqArea">이름</span></th> |
|
| 464 |
- <td colspan="3"> |
|
| 465 |
- <form:input path="emplyrNm" id="emplyrNm" cssClass="txaIpt" size="50" maxlength="60" /> |
|
| 466 |
- <form:errors path="emplyrNm" cssClass="error" /> |
|
| 467 |
- </td> |
|
| 468 |
- </tr> |
|
| 469 |
- |
|
| 470 |
- <c:if test="${!empty isAdmin}">
|
|
| 471 |
- <tr> |
|
| 472 |
- <th>권한</th> |
|
| 473 |
- <td colspan="3"> |
|
| 474 |
- <select name="authorCode" id="authorCode" title="권한" onchange="authorChange(this)"> |
|
| 475 |
- <c:forEach var="authorResult" items="${authorList}" varStatus="status">
|
|
| 476 |
- <c:if test="${!('ROLE_GNRL_USER' eq authorResult.authorCode or 'ROLE_ANONYMOUS' eq authorResult.authorCode)}"> <!-- 사용자/방문자제외 -->
|
|
| 477 |
- <option value="<c:out value="${authorResult.authorCode}"/>" <c:if test="${authorResult.authorCode eq userManageVO.authorCode}">selected</c:if>>
|
|
| 478 |
- <c:out value="${authorResult.authorNm}"/>
|
|
| 479 |
- </option> |
|
| 480 |
- </c:if> |
|
| 481 |
- </c:forEach> |
|
| 482 |
- </select> |
|
| 483 |
- </td> |
|
| 484 |
- </tr> |
|
| 485 |
- <tr> |
|
| 486 |
- <th>직책</th> |
|
| 487 |
- <td colspan="3"> |
|
| 488 |
- <select name="ofcpsNm" title="직급" id="rank1" > |
|
| 489 |
- <option value="10" selected>조정조사관</option> |
|
| 490 |
- <option value="20" <c:if test="${userManageVO.ofcpsNm eq '20'}">selected</c:if>>조정팀장</option>
|
|
| 491 |
- <option value="30" <c:if test="${userManageVO.ofcpsNm eq '30'}">selected</c:if>>부서장</option>
|
|
| 492 |
- <option value="40" <c:if test="${userManageVO.ofcpsNm eq '40'}">selected</c:if>>위원장</option>
|
|
| 493 |
- </select> |
|
| 494 |
- <select name="ofcpsNm" title="직급" id="rank2" > |
|
| 495 |
- <option value="admin">시스템관리자</option> |
|
| 496 |
- </select> |
|
| 497 |
- |
|
| 498 |
- <select name="ofcpsNm" title="직급" id="rank3" style="display:none;" disabled="disabled" onchange="authorChangeCourt(this)"> |
|
| 499 |
- <option value="80" <c:if test="${userManageVO.ofcpsNm eq '80'}">selected</c:if>>법원연계 조정위원</option>
|
|
| 500 |
- <option value="90" <c:if test="${userManageVO.ofcpsNm eq '90'}">selected</c:if>>법원연계 총괄조정위원</option>
|
|
| 501 |
- </select> |
|
| 502 |
- </td> |
|
| 503 |
- </tr> |
|
| 504 |
- <tr id="rank4"> |
|
| 505 |
- <th>연계법원</th> |
|
| 506 |
- <td colspan="3"> |
|
| 507 |
- <kc:select codeId="CC701" id="insttCode" name="insttCode" selectedValue="${userManageVO.insttCode}" defaultValue="00" defaultText="없음"/>
|
|
| 508 |
- </td> |
|
| 509 |
- </tr> |
|
| 510 |
- </c:if> |
|
| 511 |
- <tr> |
|
| 512 |
- <th>전화번호</th> |
|
| 513 |
- <td colspan="3"> |
|
| 514 |
- <form:input path="offmTelno" id="offmTelno" cssClass="txaIpt" size="50" maxlength="15" placeholder="예시 : 02-123-4567" /> |
|
| 515 |
- <form:errors path="offmTelno" cssClass="error" /> |
|
| 516 |
- </td> |
|
| 517 |
- </tr> |
|
| 518 |
- |
|
| 519 |
- <tr> |
|
| 520 |
- <th>팩스번호</th> |
|
| 521 |
- <td colspan="3"> |
|
| 522 |
- <form:input path="fxnum" id="fxnum" cssClass="txaIpt" size="50" maxlength="15" placeholder="예시 : 02-123-4567" /> |
|
| 523 |
- <form:errors path="fxnum" cssClass="error" /> |
|
| 524 |
- </td> |
|
| 525 |
- </tr> |
|
| 526 |
- |
|
| 527 |
- <tr> |
|
| 528 |
- <th>담당업무</th> |
|
| 529 |
- <td colspan="3"> |
|
| 530 |
- <form:input path="userWork" id="userWork" cssClass="txaIpt" size="50" maxlength="15" placeholder="" /> |
|
| 531 |
- <form:errors path="userWork" cssClass="error" /> |
|
| 532 |
- </td> |
|
| 533 |
- </tr> |
|
| 534 |
- |
|
| 535 |
- <tr> |
|
| 536 |
- <th>이메일주소</th> |
|
| 537 |
- <td colspan="3"> |
|
| 538 |
- <form:input path="emailAdres" id="emailAdres" cssClass="txaIpt" size="50" maxlength="50" /> |
|
| 539 |
- <form:errors path="emailAdres" cssClass="error" /> |
|
| 540 |
- </td> |
|
| 541 |
- </tr> |
|
| 542 |
- <tr> |
|
| 543 |
- <th><span class="">서명이미지</span></th> |
|
| 544 |
- <td class="upload_area"> |
|
| 545 |
- <input type="file" id="file_temp" name="file_temp" class="uploadFile" style="display:none"/> |
|
| 546 |
- <button type="button" id="filebutton" class="btn btn_text btn_36 blue_border btn_add_file">파일 첨부하기</button> |
|
| 547 |
- <div class="file_wrap file_upload_box no_img_box"> |
|
| 548 |
- <table> |
|
| 549 |
- <colgroup> |
|
| 550 |
- <col style="width: 60%;"> |
|
| 551 |
- <col style="width: auto;"> |
|
| 552 |
- <col style="width: 20%;"> |
|
| 553 |
- <col style="width: 10%;"> |
|
| 554 |
- </colgroup> |
|
| 555 |
- <thead> |
|
| 556 |
- <!-- <th> |
|
| 557 |
- <input type="checkbox" id="all_check"><label for="all_check"></label> |
|
| 558 |
- </th> --> |
|
| 559 |
- <th>파일 명</th> |
|
| 560 |
- <th>종류</th> |
|
| 561 |
- <th>크기</th> |
|
| 562 |
- <th>삭제</th> |
|
| 563 |
- </thead> |
|
| 564 |
- <tbody class="tb_file_before"> |
|
| 565 |
- <tr> |
|
| 566 |
- <td colspan="4"> |
|
| 567 |
- <p>첨부하실 파일을 <span>마우스로 끌어서</span> 넣어주세요.</p> |
|
| 568 |
- </td> |
|
| 569 |
- </tr> |
|
| 570 |
- </tbody> |
|
| 571 |
- </table> |
|
| 572 |
- </div> |
|
| 573 | 413 |
|
| 574 |
- <div class="file_wrap fileAfter file_list_div"> |
|
| 575 |
- <table> |
|
| 576 |
- <colgroup> |
|
| 577 |
- <col style="width: 60%"> |
|
| 578 |
- <col style="width: 10%"> |
|
| 579 |
- <col style="width: 20%"> |
|
| 580 |
- <col style="width: 10%"> |
|
| 581 |
- </colgroup> |
|
| 582 |
- <thead> |
|
| 583 |
- <!-- <th> |
|
| 584 |
- <input type="checkbox" id="all_check"><label for="all_check"></label> |
|
| 585 |
- </th> --> |
|
| 586 |
- <th>파일 명</th> |
|
| 587 |
- <th>종류</th> |
|
| 588 |
- <th>크기</th> |
|
| 589 |
- <th>삭제</th> |
|
| 590 |
- </thead> |
|
| 591 |
- <tbody id="tbody_fiielist" class="tb_file_after"> |
|
| 592 |
- <c:forEach var="fileList" items="${fileList}" varStatus="status">
|
|
| 593 |
- <tr class="item_<c:out value='${fileList.atchFileId}' />_<c:out value='${fileList.fileSn}' /> uploaded_obj">
|
|
| 594 |
- <input type="hidden" name="fileSize" class="item_file_size" value="${fileList.fileSize}">
|
|
| 595 |
- <td class="td_filename"> |
|
| 596 |
- <!-- <img src="/direct/img/upload_hwp_img.png" alt="" /> --> |
|
| 597 |
- <span class="file_name_text"><c:out value='${fileList.orignlFileNm}' /></span>
|
|
| 598 |
- </td> |
|
| 599 |
- <td class="td_filesort"> |
|
| 600 |
- <span class="file_filesort_text" value="<c:out value="${fileList.fileExtsn}"/>"><c:out value="${fileList.fileExtsn}"/></span>
|
|
| 601 |
- </td> |
|
| 602 |
- <td class="td_filesize"> |
|
| 603 |
- <span class="file_size_text" value="<c:out value="${fileList.fileMg}"/>"><c:out value="${fileList.fileMg}"/></span>
|
|
| 604 |
- </td> |
|
| 605 |
- <td> |
|
| 606 |
- <button type="button" class="btn_del" onclick="delAtchFile('<c:out value='${fileList.atchFileId}' />', '<c:out value='${fileList.fileSn}' />'); return false;"><i></i></button>
|
|
| 607 |
- </td> |
|
| 608 |
- </tr> |
|
| 609 |
- </c:forEach> |
|
| 610 |
- </tbody> |
|
| 611 |
- </table> |
|
| 612 |
- </div> |
|
| 613 |
- </td> |
|
| 614 |
- </tr> |
|
| 615 |
- |
|
| 616 |
- <%-- <c:if test="${empty isAdmin and empty isMember}">
|
|
| 617 |
- <tr> |
|
| 618 |
- <th>비밀번호확인</th> |
|
| 619 |
- <td colspan="3"> |
|
| 620 |
- <input type="password" name="passwdCmp" id="passwdCmp" type="text" value="" size="50" maxlength="50" style="width: 95%;"> |
|
| 621 |
- </td> |
|
| 622 |
- </tr> |
|
| 623 |
- </c:if> --%> |
|
| 624 |
- <c:if test="${!empty isAdmin}">
|
|
| 625 |
- <tr> |
|
| 626 |
- <th>로그인 실패 횟수</br>초기화</th> |
|
| 627 |
- <td colspan="3"> |
|
| 628 |
- <button class="btn btn_text btn_36 gray_border" onclick="passMissReset(); return false;">초기화</button> |
|
| 629 |
- <!-- <input type="button" class="btnType1" value="초기화" onclick="passMissReset(); return false;"> --> |
|
| 630 |
- </td> |
|
| 631 |
- </tr> |
|
| 632 |
- </c:if> |
|
| 633 |
- </tbody> |
|
| 634 |
- </table> |
|
| 635 |
- </div> |
|
| 636 |
- <!-- //list_상세 --> |
|
| 414 |
+ <div class="content_title"> |
|
| 415 |
+ <h3>관리자수정</h3> |
|
| 416 |
+ <ol class="breadcrumb"> |
|
| 417 |
+ <li><a href="#" class="home" title="메인으로 이동"><i></i></a></li> |
|
| 418 |
+ <li><a href="#">관리자 관리</a></li> |
|
| 419 |
+ <li><a href="#">관리자 관리</a></li> |
|
| 420 |
+ <li><strong class="current_location">관리자수정</strong></li> |
|
| 421 |
+ </ol> |
|
| 422 |
+ </div> |
|
| 423 |
+ |
|
| 424 |
+ <div class="table table_type_rows"> |
|
| 425 |
+ <table> |
|
| 426 |
+ <colgroup> |
|
| 427 |
+ <col style="width: 20%"> |
|
| 428 |
+ <col style="width: 80%"> |
|
| 429 |
+ </colgroup> |
|
| 637 | 430 |
|
| 638 |
- <!-- btn_wrap --> |
|
| 639 |
- <div class="btn_wrap btn_layout01"> |
|
| 640 |
- <div class="area_left"> |
|
| 641 |
- <c:if test="${!empty isAdmin}">
|
|
| 642 |
- <button class="btn btn_text btn_46 red_border btnType04" onclick="fnDeleteUser('<c:out value='${userManageVO.userTy}'/>:<c:out value='${userManageVO.uniqId}'/>'); return false;">삭제</button>
|
|
| 643 |
- </c:if> |
|
| 644 |
- <button class="btn btn_text btn_46 blue_border" onclick="fnPasswordMove(); return false;">비밀번호 변경</button> |
|
| 645 |
- </div> |
|
| 646 |
- <div class="area_right"> |
|
| 647 |
- |
|
| 648 |
- <button class="btn btn_text btn_46 blue_fill" onclick="javascript:fnUpdates(); return false;">수 정</button> |
|
| 649 |
- <!-- <button class="btnType03" onclick="fnListPage(); return false;">목 록</button> --> |
|
| 650 |
- <button class="btn btn_text btn_46 gray_fill" onclick="history.go(-3);">목 록</button> |
|
| 651 |
- </div> |
|
| 652 |
- </div> |
|
| 653 |
- <!-- //btn_wrap --> |
|
| 654 |
- </div> |
|
| 431 |
+ <tbody> |
|
| 432 |
+ <tr> |
|
| 433 |
+ <th><span class="required">*</span>사용자아이디</th> |
|
| 434 |
+ <td> |
|
| 435 |
+ <form:input path="emplyrId" id="emplyrId" cssClass="input w50per" size="50" maxlength="20" readonly="true" /> |
|
| 436 |
+ <form:errors path="emplyrId" cssClass="error"/> |
|
| 437 |
+ <form:hidden path="uniqId" /> |
|
| 438 |
+ </td> |
|
| 439 |
+ </tr> |
|
| 440 |
+ <tr> |
|
| 441 |
+ <th><span class="required">*</span>로그인 유형</th> |
|
| 442 |
+ <td> |
|
| 443 |
+ <div class="radio_wrap none_span"> |
|
| 444 |
+ <!-- <span><input type="radio" name="loginType" id="IP" class="radio2" value="IP"><label for="IP">IP제어</label></span> |
|
| 445 |
+ <span><input type="radio" name="loginType" id="OTP" class="radio2" value="OTP" checked><label for="OTP">OTP</label></span> --> |
|
| 446 |
+ <kc:radio codeId="CC051" name="loginTypeCd" id="loginTypeCd" selectedValue="${userManageVO.loginTypeCd}" />
|
|
| 447 |
+ </div> |
|
| 448 |
+ </td> |
|
| 449 |
+ </tr> |
|
| 450 |
+ <tr> |
|
| 451 |
+ <th><span class="required">*</span>이름</th> |
|
| 452 |
+ <td> |
|
| 453 |
+ <form:input path="emplyrNm" id="emplyrNm" cssClass="input" size="50" maxlength="60" /> |
|
| 454 |
+ <form:errors path="emplyrNm" cssClass="error" /> |
|
| 455 |
+ </td> |
|
| 456 |
+ </tr> |
|
| 457 |
+ |
|
| 458 |
+ <c:if test="${!empty isAdmin}">
|
|
| 459 |
+ <tr> |
|
| 460 |
+ <th>권한</th> |
|
| 461 |
+ <td> |
|
| 462 |
+ <select name="authorCode" id="authorCode" title="권한" onchange="authorChange(this)"> |
|
| 463 |
+ <c:forEach var="authorResult" items="${authorList}" varStatus="status">
|
|
| 464 |
+ <c:if test="${!('ROLE_GNRL_USER' eq authorResult.authorCode or 'ROLE_ANONYMOUS' eq authorResult.authorCode)}"> <!-- 사용자/방문자제외 -->
|
|
| 465 |
+ <option value="<c:out value="${authorResult.authorCode}"/>" <c:if test="${authorResult.authorCode eq userManageVO.authorCode}">selected</c:if>>
|
|
| 466 |
+ <c:out value="${authorResult.authorNm}"/>
|
|
| 467 |
+ </option> |
|
| 468 |
+ </c:if> |
|
| 469 |
+ </c:forEach> |
|
| 470 |
+ </select> |
|
| 471 |
+ </td> |
|
| 472 |
+ </tr> |
|
| 473 |
+ <tr> |
|
| 474 |
+ <th>직책</th> |
|
| 475 |
+ <td> |
|
| 476 |
+ <select name="ofcpsNm" title="직급" id="rank1" > |
|
| 477 |
+ <option value="10" selected>조정조사관</option> |
|
| 478 |
+ <option value="20" <c:if test="${userManageVO.ofcpsNm eq '20'}">selected</c:if>>조정팀장</option>
|
|
| 479 |
+ <option value="30" <c:if test="${userManageVO.ofcpsNm eq '30'}">selected</c:if>>부서장</option>
|
|
| 480 |
+ <option value="40" <c:if test="${userManageVO.ofcpsNm eq '40'}">selected</c:if>>위원장</option>
|
|
| 481 |
+ </select> |
|
| 482 |
+ <select name="ofcpsNm" title="직급" id="rank2" > |
|
| 483 |
+ <option value="admin">시스템관리자</option> |
|
| 484 |
+ </select> |
|
| 485 |
+ |
|
| 486 |
+ <select name="ofcpsNm" title="직급" id="rank3" style="display:none;" disabled="disabled" onchange="authorChangeCourt(this)"> |
|
| 487 |
+ <option value="80" <c:if test="${userManageVO.ofcpsNm eq '80'}">selected</c:if>>법원연계 조정위원</option>
|
|
| 488 |
+ <option value="90" <c:if test="${userManageVO.ofcpsNm eq '90'}">selected</c:if>>법원연계 총괄조정위원</option>
|
|
| 489 |
+ </select> |
|
| 490 |
+ </td> |
|
| 491 |
+ </tr> |
|
| 492 |
+ <tr id="rank4"> |
|
| 493 |
+ <th>연계법원</th> |
|
| 494 |
+ <td> |
|
| 495 |
+ <kc:select codeId="CC701" id="insttCode" name="insttCode" selectedValue="${userManageVO.insttCode}" defaultValue="00" defaultText="없음"/>
|
|
| 496 |
+ </td> |
|
| 497 |
+ </tr> |
|
| 498 |
+ </c:if> |
|
| 499 |
+ <tr> |
|
| 500 |
+ <th>전화번호</th> |
|
| 501 |
+ <td> |
|
| 502 |
+ <form:input path="offmTelno" id="offmTelno" cssClass="input" size="50" maxlength="15" placeholder="예시 : 02-123-4567" /> |
|
| 503 |
+ <form:errors path="offmTelno" cssClass="error" /> |
|
| 504 |
+ </td> |
|
| 505 |
+ </tr> |
|
| 506 |
+ |
|
| 507 |
+ <tr> |
|
| 508 |
+ <th>팩스번호</th> |
|
| 509 |
+ <td> |
|
| 510 |
+ <form:input path="fxnum" id="fxnum" cssClass="input" size="50" maxlength="15" placeholder="예시 : 02-123-4567" /> |
|
| 511 |
+ <form:errors path="fxnum" cssClass="error" /> |
|
| 512 |
+ </td> |
|
| 513 |
+ </tr> |
|
| 514 |
+ |
|
| 515 |
+ <tr> |
|
| 516 |
+ <th>담당업무</th> |
|
| 517 |
+ <td> |
|
| 518 |
+ <form:input path="userWork" id="userWork" cssClass="input" size="50" maxlength="15" placeholder="" /> |
|
| 519 |
+ <form:errors path="userWork" cssClass="error" /> |
|
| 520 |
+ </td> |
|
| 521 |
+ </tr> |
|
| 522 |
+ |
|
| 523 |
+ <tr> |
|
| 524 |
+ <th>이메일주소</th> |
|
| 525 |
+ <td> |
|
| 526 |
+ <form:input path="emailAdres" id="emailAdres" cssClass="input" size="50" maxlength="50" /> |
|
| 527 |
+ <form:errors path="emailAdres" cssClass="error" /> |
|
| 528 |
+ </td> |
|
| 529 |
+ </tr> |
|
| 530 |
+ <tr> |
|
| 531 |
+ <th><span class="">서명이미지</span></th> |
|
| 532 |
+ <td> |
|
| 533 |
+ <div class="file_upload_wrap"> |
|
| 534 |
+ <div class="file_top"> |
|
| 535 |
+ <input type="file" id="file_temp" name="file_temp" class="uploadFile" style="display:none"/> |
|
| 536 |
+ <button type="button" id="filebutton" class="btn medium line primary btn_add_file">파일 첨부하기</button> |
|
| 537 |
+ </div> |
|
| 538 |
+ |
|
| 539 |
+ <div class="file_table before_file_table"> |
|
| 540 |
+ <table> |
|
| 541 |
+ <colgroup> |
|
| 542 |
+ <col style="width:auto;"> |
|
| 543 |
+ <col style="width:13%;"> |
|
| 544 |
+ <col style="width:13%;"> |
|
| 545 |
+ <col style="width:80px;"> |
|
| 546 |
+ </colgroup> |
|
| 547 |
+ <thead> |
|
| 548 |
+ <!-- <th> |
|
| 549 |
+ <input type="checkbox" id="all_check"><label for="all_check"></label> |
|
| 550 |
+ </th> --> |
|
| 551 |
+ <th>파일 명</th> |
|
| 552 |
+ <th>종류</th> |
|
| 553 |
+ <th>크기</th> |
|
| 554 |
+ <th>삭제</th> |
|
| 555 |
+ </thead> |
|
| 556 |
+ <tbody class="tb_file_before"> |
|
| 557 |
+ <tr> |
|
| 558 |
+ <td colspan="4"> |
|
| 559 |
+ <i class="icon file_bg"></i> |
|
| 560 |
+ <p>첨부하실 파일을 <b>마우스로 끌어서</b> 넣어주세요.</p> |
|
| 561 |
+ </td> |
|
| 562 |
+ </tr> |
|
| 563 |
+ </tbody> |
|
| 564 |
+ </table> |
|
| 565 |
+ </div> |
|
| 566 |
+ |
|
| 567 |
+ |
|
| 568 |
+ <div class="file_table"> |
|
| 569 |
+ <table> |
|
| 570 |
+ <colgroup> |
|
| 571 |
+ <col style="width:auto;"> |
|
| 572 |
+ <col style="width:13%;"> |
|
| 573 |
+ <col style="width:13%;"> |
|
| 574 |
+ <col style="width:80px;"> |
|
| 575 |
+ </colgroup> |
|
| 576 |
+ <thead> |
|
| 577 |
+ <!-- <th> |
|
| 578 |
+ <input type="checkbox" id="all_check"><label for="all_check"></label> |
|
| 579 |
+ </th> --> |
|
| 580 |
+ <th>파일 명</th> |
|
| 581 |
+ <th>종류</th> |
|
| 582 |
+ <th>크기</th> |
|
| 583 |
+ <th>삭제</th> |
|
| 584 |
+ </thead> |
|
| 585 |
+ <tbody id="tbody_fiielist" class="tb_file_after"> |
|
| 586 |
+ <c:forEach var="fileList" items="${fileList}" varStatus="status">
|
|
| 587 |
+ <tr class="item_<c:out value='${fileList.atchFileId}' />_<c:out value='${fileList.fileSn}' /> uploaded_obj">
|
|
| 588 |
+ <input type="hidden" name="fileSize" class="item_file_size" value="${fileList.fileSize}">
|
|
| 589 |
+ <td class="td_filename"> |
|
| 590 |
+ <!-- <img src="/direct/img/upload_hwp_img.png" alt="" /> --> |
|
| 591 |
+ <span class="file_name_text"><c:out value='${fileList.orignlFileNm}' /></span>
|
|
| 592 |
+ </td> |
|
| 593 |
+ <td class="td_filesort"> |
|
| 594 |
+ <span class="file_filesort_text" value="<c:out value="${fileList.fileExtsn}"/>"><c:out value="${fileList.fileExtsn}"/></span>
|
|
| 595 |
+ </td> |
|
| 596 |
+ <td class="td_filesize"> |
|
| 597 |
+ <span class="file_size_text" value="<c:out value="${fileList.fileMg}"/>"><c:out value="${fileList.fileMg}"/></span>
|
|
| 598 |
+ </td> |
|
| 599 |
+ <td> |
|
| 600 |
+ <button type="button" class="btn line lightgray ssmall only_icon btn_delete" onclick="delAtchFile('<c:out value='${fileList.atchFileId}' />', '<c:out value='${fileList.fileSn}' />'); return false;"><i class="icon delete red"></i></button>
|
|
| 601 |
+ </td> |
|
| 602 |
+ </tr> |
|
| 603 |
+ </c:forEach> |
|
| 604 |
+ </tbody> |
|
| 605 |
+ </table> |
|
| 606 |
+ </div> |
|
| 607 |
+ |
|
| 608 |
+ </div> |
|
| 609 |
+ |
|
| 610 |
+ </td> |
|
| 611 |
+ </tr> |
|
| 612 |
+ |
|
| 613 |
+ <%-- <c:if test="${empty isAdmin and empty isMember}">
|
|
| 614 |
+ <tr> |
|
| 615 |
+ <th>비밀번호확인</th> |
|
| 616 |
+ <td colspan="3"> |
|
| 617 |
+ <input type="password" name="passwdCmp" id="passwdCmp" type="text" value="" size="50" maxlength="50" style="width: 95%;"> |
|
| 618 |
+ </td> |
|
| 619 |
+ </tr> |
|
| 620 |
+ </c:if> --%> |
|
| 621 |
+ <c:if test="${!empty isAdmin}">
|
|
| 622 |
+ <tr> |
|
| 623 |
+ <th>로그인 실패 횟수</br>초기화</th> |
|
| 624 |
+ <td> |
|
| 625 |
+ <button class="btn line gray medium w20per" onclick="passMissReset(); return false;">초기화</button> |
|
| 626 |
+ <!-- <input type="button" class="btnType1" value="초기화" onclick="passMissReset(); return false;"> --> |
|
| 627 |
+ </td> |
|
| 628 |
+ </tr> |
|
| 629 |
+ </c:if> |
|
| 630 |
+ </tbody> |
|
| 631 |
+ </table> |
|
| 632 |
+ </div> |
|
| 633 |
+ |
|
| 634 |
+ <div class="btn_wrap"> |
|
| 635 |
+ <div class="left"> |
|
| 636 |
+ <c:if test="${!empty isAdmin}">
|
|
| 637 |
+ <button class="btn line red xlarge" onclick="fnDeleteUser('<c:out value='${userManageVO.userTy}'/>:<c:out value='${userManageVO.uniqId}'/>'); return false;">삭제</button>
|
|
| 638 |
+ </c:if> |
|
| 639 |
+ <button class="btn line primary xlarge" onclick="fnPasswordMove(); return false;">비밀번호 변경</button> |
|
| 640 |
+ </div> |
|
| 641 |
+ <div class="right"> |
|
| 642 |
+ |
|
| 643 |
+ <button type="button" class="btn fill primary xlarge" onclick="javascript:fnUpdates(); return false;">수정</button> |
|
| 644 |
+ <!-- <button class="btnType03" onclick="fnListPage(); return false;">목 록</button> --> |
|
| 645 |
+ <button type="button" class="btn fill gray xlarge" onclick="location.href='/uss/umt/user/EgovUserManage.do'">목록</button> |
|
| 655 | 646 |
</div> |
| 656 | 647 |
</div> |
| 657 |
- <!-- //cont --> |
|
| 648 |
+ |
|
| 649 |
+ |
|
| 658 | 650 |
<%-- <form:hidden path="password" /> --%> |
| 659 | 651 |
<input type="hidden" name="gnrlUser" value="N"> <!-- gnrlUser가 N이면 관리자등록 --> |
| 660 | 652 |
</form:form> |
--- src/main/webapp/WEB-INF/jsp/sec/rgm/EgovAuthorGroupManage.jsp
+++ src/main/webapp/WEB-INF/jsp/sec/rgm/EgovAuthorGroupManage.jsp
... | ... | @@ -192,140 +192,126 @@ |
| 192 | 192 |
<input type="hidden" name="searchSortCnd" value="<c:out value="${authorGroupVO.searchSortCnd}" />" />
|
| 193 | 193 |
<input type="hidden" name="searchSortOrd" value="<c:out value="${authorGroupVO.searchSortOrd}" />" />
|
| 194 | 194 |
|
| 195 |
- <div class="cont_wrap"> |
|
| 196 |
- <div class="box"> |
|
| 197 |
- <div class="cont_tit"> |
|
| 198 |
- <h2>관리자별권한관리</h2> |
|
| 199 |
- <ul class="cont_nav"> |
|
| 200 |
- <li class="home"><a href="/"><i></i></a></li> |
|
| 201 |
- <li><p>권한관리</p></li> |
|
| 202 |
- <li><span class="cur_nav">관리자별권한관리</span></li> |
|
| 203 |
- </ul> |
|
| 204 |
- </div> |
|
| 205 |
- <!-- cont --> |
|
| 206 |
- <div class="cont"> |
|
| 207 |
- <!-- list_top --> |
|
| 208 |
- <div class="list_top table_top"> |
|
| 209 |
- <p class="table_total_text">총 건수 : <span class="color_blue fw_bold"><c:out value="${paginationInfo.totalRecordCount}" /></span>건</p>
|
|
| 210 |
- <div class="list_util search_wrap"> |
|
| 211 |
- <c:if test="${siteId eq 'super'}">
|
|
| 212 |
- <select name="searchConditionSite" id="searchConditionSite" title="검색조건2-검색어구분"> |
|
| 213 |
- <option value="" <c:if test="${empty authorGroupVO.searchConditionSite }">selected="selected"</c:if> >전체 사이트</option>
|
|
| 214 |
- <c:forEach var="result" items="${siteManageList}" varStatus="status">
|
|
| 215 |
- <option value="${result.siteId}" <c:if test="${result.siteId eq authorGroupVO.searchConditionSite }">selected="selected"</c:if> >${result.siteNm}</option>
|
|
| 216 |
- </c:forEach> |
|
| 217 |
- </select> |
|
| 218 |
- </c:if> |
|
| 219 |
- <select class="sel2 searchSel" id="searchCondition" name="searchCondition" title="조회조건"> |
|
| 220 |
- <option value="" <c:if test="${empty authorGroupVO.searchCondition }">selected="selected"</c:if> >전체</option>
|
|
| 221 |
- <option value="0" <c:if test="${authorGroupVO.searchCondition == '0'}">selected="selected"</c:if> >아이디</option>
|
|
| 222 |
- <option value="1" <c:if test="${authorGroupVO.searchCondition == '1'}">selected="selected"</c:if> >관리자명</option>
|
|
| 223 |
- </select> |
|
| 224 |
- |
|
| 225 |
- <input type="text" id="searchKeyword" name="searchKeyword" value="<c:out value='${authorGroupVO.searchKeyword}'/>" class="search_input" placeholder="검색어를 입력하세요">
|
|
| 226 |
- <button class="btn btn_text blue_border" onclick="fncSelectAuthorGroupList(); return false;">검색</button> |
|
| 227 |
- |
|
| 228 |
- <select class="sel2" name="pageUnit" id="pageUnit" onchange="linkPage(1);" title="줄 선택" style="width: 140px"> |
|
| 229 |
- <option value='10' <c:if test="${authorGroupVO.pageUnit == '10' or authorGroupVO.pageUnit == ''}">selected</c:if>>10줄</option>
|
|
| 230 |
- <option value='20' <c:if test="${authorGroupVO.pageUnit == '20'}">selected</c:if>>20줄</option>
|
|
| 231 |
- <option value='30' <c:if test="${authorGroupVO.pageUnit == '30'}">selected</c:if>>30줄</option>
|
|
| 232 |
- </select> |
|
| 233 |
- </div> |
|
| 234 |
- </div> |
|
| 235 |
- <!-- //list_top --> |
|
| 236 |
- |
|
| 237 |
- <!-- list --> |
|
| 238 |
- <div class="table-layout mt15"> |
|
| 239 |
- <table> |
|
| 240 |
- <colgroup> |
|
| 241 |
- <col style="width: 80px;"> |
|
| 242 |
- <col style="width: 8%;"> |
|
| 243 |
- <col style="width: 25%;"> |
|
| 244 |
- <col style="width: 25%;"> |
|
| 245 |
- <col style="width: 25%;"> |
|
| 246 |
- <col style="width: 120px;"> |
|
| 247 |
- </colgroup> |
|
| 248 |
- <thead> |
|
| 249 |
- <tr> |
|
| 250 |
- <th><input type="checkbox" name="checkAll" id="checkAll" onclick="fnCheckAll();" /><label for="checkAll"></label></th> |
|
| 251 |
- <th scope="col">번호<button class="sort sortBtn" id="sort_ESNTL_ID">▲</button></th> |
|
| 252 |
- <th scope="col">아이디<button class="sort sortBtn" id="sort_USER_ID">▲</button></th> |
|
| 253 |
- <th scope="col">관리자명<button class="sort sortBtn" id="sort_USER_NM">▲</button></th> |
|
| 254 |
- <th scope="col">권한<button class="sort sortBtn" id="sort_AUTHOR_CODE">▲</button></th> |
|
| 255 |
- <th scope="col">등록여부<button class="sort sortBtn" id="sort_REG_YN">▲</button></th> |
|
| 256 |
- </tr> |
|
| 257 |
- </thead> |
|
| 258 |
- <tbody> |
|
| 259 |
- <c:forEach var="authorGroup" items="${authorGroupList}" varStatus="status">
|
|
| 260 |
- <tr> |
|
| 261 |
- <td> |
|
| 262 |
- <input type="checkbox" name="delYn" id="<c:out value="${authorGroup.userId}"/>"><label for="<c:out value="${authorGroup.userId}"/>"></label>
|
|
| 263 |
- <input type="hidden" name="checkId" value="<c:out value="${authorGroup.uniqId}"/>"/>
|
|
| 264 |
- </td> |
|
| 265 |
- <td> |
|
| 266 |
- <c:if test="${authorGroupVO.searchSortOrd eq 'desc' }">
|
|
| 267 |
- <c:out value="${ ( paginationInfo.totalRecordCount - ((authorGroupVO.pageIndex -1)*authorGroupVO.pageUnit) ) - status.index }"/>
|
|
| 268 |
- </c:if> |
|
| 269 |
- <c:if test="${authorGroupVO.searchSortOrd eq 'asc' }">
|
|
| 270 |
- <c:out value="${(authorGroupVO.pageIndex - 1) * authorGroupVO.pageUnit + status.count}"/>
|
|
| 271 |
- </c:if> |
|
| 272 |
- </td> |
|
| 273 |
- <c:if test="${siteId eq 'super'}">
|
|
| 274 |
- <td> |
|
| 275 |
- <c:forEach var="siteManageList" items="${siteManageList}" varStatus="status">
|
|
| 276 |
- <c:if test="${authorGroup.siteId eq siteManageList.siteId}">
|
|
| 277 |
- <c:out value="${siteManageList.siteNm}"/>
|
|
| 278 |
- </c:if> |
|
| 279 |
- </c:forEach> |
|
| 280 |
- </td> |
|
| 281 |
- </c:if> |
|
| 282 |
- <td><c:out value="${authorGroup.userId}"/></td>
|
|
| 283 |
- <td><c:out value="${authorGroup.userNm}"/>
|
|
| 284 |
- <input type="hidden" name="mberTyCode" value="${authorGroup.mberTyCode}"/>
|
|
| 285 |
- </td> |
|
| 286 |
- <td> |
|
| 287 |
- <select name="authorManageCombo" title="권한" style="width: 50%"> |
|
| 288 |
- <c:forEach var="authorManage" items="${authorManageList}" varStatus="status">
|
|
| 289 |
- <c:if test="${authorManage.authorCode ne 'ROLE_CHAIRMAN' }"> <!-- 이사장권한 제외 -->
|
|
| 290 |
- <option value="<c:out value="${authorManage.authorCode}"/>" <c:if test="${authorManage.authorCode == authorGroup.authorCode}">selected</c:if>><c:out value="${authorManage.authorNm}"/></option>
|
|
| 291 |
- </c:if> |
|
| 292 |
- </c:forEach> |
|
| 293 |
- </select> |
|
| 294 |
- </td> |
|
| 295 |
- <td> |
|
| 296 |
- <c:out value="${authorGroup.regYn}"/>
|
|
| 297 |
- <input type="hidden" name="regYn" value="<c:out value="${authorGroup.regYn}"/>">
|
|
| 298 |
- </td> |
|
| 299 |
- </tr> |
|
| 300 |
- </c:forEach> |
|
| 301 |
- <c:if test="${empty authorGroupList}">
|
|
| 302 |
- <tr><td colspan="8"><spring:message code="common.nodata.msg" /></td></tr> |
|
| 303 |
- </c:if> |
|
| 304 |
- </tbody> |
|
| 305 |
- </table> |
|
| 306 |
- </div> |
|
| 307 |
- <!-- //list --> |
|
| 308 |
- |
|
| 309 |
- <!-- btn_wrap --> |
|
| 310 |
- <div class="btn_wrap"> |
|
| 311 |
- <button type="button" class="btn btn_text btn_46 gray_fill" onclick="fncAuthorGroupDeleteList(); return false;">등록 취소</button> |
|
| 312 |
- <button type="button" class="btn btn_text btn_46 blue_fill" onclick="fncAddAuthorGroupInsert(); return false;">등록</button> |
|
| 313 |
- </div> |
|
| 314 |
- <!-- //btn_wrap --> |
|
| 315 |
- |
|
| 316 |
- <!-- 페이지 네비게이션 시작 --> |
|
| 317 |
- <c:if test="${!empty authorGroupList}">
|
|
| 318 |
- <div class="page"> |
|
| 319 |
- <ul class="inline"> |
|
| 320 |
- <ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
|
|
| 321 |
- </ul> |
|
| 322 |
- </div> |
|
| 323 |
- </c:if> |
|
| 324 |
- <!-- //페이지 네비게이션 끝 --> |
|
| 325 |
- </div> |
|
| 326 |
- </div> |
|
| 327 |
- <!-- //cont --> |
|
| 195 |
+ <div class="content_title"> |
|
| 196 |
+ <h3>관리자별권한관리</h3> |
|
| 197 |
+ <ol class="breadcrumb"> |
|
| 198 |
+ <li><a href="#" class="home" title="메인으로 이동"><i></i></a></li> |
|
| 199 |
+ <li><a href="#">권한관리</a></li> |
|
| 200 |
+ <li><strong class="current_location">관리자별권한관리</strong></li> |
|
| 201 |
+ </ol> |
|
| 328 | 202 |
</div> |
| 203 |
+ |
|
| 204 |
+ <div class="search_area"> |
|
| 205 |
+ <div class="search_left"><p class="total_number">총 건수 <b><c:out value="${paginationInfo.totalRecordCount}" /></b>건</p></div>
|
|
| 206 |
+ <div class="search_right"> |
|
| 207 |
+ <c:if test="${siteId eq 'super'}">
|
|
| 208 |
+ <select name="searchConditionSite" class="search_select" id="searchConditionSite" title="검색조건2-검색어구분"> |
|
| 209 |
+ <option value="" <c:if test="${empty authorGroupVO.searchConditionSite }">selected="selected"</c:if> >전체 사이트</option>
|
|
| 210 |
+ <c:forEach var="result" items="${siteManageList}" varStatus="status">
|
|
| 211 |
+ <option value="${result.siteId}" <c:if test="${result.siteId eq authorGroupVO.searchConditionSite }">selected="selected"</c:if> >${result.siteNm}</option>
|
|
| 212 |
+ </c:forEach> |
|
| 213 |
+ </select> |
|
| 214 |
+ </c:if> |
|
| 215 |
+ <select class="search_select" id="searchCondition" name="searchCondition" title="조회조건"> |
|
| 216 |
+ <option value="" <c:if test="${empty authorGroupVO.searchCondition }">selected="selected"</c:if> >전체</option>
|
|
| 217 |
+ <option value="0" <c:if test="${authorGroupVO.searchCondition == '0'}">selected="selected"</c:if> >아이디</option>
|
|
| 218 |
+ <option value="1" <c:if test="${authorGroupVO.searchCondition == '1'}">selected="selected"</c:if> >관리자명</option>
|
|
| 219 |
+ </select> |
|
| 220 |
+ <input type="text" id="searchKeyword" name="searchKeyword" value="<c:out value='${authorGroupVO.searchKeyword}'/>" class="input search_input" placeholder="검색어를 입력하세요">
|
|
| 221 |
+ <button class="btn btn_search" onclick="fncSelectAuthorGroupList(); return false;">검색</button> |
|
| 222 |
+ |
|
| 223 |
+ <select class="search_select" name="pageUnit" id="pageUnit" onchange="linkPage(1);" title="줄 선택" style="width: 140px"> |
|
| 224 |
+ <option value='10' <c:if test="${authorGroupVO.pageUnit == '10' or authorGroupVO.pageUnit == ''}">selected</c:if>>10줄</option>
|
|
| 225 |
+ <option value='20' <c:if test="${authorGroupVO.pageUnit == '20'}">selected</c:if>>20줄</option>
|
|
| 226 |
+ <option value='30' <c:if test="${authorGroupVO.pageUnit == '30'}">selected</c:if>>30줄</option>
|
|
| 227 |
+ </select> |
|
| 228 |
+ </div> |
|
| 229 |
+ </div> |
|
| 230 |
+ |
|
| 231 |
+ <div class="table table_type_cols"> |
|
| 232 |
+ <table> |
|
| 233 |
+ <colgroup> |
|
| 234 |
+ <col style="width: 80px;"> |
|
| 235 |
+ <col style="width: auto;"> |
|
| 236 |
+ <col style="width: 25%;"> |
|
| 237 |
+ <col style="width: 25%;"> |
|
| 238 |
+ <col style="width: 25%;"> |
|
| 239 |
+ <col style="width: 120px;"> |
|
| 240 |
+ </colgroup> |
|
| 241 |
+ <thead> |
|
| 242 |
+ <tr> |
|
| 243 |
+ <th><input type="checkbox" name="checkAll" id="checkAll" onclick="fnCheckAll();" /><label for="checkAll"></label></th> |
|
| 244 |
+ <th scope="col">번호<button class="sort sortBtn" id="sort_ESNTL_ID">▲</button></th> |
|
| 245 |
+ <th scope="col">아이디<button class="sort sortBtn" id="sort_USER_ID">▲</button></th> |
|
| 246 |
+ <th scope="col">관리자명<button class="sort sortBtn" id="sort_USER_NM">▲</button></th> |
|
| 247 |
+ <th scope="col">권한<button class="sort sortBtn" id="sort_AUTHOR_CODE">▲</button></th> |
|
| 248 |
+ <th scope="col">등록여부<button class="sort sortBtn" id="sort_REG_YN">▲</button></th> |
|
| 249 |
+ </tr> |
|
| 250 |
+ </thead> |
|
| 251 |
+ <tbody> |
|
| 252 |
+ <c:forEach var="authorGroup" items="${authorGroupList}" varStatus="status">
|
|
| 253 |
+ <tr> |
|
| 254 |
+ <td> |
|
| 255 |
+ <input type="checkbox" name="delYn" id="<c:out value="${authorGroup.userId}"/>"><label for="<c:out value="${authorGroup.userId}"/>"></label>
|
|
| 256 |
+ <input type="hidden" name="checkId" value="<c:out value="${authorGroup.uniqId}"/>"/>
|
|
| 257 |
+ </td> |
|
| 258 |
+ <td> |
|
| 259 |
+ <c:if test="${authorGroupVO.searchSortOrd eq 'desc' }">
|
|
| 260 |
+ <c:out value="${ ( paginationInfo.totalRecordCount - ((authorGroupVO.pageIndex -1)*authorGroupVO.pageUnit) ) - status.index }"/>
|
|
| 261 |
+ </c:if> |
|
| 262 |
+ <c:if test="${authorGroupVO.searchSortOrd eq 'asc' }">
|
|
| 263 |
+ <c:out value="${(authorGroupVO.pageIndex - 1) * authorGroupVO.pageUnit + status.count}"/>
|
|
| 264 |
+ </c:if> |
|
| 265 |
+ </td> |
|
| 266 |
+ <c:if test="${siteId eq 'super'}">
|
|
| 267 |
+ <td> |
|
| 268 |
+ <c:forEach var="siteManageList" items="${siteManageList}" varStatus="status">
|
|
| 269 |
+ <c:if test="${authorGroup.siteId eq siteManageList.siteId}">
|
|
| 270 |
+ <c:out value="${siteManageList.siteNm}"/>
|
|
| 271 |
+ </c:if> |
|
| 272 |
+ </c:forEach> |
|
| 273 |
+ </td> |
|
| 274 |
+ </c:if> |
|
| 275 |
+ <td><c:out value="${authorGroup.userId}"/></td>
|
|
| 276 |
+ <td><c:out value="${authorGroup.userNm}"/>
|
|
| 277 |
+ <input type="hidden" name="mberTyCode" value="${authorGroup.mberTyCode}"/>
|
|
| 278 |
+ </td> |
|
| 279 |
+ <td> |
|
| 280 |
+ <select name="authorManageCombo" title="권한" style="width: 50%"> |
|
| 281 |
+ <c:forEach var="authorManage" items="${authorManageList}" varStatus="status">
|
|
| 282 |
+ <c:if test="${authorManage.authorCode ne 'ROLE_CHAIRMAN' }"> <!-- 이사장권한 제외 -->
|
|
| 283 |
+ <option value="<c:out value="${authorManage.authorCode}"/>" <c:if test="${authorManage.authorCode == authorGroup.authorCode}">selected</c:if>><c:out value="${authorManage.authorNm}"/></option>
|
|
| 284 |
+ </c:if> |
|
| 285 |
+ </c:forEach> |
|
| 286 |
+ </select> |
|
| 287 |
+ </td> |
|
| 288 |
+ <td> |
|
| 289 |
+ <c:out value="${authorGroup.regYn}"/>
|
|
| 290 |
+ <input type="hidden" name="regYn" value="<c:out value="${authorGroup.regYn}"/>">
|
|
| 291 |
+ </td> |
|
| 292 |
+ </tr> |
|
| 293 |
+ </c:forEach> |
|
| 294 |
+ <c:if test="${empty authorGroupList}">
|
|
| 295 |
+ <tr><td colspan="8"><spring:message code="common.nodata.msg" /></td></tr> |
|
| 296 |
+ </c:if> |
|
| 297 |
+ </tbody> |
|
| 298 |
+ </table> |
|
| 299 |
+ </div> |
|
| 300 |
+ |
|
| 301 |
+ <div class="btn_wrap"> |
|
| 302 |
+ <div class="left"><button type="button" class="btn red line xlarge" onclick="fncAuthorGroupDeleteList(); return false;">등록 취소</button></div> |
|
| 303 |
+ <div class="right"><button type="button" class="btn primary fill xlarge" onclick="fncAddAuthorGroupInsert(); return false;">등록</button></div> |
|
| 304 |
+ </div> |
|
| 305 |
+ <!-- 페이지 네비게이션 시작 --> |
|
| 306 |
+ <c:if test="${!empty authorGroupList}">
|
|
| 307 |
+ <div class="page"> |
|
| 308 |
+ <ul class="inline"> |
|
| 309 |
+ <ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
|
|
| 310 |
+ </ul> |
|
| 311 |
+ </div> |
|
| 312 |
+ </c:if> |
|
| 313 |
+ <!-- //페이지 네비게이션 끝 --> |
|
| 314 |
+ |
|
| 329 | 315 |
</form:form> |
| 330 | 316 |
<%-- <c:import url="/uss/umt/IncInfoProtect.do" /> --%> |
| 331 | 317 |
</body> |
--- src/main/webapp/WEB-INF/jsp/sym/mnu/mcm/EgovMenuCreat.jsp
+++ src/main/webapp/WEB-INF/jsp/sym/mnu/mcm/EgovMenuCreat.jsp
... | ... | @@ -18,7 +18,7 @@ |
| 18 | 18 |
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
| 19 | 19 |
<% |
| 20 | 20 |
/* Image Path 설정 */ |
| 21 |
- String imagePath_icon = "/images/egovframework/sym/mpm/icon/"; |
|
| 21 |
+ String imagePath_icon = "/publish/adm/component/"; |
|
| 22 | 22 |
String imagePath_button = "/images/egovframework/sym/mpm/button/"; |
| 23 | 23 |
%> |
| 24 | 24 |
<!DOCTYPE html> |
... | ... | @@ -26,6 +26,18 @@ |
| 26 | 26 |
<head> |
| 27 | 27 |
<meta http-equiv="Content-Language" content="ko" > |
| 28 | 28 |
<link href="<c:url value='/'/>css/common.css" rel="stylesheet" type="text/css" > |
| 29 |
+ |
|
| 30 |
+<link rel="stylesheet" href="/publish/common/css/reset.css"> |
|
| 31 |
+<link rel="stylesheet" href="/publish/common/css/font.css"> |
|
| 32 |
+ |
|
| 33 |
+<link rel="stylesheet" href="/publish/adm/layout/layout.css"> |
|
| 34 |
+<link rel="stylesheet" href="/publish/adm/css/common.css"> |
|
| 35 |
+<link rel="stylesheet" href="/publish/adm/css/style.css"> |
|
| 36 |
+<link rel="stylesheet" href="/publish/adm/css/button.css"> |
|
| 37 |
+<link rel="stylesheet" href="/publish/adm/css/tab.css"> |
|
| 38 |
+<link rel="stylesheet" href="/publish/adm/css/table.css"> |
|
| 39 |
+<link rel="stylesheet" href="/publish/adm/css/calendar.css"> |
|
| 40 |
+<link rel="stylesheet" href="/publish/adm/css/popup.css"> |
|
| 29 | 41 |
|
| 30 | 42 |
<title>메뉴생성</title> |
| 31 | 43 |
<style type="text/css"> |
... | ... | @@ -97,123 +109,118 @@ |
| 97 | 109 |
</head> |
| 98 | 110 |
<body> |
| 99 | 111 |
<noscript>자바스크립트를 지원하지 않는 브라우저에서는 일부 기능을 사용하실 수 없습니다.</noscript> |
| 100 |
- <!-- 현재위치 네비게이션 시작 --> |
|
| 101 |
- <div id="content"> |
|
| 102 |
- <form name="menuCreatManageForm" action ="/sym/mpm/EgovMenuCreatSiteMapSelect.do" method="post"> |
|
| 103 |
- <input type="submit" id="invisible" class="invisible"/> |
|
| 104 |
- <input name="checkedMenuNoForInsert" type="hidden" > |
|
| 105 |
- <input name="checkedAuthorForInsert" type="hidden" > |
|
| 106 | 112 |
|
| 107 |
- <!-- 검색 필드 박스 시작 --> |
|
| 108 |
- <div id="search_field"> |
|
| 109 |
- <div id="search_field_loc"> |
|
| 110 |
- <h2> |
|
| 111 |
- <strong>메뉴생성 |
|
| 112 |
- <span style="color: red; font-weight: bold;"> |
|
| 113 |
- <c:if test="${resultVO.authorCode eq 'ROLE_ADMIN'}">
|
|
| 114 |
- (관리자 화면) |
|
| 115 |
- </c:if> |
|
| 116 |
- <c:if test="${resultVO.authorCode eq 'ROLE_ANONYMOUS'}">
|
|
| 117 |
- (사용자 화면) |
|
| 118 |
- </c:if> |
|
| 119 |
- </span> |
|
| 120 |
- </strong> |
|
| 121 |
- </h2> |
|
| 122 |
- </div> |
|
| 123 |
- <fieldset><legend>조건정보 영역</legend> |
|
| 124 |
- <div class="sf_start"> |
|
| 125 |
- <ul id="search_first_ul"> |
|
| 126 |
- <li> |
|
| 127 |
- <label for="authorCode">권한코드 : </label> |
|
| 128 |
- <input id="authorCode" name="authorCode" type="text" size="30" maxlength="30" title="권한코드" value="${resultVO.authorCode}" readonly="readonly">
|
|
| 129 |
- </li> |
|
| 130 |
- |
|
| 131 |
- <li> |
|
| 132 |
- <c:if test="${siteId eq 'super'}">
|
|
| 133 |
- <label for="siteList">사이트 구분: </label> |
|
| 134 |
- <select name="siteId" id="siteId" class="select" onchange="jstreeRefresh(); return false;"; title="검색조건선택"> |
|
| 135 |
- <!-- <option value="N" >전체관리자</option> --> |
|
| 136 |
- <c:forEach items="${siteManageList}" var="result" varStatus="status">
|
|
| 137 |
- <option value="${result.siteId}" <c:if test="${result.siteId eq menuCreatVO.siteId }">selected="selected"</c:if> >${result.siteId}</option>
|
|
| 138 |
- </c:forEach> |
|
| 139 |
- </select> |
|
| 140 |
- </c:if> |
|
| 141 |
- <c:if test="${siteId ne 'super'}">
|
|
| 142 |
- <input type="hidden" name="siteId" id="siteId" value="${menuCreatVO.siteId}" />
|
|
| 143 |
- </c:if> |
|
| 144 |
- </li> |
|
| 145 |
- |
|
| 146 |
- </ul> |
|
| 147 |
- <ul id="search_second_ul"> |
|
| 148 |
- <li> |
|
| 149 |
- <div class="buttons" style="float:right;"> |
|
| 150 |
- <a href="#LINK" onclick="fInsertMenuCreat(); return false;">메뉴생성</a> |
|
| 151 |
- <a href="#LINK" onclick="javascript:window.close();">닫기</a> |
|
| 152 |
- </div> |
|
| 153 |
- </li> |
|
| 154 |
- </ul> |
|
| 155 |
- </div> |
|
| 156 |
- </fieldset> |
|
| 157 |
- </div> |
|
| 158 |
- <!-- //검색 필드 박스 끝 --> |
|
| 159 |
- <div id="page_info"><div id="page_info_align"></div></div> |
|
| 113 |
+ <div class="popup popup_window"> |
|
| 160 | 114 |
|
| 161 |
- <!-- table add start --> |
|
| 162 |
- <div > |
|
| 163 |
- <c:forEach var="result1" items="${list_menulist}" varStatus="status" >
|
|
| 164 |
- <input type="hidden" name="tmp_menuNmVal" value="${result1.menuNo}|${result1.upperMenuId}|${result1.menuNm}|${result1.progrmFileNm}|${result1.chkYeoBu}|">
|
|
| 165 |
- </c:forEach> |
|
| 166 |
- <table summary="메뉴일괄등록" cellpadding="0" cellspacing="0"> |
|
| 167 |
- <caption>메뉴일괄등록</caption> |
|
| 168 |
- <tr> |
|
| 169 |
- <td width='20'> </td> |
|
| 170 |
- <td> |
|
| 171 |
- <!-- div class="tree" style="position:absolute; left:24px; top:70px; width:179px; height:25px; z-index:10;" --> |
|
| 172 |
- <div class="tree" > |
|
| 173 |
- <script language="javascript" type="text/javaScript"> |
|
| 174 |
- var chk_Object = true; |
|
| 175 |
- var chk_browse = ""; |
|
| 176 |
- if (eval(document.menuCreatManageForm.authorCode)=="[object]") chk_browse = "IE"; |
|
| 177 |
- if (eval(document.menuCreatManageForm.authorCode)=="[object NodeList]") chk_browse = "Fox"; |
|
| 178 |
- if (eval(document.menuCreatManageForm.authorCode)=="[object Collection]") chk_browse = "safai"; |
|
| 179 |
- |
|
| 180 |
- var Tree = new Array; |
|
| 181 |
- if(document.menuCreatManageForm.tmp_menuNmVal != null){
|
|
| 182 |
- if(chk_browse=="IE"&&eval(document.menuCreatManageForm.tmp_menuNmVal)!="[object]"){
|
|
| 183 |
- alert("메뉴 목록 데이타가 존재하지 않습니다.");
|
|
| 184 |
- chk_Object = false; |
|
| 185 |
- } |
|
| 186 |
- if(chk_browse=="Fox"&&eval(document.menuCreatManageForm.tmp_menuNmVal)!="[object NodeList]"){
|
|
| 187 |
- alert("메뉴 목록 데이타가 존재하지 않습니다.");
|
|
| 188 |
- chk_Object = false; |
|
| 189 |
- } |
|
| 190 |
- if(chk_browse=="safai"&&eval(document.menuCreatManageForm.tmp_menuNmVal)!="[object Collection]"){
|
|
| 191 |
- alert("메뉴 목록 데이타가 존재하지 않습니다.");
|
|
| 192 |
- chk_Object = false; |
|
| 193 |
- } |
|
| 194 |
- if( chk_Object ){
|
|
| 195 |
- for (var j = 0; j < document.menuCreatManageForm.tmp_menuNmVal.length; j++) {
|
|
| 196 |
- Tree[j] = document.menuCreatManageForm.tmp_menuNmVal[j].value; |
|
| 197 |
- } |
|
| 198 |
- createTree(Tree); |
|
| 199 |
- }else{
|
|
| 200 |
- alert("메뉴가 존재하지 않습니다. 메뉴 등록 후 사용하세요.");
|
|
| 201 |
- window.close(); |
|
| 202 |
- } |
|
| 203 |
- } |
|
| 204 |
- </script> |
|
| 205 |
- </div> |
|
| 206 |
- </td> |
|
| 207 |
- </tr> |
|
| 208 |
- </table> |
|
| 209 |
- </div> |
|
| 210 |
- <input type="hidden" name="req_menuNo"> |
|
| 211 |
- </form> |
|
| 212 |
- <form name="searchForm" method="get" action="<c:url value='/sym/mnu/mcm/EgovMenuCreatSelect.do'/>" > |
|
| 213 |
- <input type="hidden" name="siteId" id="siteId" /> |
|
| 214 |
- <input type="hidden" name="authorCode" id="authorCode" value="${resultVO.authorCode}" />
|
|
| 215 |
- </form> |
|
| 216 |
- </div> |
|
| 217 |
- <!-- //content 끝 --> |
|
| 115 |
+ <form name="menuCreatManageForm" action ="/sym/mpm/EgovMenuCreatSiteMapSelect.do" method="post"> |
|
| 116 |
+ |
|
| 117 |
+ <input name="checkedMenuNoForInsert" type="hidden" > |
|
| 118 |
+ <input name="checkedAuthorForInsert" type="hidden" > |
|
| 119 |
+ |
|
| 120 |
+ <div class="popup_title_wrap"> |
|
| 121 |
+ <h2 class="title" id="search_field_loc"> |
|
| 122 |
+ 메뉴생성 |
|
| 123 |
+ <span class="text_secondary"> |
|
| 124 |
+ <c:if test="${resultVO.authorCode eq 'ROLE_ADMIN'}">
|
|
| 125 |
+ (관리자 화면) |
|
| 126 |
+ </c:if> |
|
| 127 |
+ <c:if test="${resultVO.authorCode eq 'ROLE_ANONYMOUS'}">
|
|
| 128 |
+ (사용자 화면) |
|
| 129 |
+ </c:if> |
|
| 130 |
+ </span> |
|
| 131 |
+ </h2> |
|
| 132 |
+ </div> |
|
| 133 |
+ |
|
| 134 |
+ <div class="popup_content"> |
|
| 135 |
+ <div class="popup_title_wrap mb15"> |
|
| 136 |
+ <h3 class="title">조건정보 영역</h3> |
|
| 137 |
+ </div> |
|
| 138 |
+ <ul class="search_area box mb20" id="search_first_ul"> |
|
| 139 |
+ <li class="search_item"> |
|
| 140 |
+ <label class="search_title" for="authorCode">권한코드 : </label> |
|
| 141 |
+ <input id="authorCode" class="input" name="authorCode" type="text" size="30" maxlength="30" title="권한코드" value="${resultVO.authorCode}" readonly="readonly">
|
|
| 142 |
+ </li> |
|
| 143 |
+ <%-- <li class="search_item"> |
|
| 144 |
+ <c:if test="${siteId eq 'super'}">
|
|
| 145 |
+ <label class="search_title" for="siteList">사이트 구분: </label> |
|
| 146 |
+ <select name="siteId" id="siteId" class="select" onchange="jstreeRefresh(); return false;"; title="검색조건선택"> |
|
| 147 |
+ <!-- <option value="N" >전체관리자</option> --> |
|
| 148 |
+ <c:forEach items="${siteManageList}" var="result" varStatus="status">
|
|
| 149 |
+ <option value="${result.siteId}" <c:if test="${result.siteId eq menuCreatVO.siteId }">selected="selected"</c:if> >${result.siteId}</option>
|
|
| 150 |
+ </c:forEach> |
|
| 151 |
+ </select> |
|
| 152 |
+ </c:if> |
|
| 153 |
+ <c:if test="${siteId ne 'super'}">
|
|
| 154 |
+ <input type="hidden" name="siteId" id="siteId" value="${menuCreatVO.siteId}" />
|
|
| 155 |
+ </c:if> |
|
| 156 |
+ </li> --%> |
|
| 157 |
+ </ul> |
|
| 158 |
+ <div id="page_info"><div id="page_info_align"></div></div> |
|
| 159 |
+ <div> |
|
| 160 |
+ <c:forEach var="result1" items="${list_menulist}" varStatus="status" >
|
|
| 161 |
+ <input type="hidden" name="tmp_menuNmVal" value="${result1.menuNo}|${result1.upperMenuId}|${result1.menuNm}|${result1.progrmFileNm}|${result1.chkYeoBu}|">
|
|
| 162 |
+ </c:forEach> |
|
| 163 |
+ <table summary="메뉴일괄등록" cellpadding="0" cellspacing="0"> |
|
| 164 |
+ <caption>메뉴일괄등록</caption> |
|
| 165 |
+ <tr> |
|
| 166 |
+ |
|
| 167 |
+ <td> |
|
| 168 |
+ <!-- div class="tree" style="position:absolute; left:24px; top:70px; width:179px; height:25px; z-index:10;" --> |
|
| 169 |
+ <div class="tree"> |
|
| 170 |
+ <script language="javascript" type="text/javaScript"> |
|
| 171 |
+ var chk_Object = true; |
|
| 172 |
+ var chk_browse = ""; |
|
| 173 |
+ if (eval(document.menuCreatManageForm.authorCode)=="[object]") chk_browse = "IE"; |
|
| 174 |
+ if (eval(document.menuCreatManageForm.authorCode)=="[object NodeList]") chk_browse = "Fox"; |
|
| 175 |
+ if (eval(document.menuCreatManageForm.authorCode)=="[object Collection]") chk_browse = "safai"; |
|
| 176 |
+ |
|
| 177 |
+ var Tree = new Array; |
|
| 178 |
+ if(document.menuCreatManageForm.tmp_menuNmVal != null){
|
|
| 179 |
+ if(chk_browse=="IE"&&eval(document.menuCreatManageForm.tmp_menuNmVal)!="[object]"){
|
|
| 180 |
+ alert("메뉴 목록 데이타가 존재하지 않습니다.");
|
|
| 181 |
+ chk_Object = false; |
|
| 182 |
+ } |
|
| 183 |
+ if(chk_browse=="Fox"&&eval(document.menuCreatManageForm.tmp_menuNmVal)!="[object NodeList]"){
|
|
| 184 |
+ alert("메뉴 목록 데이타가 존재하지 않습니다.");
|
|
| 185 |
+ chk_Object = false; |
|
| 186 |
+ } |
|
| 187 |
+ if(chk_browse=="safai"&&eval(document.menuCreatManageForm.tmp_menuNmVal)!="[object Collection]"){
|
|
| 188 |
+ alert("메뉴 목록 데이타가 존재하지 않습니다.");
|
|
| 189 |
+ chk_Object = false; |
|
| 190 |
+ } |
|
| 191 |
+ if( chk_Object ){
|
|
| 192 |
+ for (var j = 0; j < document.menuCreatManageForm.tmp_menuNmVal.length; j++) {
|
|
| 193 |
+ Tree[j] = document.menuCreatManageForm.tmp_menuNmVal[j].value; |
|
| 194 |
+ } |
|
| 195 |
+ createTree(Tree); |
|
| 196 |
+ }else{
|
|
| 197 |
+ alert("메뉴가 존재하지 않습니다. 메뉴 등록 후 사용하세요.");
|
|
| 198 |
+ window.close(); |
|
| 199 |
+ } |
|
| 200 |
+ } |
|
| 201 |
+ </script> |
|
| 202 |
+ </div> |
|
| 203 |
+ </td> |
|
| 204 |
+ </tr> |
|
| 205 |
+ </table> |
|
| 206 |
+ </div> |
|
| 207 |
+ <div class="btn_wrap center mt20"> |
|
| 208 |
+ <button type="submit" id="invisible" class="btn line primary large invisible">제출</button> |
|
| 209 |
+ <!-- <input type="submit" id="invisible" class="invisible"/> --> |
|
| 210 |
+ <button type="button" onclick="fInsertMenuCreat(); return false;" class="btn fill primary large">메뉴생성</button> |
|
| 211 |
+ <button type="button" onclick="javascript:window.close();" class="btn fill gray large">닫기</button> |
|
| 212 |
+ |
|
| 213 |
+ </div> |
|
| 214 |
+ </div> |
|
| 215 |
+ |
|
| 216 |
+ <input type="hidden" name="req_menuNo"> |
|
| 217 |
+ </form> |
|
| 218 |
+ <form name="searchForm" method="get" action="<c:url value='/sym/mnu/mcm/EgovMenuCreatSelect.do'/>" > |
|
| 219 |
+ <input type="hidden" name="siteId" id="siteId" /> |
|
| 220 |
+ <input type="hidden" name="authorCode" id="authorCode" value="${resultVO.authorCode}" />
|
|
| 221 |
+ </form> |
|
| 222 |
+ </div> |
|
| 223 |
+ |
|
| 224 |
+ |
|
| 218 | 225 |
</body> |
| 219 | 226 |
</html>(No newline at end of file) |
--- src/main/webapp/WEB-INF/jsp/sym/mnu/mcm/EgovMenuCreatManage.jsp
+++ src/main/webapp/WEB-INF/jsp/sym/mnu/mcm/EgovMenuCreatManage.jsp
... | ... | @@ -66,104 +66,108 @@ |
| 66 | 66 |
<input type="hidden" name="searchSortCnd" value="<c:out value="${searchVO.searchSortCnd}" />" />
|
| 67 | 67 |
<input type="hidden" name="searchSortOrd" value="<c:out value="${searchVO.searchSortOrd}" />" />
|
| 68 | 68 |
|
| 69 |
+ <div class="content_title"> |
|
| 70 |
+ <h3>권한별메뉴관리</h3> |
|
| 71 |
+ <ol class="breadcrumb"> |
|
| 72 |
+ <li><a href="#" class="home" title="메인으로 이동"><i></i></a></li> |
|
| 73 |
+ <li><a href="#">권한관리</a></li> |
|
| 74 |
+ <li><strong class="current_location">권한별메뉴관리</strong></li> |
|
| 75 |
+ </ol> |
|
| 76 |
+ </div> |
|
| 77 |
+ |
|
| 78 |
+ <div class="search_area"> |
|
| 79 |
+ <div class="search_left"><p class="total_number">총 건수 <b><c:out value="${paginationInfo.totalRecordCount}" /></b>건</p></div>
|
|
| 80 |
+ <div class="search_right"> |
|
| 81 |
+ <c:if test="${siteId eq 'super'}">
|
|
| 82 |
+ <select name="searchConditionSite" class="search_select" id="searchConditionSite" title="검색조건2-검색어구분"> |
|
| 83 |
+ <c:forEach var="result" items="${siteManageList}" varStatus="status">
|
|
| 84 |
+ <option value="${result.siteId}" <c:if test="${result.siteId eq SearchVO.searchConditionSite }">selected="selected"</c:if> >${result.siteNm}</option>
|
|
| 85 |
+ </c:forEach> |
|
| 86 |
+ </select> |
|
| 87 |
+ </c:if> |
|
| 88 |
+ 권한코드  :  |
|
| 89 |
+ <input type="text" id="searchKeyword" name="searchKeyword" value="<c:out value='${SearchVO.searchKeyword}'/>" class="search_input input" placeholder="검색어를 입력하세요">
|
|
| 90 |
+ <button class="btn btn_search" onclick="selectMenuCreatManageList(); return false;">검색</button> |
|
| 91 |
+ |
|
| 92 |
+ <select class="search_select" name="pageUnit" id="pageUnit" onchange="linkPage(1);" title="줄 선택" style="width: 140px"> |
|
| 93 |
+ <option value='10' <c:if test="${SearchVO.pageUnit == '10' or SearchVO.pageUnit == ''}">selected</c:if>>10줄</option>
|
|
| 94 |
+ <option value='20' <c:if test="${SearchVO.pageUnit == '20'}">selected</c:if>>20줄</option>
|
|
| 95 |
+ <option value='30' <c:if test="${SearchVO.pageUnit == '30'}">selected</c:if>>30줄</option>
|
|
| 96 |
+ </select> |
|
| 97 |
+ </div> |
|
| 98 |
+ </div> |
|
| 99 |
+ |
|
| 100 |
+ <div class="table table_type_cols"> |
|
| 101 |
+ <table> |
|
| 102 |
+ <colgroup> |
|
| 103 |
+ <col style="width: 8%;"> |
|
| 104 |
+ <col style="width: 25%;"> |
|
| 105 |
+ <col style="width: 25%;"> |
|
| 106 |
+ <col style="width: 25%;"> |
|
| 107 |
+ <col style="width: 10%;"> |
|
| 108 |
+ <col style="width: 120px;"> |
|
| 109 |
+ </colgroup> |
|
| 110 |
+ <thead> |
|
| 111 |
+ <tr> |
|
| 112 |
+ <th scope="col">번호<button class="sort sortBtn" id="sort_tempSortNum">▲</button></th> |
|
| 113 |
+ <th scope="col">권한코드<button class="sort sortBtn" id="sort_authorCode">▲</button></th> |
|
| 114 |
+ <th scope="col">권한명<button class="sort sortBtn" id="sort_authorNm">▲</button></th> |
|
| 115 |
+ <th scope="col">권한설명<button class="sort sortBtn" id="sort_authorDc">▲</button></th> |
|
| 116 |
+ <th scope="col">메뉴생성여부<button class="sort sortBtn" id="sort_chkYeoBu">▲</button></th> |
|
| 117 |
+ <th scope="col">롤 메뉴생성</th> |
|
| 118 |
+ </tr> |
|
| 119 |
+ </thead> |
|
| 120 |
+ <tbody> |
|
| 121 |
+ <c:forEach var="result" items="${list_menumanage}" varStatus="status">
|
|
| 122 |
+ <tr> |
|
| 123 |
+ <td> |
|
| 124 |
+ <c:if test="${searchVO.searchSortOrd eq 'desc' }">
|
|
| 125 |
+ <c:out value="${ ( paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo -1)*paginationInfo.recordCountPerPage) ) - status.index }"/>
|
|
| 126 |
+ </c:if> |
|
| 127 |
+ <c:if test="${searchVO.searchSortOrd eq 'asc' }">
|
|
| 128 |
+ <c:out value="${(paginationInfo.currentPageNo - 1) * paginationInfo.recordCountPerPage + status.count}"/>
|
|
| 129 |
+ </c:if> |
|
| 130 |
+ </td> |
|
| 131 |
+ <td><c:out value="${result.authorCode}"/></td>
|
|
| 132 |
+ <td><c:out value="${result.authorNm}"/></td>
|
|
| 133 |
+ <td><c:out value="${result.authorDc}"/></td>
|
|
| 134 |
+ <td> |
|
| 135 |
+ <c:if test="${result.chkYeoBu > 0}">Y</c:if>
|
|
| 136 |
+ <c:if test="${result.chkYeoBu == 0}">N</c:if>
|
|
| 137 |
+ </td> |
|
| 138 |
+ <td> |
|
| 139 |
+ <%-- <c:if test="${result.authorCode == 'ROLE_ADMIN' or result.authorCode == 'ROLE_USER_MEMBER'}"> --%>
|
|
| 140 |
+ <button type="button" class="btn line medium secondary" onclick="selectMenuCreat('<c:out value="${result.authorCode}"/>'); return false;">메뉴생성</button>
|
|
| 141 |
+ <%-- </c:if> --%> |
|
| 142 |
+ </td> |
|
| 143 |
+ </tr> |
|
| 144 |
+ </c:forEach> |
|
| 145 |
+ <c:if test="${empty list_menumanage}">
|
|
| 146 |
+ <tr><td colspan="7"><spring:message code="common.nodata.msg" /></td></tr> |
|
| 147 |
+ </c:if> |
|
| 148 |
+ </tbody> |
|
| 149 |
+ </table> |
|
| 150 |
+ </div> |
|
| 151 |
+ <c:if test="${!empty authorList}">
|
|
| 152 |
+ <div class="page"> |
|
| 153 |
+ <ul class="inline"> |
|
| 154 |
+ <ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
|
|
| 155 |
+ </ul> |
|
| 156 |
+ </div> |
|
| 157 |
+ </c:if> |
|
| 158 |
+ |
|
| 69 | 159 |
<div class="cont_wrap"> |
| 70 | 160 |
<div class="box"> |
| 71 |
- <div class="cont_tit"> |
|
| 72 |
- <h2>권한별메뉴관리</h2> |
|
| 73 |
- <ul class="cont_nav"> |
|
| 74 |
- <li class="home"><a href="/"><i></i></a></li> |
|
| 75 |
- <li><p>권한관리</p></li> |
|
| 76 |
- <li><span class="cur_nav">권한별메뉴관리</span></li> |
|
| 77 |
- </ul> |
|
| 78 |
- </div> |
|
| 79 |
- <!-- cont --> |
|
| 161 |
+ |
|
| 80 | 162 |
<div class="cont"> |
| 81 |
- <!-- list_top --> |
|
| 82 |
- <div class="list_top"> |
|
| 83 |
- <p>총 건수 : <span><c:out value="${paginationInfo.totalRecordCount}" /></span>건</p>
|
|
| 84 |
- <div class="list_util"> |
|
| 85 |
- <c:if test="${siteId eq 'super'}">
|
|
| 86 |
- <select name="searchConditionSite" id="searchConditionSite" title="검색조건2-검색어구분"> |
|
| 87 |
- <c:forEach var="result" items="${siteManageList}" varStatus="status">
|
|
| 88 |
- <option value="${result.siteId}" <c:if test="${result.siteId eq SearchVO.searchConditionSite }">selected="selected"</c:if> >${result.siteNm}</option>
|
|
| 89 |
- </c:forEach> |
|
| 90 |
- </select> |
|
| 91 |
- </c:if> |
|
| 92 |
- 권한코드  :  |
|
| 93 |
- <input type="text" id="searchKeyword" name="searchKeyword" value="<c:out value='${SearchVO.searchKeyword}'/>" class="search_input" placeholder="검색어를 입력하세요">
|
|
| 94 |
- <button class="btn_search" onclick="selectMenuCreatManageList(); return false;">검색</button> |
|
| 95 |
- |
|
| 96 |
- <select class="sel2" name="pageUnit" id="pageUnit" onchange="linkPage(1);" title="줄 선택" style="width: 140px"> |
|
| 97 |
- <option value='10' <c:if test="${SearchVO.pageUnit == '10' or SearchVO.pageUnit == ''}">selected</c:if>>10줄</option>
|
|
| 98 |
- <option value='20' <c:if test="${SearchVO.pageUnit == '20'}">selected</c:if>>20줄</option>
|
|
| 99 |
- <option value='30' <c:if test="${SearchVO.pageUnit == '30'}">selected</c:if>>30줄</option>
|
|
| 100 |
- </select> |
|
| 101 |
- </div> |
|
| 102 |
- </div> |
|
| 103 |
- <!-- //list_top --> |
|
| 163 |
+ |
|
| 104 | 164 |
|
| 105 | 165 |
<!-- list --> |
| 106 |
- <div class="list tbType01"> |
|
| 107 |
- <table> |
|
| 108 |
- <colgroup> |
|
| 109 |
- <col style="width: 8%;"> |
|
| 110 |
- <col style="width: 25%;"> |
|
| 111 |
- <col style="width: 25%;"> |
|
| 112 |
- <col style="width: 25%;"> |
|
| 113 |
- <col style="width: 10%;"> |
|
| 114 |
- <col style="width: 120px;"> |
|
| 115 |
- </colgroup> |
|
| 116 |
- <thead> |
|
| 117 |
- <tr> |
|
| 118 |
- <th scope="col">번호<button class="sort sortBtn" id="sort_tempSortNum">▲</button></th> |
|
| 119 |
- <th scope="col">권한코드<button class="sort sortBtn" id="sort_authorCode">▲</button></th> |
|
| 120 |
- <th scope="col">권한명<button class="sort sortBtn" id="sort_authorNm">▲</button></th> |
|
| 121 |
- <th scope="col">권한설명<button class="sort sortBtn" id="sort_authorDc">▲</button></th> |
|
| 122 |
- <th scope="col">메뉴생성여부<button class="sort sortBtn" id="sort_chkYeoBu">▲</button></th> |
|
| 123 |
- <th scope="col">롤 메뉴생성</th> |
|
| 124 |
- </tr> |
|
| 125 |
- </thead> |
|
| 126 |
- <tbody> |
|
| 127 |
- <c:forEach var="result" items="${list_menumanage}" varStatus="status">
|
|
| 128 |
- <tr> |
|
| 129 |
- <td> |
|
| 130 |
- <c:if test="${searchVO.searchSortOrd eq 'desc' }">
|
|
| 131 |
- <c:out value="${ ( paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo -1)*paginationInfo.recordCountPerPage) ) - status.index }"/>
|
|
| 132 |
- </c:if> |
|
| 133 |
- <c:if test="${searchVO.searchSortOrd eq 'asc' }">
|
|
| 134 |
- <c:out value="${(paginationInfo.currentPageNo - 1) * paginationInfo.recordCountPerPage + status.count}"/>
|
|
| 135 |
- </c:if> |
|
| 136 |
- </td> |
|
| 137 |
- <td><c:out value="${result.authorCode}"/></td>
|
|
| 138 |
- <td><c:out value="${result.authorNm}"/></td>
|
|
| 139 |
- <td><c:out value="${result.authorDc}"/></td>
|
|
| 140 |
- <td> |
|
| 141 |
- <c:if test="${result.chkYeoBu > 0}">Y</c:if>
|
|
| 142 |
- <c:if test="${result.chkYeoBu == 0}">N</c:if>
|
|
| 143 |
- </td> |
|
| 144 |
- <td> |
|
| 145 |
- <%-- <c:if test="${result.authorCode == 'ROLE_ADMIN' or result.authorCode == 'ROLE_USER_MEMBER'}"> --%>
|
|
| 146 |
- <a href="#" onclick="selectMenuCreat('<c:out value="${result.authorCode}"/>'); return false;"><button type="button" class="btnType01">메뉴생성</button></a>
|
|
| 147 |
- <%-- </c:if> --%> |
|
| 148 |
- </td> |
|
| 149 |
- </tr> |
|
| 150 |
- </c:forEach> |
|
| 151 |
- <c:if test="${empty list_menumanage}">
|
|
| 152 |
- <tr><td colspan="7"><spring:message code="common.nodata.msg" /></td></tr> |
|
| 153 |
- </c:if> |
|
| 154 |
- </tbody> |
|
| 155 |
- </table> |
|
| 156 |
- </div> |
|
| 166 |
+ |
|
| 157 | 167 |
<!-- //list --> |
| 158 | 168 |
|
| 159 | 169 |
<!-- 페이지 네비게이션 시작 --> |
| 160 |
- <c:if test="${!empty authorList}">
|
|
| 161 |
- <div class="page"> |
|
| 162 |
- <ul class="inline"> |
|
| 163 |
- <ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
|
|
| 164 |
- </ul> |
|
| 165 |
- </div> |
|
| 166 |
- </c:if> |
|
| 170 |
+ |
|
| 167 | 171 |
<!-- //페이지 네비게이션 끝 --> |
| 168 | 172 |
</div> |
| 169 | 173 |
</div> |
--- src/main/webapp/WEB-INF/jsp/uss/ion/cnt/cntManageDetailList.jsp
+++ src/main/webapp/WEB-INF/jsp/uss/ion/cnt/cntManageDetailList.jsp
... | ... | @@ -7,17 +7,14 @@ |
| 7 | 7 |
<!DOCTYPE html> |
| 8 | 8 |
<html> |
| 9 | 9 |
<head> |
| 10 |
-<!-- <link rel="stylesheet" href="/pb/css/reset.css"> |
|
| 11 |
-<link rel="stylesheet" href="/pb/css/common.css"> |
|
| 12 |
-<link rel="stylesheet" href="/pb/css/content.css"> --> |
|
| 13 |
- |
|
| 14 |
-<link rel="stylesheet" href="/kccadrPb/adm/css/reset.css"> |
|
| 15 |
-<link rel="stylesheet" href="/kccadrPb/adm/css/common.css"> |
|
| 16 |
-<link rel="stylesheet" href="/kccadrPb/adm/css/content.css"> |
|
| 17 |
- |
|
| 18 |
-<style> |
|
| 19 |
-.btnType01,.btnType04{display:flex;height:30px;align-items:center;justify-content:center;font-size:15px;}
|
|
| 20 |
-</style> |
|
| 10 |
+<link rel="stylesheet" href="/publish/common/css/reset.css"> |
|
| 11 |
+<link rel="stylesheet" href="/publish/common/css/font.css"> |
|
| 12 |
+<link rel="stylesheet" href="/publish/adm/layout/layout.css"> |
|
| 13 |
+<link rel="stylesheet" href="/publish/adm/css/common.css"> |
|
| 14 |
+<link rel="stylesheet" href="/publish/adm/css/button.css"> |
|
| 15 |
+<link rel="stylesheet" href="/publish/adm/css/tab.css"> |
|
| 16 |
+<link rel="stylesheet" href="/publish/adm/css/table.css"> |
|
| 17 |
+<link rel="stylesheet" href="/publish/adm/css/style.css"> |
|
| 21 | 18 |
|
| 22 | 19 |
<script src="<c:url value='/js/jquery.js' />"></script> |
| 23 | 20 |
<meta http-equiv="Content-Language" content="ko" > |
... | ... | @@ -133,14 +130,19 @@ |
| 133 | 130 |
<c:if test="${!empty cntManageDetailList}">
|
| 134 | 131 |
<form:form id="listForm" name="listForm" action="<c:url value='/uss/ion/cnt/cntDetailList.do'/>" method="post"> |
| 135 | 132 |
<input type="hidden" name="cntDtIds"/> |
| 136 |
- <div class="pageCont" style="width:100%; padding:50px 0 0 0;margin:50px 0 0 0;border-top:1px solid #d5d5d5;"> |
|
| 137 |
- <div> |
|
| 138 |
- <span class=tb_tit>이전 콘텐츠 리스트</span> |
|
| 139 |
- <div class="list_top"> |
|
| 140 |
- <p class="tType5">조회건수 : <span class="tType4 c_456ded fwBold"> <c:out value="${paginationInfo.totalRecordCount}"/></span>건</p>
|
|
| 133 |
+ |
|
| 134 |
+ <div class="content_section"> |
|
| 135 |
+ <div class="content_title h4 mt40"> |
|
| 136 |
+ <h4>이전 콘텐츠 리스트</h4> |
|
| 137 |
+ </div> |
|
| 138 |
+ |
|
| 139 |
+ <div class="search_area"> |
|
| 140 |
+ <div class="search_left"> |
|
| 141 |
+ <p class="total_number">조회건수 : <b> <c:out value="${paginationInfo.totalRecordCount}"/></b>건</p>
|
|
| 142 |
+ </div> |
|
| 141 | 143 |
</div> |
| 142 |
-<%-- <p class="mem_count" style="margin-top:0px;">조회건수 : <c:out value="${paginationInfo.totalRecordCount}"/></p> --%>
|
|
| 143 |
- <div class="list tbType01" style="border-top:1px solid #000;"> |
|
| 144 |
+ |
|
| 145 |
+ <div class="table table_type_cols"> |
|
| 144 | 146 |
<table> |
| 145 | 147 |
<colgroup> |
| 146 | 148 |
<col style="width: 80px;"> |
... | ... | @@ -176,8 +178,8 @@ |
| 176 | 178 |
<td><c:out value="${result.cntName}"/></td>
|
| 177 | 179 |
<td><c:out value="${result.registerId}"/></td>
|
| 178 | 180 |
<td><c:out value="${result.registPnttm}"/></td>
|
| 179 |
- <td><a class="btnType01" href="#" onclick="fncPreviewCntDetail('<c:out value="${result.cntDtId}"/>', event )">미리보기</a></td>
|
|
| 180 |
- <td><a class="btnType04" href="#" onclick="fncEditorCopy('<c:out value="${result.cntDtId}"/>' , this , event)">되돌리기</a></td>
|
|
| 181 |
+ <td><a class="btn medium line primary" href="#" onclick="fncPreviewCntDetail('<c:out value="${result.cntDtId}"/>', event )">미리보기</a></td>
|
|
| 182 |
+ <td><a class="btn medium line gray" href="#" onclick="fncEditorCopy('<c:out value="${result.cntDtId}"/>' , this , event)">되돌리기</a></td>
|
|
| 181 | 183 |
</tr> |
| 182 | 184 |
</c:forEach> |
| 183 | 185 |
</tbody> |
... | ... | @@ -186,20 +188,23 @@ |
| 186 | 188 |
</c:if> |
| 187 | 189 |
</table> |
| 188 | 190 |
</div> |
| 189 |
- <div class="btnWrap" style="text-align:right;margin:15px 0 0 0;"> |
|
| 190 |
- <button type="button" class="btnType09" onclick="fncCntDtDeleteList(); return false;">삭제</button> |
|
| 191 |
+ |
|
| 192 |
+ <div class="btn_wrap mt40"> |
|
| 193 |
+ <button type="button" class="btn line red xlarge" onclick="fncCntDtDeleteList(); return false;">삭제</button> |
|
| 191 | 194 |
</div> |
| 192 |
- <!-- 페이지 네비게이션 시작 --> |
|
| 193 |
- <c:if test="${!empty cntManageDetailList}">
|
|
| 194 |
- <div class="page"> |
|
| 195 |
- <ul class="inline"> |
|
| 196 |
- <ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
|
|
| 197 |
- </ul> |
|
| 198 |
- </div> |
|
| 199 |
- </c:if> |
|
| 200 |
- <!-- //페이지 네비게이션 끝 --> |
|
| 201 |
- |
|
| 195 |
+ |
|
| 196 |
+ <!-- 페이지 네비게이션 시작 --> |
|
| 197 |
+ <c:if test="${!empty cntManageDetailList}">
|
|
| 198 |
+ <div class="page"> |
|
| 199 |
+ <ul class="inline"> |
|
| 200 |
+ <ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
|
|
| 201 |
+ </ul> |
|
| 202 |
+ </div> |
|
| 203 |
+ </c:if> |
|
| 204 |
+ <!-- //페이지 네비게이션 끝 --> |
|
| 205 |
+ |
|
| 202 | 206 |
</div> |
| 207 |
+ |
|
| 203 | 208 |
</form:form> |
| 204 | 209 |
<form name="delForm" method="get" action="<c:url value='/uss/ion/cnt/cntDtDeleteList.do'/>" > |
| 205 | 210 |
<input name="cntDtIds" type="hidden" /> |
--- src/main/webapp/WEB-INF/jsp/web/com/webLayout.jsp
+++ src/main/webapp/WEB-INF/jsp/web/com/webLayout.jsp
... | ... | @@ -39,6 +39,7 @@ |
| 39 | 39 |
<script src="/publish/usr/script/common.js"></script> |
| 40 | 40 |
<script src="/publish/usr/layout/layout.js"></script> |
| 41 | 41 |
<script src="/publish/usr/script/content.js"></script> |
| 42 |
+ <script src="/publish/usr/script/submenu.js"></script> |
|
| 42 | 43 |
<!-- //script --> |
| 43 | 44 |
|
| 44 | 45 |
<c:if test="${fn:contains(URL , '/web/content.do')}">
|
--- src/main/webapp/js/EgovMenuCreat.js
+++ src/main/webapp/js/EgovMenuCreat.js
... | ... | @@ -19,9 +19,11 @@ |
| 19 | 19 |
treeIcons[3] = new Image(); |
| 20 | 20 |
treeIcons[3].src = imgpath+"menu_minusbottom.gif"; |
| 21 | 21 |
treeIcons[4] = new Image(); |
| 22 |
- treeIcons[4].src = imgpath+"menu_folder.gif"; |
|
| 22 |
+ /*treeIcons[4].src = imgpath+"menu_folder.gif";*/ |
|
| 23 |
+ treeIcons[4].src = "/publish/adm/images/component/icon_folder.png"; |
|
| 23 | 24 |
treeIcons[5] = new Image(); |
| 24 |
- treeIcons[5].src = imgpath+"menu_folderopen.gif"; |
|
| 25 |
+ /*treeIcons[5].src = imgpath+"menu_folderopen.gif";*/ |
|
| 26 |
+ treeIcons[5].src = "/publish/adm/images/component/icon_folder_open.png"; |
|
| 25 | 27 |
} |
| 26 | 28 |
/* |
| 27 | 29 |
* 트리생성함수 |
... | ... | @@ -35,9 +37,11 @@ |
| 35 | 37 |
if (openNode != 0 || openNode != null) setOpenTreeNodes(openNode); |
| 36 | 38 |
if (startNode !=0) {
|
| 37 | 39 |
var nodeValues = treeNodes[getTreeArrayId(startNode)].split("|");
|
| 38 |
- } else document.write("<input type='checkbox' name='checkAll' class='check2' onclick='javascript:fCheckAll();'>메뉴목록<br>");
|
|
| 40 |
+ } else document.write("<div class='tree_title'><input type='checkbox' name='checkAll' class='check2' onclick='javascript:fCheckAll();'>메뉴목록</div>");
|
|
| 39 | 41 |
var recursedNodes = new Array(); |
| 42 |
+ document.write("<div class='tree_wrap'>")
|
|
| 40 | 43 |
addTreeNode(startNode, recursedNodes); |
| 44 |
+ document.write("</div>")
|
|
| 41 | 45 |
} |
| 42 | 46 |
} |
| 43 | 47 |
/* |
... | ... | @@ -95,33 +99,33 @@ |
| 95 | 99 |
* 신규 트리노드 추가 |
| 96 | 100 |
*/ |
| 97 | 101 |
function addTreeNode(parentNode, recursedNodes) {
|
| 102 |
+ |
|
| 98 | 103 |
for (var i = 0; i < treeNodes.length; i++) {
|
| 99 | 104 |
var nodeValues = treeNodes[i].split("|");
|
| 100 | 105 |
if (nodeValues[1] == parentNode) {
|
| 101 |
- |
|
| 102 | 106 |
var lastSibling = lastTreeSibling(nodeValues[0], nodeValues[1]); |
| 103 | 107 |
var hasChildNode = hasChildTreeNode(nodeValues[0]); |
| 104 | 108 |
var isNodeOpen = isTreeNodeOpen(nodeValues[0]); |
| 105 | 109 |
for (g=0; g<recursedNodes.length; g++) {
|
| 106 |
- document.write(" ");
|
|
| 110 |
+ /*document.write(" ");*/
|
|
| 107 | 111 |
} |
| 108 | 112 |
if (lastSibling) recursedNodes.push(0); |
| 109 | 113 |
else recursedNodes.push(1); |
| 110 |
- document.write(" ");
|
|
| 111 |
- document.write("<input type='checkbox' id='"+i+"' name='checkField' class='check2' ");
|
|
| 114 |
+ /*document.write(" ");*/
|
|
| 115 |
+ document.write("<div class='row'><input type='checkbox' id='"+i+"' name='checkField' class='check2' ");
|
|
| 112 | 116 |
if(nodeValues[4] == 1){ document.write(" checked "); }
|
| 113 | 117 |
document.write("onclick='javascript:fCheckDir(this.name, this.value,"+i+");' value=" + nodeValues[0] + ">");
|
| 114 | 118 |
if (hasChildNode) {
|
| 115 |
- document.write("<img id='icon" + nodeValues[0] + "' src='"+imgpath+"menu_folder")
|
|
| 116 |
- if (isNodeOpen) document.write("open");
|
|
| 117 |
- document.write(".gif' border='0' alt='Folder' >");
|
|
| 118 |
- } else document.write("<img id='icon" + nodeValues[0] + "' src='"+imgpath+"menu_page.gif' border='0' align='absbottom' alt='Page'>");
|
|
| 119 |
+ document.write("<img id='icon" + nodeValues[0] + "' src='/publish/adm/images/component/icon_folder")
|
|
| 120 |
+ if (isNodeOpen) document.write("_open");
|
|
| 121 |
+ document.write(".png' border='0' alt='Folder' >");
|
|
| 122 |
+ } else document.write("<img id='icon" + nodeValues[0] + "' src='/publish/adm/images/component/icon_note.png' border='0' align='absbottom' alt='Page'>");
|
|
| 119 | 123 |
//document.write("<a href=javascript:parent.temp_aa('" + treeNodes[i] + "');>");
|
| 120 |
- document.write(nodeValues[2]+" ("+nodeValues[0]+")");
|
|
| 124 |
+ document.write(nodeValues[2]+" ("+nodeValues[0]+")</div>");
|
|
| 121 | 125 |
//document.write("</a><br>");
|
| 122 |
- document.write("<br>");
|
|
| 126 |
+ /*document.write("<br>");*/
|
|
| 123 | 127 |
if (hasChildNode) {
|
| 124 |
- document.write("<div id='div" + nodeValues[0] + "'");
|
|
| 128 |
+ document.write("<div class='rowgroup' id='div" + nodeValues[0] + "'");
|
|
| 125 | 129 |
if (!isNodeOpen) document.write(" style='display: none;'");
|
| 126 | 130 |
document.write(">");
|
| 127 | 131 |
addTreeNode(nodeValues[0], recursedNodes); |
... | ... | @@ -130,6 +134,7 @@ |
| 130 | 134 |
recursedNodes.pop(); |
| 131 | 135 |
} |
| 132 | 136 |
} |
| 137 |
+ |
|
| 133 | 138 |
} |
| 134 | 139 |
/* |
| 135 | 140 |
* 트리노드 액션(열기,닫기) |
--- src/main/webapp/publish/adm/css/popup.css
+++ src/main/webapp/publish/adm/css/popup.css
... | ... | @@ -1,28 +1,60 @@ |
| 1 | 1 |
@charset "utf-8"; |
| 2 | 2 |
|
| 3 |
-.popup_title_area{display:flex;width:100%;height:50px;padding:0 20px;background:#000;align-items:center;justify-content:space-between;}
|
|
| 4 |
-h1.popup_title{font-size:18px;font-weight:600;color:#fff;}
|
|
| 3 |
+.mask{position:fixed;display:none;width:100%;height:100%;background:rgba(0,0,0,0.64);left:0;top:0;z-index:9;}
|
|
| 4 |
+.popup{background:#fff;}
|
|
| 5 |
+.popup_title_area{display:flex;width:100%;height:60px;padding:0 20px;border-bottom:1px solid #eee;background:#fff;align-items:center;justify-content:space-between;}
|
|
| 6 |
+.popup h1.popup_title{font-size:18px;font-weight:600;color:#222;}
|
|
| 7 |
+.popup_title_area .btn_popup_close{width:30px;height:30px;}
|
|
| 5 | 8 |
.popup_title_wrap{display:flex;align-items:center;justify-content:space-between;}
|
| 6 | 9 |
.popup_title_wrap h2{font-size:16px;font-weight:600;color:var(--primary-title-color);}
|
| 10 |
+.popup_content{padding:30px 24px 50px 24px;}
|
|
| 7 | 11 |
|
| 8 |
-.popup_content{padding:30px 20px;}
|
|
| 12 |
+.popup .btn.large{height:40px;font-size:16px;padding:0 12px;font-weight:500;}
|
|
| 13 |
+.popup .btn.xlarge{height:50px;font-size:16px;padding:0 24px;font-weight:500;}
|
|
| 9 | 14 |
|
| 10 |
-.popup_content .btn_wrap{gap:4px;}
|
|
| 15 |
+.popup .text_primary{font-size:16px;font-weight:500;}
|
|
| 16 |
+.popup .text_secondary{font-size:14px;font-weight:400;color:#444;}
|
|
| 11 | 17 |
|
| 12 |
-.popup_content .search_area.box{padding:5px 10px;font-size:14px;}
|
|
| 13 |
-.popup_content .search_item{padding:4px 0;}
|
|
| 14 |
-.popup_content .search_item .input{height:34px;}
|
|
| 15 |
-.popup_content .input{height:30px;}
|
|
| 16 |
-.popup_content select, .popup_content .select{height:30px;border:1px solid var(--default-line-color);border-radius:5px;padding:0 32px 0 12px;background:#fff url(../images/component/icon_arrow_down.png) no-repeat calc(100% - 4px) center;}
|
|
| 18 |
+.popup .search_area.box{padding:0 10px;font-size:14px;}
|
|
| 19 |
+.popup .search_item{padding:4px 0;}
|
|
| 17 | 20 |
|
| 18 |
-.popup_content .radio_wrap,.popup_content .checkbox_wrap{gap:8px;}
|
|
| 19 |
-.popup_content .radio_item, .popup_content .checkbox_item{font-size:14px;}
|
|
| 21 |
+.popup .input{height:30px;}
|
|
| 22 |
+.popup .input.medium{height:36px;}
|
|
| 23 |
+.popup select,.popup .select{height:30px;border:1px solid var(--default-line-color);border-radius:5px;padding:0 32px 0 12px;background:#fff url(/publish/adm/images/component/icon_arrow_down.png) no-repeat calc(100% - 4px) center;}
|
|
| 24 |
+ |
|
| 25 |
+.popup .radio_wrap,.popup .checkbox_wrap{gap:8px;}
|
|
| 26 |
+.popup .radio_item,.popup .checkbox_item{font-size:14px;}
|
|
| 20 | 27 |
|
| 21 | 28 |
.popup_title_wrap+.table{margin:12px 0 40px 0;}
|
| 22 | 29 |
.popup.table_type_cols thead>tr>th,.popup.table_type_cols tbody>tr>td{height:40px;font-size:15px;}
|
| 23 | 30 |
.popup.table_type_rows tbody>tr>th, .popup.table_type_rows tbody>tr>td{height:40px;font-size:15px;padding:8px 12px;}
|
| 24 | 31 |
|
| 25 |
-.popup_content .page a{width:32px;height:32px;}
|
|
| 32 |
+.popup .page a{width:32px;height:32px;}
|
|
| 26 | 33 |
|
| 27 |
-.popup_content .mem_count{font-size:16px;color:#222;}
|
|
| 28 |
-.popup_content .total_count{color:var(--primary-color);font-weight:600;} (No newline at end of file)
|
|
| 34 |
+/* 레이어 */ |
|
| 35 |
+.popup:not(.popup_window){position:absolute;display:none;min-width:200px;min-height:200px;border-radius:12px;overflow:hidden;opacity:0;transition:all 0.3s;left:50%;top:50%;transform:translate(-50%,-50%);}
|
|
| 36 |
+.popup.active:not(.popup_window){display:block;opacity:1;z-index:11;}
|
|
| 37 |
+ |
|
| 38 |
+ |
|
| 39 |
+/* 새창팝업 */ |
|
| 40 |
+.popup_window{padding:20px;box-sizing:border-box;}
|
|
| 41 |
+.popup_window h2.title{display:flex;width:100%;height:50px;font-size:20px;font-weight:bold;color:#fff;padding:0 20px;border-radius:4px;background:#f86a3c;align-items:center;}
|
|
| 42 |
+.popup_window h2.title .text_secondary{font-weight:300;color:#fff;}
|
|
| 43 |
+ |
|
| 44 |
+.popup_window .content_title{margin:40px 0 12px 0;}
|
|
| 45 |
+.popup_window h3.title{font-size:18px;font-weight:bold;margin:0;padding:0;}
|
|
| 46 |
+.popup_window h3.title::before{display:none;}
|
|
| 47 |
+ |
|
| 48 |
+.popup_window .search_title{font-weight:400;}
|
|
| 49 |
+.popup_window .search_title::after{top:12px;}
|
|
| 50 |
+.popup_window .search_area.box{border-radius:4px;}
|
|
| 51 |
+.popup_window input[type="text"]{height:30px;}
|
|
| 52 |
+.popup_window .search_item:has(input[type='hidden']:only-child){display:none;}
|
|
| 53 |
+ |
|
| 54 |
+.popup_window .tree{display:flex;border:1px solid #CDD5E6;border-radius:4px;flex-direction:column;}
|
|
| 55 |
+.popup_window .tree_title{display:flex;width:100%;height:50px;font-weight:500;padding:0 12px;background:#eff2f9;align-items:center;gap:8px;}
|
|
| 56 |
+.popup_window .tree .tree_wrap{padding:4px 0;max-height:300px;overflow:scroll;}
|
|
| 57 |
+.popup_window .tree .row{display:flex;height:35px;font-size:14px;padding:0 12px;align-items:center;gap:4px;}
|
|
| 58 |
+.popup_window .tree .row label{display:flex;min-height:35px;align-items:center;gap:4px;}
|
|
| 59 |
+.popup_window .tree .rowgroup{display:flex;width:calc(100% - 24px);font-size:14px;background:#f2f4f5;flex-direction:column;gap:4px;border-radius:4px;padding:8px 12px;margin:0 auto;}
|
|
| 60 |
+.popup_window .tree .rowgroup .row{height:auto;} (No newline at end of file)
|
--- src/main/webapp/publish/adm/css/style.css
+++ src/main/webapp/publish/adm/css/style.css
... | ... | @@ -24,6 +24,9 @@ |
| 24 | 24 |
textarea, .textarea{background:#fff;border:1px solid var(--default-line-color);border-radius:5px;padding:0 12px;}
|
| 25 | 25 |
select, .select{height:34px;border:1px solid var(--default-line-color);border-radius:5px;padding:0 32px 0 12px;background:#fff url(../images/component/icon_arrow_down.png) no-repeat calc(100% - 4px) center;}
|
| 26 | 26 |
|
| 27 |
+.form_group{display:flex;align-items:center;gap:8px;}
|
|
| 28 |
+.form_group.column{flex-direction:column;align-items:flex-start;gap:4px;}
|
|
| 29 |
+ |
|
| 27 | 30 |
.form_wrap{display:flex;align-items:center;gap:8px;}
|
| 28 | 31 |
.form_wrap.column{flex-direction:column;align-items:flex-start;gap:4px;}
|
| 29 | 32 |
|
... | ... | @@ -54,6 +57,7 @@ |
| 54 | 57 |
.calendar{width:140px;background:#fff/* url(../images/component/icon_calendar.png) no-repeat calc(100% - 8px) center */;}
|
| 55 | 58 |
i.calendar{width:34px;height:20px;background:url(../images/component/icon_calendar.png) no-repeat calc(100% - 8px) center;}
|
| 56 | 59 |
.calendar_wrap .btn_calendar{margin:0 0 0 -43px;}
|
| 60 |
+.calendar_wrap .btn_calendar:hover{box-shadow:none;}
|
|
| 57 | 61 |
|
| 58 | 62 |
.time_layer_wrap{position:relative;}
|
| 59 | 63 |
.time_input{width:110px;background:#fff url(../images/component/icon_clock.png) no-repeat calc(100% - 8px) center;}
|
... | ... | @@ -127,7 +131,7 @@ |
| 127 | 131 |
.gallery_list .gray{background:var(--gray-color);color:#fff;}
|
| 128 | 132 |
.gallery_list .images_area{display:flex;width:100%;height:260px;background:#f2f4f7;overflow:hidden;justify-content:center;align-items:center;}
|
| 129 | 133 |
.gallery_list .images_area img{max-width:100%;max-height:100%;margin:0 auto;object-fit:contain;}
|
| 130 |
-.gallery_list .list_content{padding:20px;border:1px solid #E2E7EF;border-top:0;}
|
|
| 134 |
+.gallery_list .list_content{padding:20px;}
|
|
| 131 | 135 |
.gallery_list .list_title{ text-overflow: ellipsis;overflow: hidden;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;font-size:18px;font-weight:600;color:var(--primary-title-color);}
|
| 132 | 136 |
.gallery_list .list_info{display:flex;font-size:14px;font-weight:400;color:#636469;margin:20px 0 0 0;}
|
| 133 | 137 |
.gallery_list .list_info li{position:relative;padding:0 10px;}
|
+++ src/main/webapp/publish/adm/images/component/icon_folder.png
| Binary file is not shown |
+++ src/main/webapp/publish/adm/images/component/icon_folder_open.png
| Binary file is not shown |
+++ src/main/webapp/publish/adm/images/component/icon_note.png
| Binary file is not shown |
--- src/main/webapp/publish/usr/css/content.css
+++ src/main/webapp/publish/usr/css/content.css
... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 |
.skip_menu a {outline: 3px solid red;display: block;position: absolute;left: 0;padding: 10px 20px;height: 50px;line-height: 30px;color: #fff;background: #000;width: 100%;text-align: center;font-size: 18px;box-sizing: border-box;}
|
| 6 | 6 |
.skip_menu a:link,.skip_menu a:visited,.skip_menu a:active {top: -10000px;}
|
| 7 | 7 |
.skip_menu a:hover,.skip_menu a:focus {top: 3px;}
|
| 8 |
-.sub_visual{position:relative;width:100%;height:615px;border-radius:0 0 80px 80px;}
|
|
| 8 |
+.sub_visual{position:relative;width:100%;height:615px;border-radius:0 0 80px 80px;background-position:center;}
|
|
| 9 | 9 |
.sub_title{display:flex;height:100%;font-family:var(--secondary-title-font);font-size:60px;font-weight:bold;color:#fff;letter-spacing:1px;text-shadow:0 0 20px rgba(0,0,0,.3);align-items:center;justify-content:center;}
|
| 10 | 10 |
.sub_visual_nav{position:relative;display:flex;width:45%;border-radius:38px 38px 0 0;background:#fff;padding:0 20px;bottom:66px;left:50%;transform:translateX(-50%);align-items:center;}
|
| 11 | 11 |
.sub_visual_nav a,.sub_visual_nav .snb_wrap{position:relative;height:66px;}
|
... | ... | @@ -21,10 +21,10 @@ |
| 21 | 21 |
.snb_select a:hover{background:var(--primary-light-color);color:var(--primary-color);border-radius:8px;}
|
| 22 | 22 |
.active .snb_select{width:100%;height:auto;left:0;border:1px solid #f0f0f0;}
|
| 23 | 23 |
|
| 24 |
-.company .sub_visual{background:url(/publish/usr/images/company/visual.jpg);}
|
|
| 25 |
-.major_result .sub_visual{background:url(/publish/usr/images/major_result/visual.jpg);}
|
|
| 26 |
-.platform_tech .sub_visual{background:url(/publish/usr/images/platform_tech/visual.jpg);}
|
|
| 27 |
-.community .sub_visual{background:url(/publish/usr/images/community/visual.jpg);}
|
|
| 24 |
+.company .sub_visual{background:url(/publish/usr/images/company/visual.jpg) center;}
|
|
| 25 |
+.major_result .sub_visual{background:url(/publish/usr/images/major_result/visual.jpg) center;}
|
|
| 26 |
+.platform_tech .sub_visual{background:url(/publish/usr/images/platform_tech/visual.jpg) center;}
|
|
| 27 |
+.community .sub_visual{background:url(/publish/usr/images/community/visual.jpg) center;}
|
|
| 28 | 28 |
|
| 29 | 29 |
.con_title{display:flex;margin:80px 0 36px 0;flex-direction:column;}
|
| 30 | 30 |
.con_title .summary{font-family:var(--secondary-title-font);font-size:24px;margin:0 0 12px 0;}
|
--- src/main/webapp/publish/usr/css/icon.css
+++ src/main/webapp/publish/usr/css/icon.css
... | ... | @@ -28,4 +28,6 @@ |
| 28 | 28 |
.icon.comment{width:20px;height:20px;background:url(../images/component/icon_comment.png) no-repeat center center;}
|
| 29 | 29 |
|
| 30 | 30 |
.icon.prev{width:18px;height:18px;background:url(../images/component/icon_arrow_up_18.png) no-repeat center;}
|
| 31 |
-.icon.next{width:18px;height:18px;background:url(../images/component/icon_arrow_down_18.png) no-repeat center;} (No newline at end of file)
|
|
| 31 |
+.icon.next{width:18px;height:18px;background:url(../images/component/icon_arrow_down_18.png) no-repeat center;}
|
|
| 32 |
+ |
|
| 33 |
+.icon.delete{width:20px;height:20px;background:url(../images/component/icon_lock.png) no-repeat center;} (No newline at end of file)
|
--- src/main/webapp/publish/usr/css/main.css
+++ src/main/webapp/publish/usr/css/main.css
... | ... | @@ -45,7 +45,7 @@ |
| 45 | 45 |
|
| 46 | 46 |
@media (max-width: 1280px){
|
| 47 | 47 |
|
| 48 |
- .main .inner{flex-direction:column;}
|
|
| 48 |
+ .main div:not(.header_container) .inner{flex-direction:column;}
|
|
| 49 | 49 |
.main .contents{padding:200px 0 0 0;}
|
| 50 | 50 |
.main .text_area, .main .box_contents{width:100%;}
|
| 51 | 51 |
|
--- src/main/webapp/publish/usr/layout/layout.js
+++ src/main/webapp/publish/usr/layout/layout.js
... | ... | @@ -42,7 +42,7 @@ |
| 42 | 42 |
} |
| 43 | 43 |
}); |
| 44 | 44 |
|
| 45 |
- $(document).on("click", ".gnb .depth01", function (e) {
|
|
| 45 |
+ $(document).on("click", "nav:not('.mobile_nav') .gnb .depth01, .sitemenu .depth01", function (e) {
|
|
| 46 | 46 |
e.preventDefault(); |
| 47 | 47 |
|
| 48 | 48 |
const firstHref = $(this).closest("li").find(".depth02").first().attr("href");
|
--- src/main/webapp/publish/usr/script/content.js
+++ src/main/webapp/publish/usr/script/content.js
... | ... | @@ -1,8 +1,8 @@ |
| 1 |
-$(function () {
|
|
| 1 |
+/*$(function () {
|
|
| 2 | 2 |
|
| 3 |
- /* ================================================== |
|
| 3 |
+ ================================================== |
|
| 4 | 4 |
container.sub 클래스 (있을 때만) |
| 5 |
- ================================================== */ |
|
| 5 |
+ ================================================== |
|
| 6 | 6 |
const $container = $(".container.sub");
|
| 7 | 7 |
const section = $("h2.sub_title").data("section");
|
| 8 | 8 |
|
... | ... | @@ -12,9 +12,9 @@ |
| 12 | 12 |
.addClass(section); |
| 13 | 13 |
} |
| 14 | 14 |
|
| 15 |
- /* ================================================== |
|
| 15 |
+ ================================================== |
|
| 16 | 16 |
src 경로 보정 |
| 17 |
- ================================================== */ |
|
| 17 |
+ ================================================== |
|
| 18 | 18 |
$("[src]").each(function () {
|
| 19 | 19 |
const src = $(this).attr("src");
|
| 20 | 20 |
if (src && src.startsWith("../")) {
|
... | ... | @@ -22,9 +22,9 @@ |
| 22 | 22 |
} |
| 23 | 23 |
}); |
| 24 | 24 |
|
| 25 |
- /* ================================================== |
|
| 25 |
+ ================================================== |
|
| 26 | 26 |
Sub Visual SNB 기본 세팅 |
| 27 |
- ================================================== */ |
|
| 27 |
+ ================================================== |
|
| 28 | 28 |
$(".icon.home").closest("a").attr("href", "/web/main/mainPage.do");
|
| 29 | 29 |
|
| 30 | 30 |
const $wraps = $(".sub_visual_nav .snb_wrap");
|
... | ... | @@ -46,9 +46,9 @@ |
| 46 | 46 |
|
| 47 | 47 |
const $gnb = $(".gnb").first();
|
| 48 | 48 |
|
| 49 |
- /* ================================================== |
|
| 49 |
+ ================================================== |
|
| 50 | 50 |
현재 depth01 / depth02 결정 |
| 51 |
- ================================================== */ |
|
| 51 |
+ ================================================== |
|
| 52 | 52 |
let $currentDepth01Li = $(); |
| 53 | 53 |
let $currentDepth02 = $(); |
| 54 | 54 |
|
... | ... | @@ -68,9 +68,9 @@ |
| 68 | 68 |
const currentDepth01Text = |
| 69 | 69 |
$currentDepth01Li.find("> .depth01").text().trim();
|
| 70 | 70 |
|
| 71 |
- /* ================================================== |
|
| 71 |
+ ================================================== |
|
| 72 | 72 |
SNB depth01 생성 (대표 링크 = 첫 depth02) |
| 73 |
- ================================================== */ |
|
| 73 |
+ ================================================== |
|
| 74 | 74 |
$snbDepth01.empty(); |
| 75 | 75 |
|
| 76 | 76 |
$gnb.find("> li").each(function () {
|
... | ... | @@ -87,9 +87,9 @@ |
| 87 | 87 |
`); |
| 88 | 88 |
}); |
| 89 | 89 |
|
| 90 |
- /* ================================================== |
|
| 90 |
+ ================================================== |
|
| 91 | 91 |
SNB depth02 생성 + active 처리 |
| 92 |
- ================================================== */ |
|
| 92 |
+ ================================================== |
|
| 93 | 93 |
$snbDepth02.empty(); |
| 94 | 94 |
|
| 95 | 95 |
$currentDepth01Li.find(".depth02").each(function (index) {
|
... | ... | @@ -117,9 +117,9 @@ |
| 117 | 117 |
`); |
| 118 | 118 |
}); |
| 119 | 119 |
|
| 120 |
- /* ================================================== |
|
| 120 |
+ ================================================== |
|
| 121 | 121 |
SNB 타이틀 |
| 122 |
- ================================================== */ |
|
| 122 |
+ ================================================== |
|
| 123 | 123 |
$wraps.eq(0).find(".snb_title").text(currentDepth01Text || "메뉴");
|
| 124 | 124 |
|
| 125 | 125 |
if (isCommunityDetail) {
|
... | ... | @@ -130,9 +130,9 @@ |
| 130 | 130 |
$wraps.eq(1).find(".snb_title").text(activeText || "메뉴");
|
| 131 | 131 |
} |
| 132 | 132 |
|
| 133 |
- /* ================================================== |
|
| 133 |
+ ================================================== |
|
| 134 | 134 |
SNB 토글 |
| 135 |
- ================================================== */ |
|
| 135 |
+ ================================================== |
|
| 136 | 136 |
$(".snb_title").on("click", function () {
|
| 137 | 137 |
const $wrap = $(this).closest(".snb_wrap");
|
| 138 | 138 |
|
... | ... | @@ -144,17 +144,17 @@ |
| 144 | 144 |
.find(".snb_select").stop(true, true).slideToggle(250);
|
| 145 | 145 |
}); |
| 146 | 146 |
|
| 147 |
- /* ================================================== |
|
| 147 |
+ ================================================== |
|
| 148 | 148 |
depth01 클릭 시 첫 depth02 이동 |
| 149 |
- ================================================== */ |
|
| 149 |
+ ================================================== |
|
| 150 | 150 |
$snbDepth01.on("click", "a", function (e) {
|
| 151 | 151 |
e.preventDefault(); |
| 152 | 152 |
location.href = $(this).attr("href");
|
| 153 | 153 |
}); |
| 154 | 154 |
|
| 155 |
- /* ================================================== |
|
| 155 |
+ ================================================== |
|
| 156 | 156 |
외부 클릭 시 닫기 |
| 157 |
- ================================================== */ |
|
| 157 |
+ ================================================== |
|
| 158 | 158 |
$(document).on("click", function (e) {
|
| 159 | 159 |
if (!$(e.target).closest(".snb_wrap").length) {
|
| 160 | 160 |
$(".snb_wrap")
|
... | ... | @@ -165,3 +165,4 @@ |
| 165 | 165 |
}); |
| 166 | 166 |
|
| 167 | 167 |
}); |
| 168 |
+*/(No newline at end of file) |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?