fix: 관리기능 -> 외사경찰관리 -> 승인대기 비외사경찰승인 추가
parent
80156cacba
commit
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 (){
|
$(document).on('click', '.statusBtn', function (){
|
||||||
const userInfoList = [];
|
const userInfoList = [];
|
||||||
userInfoList.push({
|
userInfoList.push({
|
||||||
|
|
|
||||||
|
|
@ -134,8 +134,7 @@
|
||||||
<div class="row justify-content-between">
|
<div class="row justify-content-between">
|
||||||
<div class="col-auto">
|
<div class="col-auto">
|
||||||
<th:block th:if="${searchParams.userStatus eq 'USC002'}">
|
<th:block th:if="${searchParams.userStatus eq 'USC002'}">
|
||||||
<input type="button" class="btn btn-success" value="승인" id="approvalBtn">
|
<input type="button" class="btn btn-danger" value="반려" id="companionBtn">
|
||||||
<input type="button" class="btn btn-warning" value="반려" id="companionBtn">
|
|
||||||
</th:block>
|
</th:block>
|
||||||
<th:block th:if="${searchParams.userStatus eq 'USC003'}">
|
<th:block th:if="${searchParams.userStatus eq 'USC003'}">
|
||||||
<button type="button" class="btn btn-info" id="syncToKwmsAllBtn">인사시스템 정보 불러오기</button>
|
<button type="button" class="btn btn-info" id="syncToKwmsAllBtn">인사시스템 정보 불러오기</button>
|
||||||
|
|
@ -166,7 +165,12 @@
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue