parent
ba80ecf5bc
commit
560da644aa
|
|
@ -374,7 +374,9 @@
|
||||||
<th:block th:if="${userOrgan eq 'OG001' and accessAuth eq 'ACC003'}">
|
<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-danger" id="deleteBtn">삭제</button>
|
||||||
|
<th:block th:if="${affair.affairStatus eq 'DST006'}">
|
||||||
<button type="button" class="btn btn-warning" id="modifyRatingViewBtn">결재정보수정</button>
|
<button type="button" class="btn btn-warning" id="modifyRatingViewBtn">결재정보수정</button>
|
||||||
|
</th:block>
|
||||||
<button type="button" class="btn btn-warning" id="editAffairBtn">본문 수정</button>
|
<button type="button" class="btn btn-warning" id="editAffairBtn">본문 수정</button>
|
||||||
</th:block>
|
</th:block>
|
||||||
<th:block th:unless="${userOrgan eq 'OG001' and accessAuth eq 'ACC003'}">
|
<th:block th:unless="${userOrgan eq 'OG001' and accessAuth eq 'ACC003'}">
|
||||||
|
|
|
||||||
|
|
@ -168,8 +168,14 @@
|
||||||
<th:block th:if="${modalType ne 'viewOnly'}">
|
<th:block th:if="${modalType ne 'viewOnly'}">
|
||||||
<div class="modal-footer justify-content-between bg-light">
|
<div class="modal-footer justify-content-between bg-light">
|
||||||
<div class="col-auto">
|
<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: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>
|
<button type="button" class="btn btn-danger" id="deletePlanBtn">삭제</button>
|
||||||
</th:block>
|
</th:block>
|
||||||
</th:block>
|
</th:block>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue