Compare commits
No commits in common. "98e709229290402ef7e14f78f0833fbe6771218a" and "607bba164f5c4a1b42620f441afc2f8ebead2c55" have entirely different histories.
98e7092292
...
607bba164f
|
|
@ -25,19 +25,6 @@ $(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,7 +134,8 @@
|
|||
<div class="row justify-content-between">
|
||||
<div class="col-auto">
|
||||
<th:block th:if="${searchParams.userStatus eq 'USC002'}">
|
||||
<input type="button" class="btn btn-danger" value="반려" id="companionBtn">
|
||||
<input type="button" class="btn btn-success" value="승인" id="approvalBtn">
|
||||
<input type="button" class="btn btn-warning" value="반려" id="companionBtn">
|
||||
</th:block>
|
||||
<th:block th:if="${searchParams.userStatus eq 'USC003'}">
|
||||
<button type="button" class="btn btn-info" id="syncToKwmsAllBtn">인사시스템 정보 불러오기</button>
|
||||
|
|
@ -165,12 +166,7 @@
|
|||
</ul>
|
||||
</nav>
|
||||
</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 class="col-auto"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue