2022-10-12 02:42:00 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="ko" xmlns:th="http://www.thymeleaf.org">
|
|
|
|
|
|
|
|
|
|
<div class="modal-header">
|
2022-10-12 08:43:30 +00:00
|
|
|
<h5 class="modal-title" id="menuEditModalLabel" th:text="${info.phoneKey eq null?'업무용 휴대전화 등록':'업무용 휴대전화 수정'}"></h5>
|
|
|
|
|
<th:block th:if="${info.phoneKey eq null}">
|
2022-10-12 02:42:00 +00:00
|
|
|
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
2022-10-12 08:43:30 +00:00
|
|
|
</th:block>
|
|
|
|
|
<th:block th:unless="${info.phoneKey eq null}">
|
|
|
|
|
<button type="button" class="btn-close" id="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
|
|
|
|
</th:block>
|
2022-10-12 02:42:00 +00:00
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
2022-10-12 08:43:30 +00:00
|
|
|
<form id="cellPhoneEditFm" method="post">
|
2022-10-12 02:42:00 +00:00
|
|
|
<input type="hidden" name="_csrf_header" th:value="${_csrf.headerName}"/>
|
|
|
|
|
<input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}"/>
|
2022-10-12 08:43:30 +00:00
|
|
|
<input type="hidden" name="phoneKey" th:value="${info.phoneKey}">
|
|
|
|
|
<input type="hidden" name="wrtOrgan" th:value="${info.wrtOrgan}">
|
|
|
|
|
<input type="hidden" name="wrtPart" th:value="${info.wrtPart}">
|
2022-11-01 08:57:20 +00:00
|
|
|
<input type="hidden" name="wrtTitle" th:value="${info.wrtTitle}">
|
2022-10-12 08:43:30 +00:00
|
|
|
<input type="hidden" name="wrtUserSeq" th:value="${info.wrtUserSeq}">
|
|
|
|
|
<input type="hidden" name="wrtNm" th:value="${info.wrtNm}">
|
2022-10-12 02:42:00 +00:00
|
|
|
<div class="row mb-3">
|
|
|
|
|
<label for="cat1Cd" class="col-sm-4 col-form-label col-form-label-sm text-center">관리처</label>
|
|
|
|
|
<div class="col-sm-6">
|
|
|
|
|
<select class="form-select form-select-sm" id="mgtOrgan" name="mgtOrgan" th:disabled="${accessAuth ne 'ACC003'}">
|
|
|
|
|
<option value="">선택</option>
|
|
|
|
|
<th:block th:each="commonCode:${session.commonCode.get('OG')}">
|
|
|
|
|
<th:block th:if="${#lists.contains(mgtOrganList, commonCode.itemCd)}">
|
2022-10-12 08:43:30 +00:00
|
|
|
<th:block th:if="${info.phoneKey eq null}">
|
|
|
|
|
<option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}" th:selected="${commonCode.itemCd eq userOrgan}"></option>
|
|
|
|
|
</th:block>
|
|
|
|
|
<th:block th:unless="${info.phoneKey eq null}">
|
|
|
|
|
<option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}" th:selected="${commonCode.itemCd eq info.mgtOrgan}"></option>
|
|
|
|
|
</th:block>
|
2022-10-12 02:42:00 +00:00
|
|
|
</th:block>
|
|
|
|
|
</th:block>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2022-10-12 08:43:30 +00:00
|
|
|
<div class="mb-3 row">
|
|
|
|
|
<label for="ogCd" class="col-sm-4 col-form-label text-center">사용자</label>
|
2022-11-01 08:57:20 +00:00
|
|
|
<div class="col-sm-6">
|
2022-10-12 08:43:30 +00:00
|
|
|
<select class="form-select form-select-sm" id="pUserSeq" name="pUserSeq">
|
2022-10-12 02:42:00 +00:00
|
|
|
<option value="">선택</option>
|
2022-10-12 08:43:30 +00:00
|
|
|
<th:block th:unless="${info.phoneKey eq null}">
|
|
|
|
|
<th:block th:each="uInfo:${managerList}">
|
2022-11-01 08:57:20 +00:00
|
|
|
<option th:value="${uInfo.user_seq}" th:text="|${uInfo.title_cd} ${uInfo.user_nm}|" th:selected="${uInfo.user_seq eq info.pUserSeq}"></option>
|
2022-10-12 08:43:30 +00:00
|
|
|
</th:block>
|
|
|
|
|
</th:block>
|
2022-10-12 02:42:00 +00:00
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row mb-3">
|
2022-10-12 08:43:30 +00:00
|
|
|
<label for="cat1Cd" class="col-sm-4 col-form-label col-form-label-sm text-center">전화번호</label>
|
2022-10-12 02:42:00 +00:00
|
|
|
<div class="col-sm-6">
|
2022-10-12 08:43:30 +00:00
|
|
|
<input type="text" class="form-control" id="telNo" name="telNo" th:value="${info.telNo}" placeholder="EX: 010-0000-0000">
|
2022-10-12 02:42:00 +00:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row mb-3">
|
2022-10-12 08:43:30 +00:00
|
|
|
<label for="cat3Cd" class="col-sm-4 col-form-label col-form-label-sm text-center">등록외부메일</label>
|
2022-10-12 02:42:00 +00:00
|
|
|
<div class="col-sm-6">
|
2022-10-12 08:43:30 +00:00
|
|
|
<input type="text" class="form-control" id="extMail" name="extMail" th:value="${info.extMail}" placeholder="EX: test@test.com">
|
2022-10-12 02:42:00 +00:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row mb-3">
|
2022-10-12 08:43:30 +00:00
|
|
|
<label for="cat3Cd" class="col-sm-4 col-form-label col-form-label-sm text-center">웹엑스<br>미팅번호</label>
|
2022-10-12 02:42:00 +00:00
|
|
|
<div class="col-sm-6">
|
2022-10-12 08:43:30 +00:00
|
|
|
<input type="text" class="form-control" id="webexNo" name="webexNo" th:value="${info.webexNo}">
|
2022-10-12 02:42:00 +00:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row mb-3">
|
2022-10-12 08:43:30 +00:00
|
|
|
<label for="cat2Cd" class="col-sm-4 col-form-label col-form-label-sm text-center">카카오톡 ID</label>
|
2022-10-12 02:42:00 +00:00
|
|
|
<div class="col-sm-6">
|
2022-10-12 08:43:30 +00:00
|
|
|
<input type="text" class="form-control" id="katalkId" name="katalkId" th:value="${info.katalkId}">
|
2022-10-12 02:42:00 +00:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row mb-3">
|
|
|
|
|
<label for="cat3Cd" class="col-sm-4 col-form-label col-form-label-sm text-center">비고</label>
|
|
|
|
|
<div class="col-sm-6">
|
2022-10-12 08:43:30 +00:00
|
|
|
<input type="text" class="form-control" id="description" name="description" th:value="${info.description}">
|
2022-10-12 02:42:00 +00:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer justify-content-between">
|
2022-10-12 08:43:30 +00:00
|
|
|
<div class="col-auto">
|
|
|
|
|
<th:block th:if="${info.phoneKey eq null}">
|
|
|
|
|
<button type="button" class="btn btn-secondary"
|
|
|
|
|
data-bs-dismiss="modal">닫기</button>
|
|
|
|
|
</th:block>
|
|
|
|
|
<th:block th:unless="${info.phoneKey eq null}">
|
|
|
|
|
<button type="button" class="btn btn-secondary" id="btn-close"
|
|
|
|
|
data-bs-dismiss="modal">닫기</button>
|
|
|
|
|
</th:block>
|
|
|
|
|
<button type="button" class="btn btn-primary" id="saveCellPhone"
|
|
|
|
|
th:if="${info.phoneKey eq null}">저장</button>
|
2022-11-01 08:57:20 +00:00
|
|
|
<th:block th:if="${info.phoneKey != null}">
|
|
|
|
|
<button type="button" class="btn btn-warning" id="updateCellPhone"
|
|
|
|
|
th:if="${accessAuth eq 'ACC003'} or ${info.wrtUserSeq eq userSeq}">수정</button>
|
2022-10-12 08:43:30 +00:00
|
|
|
<button type="button" class="btn btn-danger" id="deleteCellPhoneM"
|
2022-11-01 08:57:20 +00:00
|
|
|
th:if="${accessAuth eq 'ACC003'} or ${info.wrtUserSeq eq userSeq}">삭제</button>
|
|
|
|
|
</th:block>
|
2022-10-12 08:43:30 +00:00
|
|
|
</div>
|
2022-10-12 02:42:00 +00:00
|
|
|
</div>
|
|
|
|
|
</html>
|