Compare commits
3 Commits
607bba164f
...
98e7092292
| Author | SHA1 | Date |
|---|---|---|
|
|
98e7092292 | |
|
|
8c08283121 | |
|
|
e0eed89bdc |
|
|
@ -25,6 +25,19 @@ $(document).on('click', '#approvalBtn', function (){
|
|||
}
|
||||
})
|
||||
|
||||
$(document).on('click', '#notPoliceBtn', function (){
|
||||
if(confirm("선택한 대상을 비외사경찰승인 처리 하시겠습니까?")){
|
||||
const checkArr = [];
|
||||
$('input:checkbox[name=userChk]:checked').each(function (idx, el){
|
||||
checkArr.push({});
|
||||
const target = $(el);
|
||||
checkArr[idx].userSeq = Number(target.parents('tr').find('.userSeq').val());
|
||||
checkArr[idx].userStatus = "USC007"
|
||||
})
|
||||
userApproval(checkArr);
|
||||
}
|
||||
})
|
||||
|
||||
$(document).on('click', '.statusBtn', function (){
|
||||
const userInfoList = [];
|
||||
userInfoList.push({
|
||||
|
|
|
|||
|
|
@ -134,8 +134,7 @@
|
|||
<div class="row justify-content-between">
|
||||
<div class="col-auto">
|
||||
<th:block th:if="${searchParams.userStatus eq 'USC002'}">
|
||||
<input type="button" class="btn btn-success" value="승인" id="approvalBtn">
|
||||
<input type="button" class="btn btn-warning" value="반려" id="companionBtn">
|
||||
<input type="button" class="btn btn-danger" value="반려" id="companionBtn">
|
||||
</th:block>
|
||||
<th:block th:if="${searchParams.userStatus eq 'USC003'}">
|
||||
<button type="button" class="btn btn-info" id="syncToKwmsAllBtn">인사시스템 정보 불러오기</button>
|
||||
|
|
@ -166,7 +165,12 @@
|
|||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div class="col-auto"></div>
|
||||
<div class="col-auto">
|
||||
<th:block th:if="${searchParams.userStatus eq 'USC002'}">
|
||||
<input type="button" class="btn btn-success" value="외사경찰 승인" id="approvalBtn">
|
||||
<input type="button" class="btn btn-warning" value="비외사경찰 승인" id="notPoliceBtn">
|
||||
</th:block>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue