견문 조회모달 결제정보수정 버튼 조건 수정

계획 조회모달 삭제 버튼 조건 수정.
master
DESKTOP-TUO1L2R\USER 2023-05-17 10:23:33 +09:00
parent ba80ecf5bc
commit 560da644aa
2 changed files with 10 additions and 2 deletions

View File

@ -374,7 +374,9 @@
<th:block th:if="${userOrgan eq 'OG001' and accessAuth eq 'ACC003'}">
<!--본청 관리자 상시 수정, 삭제 허용-->
<button type="button" class="btn btn-danger" id="deleteBtn">삭제</button>
<button type="button" class="btn btn-warning" id="modifyRatingViewBtn">결재정보수정</button>
<th:block th:if="${affair.affairStatus eq 'DST006'}">
<button type="button" class="btn btn-warning" id="modifyRatingViewBtn">결재정보수정</button>
</th:block>
<button type="button" class="btn btn-warning" id="editAffairBtn">본문 수정</button>
</th:block>
<th:block th:unless="${userOrgan eq 'OG001' and accessAuth eq 'ACC003'}">

View File

@ -168,8 +168,14 @@
<th:block th:if="${modalType ne 'viewOnly'}">
<div class="modal-footer justify-content-between bg-light">
<div class="col-auto">
<th:block th:if="${viewOrgan eq 'OG001' and accessAuth eq 'ACC003'}">
<button type="button" class="btn btn-danger" id="deletePlanBtn">삭제</button>
</th:block>
<th:block th:unless="${plan.planState eq 'DST004' or plan.planState eq 'DST006'}"><!--승인 상태일때는 수정 불가-->
<th:block th:if="${userSeq eq plan.wrtUserSeq or accessAuth eq 'ACC003'}"><!--작성자일 경우 수정 허용--><!--관리자일 경우 수정 허용-->
<th:block th:if="${userSeq eq plan.wrtUserSeq}"><!--작성자일 경우 수정 허용--><!--관리자일 경우 수정 허용-->
<button type="button" class="btn btn-danger" id="deletePlanBtn">삭제</button>
</th:block>
<th:block th:if="${accessAuth eq 'ACC003' and userOrgan ne 'OG001'}">
<button type="button" class="btn btn-danger" id="deletePlanBtn">삭제</button>
</th:block>
</th:block>